:root {
  --ink: #102033;
  --muted: #5f6f82;
  --line: #dce5ec;
  --soft-line: #edf2f5;
  --paper: #ffffff;
  --surface: #f7faf9;
  --surface-strong: #eef6f4;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-soft: #dff3ef;
  --gold: #b48a3c;
  --shadow: 0 18px 42px rgba(16, 32, 51, 0.09);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 92px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 236, 0.78);
  backdrop-filter: blur(14px);
  transition: box-shadow 160ms ease, background 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
}

.brand-logo {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.brand-text {
  display: block;
  max-width: 330px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #3d4b5d;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

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

.language-link,
.contact-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.language-link {
  min-width: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-size: 13px;
}

.contact-link {
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 70px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfa 48%, #eef7f5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 54px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.split-section > *,
.contact-grid > *,
.category-card,
.service-list article,
.quality-grid article,
.workflow-step {
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  max-width: 660px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h2,
h3,
p,
a,
dd {
  overflow-wrap: anywhere;
}

.hero p {
  margin: 0 0 14px;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

.hero-lead {
  color: #24364a;
  font-size: 20px;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-width: 136px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.btn-primary:hover,
.contact-link:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border-color: #b9c8d1;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 590px;
  margin-top: 30px;
}

.hero-highlights div {
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-highlights strong {
  display: block;
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1.1;
}

.hero-highlights span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.section-muted {
  background: var(--surface);
}

.section-accent {
  background: linear-gradient(135deg, var(--surface-strong) 0%, #ffffff 100%);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 58px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.rich-text p,
.section-heading p,
.workflow-note,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.rich-text p + p {
  margin-top: 16px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

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

.category-card,
.service-list article,
.quality-grid article,
.workflow-step,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
}

.category-card {
  min-height: 196px;
  padding: 24px;
}

.category-card p,
.service-list p,
.quality-grid p,
.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.line-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
}

.line-icon::before,
.line-icon::after {
  position: absolute;
  content: "";
}

.icon-toy::before {
  inset: 11px 8px;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
}

.icon-toy::after {
  right: 11px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.icon-child::before {
  top: 8px;
  left: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.icon-child::after {
  right: 9px;
  bottom: 9px;
  left: 9px;
  height: 12px;
  border: 2px solid var(--accent-dark);
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.icon-silicone::before {
  inset: 9px;
  border: 2px solid var(--accent-dark);
  border-radius: 50% 50% 42% 58%;
}

.icon-silicone::after {
  right: 10px;
  bottom: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.icon-plastic::before {
  inset: 9px 11px;
  border: 2px solid var(--accent-dark);
  border-radius: 6px;
}

.icon-plastic::after {
  top: 8px;
  left: 15px;
  width: 10px;
  height: 5px;
  border-radius: 5px 5px 0 0;
  background: var(--gold);
}

.icon-hardware::before {
  top: 9px;
  left: 18px;
  width: 4px;
  height: 23px;
  border-radius: 2px;
  background: var(--accent-dark);
  transform: rotate(42deg);
}

.icon-hardware::after {
  top: 9px;
  left: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.icon-home::before {
  top: 11px;
  left: 9px;
  width: 20px;
  height: 18px;
  border: 2px solid var(--accent-dark);
  border-top: 0;
}

.icon-home::after {
  top: 8px;
  left: 10px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(45deg);
}

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

.service-list article,
.quality-grid article {
  min-height: 166px;
  padding: 22px;
}

.service-list article {
  border-top: 4px solid var(--accent);
}

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

.advantage-list div {
  min-height: 66px;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #24364a;
  font-weight: 800;
  position: relative;
}

.advantage-list div::before {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
  content: "";
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.workflow-step {
  min-height: 220px;
  padding: 24px;
  position: relative;
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.workflow-note {
  max-width: 920px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.contact-section {
  background: #f3f8f7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.contact-card {
  padding: 30px;
}

.contact-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-card div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-line);
}

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

.contact-card dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-card dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer-inner {
  display: grid;
  gap: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .brand-text {
    max-width: 270px;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .contact-link {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.10);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 46px);
  }

  .hero-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .section {
    padding: 66px 0;
  }

  .brand-text {
    max-width: min(58vw, 280px);
    font-size: 12px;
  }

  .brand-logo {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .language-link {
    min-width: 42px;
    padding: 0 10px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .hero p,
  .hero-lead {
    font-size: 16px;
  }

  .hero-highlights,
  .card-grid,
  .service-list,
  .advantage-list,
  .workflow,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights div {
    min-height: auto;
  }

  .category-card,
  .service-list article,
  .quality-grid article,
  .workflow-step {
    min-height: auto;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 10px;
  }

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

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

  .hero-actions,
  .contact-actions {
    gap: 10px;
  }
}
