:root {
  --gold: #f6b400;
  --gold-dark: #c77c00;
  --ink: #18212f;
  --muted: #667085;
  --line: #e8edf2;
  --paper: #fbfaf7;
  --white: #ffffff;
  --teal: #178f8a;
  --green: #3d8b55;
  --shadow: 0 24px 60px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(232, 237, 242, 0);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(232, 237, 242, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(24, 33, 47, 0.06);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: #344054;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 650px;
  padding: 118px 0 42px;
  overflow: hidden;
  background: #f7f6f0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #f7f6f0;
}

.hero-bg::before {
  display: none;
}

.hero-bg::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 210px;
  content: "";
  background: linear-gradient(180deg, rgba(247, 246, 240, 0), #ffffff);
}

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

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

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

h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 980px;
  margin-bottom: 28px;
  color: #475467;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button.primary {
  color: #17130a;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(246, 180, 0, 0.28);
}

.button.primary:hover {
  background: #ffc52b;
}

.button.secondary {
  border: 1px solid #d0d5dd;
  background: rgba(255, 255, 255, 0.76);
}

.metrics {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.metrics div {
  min-height: 108px;
  padding: 20px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(24, 33, 47, 0.06);
}

.metrics dt {
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.metrics dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

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

.about {
  padding: 56px 0 96px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.about-copy {
  color: #475467;
  font-size: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.services,
.process {
  padding: 110px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

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

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card,
.solution-item,
.process-list li,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 280px;
  padding: 30px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(246, 180, 0, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  color: #17130a;
  background: #fff1bf;
  font-size: 14px;
  font-weight: 900;
}

.service-card p,
.solution-item p,
.process-list p {
  color: var(--muted);
}

.solutions {
  padding: 104px 0;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 36px;
  align-items: center;
}

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

.solution-item {
  min-height: 218px;
  padding: 24px;
}

.solution-item span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.dashboard-visual {
  position: relative;
  min-height: 488px;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 47, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(0deg, rgba(24, 33, 47, 0.08) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(24, 33, 47, 0.06) 0 1px, transparent 1px 42px);
  box-shadow: var(--shadow);
}

.dashboard-visual::before {
  position: absolute;
  inset: auto -18% -22% 18%;
  height: 56%;
  content: "";
  background: linear-gradient(135deg, rgba(246, 180, 0, 0.24), rgba(23, 143, 138, 0.22));
  transform: skewY(-8deg);
}

.visual-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.visual-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 20px 0 0 var(--gold), 40px 0 0 #d0d5dd;
}

.visual-header strong {
  margin-left: 50px;
}

.visual-header em {
  margin-left: auto;
  color: var(--teal);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.visual-stat,
.visual-bars,
.visual-flow {
  border: 1px solid rgba(232, 237, 242, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.visual-stat {
  min-height: 118px;
  padding: 22px;
}

.visual-stat small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.visual-stat strong {
  font-size: 38px;
  line-height: 1;
}

.visual-stat.accent strong {
  color: var(--teal);
}

.visual-bars {
  grid-column: span 2;
  display: flex;
  height: 172px;
  align-items: end;
  gap: 14px;
  padding: 22px;
}

.visual-bars i {
  flex: 1;
  min-width: 16px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

.visual-bars i:nth-child(even) {
  background: linear-gradient(180deg, var(--teal), #0f6c69);
}

.visual-flow {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 74px;
  align-items: center;
  padding: 18px;
}

.visual-flow span {
  position: relative;
  text-align: center;
  font-weight: 900;
}

.visual-flow span + span::before {
  position: absolute;
  left: -16px;
  color: var(--gold-dark);
  content: ">";
}

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

.process-list li {
  min-height: 230px;
  padding: 26px;
}

.process-list span {
  display: block;
  margin-bottom: 44px;
  color: var(--gold-dark);
  font-size: 15px;
  font-weight: 900;
}

.contact {
  padding: 100px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(500px, 560px);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
}

.contact-layout p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.contact-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-panel h3 {
  margin-bottom: 22px;
}

.contact-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  white-space: nowrap;
}

.contact-line strong {
  min-width: 0;
  text-align: left;
}

.contact-line:last-child strong {
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #111827;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.footer-inner p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin: 0;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .site-header {
    height: 68px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .site-header:focus-within .site-nav,
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-bg {
    background: #f7f6f0;
  }

  .hero-bg::before {
    display: none;
  }

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

  .contact-line:last-child strong {
    white-space: normal;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 146px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .solution-list,
  .visual-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

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

  .metrics div {
    min-height: auto;
    padding: 14px 10px;
  }

  .metrics dt {
    font-size: 24px;
  }

  .metrics dd {
    font-size: 12px;
    line-height: 1.35;
  }

  .services,
  .process,
  .solutions,
  .about,
  .contact {
    padding: 72px 0;
  }

  .visual-bars,
  .visual-flow {
    grid-column: span 1;
  }

  .dashboard-visual {
    min-height: auto;
  }

  .visual-flow {
    grid-template-columns: 1fr;
  }

  .visual-flow span + span::before {
    display: none;
  }

  .footer-inner {
    justify-content: center;
  }
}
