:root {
  --navy: #000000;
  --navy-2: #111111;
  --ink: rgba(0,0,0,.65);
  --muted: rgba(0,0,0,.55);
  --line: #d1d1d1;
  --paper: #ecf4f3;
  --white: #ffffff;
  --teal: #2A9D8F;
  --teal-2: #097C6E;
  --teal-dark: #097C6E;
  --gold: #c9a36a;
  --ok: #1a7f37;
  --ok-bg: #e8f6ee;
  --warn: #9a6b12;
  --warn-bg: #fff6e5;
  --bad: #c0392b;
  --bad-bg: #fdecec;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --radius: 0;
  --container: 1200px;
  --header: 112px;
  --coa-navy: #1E2761;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
html, body { margin: 0; padding: 0; max-width: 100%; }
body {
  font-family: Mulish, Roboto, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
body.nav-open { overflow: hidden; touch-action: none; }
body.page-inner { padding-top: var(--header); }
img, svg { max-width: 100%; height: auto; display: block; }
img[width][height]:not(.hero-bg) { height: auto; }
.media-frame { overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: "DM Sans", Roboto, sans-serif; line-height: 1.2; margin: 0; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 99; }

/* Header — always fixed to avoid absolute/sticky jump */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  min-height: var(--header);
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(11, 21, 34, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.inner,
.site-header.is-solid {
  background: #0b1522;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.header-inner {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; flex: 0 0 auto; }
.site-logo { width: 128px; height: 64px; object-fit: contain; flex: 0 0 128px; }
.brand-text {
  display: block;
  font-family: "DM Sans", Mulish, sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .92;
  padding: 8px 0;
  position: relative;
}
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--gold); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
}
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--teal);
  color: #fff;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-header:hover { background: var(--teal-2); color: #fff; }
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  min-height: 86svh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header) + 40px) 24px 56px;
  text-align: center;
}
@media (min-width: 981px) {
  .hero { min-height: max(750px, 86vh); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-kicker {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(42px, 5.8vw, 78px);
  max-width: 18ch;
  margin: 0 auto 22px;
  color: #fff;
}
.hero-lead {
  max-width: 46ch;
  margin: 0 auto 36px;
  font-size: 19px;
  color: rgba(255,255,255,.82);
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: .04em;
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
  transition: .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-2); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--paper); }
.section-flush { padding-top: 0; }
.eyebrow {
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}
.section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 68ch; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.panel-art {
  min-height: 420px;
  aspect-ratio: 4 / 3;
  background: url("/assets/images/who-we-are.jpg") center / cover no-repeat;
  border: 0;
}
.split.who {
  margin-top: -100px;
  position: relative;
  z-index: 2;
  align-items: stretch;
  gap: 0;
}
.split.who .who-copy {
  background: #fff;
  padding: 123px 60px;
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.value {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px 36px;
  min-height: 260px;
}
.value-num {
  font-family: "DM Sans", Roboto, sans-serif;
  font-size: 32px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 600;
}
.value h3 { font-size: 28px; margin-bottom: 12px; }

.band {
  background:
    linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.5)),
    url("/assets/images/band-lab5.jpg") center / cover no-repeat;
  color: #fff;
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 88px 0;
  text-align: center;
}
.band .eyebrow { color: #fff; }
.band h2 { color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(7,19,31,.04);
}
.card h3 { font-size: 26px; margin: 16px 0 12px; }
.icon-box {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--teal);
}

.cta {
  background:
    linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.5)),
    url("/assets/images/cta-lab2.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 130px 0;
}
.cta h2 { color: #fff; margin-bottom: 28px; }

.page-hero {
  position: relative;
  background: var(--navy) center / cover no-repeat;
  color: #fff;
  padding: 72px 20px 64px;
  min-height: 240px;
  overflow: hidden;
}
.page-hero-lab {
  background-image: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)), url("/assets/images/hero-lab1.jpg");
  background-position: center;
  background-size: cover;
}
.page-hero-band {
  background-image: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)), url("/assets/images/band-lab5.jpg");
  background-position: center;
  background-size: cover;
}
.page-hero-cta {
  background-image: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)), url("/assets/images/cta-lab2.jpg");
  background-position: center;
  background-size: cover;
}
.page-inner .page-hero { padding-top: 72px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 60px); color: #fff; }
.page-hero .eyebrow { color: var(--gold); }

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

