/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1E293B;
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --dark:    #060F1E;
  --navy:    #0C2451;
  --blue:    #1B56B8;
  --accent:  #4A9AE8;
  --light-blue: #EBF3FC;
  --text:    #1E293B;
  --muted:   #64748B;
  --border:  #E2E8F0;
  --gray-bg: #F7F9FC;
  --white:   #FFFFFF;
  --max-w:   1200px;
  --nav-h:   84px;
}

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background .35s, box-shadow .35s;
}

#navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 24px rgba(0,0,0,.07);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-dark { display: none; }
#navbar.scrolled .logo-light { display: none; }
#navbar.scrolled .logo-dark { display: block; }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
  transition: color .2s;
}

.nav-links a:hover { color: var(--accent); }

#navbar.scrolled .nav-links a { color: var(--text); text-shadow: none; }
#navbar.scrolled .nav-links a:hover { color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #060F1E;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}

/* 第1屏：文字左对齐并整体偏左 */
#slide-0 { justify-content: flex-start; }
#slide-0 .hero-content {
  text-align: left;
  max-width: none;
  padding: 0 40px 0 11vw;
}
#slide-0 .hero-subtitle-en::before {
  margin-left: 0;
  margin-right: auto;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,15,30,.62) 0%, rgba(6,15,30,.74) 100%);
}

#slide-1 .hero-mask {
  background: linear-gradient(180deg, rgba(6,15,30,.45) 0%, rgba(6,15,30,.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 40px;
  max-width: 1000px;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  color: #fff;
  letter-spacing: .14em;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

.hero-title + .hero-title { margin-top: 8px; }

.hero-subtitle-en {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  color: rgba(255,255,255,.92);
  letter-spacing: .12em;
  margin-top: 36px;
  line-height: 1.6;
}

.hero-subtitle-en::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 22px;
  opacity: .8;
}

.hero-text {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 300;
  color: #fff;
  letter-spacing: .08em;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.hero-text-lg {
  font-size: clamp(42px, 5.5vw, 76px);
  letter-spacing: .18em;
}

.hero-text-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  letter-spacing: .22em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-text::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 28px auto 0;
  opacity: .8;
}

/* hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, transform .25s;
}

.hero-arrow:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
}

.hero-arrow:active { transform: translateY(-50%) scale(.95); }

.hero-arrow-left  { left: 36px; }
.hero-arrow-right { right: 36px; }

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

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s, transform .3s;
}

.dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 100px 0; }
.section-gray { background: var(--gray-bg); }

/* generic background-image section */
.section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-mask-light {
  background: rgba(255,255,255,.82);
}

.section-mask-dark {
  background: linear-gradient(140deg, rgba(6,15,30,.7) 0%, rgba(12,36,81,.7) 100%);
}

.section-bg > .container,
.section-bg > .contact-wrap {
  position: relative;
  z-index: 1;
}

.section-bg-dark { color: #fff; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.center { text-align: center; }

.sec-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 56px;
  text-align: center;
}

.sec-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--blue);
  margin: 14px auto 0;
}

/* ============================================================
   FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   SECTION 2 · ABOUT
   ============================================================ */
#about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.about-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 32px;
  color: var(--navy);
}

.about-title::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  background: var(--blue);
  margin: 22px auto 0;
}

.about-body {
  font-size: 17px;
  color: var(--text);
  line-height: 2.1;
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   SECTION 3 · MISSION + MVV
   ============================================================ */
#mission {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0;
}

.mission-tagline {
  text-align: center;
  margin-bottom: 64px;
}

.mission-tagline p {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--navy);
  line-height: 1.7;
}

.mission-tagline p + p {
  margin-top: 2px;
}

.mvv-grid {
  display: flex;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(226,232,240,.8);
}

.mvv-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 16px 0;
}

.mvv-item {
  flex: 1;
  text-align: center;
  padding: 40px 36px;
}

.mvv-tag {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 18px;
  position: relative;
}

.mvv-tag::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  margin: 10px auto 0;
}

.mvv-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
}

/* ============================================================
   SECTION 4 · BUSINESS / 关注领域
   ============================================================ */
#business {
  min-height: 100vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

#business .container {
  max-width: 1180px;
  padding: 0 60px;
  width: 100%;
}

.focus-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 56px;
  text-align: center;
}

.focus-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--blue);
  margin: 16px auto 0;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.biz-card {
  overflow: hidden;
  background: #fff;
}

.biz-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform .55s ease;
  filter: grayscale(15%);
}

.biz-card:hover .biz-img { transform: scale(1.06); filter: grayscale(0%); }

.biz-body {
  padding: 22px 6px 10px;
}

.biz-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: .02em;
}

.biz-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.95;
}

/* ============================================================
   SECTION 5 · STATS
   ============================================================ */
#stats {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

#stats > .section-mask { display: none; }

#stats .container {
  max-width: none;
  padding: 0;
  width: 100%;
  display: flex;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transition: filter .55s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item:hover {
  filter: grayscale(0);
}

.stat-bg-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,15,30,.42) 0%, rgba(6,15,30,.62) 100%);
  transition: background .4s ease;
}

.stat-item:hover .stat-bg-mask {
  background: linear-gradient(180deg, rgba(6,15,30,.32) 0%, rgba(6,15,30,.52) 100%);
}

.stat-content {
  position: relative;
  z-index: 1;
}

