:root {
  --ink: #101820;
  --muted: #59636e;
  --line: #dce4e8;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --teal: #0f766e;
  --teal-deep: #0b4f4a;
  --blue: #2563eb;
  --amber: #ffb020;
  --coral: #ef6f5e;
  --shadow: 0 18px 45px rgba(16, 24, 32, 0.1);
  color-scheme: light;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 32px rgba(16, 24, 32, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(16, 24, 32, 0.14);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  max-width: none;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: '';
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78vh;
  padding: 118px clamp(22px, 6vw, 80px) 64px;
  overflow: hidden;
  color: #ffffff;
  background: #101820;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(16, 24, 32, 0.92) 0%,
      rgba(16, 24, 32, 0.68) 45%,
      rgba(16, 24, 32, 0.2) 100%
    ),
    url('../img/banner2.24b1d854.jpg') center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 2.8vw, 31px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--amber);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 52px 0 0;
}

.hero-facts div {
  min-width: 126px;
  padding-left: 18px;
  border-left: 3px solid var(--amber);
}

.hero-facts dt {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: clamp(68px, 8vw, 104px) clamp(20px, 5vw, 56px);
}

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

.signal-band {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: center;
}

.signal-grid h2,
.section-heading h2,
.industry-copy h2,
.about-copy h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.signal-grid p:last-child,
.section-heading p,
.industry-copy p,
.about-copy p,
.contact-layout p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.service-card,
.value-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.05);
}

.service-card:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.service-card:nth-child(3) {
  border-top: 4px solid var(--coral);
}

.service-card:nth-child(4) {
  border-top: 4px solid var(--amber);
}

.service-card:first-child {
  border-top: 4px solid var(--teal);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
}

.service-card h3,
.tab-panel h3,
.value-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.service-card p,
.tab-panel p,
.tab-panel li,
.process-list p,
.value-grid p {
  color: var(--muted);
}

.service-card p,
.value-grid p {
  margin: 16px 0 0;
}

.industry-band {
  background:
    linear-gradient(90deg, rgba(244, 248, 247, 0.96), rgba(255, 255, 255, 0.84)),
    url('../img/banner1.d01537c2.jpg') center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: 44px;
  align-items: center;
}

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

.trend-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.06);
}

.trend-list span {
  color: var(--teal-deep);
  font-size: 22px;
  font-weight: 800;
}

.trend-list p {
  margin: 0;
  color: var(--muted);
}

.solution-tabs {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.tab-button {
  min-height: 62px;
  padding: 14px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button.is-active {
  color: #ffffff;
  background: var(--teal);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  min-height: 260px;
  padding: clamp(26px, 5vw, 48px);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel p {
  margin: 14px 0 0;
}

.tab-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab-panel li {
  position: relative;
  padding-left: 22px;
}

.tab-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: '';
  background: var(--amber);
}

.process-band {
  background: #f7f3ec;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 190px;
  padding: 28px 22px 22px;
  border-radius: 8px;
  background: #ffffff;
  counter-increment: process;
}

.process-list li::before {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  content: '0' counter(process);
}

.process-list span {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.process-list p {
  margin: 12px 0 0;
}

.partners {
  background: #ffffff;
}

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

.partner-grid figure {
  display: grid;
  place-items: center;
  min-height: 230px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.05);
}

.partner-grid img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.partner-grid figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.about-copy p {
  font-size: 16px;
  line-height: 1.9;
}

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

.value-grid article {
  min-height: 190px;
}

.value-grid article:nth-child(1) {
  border-top: 4px solid var(--teal);
}

.value-grid article:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.value-grid article:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.value-grid article:nth-child(4) {
  border-top: 4px solid var(--coral);
}

.contact-section {
  color: #ffffff;
  background: #101820;
}

.contact-section .eyebrow {
  color: var(--amber);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-items span {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  padding: 32px 20px;
  color: rgba(255, 255, 255, 0.82);
  background: #0a1118;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  margin: 6px 0;
  font-size: 14px;
}

.footer-inner a {
  color: #b8e7e1;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .service-grid,
  .process-list,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 17px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 24px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(16, 24, 32, 0.12);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    padding: 12px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 74vh;
    padding: 100px 20px 40px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.76) 100%),
      url('../img/banner2.24b1d854.jpg') center / cover no-repeat;
  }

  .hero-lead {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    gap: 14px;
    margin-top: 34px;
  }

  .hero-facts div {
    min-width: calc(50% - 7px);
  }

  .signal-grid,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .partner-grid,
  .value-grid,
  .contact-items {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .tab-button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab-button:last-child {
    border-bottom: 0;
  }

  .trend-list div {
    grid-template-columns: 1fr;
  }

  .about-image img {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
