:root {
  --gyy-ink: #102238;
  --gyy-ink-2: #24364c;
  --gyy-blue: #1457a8;
  --gyy-cyan: #00a6c8;
  --gyy-green: #2f8f5b;
  --gyy-gold: #c79b32;
  --gyy-red: #b9443f;
  --gyy-paper: #f6f8fb;
  --gyy-line: #dce4ee;
  --gyy-muted: #667386;
  --gyy-white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--gyy-ink-2);
  background: var(--gyy-paper);
  line-height: 1.72;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all .3s ease-in-out; }
button, input, textarea, select { transition: all .3s ease-in-out; }
img { max-width: 100%; height: auto; display: block; transition: all .35s ease-out; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #0c2036; color: #d9e6f5; font-size: 13px; }
.topbar span, .hero h1, .hero p { overflow-wrap: anywhere; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--gyy-line); backdrop-filter: blur(12px); transition: all .3s ease-in-out; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(16,34,56,.11); background: rgba(255,255,255,.98); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--gyy-ink); }
.brand-mark { width: 46px; height: 46px; border: 2px solid var(--gyy-blue); border-radius: 6px; display: grid; place-items: center; font-weight: 800; color: var(--gyy-blue); background: #edf6ff; transition: all .3s ease-in-out; }
.brand:hover .brand-mark { transform: translateY(-2px); background: var(--gyy-blue); color: #fff; }
.brand strong { display: block; font-size: 20px; letter-spacing: 0; line-height: 1.1; white-space: nowrap; overflow-wrap: normal; }
.brand span { color: var(--gyy-muted); font-size: 12px; }
.brand-home strong { font-size: 24px; }
.nav-toggle { display: none; border: 1px solid var(--gyy-line); background: #fff; padding: 8px 11px; border-radius: 6px; color: var(--gyy-ink); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .dropdown > button {
  border: 0; background: transparent; padding: 27px 8px; font-family: inherit; font-size: 16px; line-height: 1.2; font-weight: 700; color: var(--gyy-ink); cursor: pointer; position: relative; white-space: nowrap;
}
.main-nav > a::after, .dropdown > button::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 19px; height: 2px; background: var(--gyy-cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease-in-out;
}
.main-nav > a:hover::after, .dropdown:hover > button::after, .main-nav a.active::after, .dropdown.active > button::after { transform: scaleX(1); }
.main-nav > a:hover, .dropdown > button:hover { color: var(--gyy-blue); }
.main-nav a.active, .dropdown.active > button { color: var(--gyy-blue); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--gyy-line);
  box-shadow: 0 18px 45px rgba(16,34,56,.12); border-radius: 8px; display: none; animation: navDropdown .24s ease both;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: grid; }
.dropdown-menu a { padding: 10px 12px; border-radius: 6px; color: var(--gyy-ink-2); white-space: nowrap; }
.dropdown-menu a:hover { background: #eef6ff; color: var(--gyy-blue); transform: translateX(4px); }
.header-cta { padding: 10px 16px; border-radius: 6px; background: var(--gyy-blue); color: #fff; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 22px rgba(20,87,168,.2); }
.header-cta:hover { background: #0f4688; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(20,87,168,.3); }
.hero {
  min-height: 560px; color: #fff; position: relative; display: grid; align-items: center; overflow: hidden;
  background: linear-gradient(110deg, rgba(12,32,54,.95), rgba(20,87,168,.82) 55%, rgba(0,166,200,.64)), var(--hero-image, url("../img/slider/slider-1.jpg")) center/cover;
  transition: background-image .8s ease-in-out;
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 32%); animation: heroSweep 6s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg, var(--gyy-blue), var(--gyy-cyan), var(--gyy-green), var(--gyy-gold)); }
.hero-content { position: relative; z-index: 1; max-width: 840px; padding: 84px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gyy-cyan); font-weight: 800; letter-spacing: 0; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--gyy-ink); line-height: 1.22; margin: 0; letter-spacing: 0; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); max-width: min(850px, 100%); }
.hero h1 span { display: inline; }
.hero p { max-width: min(760px, 100%); font-size: 18px; color: #e8f2ff; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 6px; font-weight: 800; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; box-shadow: 0 12px 24px rgba(16,34,56,.12); }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.32), transparent); transform: translateX(-120%); transition: transform .55s ease; }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(16,34,56,.2); }
.btn-primary { background: var(--gyy-cyan); color: #062131; }
.btn-secondary { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.section { padding: 82px 0; }
.section-white { background: #fff; }
.section-dark { background: #102238; color: #dce8f6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head p { color: var(--gyy-muted); max-width: 620px; margin: 10px 0 0; }
.section-dark .section-head p { color: #b8c8da; }
.section-title { font-size: clamp(28px, 4vw, 44px); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--gyy-line); border-radius: 8px; padding: 24px; box-shadow: 0 12px 35px rgba(16,34,56,.06); transition: all .35s ease-in-out;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(16,34,56,.14); border-color: rgba(20,87,168,.28); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--gyy-muted); margin: 0; }
.service-card { display: flex; flex-direction: column; min-height: 280px; border-top: 4px solid var(--accent, var(--gyy-blue)); }
.service-card p + p { margin-top: 10px; }
.service-card .standard { color: var(--accent, var(--gyy-blue)); font-weight: 800; margin-bottom: 12px; }
.service-card .more { margin-top: auto; color: var(--gyy-blue); font-weight: 800; padding-top: 18px; }
.service-card:hover .more { color: var(--accent, var(--gyy-blue)); transform: translateX(4px); }
.service-card-soon {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-style: dashed;
}
.service-card-soon:hover { border-color: rgba(102,115,134,.55); }
.service-card-soon .muted-more {
  display: inline-flex; align-items: center; width: fit-content; color: var(--gyy-muted);
  background: #eef2f6; border-radius: 999px; padding: 7px 12px; transform: none;
}
.service-card-soon:hover .muted-more { color: var(--gyy-ink-2); transform: none; }
.home-hero .hero-content { max-width: 940px; }
.hero-proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 42px; max-width: 940px;
}
.hero-proof div {
  min-height: 94px; padding: 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
}
.hero-proof strong { display: block; color: #fff; font-size: 27px; line-height: 1; margin-bottom: 8px; }
.hero-proof span { color: #dce8f6; font-weight: 700; font-size: 14px; line-height: 1.45; }
.home-service-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.home-service-grid .service-card { min-height: 0; padding: 22px; }
.home-service-grid .service-card h3 { font-size: 20px; }
.home-service-grid .pill { font-size: 13px; padding: 6px 10px; }
.advantage-list { display: grid; gap: 14px; margin-top: 28px; }
.advantage-item {
  display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: start;
  padding: 16px 18px; background: #fff; border: 1px solid var(--gyy-line); border-radius: 8px;
  box-shadow: 0 10px 25px rgba(16,34,56,.05);
}
.advantage-item strong { color: var(--gyy-blue); font-size: 18px; }
.advantage-item span { color: var(--gyy-muted); }
.qualification-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.certificate-card {
  min-height: 238px; display: flex; flex-direction: column; padding: 28px; border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbff); border: 1px solid var(--gyy-line);
  box-shadow: 0 14px 36px rgba(16,34,56,.08); position: relative; overflow: hidden;
}
.certificate-card::after {
  content: ""; position: absolute; right: -38px; bottom: -38px; width: 136px; height: 136px;
  border: 18px solid rgba(20,87,168,.08); border-radius: 50%;
}
.certificate-card span {
  width: 74px; height: 74px; display: grid; place-items: center; border: 2px solid var(--gyy-gold);
  color: var(--gyy-ink); font-weight: 900; border-radius: 50%; background: #fff8e6; margin-bottom: 22px;
}
.certificate-card h3 { font-size: 22px; margin-bottom: 10px; }
.certificate-card p { color: var(--gyy-muted); margin: 0; }
.certificate-card:hover { transform: translateY(-8px); border-color: rgba(199,155,50,.45); box-shadow: 0 24px 50px rgba(16,34,56,.14); }
.lab-showcase-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lab-card { padding: 12px; }
.lab-card .image-panel { box-shadow: none; }
.lab-card .image-panel img { aspect-ratio: 4 / 3.15; }
.lab-card h3 { font-size: 18px; margin: 14px 8px 6px; }
.case-card { min-height: 220px; }
.case-card .tag { margin-bottom: 16px; }
.case-card h3 { margin-bottom: 12px; }
.resource-card { min-height: 218px; display: flex; flex-direction: column; }
.resource-card span { margin-top: auto; padding-top: 18px; color: var(--gyy-blue); font-weight: 800; }
.resource-card:hover span { transform: translateX(4px); color: var(--gyy-cyan); }
.home-consult { padding: 56px 0; }
.home-consult .eyebrow { color: #8ce9f7; margin-bottom: 8px; }
.consult-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.home-consult .btn-secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.metric { border-left: 4px solid var(--gyy-cyan); padding-left: 18px; }
.metric strong { display: block; color: var(--gyy-ink); font-size: 32px; line-height: 1; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.image-panel { border-radius: 8px; overflow: hidden; border: 1px solid var(--gyy-line); box-shadow: 0 18px 45px rgba(16,34,56,.12); }
.image-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-panel:hover img, .card:hover .image-panel img { transform: scale(1.045); }
.pill-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill { border: 1px solid var(--gyy-line); background: #fff; border-radius: 999px; padding: 7px 12px; color: var(--gyy-ink-2); font-weight: 700; font-size: 14px; transition: all .3s ease-in-out; }
.pill:hover { background: var(--gyy-blue); border-color: var(--gyy-blue); color: #fff; transform: translateY(-2px); }
.service-anchor-list { margin-top: 28px; gap: 12px; }
.service-anchor-list .pill {
  border-color: rgba(20,87,168,.22); background: #f7fbff; color: var(--gyy-blue);
  box-shadow: 0 10px 22px rgba(16,34,56,.06);
}
.service-anchor-list .pill:hover, .service-anchor-list .pill:focus-visible {
  background: var(--gyy-blue); border-color: var(--gyy-blue); color: #fff;
  transform: translateY(-3px); box-shadow: 0 16px 30px rgba(20,87,168,.2);
}
.breadcrumb-hero { background: linear-gradient(100deg, rgba(12,32,54,.94), rgba(20,87,168,.76)), url("../img/breadcrumb/01.jpg") center/cover; color: #fff; padding: 86px 0 56px; }
.breadcrumb-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); }
.breadcrumb { margin-top: 12px; color: #dce8f6; font-size: 14px; }
.breadcrumb a { color: #fff; font-weight: 800; }
.content-block { background: #fff; border: 1px solid var(--gyy-line); border-radius: 8px; padding: 32px; margin-bottom: 24px; }
.content-block h2 { font-size: 28px; margin-bottom: 14px; }
.content-block p { color: var(--gyy-ink-2); margin: 0 0 12px; }
.service-detail-section { background: linear-gradient(180deg, #f7fbff 0%, #fff 42%, #f6f8fb 100%); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.detail-module {
  position: relative; overflow: hidden; margin-bottom: 0; padding-top: 34px;
  box-shadow: 0 14px 36px rgba(16,34,56,.07);
}
.detail-module::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
  background: var(--module-accent, var(--gyy-blue));
}
.detail-module::after {
  content: ""; position: absolute; right: -46px; top: -46px; width: 118px; height: 118px;
  border: 18px solid color-mix(in srgb, var(--module-accent, var(--gyy-blue)) 14%, transparent);
  border-radius: 50%; transition: transform .35s ease-in-out, opacity .35s ease-in-out; opacity: .9;
}
.detail-module h2 {
  display: inline-flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 16px;
}
.detail-module h2::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  background: var(--module-accent, var(--gyy-blue)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--module-accent, var(--gyy-blue)) 13%, transparent);
}
.detail-module:hover {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--module-accent, var(--gyy-blue)) 46%, var(--gyy-line));
  box-shadow: 0 24px 54px rgba(16,34,56,.13);
}
.detail-module:hover::after { transform: scale(1.08) translate(-6px, 6px); opacity: 1; }
.detail-module-wide { grid-column: span 2; }
.module-capability { --module-accent: var(--gyy-blue); }
.module-range { --module-accent: var(--gyy-cyan); }
.module-standard { --module-accent: var(--gyy-green); }
.module-value { --module-accent: var(--gyy-gold); }
.service-detail-grid .notice { grid-column: 1 / -1; margin-top: 2px; }
.notice { border-left: 5px solid var(--gyy-gold); background: #fff8e6; padding: 18px 20px; border-radius: 6px; }
.table-like { display: grid; border: 1px solid var(--gyy-line); border-radius: 8px; overflow: hidden; background: #fff; }
.table-like > div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--gyy-line); }
.table-like > div:last-child { border-bottom: 0; }
.table-like strong { background: #eef5fc; padding: 16px; color: var(--gyy-ink); }
.table-like span { padding: 16px; }
.cta-band { background: linear-gradient(95deg, var(--gyy-ink), var(--gyy-blue)); color: #fff; padding: 44px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-inner h2 { color: #fff; font-size: 30px; }
.cta-inner p { color: #dce8f6; margin: 8px 0 0; }
.site-footer { background: #0c2036; color: #b9c8d8; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr 1fr 1fr; gap: 28px; }
.site-footer h3, .site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #dbe8f6; display: block; margin: 7px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.icp-record { margin-top: 14px; text-align: center; font-size: 13px; color: #b9c8d8; }
.icp-record a { color: #dbe8f6; display: inline-block; margin: 0 6px; }
.icp-record span { color: rgba(255,255,255,.38); }
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.float-actions a, .float-actions button { width: 48px; height: 48px; border-radius: 8px; border: 0; background: var(--gyy-blue); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 12px 24px rgba(16,34,56,.24); cursor: pointer; animation: floatPulse 2.6s ease-in-out infinite; }
.float-actions a:hover, .float-actions button:hover { background: var(--gyy-cyan); color: #062131; transform: translateY(-4px) rotate(2deg); }
.search-panel { position: fixed; inset: 0; background: rgba(12,32,54,.72); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: all .25s ease-in-out; }
.search-panel.active { opacity: 1; visibility: visible; pointer-events: auto; }
.search-box { background: #fff; width: min(680px, 100%); border-radius: 8px; padding: 28px; animation: modalEnter .28s ease both; }
.search-box form { display: flex; gap: 10px; }
.search-box input, .form input, .form textarea, .form select { width: 100%; border: 1px solid var(--gyy-line); border-radius: 6px; padding: 12px 14px; font: inherit; }
.form { display: grid; gap: 14px; }
.form textarea { min-height: 120px; resize: vertical; }
.close-search { float: right; border: 0; background: #eef5fc; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.timeline { border-left: 3px solid var(--gyy-blue); padding-left: 20px; display: grid; gap: 18px; }
.timeline div { background: #fff; border: 1px solid var(--gyy-line); border-radius: 8px; padding: 18px; }
.resource-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--gyy-line); padding: 18px 0; }
.resource-row:last-child { border-bottom: 0; }
.tag { display: inline-block; background: #e9f8fb; color: #087d96; border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 13px; }
@keyframes navDropdown {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalEnter {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 12px 24px rgba(16,34,56,.24); }
  50% { box-shadow: 0 16px 34px rgba(0,166,200,.32); }
}
@keyframes heroSweep {
  from { transform: translateX(-2%) scale(1); opacity: .55; }
  to { transform: translateX(2%) scale(1.04); opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gyy-line); padding: 10px 16px 18px; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav > a, .dropdown > button { padding: 10px; text-align: left; width: 100%; }
  .dropdown-menu { position: static; box-shadow: none; display: grid; min-width: 0; }
  .header-cta { display: none; }
  .home-service-grid, .lab-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4, .split, .footer-grid { grid-template-columns: 1fr; }
  .home-service-grid, .lab-showcase-grid, .qualification-band { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .detail-module-wide { grid-column: auto; }
  .advantage-item { grid-template-columns: 1fr; gap: 6px; }
  .consult-actions { justify-content: flex-start; margin-top: 22px; }
  .section { padding: 58px 0; }
  .section-head, .cta-inner { display: block; }
  .table-like > div { grid-template-columns: 1fr; }
  .topbar .container { display: block; }
  .topbar span { display: block; max-width: 100%; white-space: normal; word-break: break-all; line-height: 1.55; }
  .brand strong { font-size: 17px; }
  .brand-home strong { font-size: 20px; }
  .hero h1, .hero p { width: 100%; max-width: calc(100vw - 32px); white-space: normal; }
  .hero h1 { font-size: 26px; word-break: break-all; line-height: 1.3; }
  .hero h1 span { display: block; }
  .hero p { font-size: 15px; word-break: break-all; line-height: 1.72; }
}
@media (max-width: 560px) {
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { min-height: 0; }
  .home-service-grid .service-card { min-height: 0; }
  .hero h1 { font-size: 24px; }
  .hero-content { padding: 62px 0; }
}
