:root {
  --ink: #162027;
  --muted: #66727d;
  --line: #dbe2e7;
  --surface: #ffffff;
  --soft: #f4f7f8;
  --steel: #2d4655;
  --teal: #078279;
  --green: #3fa867;
  --amber: #c68b2c;
  --shadow: 0 18px 50px rgba(23, 38, 47, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-width {
  width: min(1180px, calc(100vw - 40px));
  margin-inline: auto;
}

.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.loading.error {
  color: #9c2c2c;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 226, 231, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1240px, calc(100vw - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--steel));
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #394751;
  font-size: 14px;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--teal);
}

.nav-admin {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

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

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #eef3f5;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0.08) 76%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.08) 30%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 104px 0 46px;
}

.eyebrow,
.section-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
}

.eyebrow::before,
.section-head span::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
}

.hero h1 {
  width: min(680px, 100%);
  margin: 18px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  width: min(620px, 100%);
  margin: 0;
  color: #3f4d56;
  font-size: 18px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 720;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

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

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 28px rgba(7, 130, 121, 0.24);
}

.button.secondary {
  border: 1px solid rgba(22, 32, 39, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.stat-strip {
  width: min(650px, 100%);
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(219, 226, 231, 0.86);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 60px rgba(45, 70, 85, 0.08);
}

.stat-strip div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section-head {
  margin-bottom: 30px;
}

.section-head.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head.inverted h2,
.section-head.inverted span {
  color: #fff;
}

.section-head.inverted span::before {
  background: #78d6a0;
}

.advantage-grid,
.card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.content-card,
.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover,
.content-card:hover,
.cert-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 130, 121, 0.35);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-index {
  color: var(--amber);
  font-weight: 820;
}

.feature-card h3,
.content-card h3,
.solution-card h3,
.cert-card h3,
.news-row h3 {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.25;
}

.feature-card p,
.content-card p,
.solution-card p,
.cert-card p,
.news-row p {
  margin: 0;
  color: var(--muted);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 14px;
  color: #40505b;
  cursor: pointer;
}

.tabs button.active,
.tabs button:hover {
  border-color: var(--teal);
  background: #e8f6f3;
  color: var(--teal);
}

.product-card {
  overflow: hidden;
}

.product-card a {
  display: block;
  height: 100%;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-card span,
.solution-card span {
  display: inline-block;
  margin: 22px 22px 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
}

.product-card h3,
.product-card p {
  margin-inline: 22px;
}

.product-card p {
  padding-bottom: 24px;
}

.solution-band {
  background: #22343c;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-card div {
  padding: 0 22px 24px;
}

.solution-card span {
  margin-left: 0;
  color: #8ee0b2;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.7);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-row a {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.news-row time {
  color: var(--teal);
  font-weight: 760;
}

.news-row span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
}

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

.cert-card {
  padding: 18px;
}

.cert-card img,
.cert-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: #eef4f3;
}

.cert-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed #b9c8cc;
  color: #8a989f;
  font-weight: 820;
  letter-spacing: 0;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-row {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.download-row span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
}

.download-row em {
  color: var(--muted);
  font-style: normal;
}

.download-row.disabled {
  cursor: default;
  opacity: 0.72;
}

.about-section {
  background: var(--soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}

.prose {
  color: #3e4d57;
  font-size: 17px;
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.timeline div {
  padding-left: 16px;
  border-left: 3px solid var(--green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 44px;
  align-items: center;
}

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

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-size: 22px;
}

.contact-card em {
  margin-top: 8px;
  padding: 18px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--teal);
  font-style: normal;
  font-weight: 720;
}

.site-footer {
  background: #162027;
  color: #dce5e8;
}

.footer-inner {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 820;
}

.site-footer p,
.footer-grid {
  color: #a9b7bd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}

.detail-hero {
  padding: 62px 0;
  background: var(--soft);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}

.detail-grid h1 {
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

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

.detail-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: start;
}

.spec-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.spec-box h2 {
  margin-top: 0;
}

.empty-state {
  text-align: center;
}

.admin-page {
  background: #eef3f5;
}

.admin-shell {
  min-height: 100vh;
}

.login-card {
  width: min(420px, calc(100vw - 32px));
  margin: 12vh auto 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 8px;
}

.login-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background: #162027;
  color: #fff;
}

.admin-sidebar h1 {
  margin: 0 0 22px;
  font-size: 22px;
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs button,
.admin-logout {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
  padding: 0 13px;
  cursor: pointer;
}

.admin-tabs button.active {
  background: #fff;
  color: var(--ink);
}

.admin-logout {
  margin-top: 22px;
}

.admin-content {
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-topbar h2 {
  margin: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-panel,
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-panel {
  padding: 22px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label,
.admin-card-title {
  color: #4b5c66;
  font-size: 13px;
  font-weight: 760;
}

.field input,
.field textarea,
.login-card input {
  width: 100%;
  border: 1px solid #cfd9de;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.login-card input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(7, 130, 121, 0.11);
}

.wide {
  grid-column: 1 / -1;
}

.admin-card {
  padding: 18px;
  margin-bottom: 16px;
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-card-head h3 {
  margin: 0;
}

.small-button,
.danger-button,
.save-button,
.ghost-button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 14px;
  cursor: pointer;
}

.save-button {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.ghost-button {
  background: #fff;
}

.small-button {
  background: #e8f6f3;
  color: var(--teal);
}

.danger-button {
  background: #fff2f2;
  color: #9c2c2c;
}

.image-field {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: start;
}

.image-preview {
  width: 130px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-input {
  margin-top: 8px;
}

.notice {
  color: var(--muted);
  font-size: 13px;
}

.status {
  min-height: 22px;
  color: var(--teal);
  font-size: 14px;
}

@media (max-width: 920px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 600px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.58));
  }

  .advantage-grid,
  .card-grid.three,
  .solution-grid,
  .split-section,
  .about-grid,
  .contact-section,
  .detail-grid,
  .detail-body,
  .footer-inner,
  .admin-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 640px) {
  .page-width,
  .footer-inner {
    width: min(100vw - 28px, 1180px);
  }

  .header-inner {
    width: calc(100vw - 24px);
  }

  .brand-name {
    max-width: 210px;
  }

  .hero-content {
    padding-top: 70px;
  }

  .stat-strip,
  .news-row a,
  .cert-grid,
  .footer-grid,
  .image-field {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-head.row {
    align-items: start;
    flex-direction: column;
  }

  .tabs {
    justify-content: flex-start;
  }

  .admin-content {
    padding: 18px 14px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
