:root {
  --bg: #ffffff;
  --ink: #333333;
  --muted: #666666;
  --accent: #25427e;
  --accent-2: #0089ff;
  --card: #ffffff;
  --line: #e8e8e8;
  --band-alt: #f5f7fa;
  --footer-bg: #1a2744;
  --max: 1200px;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }
.wrap,
.band-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  box-sizing: border-box;
}
.site-main { width: 100%; min-height: 40vh; }
.band { width: 100%; box-sizing: border-box; }
.muted { color: var(--muted); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img { height: 42px; width: auto; display: block; }
.brand-name { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.02em; color: #222; }
.brand-tag { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.area-tag {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 2px 8px;
  border: 1px solid rgba(37, 66, 126, 0.35);
  border-radius: 2px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  align-items: center;
  justify-content: center;
}
.nav a {
  color: var(--ink);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active {
  background: var(--accent);
  color: #fff;
}
.nav a.is-active:hover { color: #fff; background: #1e3868; }
.header-tel {
  flex-shrink: 0;
  color: var(--ink);
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-tel a { color: inherit; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  margin: 0;
  overflow: hidden;
  width: 100%;
  background: #0a1628;
  position: relative;
  color: #fff;
  height: var(--carousel-h, clamp(320px, 72vh, 900px));
  min-height: 280px;
}
.hero.is-hero-main {
  height: var(--carousel-h, clamp(360px, 86vh, 960px));
}
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: none;
  align-items: center;
  justify-content: center;
}
.hero-slide.is-active {
  display: flex;
  animation: heroFade .45s ease;
}
@keyframes heroFade {
  from { opacity: .35; }
  to { opacity: 1; }
}
.hero-caption {
  width: 100%;
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-caption .wrap { width: min(100% - 32px, var(--max)); }
.hero-caption h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-caption p {
  margin: 0 auto;
  max-width: 40em;
  opacity: .95;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
}
.hero-link {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.75);
  padding: 8px 22px;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.hero-link:hover { background: #fff; color: var(--accent); }
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
}
.hero-nav:hover { background: rgba(0,0,0,.55); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots.is-vertical {
  left: auto;
  right: 18px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 10px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-dot.is-active,
.hero-dot:hover { background: #fff; }

/* ===== Section heads ===== */
.section.band { margin: 0; padding: 64px 0; }
.section.band.is-alt { background: var(--band-alt); }
.page-body { padding: 28px 0 48px; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
  gap: 6px;
}
.section-head.is-row {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  text-align: left;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #222;
}
.section-en {
  margin: 0;
  font-size: 0.95rem;
  color: #99a;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.section-more {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
  font-size: 0.92rem;
}
.section-more:hover { color: var(--accent-2); }

/* ===== Home blocks ===== */
.home-block {
  margin: 0;
  padding: 64px 0;
  width: 100%;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}
.home-block.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.home-block .band-inner { position: relative; z-index: 1; }
.home-block-title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
}
.home-block-subtitle {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 52em;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.88;
}
.home-block-media {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}
.home-block-media.hero-carousel {
  height: var(--carousel-h, clamp(180px, 32vw, 360px));
  min-height: 0;
}
.home-block-single {
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}
.home-block-single img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
.home-block-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.home-block-slide {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
  height: 100%;
  width: 100%;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center center;
}
.home-block-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 28px;
}
.home-block-tab {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px 22px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 2px;
  opacity: 0.75;
  transition: background .2s, opacity .2s, color .2s;
}
.home-block-tab.is-active,
.home-block-tab:hover {
  opacity: 1;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.home-block-tab-panels { margin-bottom: 8px; }
.home-block-tab-panel {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 24px;
  line-height: 1.75;
  opacity: 0.9;
}
.home-block-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.home-block-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(37, 66, 126, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-block.is-tabs .home-block-cards { display: none; }
.home-block-tab-panel.is-hidden,
.home-block-tab-panel[hidden] { display: none !important; }
.home-block-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 66, 126, 0.14);
}
.home-block-card-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  border-radius: 12px;
}
.home-block-card-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.home-block-card-sub {
  font-size: .9rem;
  line-height: 1.5;
  opacity: .85;
}

/* ===== Product / case / news grids ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 66, 126, 0.12);
  color: inherit;
}
.card-link img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.card-body { padding: 16px 18px 18px; }
.card-body h3 { margin: 0 0 8px; font-size: 1.05rem; color: #222; }
.card-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.card-time { margin-top: 10px; color: var(--muted); font-size: .85rem; }

.case-list { display: flex; flex-direction: column; gap: 28px; }
.case-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.case-item:hover { box-shadow: 0 12px 28px rgba(37, 66, 126, 0.1); color: inherit; }
.case-item:nth-child(even) .case-cover { order: 2; }
.case-cover {
  min-height: 220px;
  background: #eef2f8;
}
.case-cover img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.case-body { padding: 24px 28px; }
.case-body h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #222;
  line-height: 1.45;
}
.case-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-item.no-cover { grid-template-columns: 1fr; }
.case-item.no-cover .case-cover { display: none; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 0;
  width: 100%;
}
.news-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  min-width: 0;
}
.news-item:hover { color: var(--accent); }
.news-date { flex: 0 0 72px; text-align: center; line-height: 1.1; }
.news-day {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}
.news-ym {
  display: block;
  margin-top: 6px;
  font-size: .88rem;
  color: var(--muted);
}
.news-body { flex: 1; min-width: 0; }
.news-title {
  margin: 2px 0 8px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-summary {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Bilingual title ===== */
.title-bilingual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 0 20px;
  text-align: center;
}
.title-bilingual .title-cn {
  position: relative;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #333;
  letter-spacing: 0.06em;
  padding-left: 18px;
}
.title-bilingual .title-cn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.05em;
  background: #333;
  border-radius: 1px;
}
.title-bilingual .title-en {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: #999;
  letter-spacing: 0.08em;
  font-weight: 400;
}
.title-bilingual-light .title-cn { color: #fff; }
.title-bilingual-light .title-cn::before { background: #fff; }
.title-bilingual-light .title-en { color: rgba(255,255,255,.55); }
.page-shell { width: 100%; padding: 48px 0 64px; background: #fff; }
.page-inner { padding-bottom: 8px; }
.page-lead {
  margin: 0 auto 36px;
  max-width: 52em;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

/* ===== Core projects list ===== */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.project-card {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  box-shadow: 0 8px 28px rgba(37, 66, 126, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(37, 66, 126, 0.12);
  color: inherit;
}
.project-media {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, #1a2744, #25427e);
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: clamp(220px, 36vw, 420px);
  object-fit: cover;
  display: block;
}
.project-media.is-empty { min-height: 180px; }
.project-badge {
  position: absolute;
  left: 0;
  top: 24px;
  background: rgba(37, 66, 126, 0.88);
  color: #fff;
  padding: 10px 22px 10px 28px;
  border-radius: 0 999px 999px 0;
}
.project-badge .title-cn {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.project-body {
  padding: 22px 28px 26px;
  text-align: center;
}
.project-summary {
  margin: 0 0 14px;
  color: #444;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
}
.project-more {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ===== About page ===== */
.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 12px 36px rgba(37, 66, 126, 0.1);
}
.about-media { min-height: 100%; background: #e8eef8; }
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.about-copy {
  background: var(--accent);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy.is-full { grid-column: 1 / -1; }
.about-summary {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: .95;
}
.about-content,
.about-content p,
.about-content li {
  color: rgba(255,255,255,.92);
  line-height: 1.9;
  font-size: 0.98rem;
}
.about-content a { color: #9fd0ff; }
.detail-hero {
  border-radius: 22px;
  overflow: hidden;
  margin: 0 0 28px;
  box-shadow: 0 10px 28px rgba(37, 66, 126, 0.1);
}
.detail-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.detail-meta {
  text-align: center;
  color: var(--muted);
  margin: -8px 0 24px;
  font-size: 0.92rem;
}
.detail-article {
  border-radius: 16px;
  border: 1px solid var(--line);
}

/* ===== Partners marquee ===== */
.partners-band { overflow: hidden; }
.partners-marquee {
  width: min(100% - 32px, var(--max));
  margin: 28px auto 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.partners-track {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.partners-track-left .partners-strip {
  animation: partnersLeft var(--partners-duration, 40s) linear infinite;
}
.partners-track-right .partners-strip {
  animation: partnersRight var(--partners-duration, 40s) linear infinite;
}
.partners-track:hover .partners-strip {
  animation-play-state: paused;
}
@keyframes partnersLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes partnersRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.partner-card {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 78px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  color: var(--muted);
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  transition: border-color .2s, box-shadow .2s;
}
.partner-card img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partner-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 8px 20px rgba(37, 66, 126, 0.1);
  color: var(--accent);
}
.achievements {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 12px;
  align-items: stretch;
}
.achievement-item {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
}
.achievements-band {
  background: linear-gradient(135deg, #1a2744 0%, #25427e 100%);
  color: #fff;
}
.achievements-band .section-head h2,
.achievements-band .section-en { color: #fff; }
.achievements-band .section-en { opacity: .65; }
.achievement-value {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  word-break: break-word;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.achievement-name {
  margin-top: 10px;
  color: rgba(255,255,255,.75);
  font-size: .92rem;
}

/* ===== Contact footer ===== */
.contact-band {
  width: 100%;
  margin: 0;
  background: var(--footer-bg);
  color: rgba(255,255,255,.78);
}
.contact-band-inner {
  padding: 56px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.contact-title { margin-bottom: 0; }
.contact-slogan {
  margin: 0;
  text-align: center;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  max-width: 36em;
  line-height: 1.7;
}
.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 40px;
  width: 100%;
  margin-top: 8px;
}
.contact-icon-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
  max-width: 280px;
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-icon-item a { color: #fff; }
.contact-icon-item a:hover { color: #9fd0ff; }
.contact-icon-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.contact-icon-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
.contact-bottom-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.contact-bottom-nav .footer-nav {
  margin: 0;
  justify-content: flex-start;
  gap: 12px 18px;
  display: flex;
  flex-wrap: wrap;
}
.contact-bottom-nav .footer-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.contact-bottom-nav .footer-nav a:hover { color: #fff; }
.contact-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: flex-end;
}
.contact-qr-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.contact-qr-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 6px;
}
.contact-social-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  font-size: 0.88rem;
}
.contact-social-chip:hover { color: #fff; border-color: #fff; }
.contact-footer-text {
  width: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  white-space: pre-wrap;
}

/* ===== Contact / message page ===== */
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: rgba(255,255,255,.9);
}
.contact-info-row a { color: #fff; }
.contact-qr-lg img { width: 120px; height: 120px; }
.message-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
  box-shadow: 0 14px 40px rgba(37, 66, 126, 0.12);
}
.message-aside {
  background: linear-gradient(160deg, #1a2744 0%, #25427e 70%, #2f5aa8 100%);
  color: #fff;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
}
.message-aside-title {
  justify-content: flex-start;
  margin-bottom: 12px;
}
.message-aside-title .title-cn {
  font-size: 1.45rem;
  padding-left: 14px;
}
.message-aside-lead {
  margin: 0 0 24px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  font-size: 0.95rem;
}
.message-info-list { flex: 1; }
.message-aside .contact-icon-label { color: rgba(255,255,255,.55); }
.message-aside .contact-qr-box {
  margin-top: 18px;
  align-self: flex-start;
  color: rgba(255,255,255,.75);
}
.message-form-side {
  background: #fff;
  padding: 40px 36px;
}
.message-form-head h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #222;
  letter-spacing: 0.04em;
}
.message-form-head p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.message-form {
  border: 0;
  padding: 0;
  max-width: none;
  background: transparent;
}
.message-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.message-form label {
  color: #444;
  font-weight: 600;
  font-size: 0.92rem;
}
.message-form input,
.message-form textarea {
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  padding: 12px 14px;
  background: #fafbfc;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.message-form input:focus,
.message-form textarea:focus {
  border-color: var(--accent-2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 137, 255, 0.12);
}
.message-form button,
.message-form button[type="submit"],
.contact-page .message-form button,
.msg-submit-btn {
  margin-top: 20px;
  min-width: 160px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.message-form button:hover,
.contact-page .message-form button:hover,
.msg-submit-btn:hover { background: #1e3868; color: #fff; }

/* ===== Cities page ===== */
.cities-shell { background: linear-gradient(180deg, #f7f9fc 0%, #fff 42%); }
.cities-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin: 0 0 32px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1a2744 0%, #25427e 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 66, 126, 0.18);
}
.cities-hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.cities-hero-copy h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}
.cities-hero-copy p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  max-width: 34em;
  font-size: 0.95rem;
}
.cities-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.cities-hero-btn:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}
.cities-hero-btn.is-current {
  background: var(--accent-2);
  color: #fff;
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.province-card {
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 24px rgba(37, 66, 126, 0.05);
  transition: transform .2s, box-shadow .2s;
}
.province-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 66, 126, 0.1);
}
.province-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f5;
}
.province-card .province-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.15rem;
  color: #222;
  letter-spacing: 0.04em;
}
.province-count {
  font-size: 0.82rem;
  color: #99a;
  white-space: nowrap;
}
.cities-empty {
  text-align: center;
  padding: 48px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px dashed #dde3ec;
}
.site-legal {
  width: 100%;
  background: #121c33;
  color: #889;
  font-size: 13px;
  line-height: 1.6;
}
.site-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding: 14px 0;
  text-align: center;
}
.site-copyright { color: #99a; }
.site-beian {
  color: #99a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-beian:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.35);
}

/* ===== Inner pages ===== */
.page-title {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin: 8px 0 12px;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.article {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 32px;
}
.article .meta,
.meta {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 18px;
}
.article-content img { max-width: 100%; height: auto; }
.pager {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
}
.pager a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
}
.pager a:hover { background: #1e3868; color: #fff; }
.form {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
  max-width: 640px;
}
.form label { display: block; margin: 12px 0 6px; font-weight: 600; }
.form input, .form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  border-radius: 2px;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.form button {
  margin-top: 16px;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 10px 24px;
  font: inherit;
  cursor: pointer;
  border-radius: 2px;
}
.form button:hover { background: #1e3868; }
.flash {
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.flash.ok { border-color: #8ec9a8; background: #eef8f1; }
.flash.err { border-color: #e2a09a; background: #fff1ef; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 16px;
  background: #f5f7fa;
  border: 1px solid transparent;
  color: #333;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.city-chip:hover {
  background: rgba(37, 66, 126, 0.08);
  border-color: rgba(37, 66, 126, 0.18);
  color: var(--accent);
  transform: translateY(-1px);
}
.city-chip.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.city-chip.is-current:hover { color: #fff; background: #1e3868; }
.city-chip.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .case-item,
  .case-item:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .case-item:nth-child(even) .case-cover { order: 0; }
  .header-tel { display: none; }
  .about-card,
  .message-card,
  .cities-grid { grid-template-columns: 1fr; }
  .about-media img { min-height: 220px; }
  .message-form .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .news-grid { grid-template-columns: 1fr; column-gap: 0; }
  .nav-toggle { display: flex; }
  .header-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    display: none;
  }
  .site-header.is-nav-open .header-right { display: flex; }
  .nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav a {
    border-radius: 6px;
    text-align: center;
  }
  .header-tel {
    display: block;
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .header-inner { position: relative; }
}
@media (max-width: 720px) {
  .hero-nav { width: 34px; height: 34px; font-size: 24px; }
  .hero, .hero.is-hero-main {
    height: var(--carousel-h, clamp(220px, 56vh, 480px));
  }
  .hero-dots.is-vertical {
    right: 10px;
  }
  .achievements { flex-wrap: wrap; }
  .achievement-item { flex: 1 1 calc(50% - 6px); min-width: calc(50% - 6px); }
  .contact-band-inner { padding: 40px 0 32px; gap: 18px; }
  .contact-bottom-row { flex-direction: column; align-items: center; }
  .contact-bottom-nav .footer-nav { justify-content: center; }
  .section.band, .home-block, .page-shell { padding: 40px 0; }
  .article { padding: 20px; }
  .project-body { padding: 18px 16px 20px; }
  .about-copy { padding: 28px 22px; }
  .partner-card { min-width: 140px; min-height: 68px; }
  .cities-hero { padding: 22px; }
  .message-aside,
  .message-form-side { padding: 28px 22px; }
}
@media (min-width: 1400px) {
  :root { --max: 1280px; }
}
@media (min-width: 1600px) {
  :root { --max: 1400px; }
}
