﻿:root {
  --primary: #0f4aa6;
  --primary-dark: #0a3475;
  --primary-soft: #eaf2ff;
  --accent: #2c7be5;
  --text: #1d2b44;
  --text-soft: #5e6b84;
  --line: rgba(15, 74, 166, 0.12);
  --white: #ffffff;
  --surface: #f6f9ff;
  --shadow: 0 18px 45px rgba(14, 44, 96, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(44, 123, 229, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 74, 166, 0.08);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(15, 74, 166, 0.22);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 1.1rem;
}

.logo-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary);
  background: rgba(15, 74, 166, 0.08);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--primary-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
  transition: 0.25s ease;
}

.hero-slider {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: #091933;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(5, 20, 48, 0.85) 0%, rgba(8, 40, 95, 0.72) 45%, rgba(13, 75, 166, 0.36) 100%),
    linear-gradient(180deg, rgba(2, 12, 32, 0.1), rgba(2, 12, 32, 0.35));
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide-a {
  background-image: url("https://placehold.co/1600x900/0a3475/ffffff?text=Business+Growth");
}

.slide-b {
  background-image: url("https://placehold.co/1600x900/0f4aa6/ffffff?text=Consulting+Service");
}

.slide-c {
  background-image: url("https://placehold.co/1600x900/2c7be5/ffffff?text=Enterprise+Solutions");
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  padding: 120px 0 90px;
}

.hero-content h1,
.hero-content h2,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.15;
  max-width: 820px;
}

.hero-content p,
.page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8dc0ff;
}

.section-tag {
  color: var(--primary);
  letter-spacing: 0.12em;
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 14px 28px rgba(15, 74, 166, 0.22);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

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

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.34);
}

.dot.is-active {
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(234, 242, 255, 0.9), rgba(246, 249, 255, 0.7));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.split-layout h2,
.form-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: 1.2;
}

.section-heading p,
.split-layout p,
.form-panel p {
  margin: 0;
  color: var(--text-soft);
}

.about-grid,
.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.about-panel,
.metric-card,
.image-panel,
.service-card,
.featured-news,
.contact-card,
.map-panel,
.form-panel,
.info-card,
.case-card,
.news-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.metric-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--primary);
}

.metric-card span {
  color: var(--text-soft);
}

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

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

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

.info-card,
.news-card,
.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
}

.info-card h3,
.case-body h3,
.timeline-item h3,
.service-card h2,
.news-card h3,
.contact-card h3,
.featured-news h2 {
  margin: 0 0 12px;
  line-height: 1.3;
}

.info-card p,
.case-body p,
.timeline-item p,
.service-card p,
.news-card p,
.contact-card p,
.featured-news p,
.feature-list li,
.form-tip {
  margin: 0;
  color: var(--text-soft);
}

.case-card,
.news-card,
.featured-news {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.96);
}

.case-card img,
.news-card img,
.featured-news img,
.image-panel img,
.map-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card img,
.news-card img {
  height: 220px;
}

.case-body,
.news-card div,
.featured-news-body {
  padding: 24px;
}

.case-body span,
.news-card span,
.featured-news span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.cta-strip {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 25, 51, 0.95), rgba(15, 74, 166, 0.96)),
    url("https://placehold.co/1600x700/0a3475/ffffff?text=Enterprise+Contact");
  background-size: cover;
  background-position: center;
}

.cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-wrap h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  max-width: 780px;
}

.page-hero {
  padding: 120px 0 84px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 31, 70, 0.95), rgba(15, 74, 166, 0.88)),
    url("https://placehold.co/1600x720/0f4aa6/ffffff?text=Business+Page");
  background-size: cover;
  background-position: center;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.image-panel,
.map-panel,
.form-panel {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.96);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
}

.service-grid {
  align-items: stretch;
}

.service-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  border-radius: 18px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.feature-list {
  margin: 24px 0 0;
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 12px;
}

.featured-news {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.featured-news img {
  min-height: 100%;
}

.featured-news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-news-body span:last-child {
  margin-top: 24px;
  color: var(--text-soft);
  font-weight: 500;
}

.contact-card {
  min-height: 170px;
}

.map-note {
  padding: 22px 24px;
}

.map-note strong {
  display: block;
  margin-bottom: 6px;
}

.form-panel {
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(15, 74, 166, 0.16);
  border-radius: 16px;
  background: #f9fbff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.12);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  padding: 66px 0 40px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 16px;
  color: var(--white);
}

.site-footer p,
.site-footer li,
.footer-bottom span {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
}

@media (max-width: 1080px) {
  .four-col,
  .three-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .split-layout,
  .contact-layout,
  .featured-news,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider,
  .hero-content {
    min-height: 70vh;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
  }

  .two-col,
  .four-col,
  .three-col,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .page-hero {
    padding-top: 100px;
  }

  .cta-wrap,
  .footer-bottom-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-wrap {
    min-height: 76px;
  }

  .hero-content h1,
  .hero-content h2,
  .page-hero h1,
  .section-heading h2,
  .split-layout h2,
  .form-panel h2,
  .cta-wrap h2 {
    font-size: 1.9rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }

  .form-panel {
    padding: 26px 20px;
  }

  .service-card,
  .timeline-item,
  .info-card,
  .news-card,
  .contact-card {
    padding: 22px;
  }
}

.wechat-qr {
  width: 120px;
  height: 120px;
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 74, 166, 0.12);
  box-shadow: 0 10px 24px rgba(15, 74, 166, 0.12);
}

.contact-card-wechat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wechat-qr {
  width: 120px;
  height: 120px;
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 74, 166, 0.12);
  box-shadow: 0 10px 24px rgba(15, 74, 166, 0.12);
  object-fit: cover;
}
