:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #5c6a78;
  --line: #dce4ea;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --deep: #0f2741;
  --cyan: #0b83a5;
  --green: #1f8a64;
  --amber: #d98825;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  color: #26384b;
}

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

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

.phone {
  color: var(--deep);
  font-weight: 700;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 700;
  border-radius: 6px;
}

.btn-primary {
  color: #fff;
  background: var(--amber);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.section,
.section-band {
  padding: 88px 42px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: var(--soft);
}

.section-alt > * {
  max-width: 1156px;
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 39, 65, 0.94), rgba(12, 72, 91, 0.88)),
    #0f2741;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: #7ee0b4;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics div {
  padding: 18px 18px 0 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

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

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  padding: 20px;
  color: #fff;
  background: rgba(15, 39, 65, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.visual-panel span {
  display: block;
  color: #94e4c1;
  font-size: 13px;
  font-weight: 800;
}

.visual-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
}

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

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.service-grid,
.new-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article,
.new-grid article {
  min-height: 210px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
}

.service-grid p,
.new-grid p,
.case-grid p,
.solution-list span,
.process-list span {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--cyan);
  border-radius: 6px;
}

.solution-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.solution-feature,
.case-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.08);
}

.solution-feature img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.solution-feature div,
.case-grid div {
  padding: 24px;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-list a {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-list a:hover {
  border-color: var(--green);
}

.new-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.new-grid article {
  min-height: 170px;
  border-top: 4px solid var(--green);
}

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

.case-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  min-height: 150px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 26px;
  font-weight: 800;
}

.process-list strong,
.process-list span {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: 42px;
  align-items: center;
  color: #fff;
  background: var(--deep);
}

.contact h2 {
  max-width: 720px;
  font-size: 44px;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-card a,
.contact-card p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card strong {
  color: #fff;
  font-size: 20px;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 24px 42px 82px;
  color: var(--muted);
  font-size: 14px;
  background: #f7f9fb;
}

.mobile-cta {
  display: none;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 42px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 39, 65, 0.96), rgba(10, 89, 95, 0.86)),
    var(--deep);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.page-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.breadcrumb {
  margin-bottom: 14px;
  color: #7ee0b4;
  font-size: 13px;
  font-weight: 800;
}

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

.detail-card,
.wide-card,
.seo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
}

.detail-card {
  padding: 28px;
}

.detail-card ul,
.wide-card ul,
.seo-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}

.wide-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  overflow: hidden;
}

.wide-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.wide-card > div {
  padding: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  padding: 5px 10px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  background: #e9f4f1;
  border-radius: 999px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-card {
  padding: 22px;
}

.seo-card strong {
  display: block;
  margin-bottom: 8px;
}

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

.case-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-row img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.case-row div {
  padding: 24px;
}

.case-row span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 800;
}

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

.form-note {
  padding: 18px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-panel a {
  padding: 18px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .phone {
    display: none;
  }

  .hero,
  .page-hero,
  .contact,
  .solution-layout,
  .wide-card,
  .case-row {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    height: 380px;
  }

  .service-grid,
  .new-grid,
  .case-grid,
  .process-list,
  .seo-grid,
  .link-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section,
  .section-band {
    padding: 62px 18px;
  }

  .site-header {
    min-height: 64px;
  }

  .header-actions .btn {
    display: none;
  }

  h1 {
    font-size: 39px;
  }

  h2,
  .contact h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 17px;
  }

  .metrics,
  .service-grid,
  .new-grid,
  .case-grid,
  .process-list,
  .detail-grid,
  .seo-grid,
  .link-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 300px;
  }

  .page-hero img {
    height: 250px;
  }

  .visual-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .solution-feature img,
  .case-grid img {
    height: 220px;
  }

  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-cta a {
    display: grid;
    min-height: 46px;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: var(--green);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  .mobile-cta a:last-child {
    background: var(--amber);
  }
}
