:root {
  --bg: #f7efe7;
  --bg-soft: #fcf7f1;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(112, 73, 29, 0.12);
  --text: #352215;
  --muted: #826c5c;
  --primary: #c96a2b;
  --primary-deep: #87401e;
  --teal: #d79b42;
  --dark: #40281b;
  --max: 1180px;
  --radius: 26px;
  --shadow: 0 22px 54px rgba(101, 62, 29, 0.12);
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(215, 155, 66, 0.18), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(201, 106, 43, 0.16), transparent 22%),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 45%, #f8f1ea 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(130, 108, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 108, 92, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 240, 0.86);
  border-bottom: 1px solid rgba(201, 106, 43, 0.1);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--primary));
  box-shadow: 0 12px 26px rgba(201, 106, 43, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
}

.brand-mark::before {
  width: 10px;
  height: 10px;
  top: 8px;
  left: 8px;
}

.brand-mark::after {
  width: 18px;
  height: 18px;
  right: 6px;
  bottom: 6px;
  opacity: 0.42;
}

.brand-text,
.brand-text small {
  display: block;
}

.brand-text {
  line-height: 1.08;
  font-weight: 700;
}

.brand-text small,
.eyebrow,
.section-label,
.mini-label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-text small {
  margin-bottom: 6px;
  color: var(--muted);
}

.nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.nav a:hover,
.footer-nav a:hover,
.header-cta:hover,
.button:hover {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta {
  border: 1px solid rgba(201, 106, 43, 0.16);
  background: rgba(255, 251, 247, 0.92);
  box-shadow: 0 10px 20px rgba(201, 106, 43, 0.1);
}

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

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--primary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(201, 106, 43, 0.22);
}

.button.secondary {
  border: 1px solid rgba(201, 106, 43, 0.16);
  background: rgba(255, 251, 247, 0.9);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(201, 106, 43, 0.14);
  background: rgba(255, 250, 245, 0.92);
}

.hero {
  padding: 42px 0 34px;
}

.hero-grid,
.intro-grid,
.solution-layout,
.about-grid,
.contact-grid,
.dark-grid,
.footer-inner {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 36px);
}

.eyebrow,
.section-label {
  color: var(--primary);
}

.hero-copy h1 {
  margin: 0 0 20px;
  max-width: 10ch;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p,
.section-head p,
.service-card p,
.info-card p,
.timeline-item p,
.about-card p,
.contact-card p,
.feature-copy p,
.visual-panel p,
.intro-card p,
.dark-card p {
  color: var(--muted);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-card,
.service-card,
.info-card,
.intro-card,
.timeline-item,
.about-card,
.contact-card,
.contact-note,
.dark-card,
.visual-panel,
.solution-feature,
.feature-copy {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.18rem;
}

.hero-visual {
  min-height: 620px;
  padding: 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(215, 155, 66, 0.22), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(201, 106, 43, 0.24), transparent 26%),
    linear-gradient(165deg, #6a4328 0%, var(--dark) 72%, #4d3120 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 68px rgba(55, 31, 16, 0.28);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}

.visual-panel,
.visual-photo {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.visual-panel {
  padding: 18px;
}

.visual-intro h2 {
  margin: 8px 0 10px;
  font-size: 1.5rem;
  line-height: 1.16;
}

.visual-main {
  grid-column: 1 / span 2;
  min-height: 260px;
}

.visual-side,
.visual-map {
  min-height: 176px;
}

.visual-photo img,
.solution-feature img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-map ul,
.checklist ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.section {
  padding: 52px 0;
}

.intro-strip {
  padding-top: 24px;
}

.intro-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.intro-card,
.contact-card,
.about-card,
.contact-note,
.dark-card {
  padding: 30px;
}

.intro-card h2,
.section-head h2,
.dark-card h2,
.about-card h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.intro-card.soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(251, 238, 224, 0.96));
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.narrow {
  max-width: 700px;
}

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

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

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

.service-card,
.info-card,
.timeline-item {
  padding: 24px;
}

.card-index,
.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--primary));
}

.service-card h3,
.info-card h3,
.timeline-item h3,
.feature-copy h3,
.contact-note h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.alt {
  background: linear-gradient(180deg, rgba(249, 231, 211, 0.5), rgba(252, 247, 241, 0.2));
}

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

.solution-feature {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.feature-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px;
  background: var(--surface-strong);
}

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

.dark-band {
  background:
    linear-gradient(135deg, rgba(67, 39, 23, 0.96), rgba(95, 56, 31, 0.94)),
    url("./image/abstract_tech_lines.jpg") center/cover;
}

.dark-grid {
  grid-template-columns: 1fr 0.92fr 0.88fr;
  align-items: stretch;
}

.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.dark-card p,
.dark-card li {
  color: rgba(255, 255, 255, 0.8);
}

.light {
  color: #7ce2ff;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.checklist ul {
  margin: 0;
}

.checklist li + li {
  margin-top: 14px;
}

.about-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.emphasis {
  background: linear-gradient(135deg, rgba(201, 106, 43, 0.08), rgba(215, 155, 66, 0.1));
  display: grid;
  align-content: center;
}

.big-quote {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.25;
  color: var(--primary-deep);
}

.contact-grid {
  grid-template-columns: 1.14fr 0.86fr;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
}

.contact-note {
  display: grid;
  align-content: start;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 238, 225, 0.96));
}

.site-footer {
  padding: 24px 0 42px;
}

.footer-inner {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .solution-layout,
  .about-grid,
  .contact-grid,
  .dark-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner.menu-open {
    position: relative;
  }

  .header-inner.menu-open .nav {
    display: grid;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    gap: 0;
    padding: 10px;
    background: rgba(255, 248, 240, 0.98);
    border: 1px solid rgba(201, 106, 43, 0.1);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .header-inner.menu-open .nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .hero-stats,
  .card-grid.two,
  .card-grid.three,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .visual-main {
    grid-column: auto;
  }
}

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

  .site-header {
    position: static;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .intro-card,
  .contact-card,
  .about-card,
  .contact-note,
  .dark-card,
  .service-card,
  .info-card,
  .timeline-item {
    padding: 22px;
  }

  .section {
    padding: 40px 0;
  }
}
