:root {
  --brand: #0b5cad;
  --accent: #f97316;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f5f8fb;
  --paper: #ffffff;
  --brand-dark: color-mix(in srgb, var(--brand), #000 18%);
  --brand-soft: color-mix(in srgb, var(--brand), #fff 91%);
  --accent-soft: color-mix(in srgb, var(--accent), #fff 88%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  padding: 8px 12px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: blur(12px);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.site-logo img {
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.site-nav a {
  display: block;
  padding: 25px 14px;
  color: #1f2937;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--brand);
  background: var(--brand-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-search {
  display: flex;
  width: 230px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.site-search input[type="text"] {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  outline: 0;
}

.site-search button {
  position: relative;
  width: 42px;
  border: 0;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
}

.site-search button::before {
  position: absolute;
  left: 12px;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.site-search button::after {
  position: absolute;
  left: 24px;
  top: 25px;
  width: 9px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.phone-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.25;
  white-space: nowrap;
}

.phone-link span {
  color: var(--muted);
  font-size: 12px;
}

.phone-link strong {
  color: var(--brand);
  font-size: 18px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

body.nav-open .nav-toggle span {
  opacity: 0;
}

body.nav-open .nav-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #fff;
  background: var(--brand-dark);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

.hero-slide:first-child,
.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 21, 40, .93) 0%, rgba(7, 21, 40, .82) 52%, rgba(7, 21, 40, .48) 100%),
    linear-gradient(0deg, rgba(7, 21, 40, .28), rgba(7, 21, 40, .12));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 560px;
  max-width: 760px;
  padding: 78px 0;
}

.eyebrow {
  color: color-mix(in srgb, var(--accent), #fff 18%);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  margin: 16px 0 18px;
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent), transparent 68%);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

.section {
  padding: 76px 0;
}

.section-muted {
  background: var(--soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-title span {
  color: var(--brand);
}

.section-desc {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

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

.feature-item {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-item b {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-tabs,
.subnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.case-tabs a,
.subnav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #334155;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.case-tabs a:hover,
.subnav-list a:hover,
.subnav-list a.on {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card,
.news-card,
.partner-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.case-card:hover,
.news-card:hover,
.partner-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand), #fff 55%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-card-body {
  padding: 18px;
}

.case-card h3,
.news-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.case-card p,
.news-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.about-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.28;
}

.about-content .lead {
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.stat-row div {
  padding: 18px;
  border-radius: 8px;
  background: var(--brand-soft);
}

.stat-row b {
  display: block;
  color: var(--brand);
  font-size: 26px;
  line-height: 1.1;
}

.stat-row span {
  color: #475569;
  font-size: 13px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card a {
  display: block;
  min-height: 100%;
  padding: 22px;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

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

.partner-card {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 18px;
}

.partner-card img {
  max-height: 72px;
  object-fit: contain;
}

.cta-band {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.site-footer {
  color: rgba(255, 255, 255, .86);
  background: #08192d;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
  padding: 52px 0 36px;
}

.footer-main h2,
.footer-main h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
}

.footer-brand p,
.footer-contact p,
.footer-main li {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.footer-main a:hover {
  color: #fff;
}

.footer-qr img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.footer-bottom {
  padding: 18px 0;
  color: rgba(255, 255, 255, .66);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

.inner-hero {
  position: relative;
  min-height: 260px;
  color: #fff;
  background: var(--brand-dark);
}

.inner-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}

.inner-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 25, 45, .82), rgba(8, 25, 45, .32));
}

.inner-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 260px;
}

.inner-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
}

.breadcrumb {
  margin-top: 14px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.breadcrumb a {
  color: #fff;
}

.inner-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
}

.sidebar {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sidebar-title {
  padding: 18px 20px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px 8px 0 0;
  font-weight: 700;
}

.sidebar .subnav-list {
  display: block;
  margin: 0;
  padding: 10px;
}

.sidebar .subnav-list li + li {
  margin-top: 6px;
}

.sidebar .subnav-list a {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.content-panel {
  min-width: 0;
}

.content-title {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 30px;
  line-height: 1.3;
}

.article-meta {
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.rich-text {
  color: #334155;
  word-break: break-word;
}

.rich-text p {
  margin: 0 0 16px;
}

.rich-text img {
  height: auto !important;
  margin: 18px auto;
  border-radius: 6px;
}

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

.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-row a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.article-row time,
.date-box {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
}

.date-box b {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.article-row h2 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.45;
}

.article-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pager,
.pageClass {
  grid-column: 1 / -1;
  margin-top: 28px;
  color: #475569;
  text-align: center;
}

.pager a,
.pageClass a,
.pageClass span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 3px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.pager a:hover,
.pageClass a:hover,
.pageClass .current,
.pageClass span.current {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.prev-next {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.prev-next p {
  margin: 0;
  color: #475569;
}

.search-empty {
  padding: 36px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.message-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--soft);
}

.message-card {
  width: min(680px, 100%);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.message-card h1 {
  margin: 0 0 12px;
  color: var(--brand);
}

.mobile-contact {
  display: none;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 82px;
    display: none;
    max-height: calc(100vh - 82px);
    overflow: auto;
    padding: 10px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  body.nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
  }

  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .header-actions {
    display: none;
  }

  .feature-grid,
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid,
  .news-grid,
  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 64px;
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-main {
    min-height: 68px;
  }

  .site-logo img {
    max-width: 150px;
  }

  .site-nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .hero,
  .hero-content {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 54px 0;
  }

  .section-head,
  .cta-inner {
    display: block;
  }

  .section-title,
  .about-content h2,
  .inner-hero h1 {
    font-size: 28px;
  }

  .feature-grid,
  .case-grid,
  .news-grid,
  .partner-grid,
  .about-grid,
  .list-grid,
  .stat-row,
  .inner-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .article-row a {
    grid-template-columns: 1fr;
  }

  .date-box {
    place-items: start;
    min-height: auto;
    padding: 10px 12px;
  }

  .mobile-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
  }

  .mobile-contact a {
    display: grid;
    place-items: center;
    min-height: 56px;
    color: var(--brand);
    font-weight: 700;
  }

  .mobile-contact a:first-child {
    color: #fff;
    background: var(--accent);
  }
}
