:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3fb;
  --ink: #1f2937;
  --muted: #6b7280;
  --brand: #204da0;
  --brand-deep: #163a7c;
  --line: rgba(31, 41, 55, 0.1);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(32, 77, 160, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f4f6fa 100%);
}

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

img {
  max-width: 100%;
  display: block;
  background: linear-gradient(135deg, #eef4ff, #f7faff);
}

.container {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(32, 77, 160, 0.08);
  backdrop-filter: blur(12px);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand a {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: min(230px, 42vw);
  height: auto;
  display: block;
  background: transparent;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #374151;
  transition: all 0.25s ease;
}

.nav a:hover {
  background: var(--brand);
  color: #fff;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
  padding: 48px 0 24px;
}

.hero-copy,
.hero-brand-panel,
.about-panel,
.service-card,
.case-card,
.partner-card {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  min-height: 360px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 34, 80, 0.86), rgba(32, 77, 160, 0.92)),
    url("/assets/banner01.jpg") center/cover no-repeat;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: #c8dafc;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.hero-copy p {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  font-size: 16px;
}

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

.primary-cta,
.secondary-cta,
.section-more,
.chip {
  transition: all 0.25s ease;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.primary-cta {
  background: #fff;
  color: var(--brand);
}

.primary-cta:hover {
  transform: translateY(-2px);
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-brand-panel {
  padding: 34px 30px;
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  border: 1px solid rgba(32, 77, 160, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo {
  width: min(260px, 100%);
  aspect-ratio: 260 / 82;
  object-fit: contain;
  margin-bottom: 24px;
  background: transparent;
}

.hero-logo-fallback {
  width: 220px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-brand-panel p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
}

.hero-carousel {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0 0 30px;
  transform: translateX(-50%);
  overflow: hidden;
  background: #dbe7fb;
  box-shadow: var(--shadow);
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(10, 23, 54, 0.2));
  pointer-events: none;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.7s ease;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100vw;
  width: 100vw;
  min-height: 420px;
  max-height: 620px;
  overflow: hidden;
}

.hero-slide img,
.banner-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-fallback {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: linear-gradient(135deg, #d9e6ff, #eef4ff);
  color: var(--brand);
  font-weight: 700;
  font-size: 32px;
}

.hero-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-carousel-button:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.hero-carousel-prev {
  left: 24px;
}

.hero-carousel-next {
  right: 24px;
}

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

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-carousel-dot.is-active {
  width: 34px;
  background: #ffffff;
}

.home-section {
  margin: 28px 0;
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(32, 77, 160, 0.06);
  box-shadow: var(--shadow);
}

.section-topbar,
.about-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  color: #111827;
}

.section-heading-center {
  text-align: center;
}

.section-heading-center .section-kicker {
  color: var(--brand);
}

.section-kicker {
  color: var(--brand);
  margin-bottom: 8px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}

.section-more:hover {
  background: var(--brand-deep);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

.chip {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f5f7fb;
  border: 1px solid rgba(32, 77, 160, 0.08);
  color: #4b5563;
}

.chip:hover {
  background: var(--brand);
  color: #fff;
}

.chip.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(32, 77, 160, 0.18);
}

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

.case-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.case-card img,
.service-card img,
.news-thumb img,
.partner-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.case-card img,
.service-card img {
  aspect-ratio: 2 / 1;
}

.case-card-body,
.service-card-body,
.partner-card {
  padding: 20px;
}

.case-card h3,
.service-card h3,
.news-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.case-card p,
.service-card p,
.news-item p,
.about-copy p,
.about-panel li {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.about-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-copy p {
  margin: 18px 0 28px;
}

.about-panel {
  padding: 34px;
  background: linear-gradient(135deg, #204da0, #2c6fe0);
  color: #fff;
}

.about-panel ul {
  margin: 0;
  padding-left: 20px;
}

.about-panel li {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

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

.service-card {
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card-body {
  display: grid;
  gap: 12px;
}

.service-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.case-card:hover,
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(32, 77, 160, 0.18);
  box-shadow: 0 26px 70px rgba(32, 77, 160, 0.16);
}

.case-card:hover img,
.service-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.case-card h3,
.service-card h3 {
  transition: color 0.25s ease;
}

.case-card:hover h3,
.service-card:hover h3 {
  color: var(--brand);
}

.case-card p,
.service-card p {
  transition: color 0.25s ease;
}

.case-card:hover p,
.service-card:hover p {
  color: #475569;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 18px;
  transition: transform 0.28s ease;
}

.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-link {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 20px;
  align-items: center;
  color: inherit;
  transition: transform 0.28s ease;
}

.news-thumb {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 11 / 7;
  background: linear-gradient(135deg, #e7eefc, #f7fbff);
}

.news-thumb img,
.news-thumb .image-fallback {
  height: 140px;
}

.news-thumb img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.news-arrow {
  font-size: 28px;
  color: #9ca3af;
  transition: transform 0.25s ease, color 0.25s ease;
}

.news-item h3,
.news-item p {
  transition: color 0.25s ease;
}

.news-item:hover {
  transform: translateX(6px);
}

.news-link:hover h3 {
  color: var(--brand);
}

.news-link:hover p {
  color: #475569;
}

.news-link:hover .news-thumb img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.news-link:hover .news-arrow {
  transform: translateX(12px);
  color: var(--brand);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.partner-card {
  min-height: 160px;
  display: grid;
  gap: 14px;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
}

.partner-card img,
.partner-card .image-fallback {
  width: 100%;
  height: 88px;
  object-fit: contain;
}

.partner-card span {
  text-align: center;
  color: #475569;
}

.image-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7eefc, #f7fbff);
  color: var(--brand);
  font-weight: 700;
}

.page-head {
  padding: 48px 0 20px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.inner-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0 0 32px;
  transform: translateX(-50%);
  overflow: hidden;
  background: #dbe7fb;
}

.inner-banner img {
  width: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: cover;
}

.inner-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 42px clamp(16px, 6vw, 80px);
  background: linear-gradient(180deg, rgba(10, 23, 54, 0.12), rgba(10, 23, 54, 0.52));
}

.inner-banner-overlay h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
}

.card-grid,
.logo-grid {
  display: grid;
  gap: 24px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding-bottom: 48px;
}

.content-card,
.logo-card,
.rich-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-card-body,
.rich-page,
.logo-card {
  padding: 24px;
}

.content-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.content-card-link {
  display: block;
  color: inherit;
}

.card-detail-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 600;
  transition: color 0.25s ease;
}

.content-card h2,
.content-card p {
  transition: color 0.25s ease;
}

.content-card:hover {
  transform: translateY(-10px);
  border-color: rgba(32, 77, 160, 0.18);
  box-shadow: 0 26px 70px rgba(32, 77, 160, 0.16);
}

.content-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.content-card:hover h2,
.content-card:hover .card-detail-link {
  color: var(--brand);
}

.content-card:hover p {
  color: #475569;
}

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

.meta {
  color: var(--muted);
}

.logo-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 48px;
}

.logo-card img {
  width: 100%;
  height: 88px;
  object-fit: contain;
}

.hero-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 22px;
  margin: 18px 0 8px;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 42px;
}

.pager-button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(32, 77, 160, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pager-button:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.pager-button.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 12px 26px rgba(32, 77, 160, 0.18);
}

.pager-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.site-footer {
  margin-top: 56px;
  background: linear-gradient(135deg, #17356f, #204da0 55%, #2865cf);
  color: rgba(255, 255, 255, 0.92);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  padding: 36px 0 42px;
}

.site-footer-brand img {
  width: min(240px, 60vw);
  margin-bottom: 18px;
  background: transparent;
}

.site-footer-brand p,
.site-footer-contact p {
  margin: 0;
  line-height: 1.9;
}

.site-footer-contact h3 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #ffffff;
}

.site-footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

@media (max-width: 1080px) {
  .home-hero,
  .about-shell,
  .service-grid,
  .case-grid,
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-link {
    grid-template-columns: 180px 1fr;
  }

  .news-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero .container,
  .section-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero,
  .about-shell,
  .service-grid,
  .case-grid,
  .partner-grid,
  .news-link,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-brand-panel,
  .home-section {
    padding: 24px;
  }

  .nav {
    justify-content: flex-start;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .hero-slide,
  .banner-fallback {
    min-height: 240px;
  }

  .inner-banner img {
    min-height: 180px;
  }

  .hero-carousel-button {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    font-size: 28px;
  }

  .hero-carousel-prev {
    left: 12px;
  }

  .hero-carousel-next {
    right: 12px;
  }

  .hero-carousel-dots {
    bottom: 14px;
  }
}