.stat-num {
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 200;
  color: #fff;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

.stat-unit {
  font-size: .42em;
  font-weight: 300;
}

.stat-plus {
  font-size: .45em;
  color: var(--accent);
  font-weight: 400;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.92);
  letter-spacing: .08em;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* ============================================================
   SECTION 6 · CASES / Logo 墙
   ============================================================ */
#cases {
  min-height: 100vh;
  padding: 110px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#cases .container {
  width: 100%;
}

#cases .sec-title { margin-bottom: 36px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid rgba(15,35,80,.08);
  border-left: 1px solid rgba(15,35,80,.08);
  background: #fff;
}

.cases-item {
  position: relative;
  height: 104px;
  background: #fff;
  border-right: 1px solid rgba(15,35,80,.08);
  border-bottom: 1px solid rgba(15,35,80,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px 10px;
  gap: 6px;
  transition: box-shadow .25s, transform .25s, z-index 0s .25s;
}

.cases-item:hover {
  box-shadow: 0 10px 26px rgba(15,35,80,.12);
  transform: translateY(-2px);
  z-index: 2;
  transition: box-shadow .25s, transform .25s, z-index 0s 0s;
}

.cases-item--dark { background: #1B56B8; }
.cases-item--dark:hover { background: #1E5FC3; }
.cases-item--dark .cases-name { color: rgba(255,255,255,.88); }

.cases-item img {
  max-width: 88%;
  max-height: 50%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter .25s;
}

.cases-name {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.2;
}

.cases-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.cases-more {
  display: inline-block;
  padding: 12px 42px;
  background: #8A8A8A;
  color: #fff;
  font-size: 13px;
  letter-spacing: .12em;
  border-radius: 2px;
  user-select: none;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease, letter-spacing .3s ease;
}

.cases-more:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27,86,184,.28);
  letter-spacing: .18em;
}

/* ============================================================
   SECTION 7 · TEAM
   ============================================================ */
#team {
  min-height: 100vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

#team .container { width: 100%; }

.team-intro {
  font-size: 18px;
  color: var(--text);
  line-height: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto 64px;
  letter-spacing: .02em;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.team-card {
  width: 160px;
  text-align: center;
  cursor: pointer;
  transition: transform .3s;
}

.team-card:hover { transform: translateY(-4px); }

.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2.5px solid var(--border);
  transition: border-color .3s, box-shadow .3s;
}

.team-card:hover .team-photo {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(27,86,184,.18);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s;
}

.team-card:hover .team-photo img { transform: scale(1.06); }

.team-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   TEAM MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,15,30,.72);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: #fff;
  max-width: 720px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 4px;
  position: relative;
  padding: 48px 48px 44px;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 26px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--border);
  transition: color .2s;
}
.modal-close:hover { color: var(--text); }

.modal-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.modal-left {
  flex-shrink: 0;
  width: 148px;
  text-align: center;
}

.modal-left img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 14px;
  border: 3px solid var(--light-blue);
}

.modal-left h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.m-role {
  font-size: 12px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 10px;
}

.m-email {
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  transition: color .2s;
}
.m-email:hover { color: var(--blue); }

.modal-right { flex: 1; }

.m-bio p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 14px;
}

.m-bio p:last-child { margin-bottom: 0; }

/* ============================================================
   SECTION 8 · CONTACT
   ============================================================ */
#contact {
  position: relative;
  padding: 110px 0 70px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.contact-wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
}

.contact-title {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--navy);
  margin-bottom: 44px;
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--blue);
  margin-top: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

/* left column */
.contact-col-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.office-block {
  background: transparent;
  border-left: 3px solid var(--blue);
  padding: 2px 0 2px 18px;
  backdrop-filter: none;
}

.office-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.office-addr {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 6px;
}

.office-phone {
  font-size: 14px;
  color: var(--text);
  letter-spacing: .04em;
}

.qr-block {
  background: transparent;
  padding: 0;
  text-align: left;
  backdrop-filter: none;
  align-self: flex-start;
}

.qr-img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  margin: 0 0 10px;
}

.qr-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  text-align: center;
  width: 108px;
}

/* right column */
.contact-col-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.map-block {
  overflow: hidden;
  border: none;
  background: transparent;
  height: 280px;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.email-block {
  background: transparent;
  padding: 0;
  backdrop-filter: none;
}

.email-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.email-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.email-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border-bottom: none;
  transition: opacity .2s;
}

.email-row:hover { opacity: .75; }

.email-tag {
  font-size: 13px;
  color: var(--text);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  letter-spacing: .04em;
  font-weight: 500;
}

.email-addr {
  font-size: 14px;
  color: var(--blue);
  letter-spacing: .02em;
  word-break: break-all;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.3);
  text-align: center;
  padding: 24px 20px;
  font-size: 12px;
  letter-spacing: .03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.18); }
  .cases-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-col-left { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 13px; }
  .container { padding: 0 20px; }
  .biz-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mvv-grid { flex-direction: column; }
  .mvv-divider { width: auto; height: 1px; margin: 0 40px; }
  .modal-inner { flex-direction: column; }
  .modal-left { width: 100%; }
  .modal-box { padding: 40px 24px 32px; }
  .team-grid { gap: 28px; }
  .hero-title { letter-spacing: .04em; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow-left  { left: 12px; }
  .hero-arrow-right { right: 12px; }
  .contact-wrap { padding: 0 20px; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact-col-left { flex-direction: column; }
}
