:root {
  --ink: #17202a;
  --muted: #617078;
  --paper: #f6f4ee;
  --paper-2: #ebe9e1;
  --white: #fffdf8;
  --teal: #0d5c63;
  --teal-2: #e1eeee;
  --green: #2e7d62;
  --amber: #d78a2c;
  --rust: #9a4f2c;
  --line: rgba(23, 32, 42, 0.12);
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: rgba(246, 244, 238, 0.94);
  border-bottom: 1px solid rgba(13, 92, 99, 0.16);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 156px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.nav a,
.contact-pill {
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 14px;
  color: #3e5056;
}

.nav a:hover {
  background: var(--teal-2);
  color: var(--teal);
}

.contact-pill {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.hero {
  min-height: 640px;
  position: relative;
  display: grid;
  align-items: end;
  padding: 92px 6vw 76px;
  overflow: hidden;
  background: #101719;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 30, 0.9) 0%, rgba(13, 27, 30, 0.72) 45%, rgba(13, 27, 30, 0.18) 100%),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner,
.wrap {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.kicker {
  color: #d9f0ed;
  margin-bottom: 18px;
}

.kicker::before,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

h1 {
  max-width: 920px;
  color: #fff;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1.02;
  font-weight: 900;
}

.hero-sub {
  max-width: 760px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  background: var(--amber);
  color: #181f22;
}

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

.section {
  padding: 82px 6vw;
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
}

.section.alt { background: var(--paper-2); }

.section-kicker { margin-bottom: 15px; }

h2 {
  max-width: 900px;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.12;
  font-weight: 900;
}

.lead {
  max-width: 860px;
  margin-top: 20px;
  color: #34444a;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.65;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 42px;
}

.panel,
.feature-card,
.deliverable {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(23, 32, 42, 0.08);
}

.panel {
  overflow: hidden;
}

.panel-head {
  padding: 28px;
  border-top: 7px solid var(--teal);
}

.panel:nth-child(2) .panel-head {
  border-top-color: var(--amber);
}

.panel h3,
.feature-card h3,
.deliverable h3 {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 12px;
}

.panel:nth-child(2) h3 {
  color: var(--rust);
}

.panel p,
.feature-card p,
.deliverable p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.module-map {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(13, 92, 99, 0.12), rgba(46, 125, 98, 0.08)),
    #fffdf8;
}

.module-map div {
  min-height: 66px;
  padding: 14px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(13, 92, 99, 0.2);
  border-left: 5px solid var(--teal);
  background: #fff;
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.panel:nth-child(2) .module-map div {
  border-left-color: var(--amber);
  color: var(--rust);
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.flow div {
  min-height: 94px;
  padding: 17px;
  display: grid;
  align-content: center;
  background: var(--white);
  border-left: 5px solid var(--green);
  color: #34444a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.42;
}

.feature-grid,
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card,
.deliverable {
  padding: 24px;
  border-top: 6px solid var(--teal);
}

.feature-card:nth-child(2),
.deliverable:nth-child(2) {
  border-top-color: var(--green);
}

.feature-card:nth-child(3),
.deliverable:nth-child(3) {
  border-top-color: var(--amber);
}

.case-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 52px;
}

.case-block.reverse .case-copy {
  order: 2;
}

.case-copy {
  padding: 32px;
  background: var(--white);
  border-left: 7px solid var(--teal);
  box-shadow: 0 10px 32px rgba(23, 32, 42, 0.08);
}

.case-block.reverse .case-copy {
  border-left-color: var(--amber);
}

.case-copy h3 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  color: var(--teal);
}

.case-block.reverse h3 {
  color: var(--rust);
}

.case-copy p {
  margin-top: 18px;
  color: #34444a;
  font-size: 17px;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-list span {
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--teal-2);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.case-block.reverse .tag-list span {
  background: #faead8;
  color: var(--rust);
}

.image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.image-mosaic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.08);
}

.image-mosaic img.wide {
  grid-column: 1 / -1;
  height: 260px;
}

.contact {
  background: var(--ink);
  color: #fff;
}

.contact .section-kicker { color: #d9f0ed; }
.contact h2 { color: #fff; }
.contact .lead { color: rgba(255, 255, 255, 0.76); }

.contact-line {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--amber);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
}

footer {
  padding: 24px 6vw;
  background: #11181d;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brandline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.beian-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  line-height: 1.6;
}

.beian-row a {
  color: inherit;
}

.beian-row a:hover {
  color: rgba(255, 255, 255, 0.86);
}

.beian-separator {
  color: rgba(255, 255, 255, 0.26);
}

.gaba-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
}

@media (max-width: 1080px) {
  .two-col,
  .case-block,
  .flow,
  .feature-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  .case-block.reverse .case-copy {
    order: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 22px;
  }

  .nav {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .contact-pill { display: none; }

  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero { min-height: 560px; }

  .module-map,
  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .image-mosaic img,
  .image-mosaic img.wide {
    height: 220px;
  }
}