.offer-list { display: grid; gap: 28px; }
.offer {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.offer-num {
  font-family: "DM Sans", Roboto, sans-serif;
  font-size: 36px;
  color: var(--teal);
}
.offer-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: 0 0 16px;
}
.offer { grid-template-columns: 1fr; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.service-grid li {
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 16px;
  font-size: 15px;
}
.service-grid { padding: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-card, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
}
.contact-card li { list-style: none; margin: 0 0 14px; color: var(--muted); }
.contact-card ul { padding: 0; margin: 18px 0 0; }
label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 2px;
  font-size: 16px;
}
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notice { padding: 12px 14px; margin-bottom: 16px; display: none; }
.notice.show { display: block; }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.bad { background: var(--bad-bg); color: var(--bad); }

/* Footer */
.site-footer { background: #050c14; color: rgba(255,255,255,.78); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4, .site-footer .footer-brand { color: #fff; font-size: 22px; margin-bottom: 12px; }
.site-footer a { display: inline-block; margin: 0 0 8px; }
.site-footer a:hover { color: var(--gold); }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.copy { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; font-size: 14px; }

.results-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* COA — match tjqxgd.com widget */
.coa-page {
  background: var(--paper);
  padding: 36px 16px 80px;
}
.coa-widget {
  max-width: 480px;
  margin: 20px auto;
  font-family: -apple-system, "Microsoft YaHei", Mulish, sans-serif;
}
.coa-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 28px;
}
.coa-card h1 {
  margin: 0 0 18px;
  color: #1E2761;
  font-size: 28px;
  line-height: 1.35;
  font-family: inherit;
}
.coa-card h1 span {
  display: inline;
  font-size: 16px;
  font-weight: 400;
  color: #777;
}
.coa-card input[type=text],
.coa-card input[type=file] {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 0;
  background: #fff;
  color: #222;
}
.coa-card input[type=file] {
  padding: 8px;
  font-size: 14px;
}
#coa-search-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: #1E2761;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}
#coa-search-btn:hover { background: #16204d; }
#coa-result { margin-top: 20px; }
.coa-hr {
  margin: 24px 0;
  border: none;
  border-top: 1px solid #eee;
}
.coa-fp-copy {
  font-size: 14px;
  color: #555;
  margin: 0 0 10px;
  line-height: 1.6;
}
.coa-fp-copy span { color: #999; }
#coa-hash-result { margin-top: 14px; }
.coa-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.coa-label { color: #777; flex: 0 1 58%; }
.coa-value { font-weight: 600; color: #222; text-align: right; word-break: break-word; }
.coa-msg { margin: 0 0 12px; line-height: 1.6; }
.coa-msg span { font-weight: 400; font-size: 14px; }
.coa-msg.ok { color: #1a7f37; font-weight: 700; }
.coa-msg.bad { color: #c0392b; font-weight: 700; }
.coa-msg.muted { color: #999; font-weight: 400; }

@media (max-width: 980px) {
  :root { --header: 88px; }
  .split, .contact-grid, .footer-grid, .values, .cards, .service-grid, .meta-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .panel-art { min-height: 240px; aspect-ratio: 16 / 10; }
  .split.who { margin-top: 0; }
  .split.who .who-copy { padding: 28px 22px; }
  .nav-toggle { display: grid; place-items: center; }
  .header-right {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    background: #0b1522;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    display: none;
    gap: 16px;
    max-height: calc(100svh - var(--header));
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
  }
  .header-right.open { display: flex; }
  .nav { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav a { color: #fff; width: 100%; min-height: 44px; display: flex; align-items: center; }
  .btn-header { width: 100%; min-height: 48px; }
  .hero { min-height: 70vh; min-height: 70svh; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .band, .cta { min-height: 280px; padding: 64px 16px; }
  .header-inner { gap: 12px; padding: 10px 0; }
  .site-logo { width: 96px; height: 48px; flex-basis: 96px; }
  .brand-text { font-size: 26px; }
  .values .value, .card { min-height: 0; }
}
@media (max-width: 430px) {
  .container, .header-inner { width: min(100% - 24px, var(--container)); }
  .hero { min-height: 100svh; padding-top: calc(var(--header) + 24px); padding-bottom: 48px; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .page-hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .section h2 { font-size: clamp(24px, 7vw, 32px); }
  .split.who .who-copy { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
}
