/* 中测检官网 — 天蓝主题 */
:root {
  --bg-deep: #075985;
  --bg-deep-2: #0369a1;
  --bg-light: #f4fbff;
  --bg-light-2: #e5f4fc;
  --ink: #123c55;
  --ink-muted: #526f80;
  --steel: #0369a1;
  --steel-bright: #075985;
  --steel-soft: rgba(3, 105, 161, 0.12);
  --amber: #dff4ff;
  --amber-hover: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(7, 89, 133, 0.1);
  --white: #ffffff;
  --radius: 2px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--steel);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--steel-bright);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.theme-light {
  background: rgba(244, 251, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.site-header.theme-dark:not(.is-scrolled) {
  background: transparent;
  color: var(--white);
}

.site-header.theme-dark:not(.is-scrolled) .brand,
.site-header.theme-dark:not(.is-scrolled) .site-nav a,
.site-header.theme-dark:not(.is-scrolled) .nav-toggle {
  color: var(--white);
}

.site-header.theme-dark.is-scrolled .brand,
.site-header.theme-dark.is-scrolled .site-nav a,
.site-header.theme-dark.is-scrolled .nav-toggle,
.site-header.theme-light .brand,
.site-header.theme-light .site-nav a,
.site-header.theme-light .nav-toggle {
  color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--steel-bright);
  flex-shrink: 0;
}

.site-header.theme-dark:not(.is-scrolled) .brand-mark {
  color: #bae6fd;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-en {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  color: inherit;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  opacity: 0.7;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
  color: var(--white);
  background: var(--bg-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, #d9f3ff 0%, transparent 60%),
    linear-gradient(135deg, #a5ddf5 0%, #72c5ed 55%, #87ceeb 100%);
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(186, 230, 253, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 230, 253, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 15%;
  width: min(55vw, 560px);
  height: min(55vw, 560px);
  border: 1px solid rgba(186, 230, 253, 0.18);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 60px rgba(186, 230, 253, 0.03),
    inset 0 0 0 120px rgba(186, 230, 253, 0.02);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.35em;
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 0.9s var(--ease) 0.15s forwards;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  max-width: 28em;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 0.9s var(--ease) 0.55s forwards;
}

.hero-scale {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  z-index: 1;
  background: repeating-linear-gradient(
    90deg,
    rgba(186, 230, 253, 0.35) 0,
    rgba(186, 230, 253, 0.35) 1px,
    transparent 1px,
    transparent 16px
  );
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  opacity: 0.5;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--bg-deep);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: var(--bg-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.btn-steel {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}

.btn-steel:hover {
  background: var(--steel-bright);
  border-color: var(--steel-bright);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 60, 85, 0.35);
}

.btn-outline-dark:hover {
  border-color: var(--steel);
  color: var(--steel);
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: var(--bg-deep);
  color: var(--white);
}

.section-muted {
  background: var(--bg-light-2);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-dark .section-label {
  color: #bae6fd;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.5em;
}

.section-lead {
  max-width: 36em;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  background: var(--bg-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(186, 230, 253, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 230, 253, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.8;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: 0.08em;
  margin-bottom: 0.4em;
}

.page-hero p {
  max-width: 34em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* —— Service grid —— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.service-item {
  padding: 2.25rem 1.75rem 2.25rem 0;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}

.service-item:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.service-item:nth-child(n + 4) {
  border-bottom: 0;
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.service-item p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* —— Process —— */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-item {
  position: relative;
  padding-top: 1rem;
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(186, 230, 253, 0.35);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.process-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.process-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* —— Trust strip —— */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.trust-item {
  font-size: 0.92rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
  letter-spacing: 0.06em;
}

/* —— CTA band —— */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.35em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.05em;
}

.cta-band p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 28em;
}

/* —— Detail blocks —— */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.detail-block:last-child {
  border-bottom: 0;
}

.detail-block h2 {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.detail-meta {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--steel);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--ink-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--steel);
}

/* —— Qual / values —— */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.qual-card {
  padding: 1.75rem;
  background: var(--white);
  border-left: 3px solid var(--steel);
}

.qual-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.qual-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.note-banner {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--steel-soft);
  border: 1px solid rgba(3, 105, 161, 0.2);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-item h3 {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.value-item p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.95rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--steel);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.invite-list {
  margin: 1.5rem 0 2rem;
}

.invite-list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.invite-list li:first-child {
  border-top: 1px solid var(--line-dark);
}

.invite-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.invite-list span {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.contact-quote {
  margin: 0;
  padding: 1.25rem 0 0 1.25rem;
  border-left: 2px solid var(--steel);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--line-dark);
}

.form-intro {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  color: var(--ink-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid rgba(18, 60, 85, 0.18);
  border-radius: var(--radius);
  background: var(--bg-light);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%),
    linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--steel);
  outline: none;
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #b33a3a;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  min-height: 1.4em;
}

.form-status.is-error {
  color: #b33a3a;
}

.form-status.is-info {
  color: var(--steel);
}

/* —— Footer —— */
.site-footer {
  background: var(--bg-deep-2);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  opacity: 0.55;
  margin-top: 0.35rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-col a,
.footer-col span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #bae6fd;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    border-right: 0;
    padding-right: 0;
  }

  .service-item:nth-child(n + 4) {
    border-bottom: 1px solid var(--line-dark);
  }

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

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

  .detail-block,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .values-grid,
  .stats-row,
  .qual-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: var(--bg-deep);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.25rem;
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    color: var(--white);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .hero-brand,
  .hero-tagline,
  .hero-actions,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Shared branding and contact details for the new company. */
.brand-mark { width: 46px; height: 50px; object-fit: contain; background: #fff; border-radius: 4px; }
.hero-eyebrow { letter-spacing: .08em; color: #123c55; }
.info-panel { padding: 32px; border: 1px solid var(--line-dark); background: #fff; overflow-wrap: anywhere; }
.company-logo { width: 115px; height: 135px; object-fit: contain; margin-bottom: 24px; }
.footer-brand span { line-height: 1.7; letter-spacing: .02em; }
.contact-details a { overflow-wrap: anywhere; }
@media(max-width: 600px) { .info-panel { padding: 24px; } .hero-eyebrow { font-size: 14px; } }

/* 天蓝首屏使用深色文字，保持浅色背景上的对比度。 */
.hero,
.hero-tagline,
.site-header.theme-dark:not(.is-scrolled),
.site-header.theme-dark:not(.is-scrolled) .brand,
.site-header.theme-dark:not(.is-scrolled) .site-nav a,
.site-header.theme-dark:not(.is-scrolled) .nav-toggle {
  color: var(--ink);
}
.hero .btn-primary {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}
.hero .btn-primary:hover { background: var(--steel-bright); }
.hero .btn-ghost { color: var(--ink); border-color: var(--steel); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.3); }
.page-hero { background: #b4e3f8; color: var(--ink); }
.page-hero p { color: var(--ink-muted); }

/* 化学主题：轻量矢量实验场景与成分知识卡片。 */
.chemistry-hero { min-height: 760px; min-height: min(900px, 100svh); align-items: center; padding: 130px 0 90px; }
.chemistry-hero .hero-bg { background: radial-gradient(ellipse at 78% 30%, #f0fbff 0%, transparent 62%), linear-gradient(120deg, #c8ecfa, #91d3f0); }
.chemistry-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; }
.chemistry-kicker { font-size: 10px; letter-spacing: .2em; color: #286e91; margin: 25px 0 18px; }
.chemistry-hero .hero-brand { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.4; letter-spacing: .02em; }
.chemistry-hero .hero-tagline { font-size: 16px; line-height: 1.95; margin: 22px 0 30px; }
.chemistry-tags { display: flex; gap: 14px; margin-top: 32px; color: #356782; font-size: 12px; letter-spacing: .08em; }
.chemistry-tags span + span { border-left: 1px solid #75adca; padding-left: 14px; }
.lab-visual { position: relative; padding: 28px 16px 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.22); box-shadow: 0 25px 70px #12689716; }
.lab-visual svg { display: block; width: 100%; height: auto; }
.lab-caption { display: flex; align-items: center; gap: 8px; margin-left: 12px; font-size: 13px; font-weight: 600; }
.lab-caption small { margin-left: auto; padding-right: 8px; font-size: 8px; letter-spacing: .1em; color: #4e7e98; }
.lab-dot { width: 7px; height: 7px; border-radius: 50%; background: #118dbe; box-shadow: 0 0 0 4px #48b5df20; }
.element-chip { position: absolute; width: 88px; padding: 10px 12px; background: #f3fbffe8; border: 1px solid white; border-radius: 10px; box-shadow: 0 8px 20px #24668c12; }
.element-chip small { display: block; font-size: 8px; color: #5f8397; letter-spacing: .03em; }
.element-chip strong { font: 500 38px/1.3 Arial,sans-serif; color: #067cad; }
.element-chip span { margin-left: 12px; font-size: 12px; color: #4c7890; }
.element-oxygen { top: 24%; right: -12px; }
.element-carbon { bottom: 12%; left: -12px; }
.lab-footnote { margin: 0; text-align: right; padding-right: 14px; font-size: 10px; color: #527d95; }
.chemistry-section { background: #f7fcff; }
.chemistry-section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 36px; }
.chemistry-section-heading > p { max-width: 360px; color: var(--ink-muted); font-size: 14px; }
.chemistry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.chemistry-cards article { padding: 30px; background: white; border: 1px solid #d9edf7; border-radius: 12px; border-top: 3px solid #48b8e4; }
.chemistry-card-symbol { display: block; margin-bottom: 28px; color: #0784b9; font: 500 36px/1.4 Arial,sans-serif; }
.chemistry-card-symbol small { font-size: 11px; color: #688a9a; margin-left: 10px; }
.chemistry-cards h3 { font-size: 21px; }
.chemistry-cards p { font-size: 14px; color: var(--ink-muted); margin-bottom: 0; line-height: 1.9; }
.chemistry-scope { font-size: 12px; color: #607f8e; margin: 24px 0 0; }
@media (max-width: 900px) {
  .chemistry-hero { min-height: auto; padding: 120px 0 70px; }
  .chemistry-layout { grid-template-columns: 1fr; gap: 42px; }
  .chemistry-copy { max-width: 600px; }
  .lab-visual { width: min(100% - 20px, 540px); margin-inline: auto; }
  .chemistry-section-heading { display: block; }
  .chemistry-section-heading > p { max-width: none; }
  .chemistry-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .chemistry-hero .hero-brand { font-size: 33px; }
  .chemistry-hero .hero-eyebrow { font-size: 12px; }
  .chemistry-kicker { font-size: 8px; }
  .lab-visual { padding: 20px 8px 10px; }
  .lab-caption { font-size: 11px; }
  .lab-caption small { font-size: 6px; }
  .element-chip { width: 66px; padding: 7px; }
  .element-chip strong { font-size: 28px; }
  .element-chip small { font-size: 6px; }
  .element-chip span { margin-left: 6px; }
}

/* 原创实验室配图 */
.photo-hero { background: #dbf3fc; }
.photo-hero .hero-bg { background: #dbf3fc; }
.photo-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-hero .hero-bg::before { z-index: 1; background: linear-gradient(90deg, #e4f6ffed 0%, #e4f6ffcf 32%, #e4f6ff00 65%); mask-image: none; }
.photo-hero .hero-bg::after { display: none; }
.photo-hero .chemistry-layout { display: block; }
.photo-hero .chemistry-copy { max-width: 530px; width: 49%; }
.chemistry-cards article { overflow: hidden; }
.chemistry-card-photo { width: calc(100% + 60px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -30px -30px 25px; }
.workflow-photo { position: relative; margin: 30px 0 45px; overflow: hidden; border-radius: 12px; }
.workflow-photo img { width: 100%; height: 360px; object-fit: cover; object-position: center 44%; }
.workflow-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 28px 22px; color: white; background: linear-gradient(transparent,#123c55cc); letter-spacing: .12em; }
@media(max-width: 900px) {
  .photo-hero { display: flex; flex-direction: column; padding: 110px 0 0; gap: 35px; }
  .photo-hero .chemistry-layout { order: 0; }
  .photo-hero .chemistry-copy { width: 100%; max-width: 600px; }
  .photo-hero .hero-bg { position: relative; inset: auto; order: 1; width: 100%; height: 350px; }
  .photo-hero .hero-bg img { object-position: 75% center; }
  .photo-hero .hero-bg::before, .photo-hero .hero-scale { display: none; }
  .workflow-photo img { height: 260px; }
  .workflow-photo figcaption { font-size: 12px; padding: 35px 16px 16px; }
}
