:root {
  --bg: #ffffff;
  --surface: #f7faf9;
  --surface-strong: #eff7f5;
  --card: #ffffff;
  --ink: #15202b;
  --text: #283746;
  --muted: #667481;
  --line: #dfe8e7;
  --teal: #008f7a;
  --teal-deep: #006f61;
  --teal-soft: #dff4f0;
  --amber: #f4a429;
  --amber-soft: #fff2d8;
  --header-bg: rgba(255, 255, 255, 0.93);
  --header-border: rgba(223, 232, 231, 0.85);
  --button-secondary-bg: #ffffff;
  --input-bg: #f7faf9;
  --shadow: 0 18px 45px rgba(21, 32, 43, 0.09);
  --radius: 8px;
  --container: 1180px;
}

html[data-theme="dark"] {
  --bg: #0d131c;
  --surface: #121b26;
  --surface-strong: #182432;
  --card: #151f2b;
  --ink: #eff6fb;
  --text: #d2dfeb;
  --muted: #93a8b8;
  --line: #293746;
  --teal: #19c7b0;
  --teal-deep: #61ddcf;
  --teal-soft: rgba(25, 199, 176, 0.15);
  --amber: #ffb84a;
  --amber-soft: rgba(255, 184, 74, 0.16);
  --header-bg: rgba(13, 19, 28, 0.92);
  --header-border: rgba(41, 55, 70, 0.9);
  --button-secondary-bg: #101925;
  --input-bg: #101925;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 180ms ease, color 180ms ease;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
}

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

.hero-copy,
.section-heading,
.service-card,
.scene-list,
.standards-list,
.contact-copy,
.contact-form {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--teal-deep);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  width: 92px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(31, 103, 232, 0.14));
}

.brand-text {
  overflow: hidden;
  font-size: 18px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-deep);
  background: var(--teal-soft);
  outline: 0;
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(0, 143, 122, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #ffffff;
  background: var(--teal-deep);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(21, 32, 43, 0.05);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--teal-deep);
  background: var(--teal-soft);
  outline: 0;
}

.theme-toggle-graphic {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--amber-soft);
}

html[data-theme="dark"] .theme-toggle-graphic {
  background: #d7e9ff;
  box-shadow: inset -6px -3px 0 #1c2a3a, 0 0 0 4px rgba(25, 199, 176, 0.13);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  padding: 88px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 58px;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 54px;
  line-height: 1.13;
  font-weight: 900;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  margin: 20px 0 0;
  color: var(--teal-deep);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-lead span {
  display: inline;
}

.hero-text {
  max-width: 630px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(0, 143, 122, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-deep);
}

.button.secondary {
  color: var(--teal-deep);
  background: var(--button-secondary-bg);
  border-color: rgba(0, 143, 122, 0.45);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--teal-soft);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 36px 0 0;
  color: var(--ink);
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg,
.scene-list svg,
.service-icon {
  width: 26px;
  height: 26px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  right: -22px;
  bottom: -18px;
  width: 46%;
  height: 42%;
  content: "";
  background: var(--amber-soft);
  border-radius: 8px;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section h2,
.section-heading h2,
.standards-grid h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 900;
}

.section-heading p,
.standards-grid > div > p,
.contact-copy > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.services-section,
.standards-section {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(21, 32, 43, 0.05);
}

.service-card {
  min-width: 0;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--teal);
  stroke-width: 1.6;
}

.service-card:nth-child(2n) .service-icon {
  color: var(--amber);
}

.service-card h3,
.process-list h3,
.scene-list h3,
.standards-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 850;
}

.service-card p {
  min-height: 86px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  padding: 0;
  margin: 18px 0 0;
  color: var(--text);
  list-style: none;
  font-size: 14px;
}

.service-card li {
  position: relative;
  padding-left: 15px;
  margin-top: 8px;
}

.service-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

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

.process-list::before {
  position: absolute;
  top: 35px;
  left: 8%;
  right: 8%;
  height: 1px;
  content: "";
  background: var(--line);
}

.process-list li {
  position: relative;
  min-width: 0;
  padding: 0 18px;
  text-align: center;
}

.process-list span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--teal-deep);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.process-list li:nth-child(2n) span {
  color: #9b6200;
  background: var(--amber-soft);
  border-color: #f8dca9;
}

.process-list p,
.scene-list p,
.standards-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 56px;
}

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

.scene-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scene-list svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.scene-list article:nth-child(2n) svg {
  color: var(--amber);
}

.standards-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 46px;
  align-items: start;
}

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

.standards-list article {
  position: relative;
  min-width: 0;
  padding: 24px 24px 24px 58px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.standards-list span {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 18px;
  height: 18px;
  background: var(--teal);
  border: 5px solid var(--teal-soft);
  border-radius: 50%;
}

.standards-list article:nth-child(2n) span {
  background: var(--amber);
  border-color: var(--amber-soft);
}

.contact-section {
  padding-bottom: 58px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 14px;
}

.contact-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form .form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 122, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--teal-deep);
  font-weight: 800;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .hero-media img {
    max-height: 520px;
  }

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

  .service-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

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

  .process-list::before {
    display: none;
  }
}

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

  .header-inner {
    position: relative;
    min-height: 78px;
    padding-right: 54px;
    gap: 16px;
    justify-content: flex-start;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
  }

  .brand-logo {
    width: 92px;
    height: auto;
  }

  .brand-text {
    max-width: none;
    overflow: visible;
    font-size: 15px;
    line-height: 1.18;
    white-space: normal;
    text-overflow: clip;
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .menu-button {
    position: absolute;
    top: 18px;
    right: 0;
    z-index: 2;
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding: 54px 0 52px;
  }

  .hero h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 21px;
    overflow-wrap: anywhere;
  }

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

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 44px;
    padding: 11px 16px;
  }

  .hero-points {
    gap: 14px;
  }

  .section {
    padding: 62px 0;
  }

  .section h2,
  .section-heading h2,
  .standards-grid h2,
  .contact-copy h2 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .service-grid,
  .scene-list,
  .standards-list,
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2n),
  .service-card:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-card p {
    min-height: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px 16px;
    padding: 18px;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .process-list span {
    grid-row: span 2;
    width: 58px;
    height: 58px;
    margin: 0;
    font-size: 15px;
  }

  .process-list p {
    margin-top: 0;
  }

  .split-layout,
  .standards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .theme-toggle {
    width: 42px;
    padding: 8px;
    justify-content: center;
  }

  .theme-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

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

  .brand-logo {
    width: 64px;
    height: auto;
  }

  .brand-text {
    max-width: 150px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  .hero-lead span {
    display: block;
  }

  .service-card p,
  .service-card li,
  .scene-list p,
  .standards-list p,
  .contact-copy p,
  .section-heading p {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-points {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-media::before {
    right: -10px;
    bottom: -10px;
    width: 58%;
    height: 34%;
  }

  .section h2,
  .section-heading h2,
  .standards-grid h2,
  .contact-copy h2 {
    font-size: 26px;
  }

  .service-card,
  .scene-list article,
  .standards-list article {
    padding: 20px;
  }

  .standards-list article {
    padding-left: 52px;
  }

  .standards-list span {
    left: 20px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
