:root {
  --bg: oklch(1 0 0);
  --ink: oklch(0.18 0.025 44);
  --muted: oklch(0.42 0.024 44);
  --primary: oklch(0.66 0.16 89);
  --primary-dark: oklch(0.28 0.08 57);
  --accent: oklch(0.42 0.16 24);
  --wash: oklch(0.95 0.02 91);
  --line: oklch(0.86 0.022 82);
  --shadow: 0 8px 24px oklch(0.2 0.04 40 / 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", Georgia, serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: oklch(1 0 0 / 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
nav,
.hero-actions,
footer,
.process li {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
footer strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand small,
footer span {
  display: block;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  gap: 22px;
  color: var(--muted);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.95rem;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-weight: 700;
}

.nav-cta,
.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  min-height: calc(100svh - 86px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(115deg, oklch(0.99 0 0) 0%, oklch(0.99 0.006 91) 58%, var(--wash) 100%);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.seal-line {
  margin: 0 0 20px;
  color: var(--accent);
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.image-slot {
  display: grid;
  min-height: 260px;
  align-content: end;
  gap: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, oklch(0.96 0.025 91), oklch(0.9 0.04 83)),
    var(--wash);
  border: 1px solid var(--line);
  color: var(--primary-dark);
}

.image-slot span {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}

.image-slot strong {
  max-width: 34ch;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.hero-image {
  display: block;
  width: 100%;
  min-height: 560px;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro,
.section,
.split,
.cta {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  background: var(--primary-dark);
  color: white;
}

.intro p {
  max-width: 66ch;
  color: oklch(0.9 0.018 86);
  font-size: 1.1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 44ch;
  color: var(--muted);
}

.service-grid,
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.service-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 0 24px 24px;
  background: white;
  border: 1px solid var(--line);
}

.service-photo {
  display: block;
  width: calc(100% + 48px);
  height: 180px;
  margin: 0 -24px 22px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-grid article > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  background: var(--primary);
  color: var(--primary-dark);
  font-weight: 900;
}

.service-grid p,
.detail-grid p,
.detail-grid li,
.case-list p,
.panel li,
.process span {
  color: var(--muted);
}

.details {
  background: white;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
}

.detail-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--wash);
}

.detail-grid ul {
  padding-left: 1.2rem;
  margin: 16px 0 0;
}

.detail-grid li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  background: var(--wash);
}

.split-image {
  display: block;
  width: 100%;
  min-height: 520px;
  height: 100%;
  object-fit: cover;
}

.tall {
  min-height: 520px;
}

.panel {
  max-width: 680px;
}

.panel ul {
  padding-left: 1.2rem;
  margin: 24px 0 30px;
}

.panel li + li {
  margin-top: 12px;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.process {
  background: var(--primary-dark);
  color: white;
}

.process .section-head p,
.process span {
  color: oklch(0.86 0.016 86);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: oklch(0.42 0.075 62);
}

.process li {
  min-height: 190px;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--primary-dark);
}

.image-guide {
  background: white;
}

.image-grid .image-slot {
  min-height: 230px;
}

.cases {
  background: white;
}

.case-grid {
  display: grid;
  gap: 24px;
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  background: var(--primary-dark);
  color: white;
}

.case-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.case-body {
  padding: clamp(24px, 4vw, 44px);
}

.case-body h3 {
  margin-bottom: 20px;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.result-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.result-strip span {
  min-height: 92px;
  padding: 14px;
  background: oklch(0.36 0.085 58);
  color: oklch(0.9 0.018 86);
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.result-strip strong {
  display: block;
  color: white;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
}

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

.case-list p {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid oklch(0.5 0.07 65);
}

.case-list strong {
  color: white;
}

.gallery-grid figure {
  margin: 0;
  background: var(--wash);
  border: 1px solid var(--line);
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 14px 16px;
  color: var(--primary-dark);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-weight: 800;
}

.faq {
  display: grid;
  background: var(--wash);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.faq-list details {
  width: 100%;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta {
  text-align: center;
  background: var(--accent);
  color: white;
}

.cta p {
  font-weight: 800;
}

.cta h2 {
  max-width: 820px;
  margin: 0 auto 28px;
}

.cta .button.primary {
  background: white;
  color: var(--accent);
}

footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

footer a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header,
  nav,
  .intro,
  .split,
  .section-head,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 12px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero,
  .intro,
  .split,
  .case-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image,
  .split-image,
  .tall {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    padding: 14px 16px;
  }

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

  nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-size: 0.9rem;
  }

  .nav-cta {
    grid-column: 1 / -1;
  }

  .hero,
  .intro,
  .section,
  .split,
  .cta {
    padding: 38px 16px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

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

  .service-grid,
  .image-grid,
  .detail-grid,
  .process ol {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-grid article {
    min-height: auto;
    padding: 0 18px 20px;
  }

  .service-photo {
    width: calc(100% + 36px);
    height: 128px;
    margin: 0 -18px 16px;
  }

  .service-grid article > span {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .hero-image,
  .split-image,
  .tall,
  .image-slot {
    min-height: 260px;
  }

  .detail-grid article,
  .case-feature {
    min-height: auto;
  }

  .case-grid img {
    min-height: 220px;
  }

  .case-body {
    padding: 22px;
  }

  .result-strip {
    grid-template-columns: 1fr;
  }

  .result-strip span {
    min-height: auto;
  }

  .process li {
    min-height: auto;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
