/* 深青工业 · 设备巡检运维 */
:root {
  --bg: #071a1a;
  --panel: #0d2727;
  --bay: #123333;
  --ink: #e4f2ef;
  --mute: #8aaba4;
  --line: rgba(46, 168, 148, 0.2);
  --teal: #2ea894;
  --teal-deep: #1c7a6b;
  --amber: #d4a017;
  --steel: #6f8f88;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  --font-display: "Bahnschrift", "Segoe UI Variable Display", "Microsoft YaHei UI", sans-serif;
  --font-body: "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --font-meta: "Cascadia Mono", "Consolas", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 520px at 90% -5%, rgba(46, 168, 148, 0.14), transparent 55%),
    radial-gradient(700px 420px at 5% 25%, rgba(212, 160, 23, 0.06), transparent 50%),
    linear-gradient(180deg, #041212 0%, var(--bg) 40%, #0a1f1f 100%);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.55rem; letter-spacing: 0.02em; }
p { margin: 0 0 0.85rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.plant { position: relative; overflow: clip; }
.plant::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(46, 168, 148, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 168, 148, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.plant > * { position: relative; z-index: 1; }

/* inspection top bar */
.gauge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand .meter {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background:
    conic-gradient(var(--teal) 0 72%, rgba(46, 168, 148, 0.15) 72% 100%);
  position: relative;
  box-shadow: 0 0 16px rgba(46, 168, 148, 0.25);
}
.brand .meter::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 50%;
  background: var(--panel);
}
.brand b { display: block; font-size: 1.1rem; }
.brand small {
  display: block;
  font-family: var(--font-meta);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-transform: uppercase;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-size: 0.9rem;
  color: var(--mute);
}
.nav a:hover, .nav a.on { color: var(--teal); }
.inspect {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1rem;
  background: var(--teal);
  color: #04201c;
  font-weight: 800;
  font-size: 0.84rem;
  white-space: nowrap;
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(46, 168, 148, 0.28);
  transition: background 0.18s ease, transform 0.18s ease;
}
.inspect:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }

/* route hero */
.route {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.55rem 0 2.15rem;
}
.checklist {
  background: linear-gradient(165deg, rgba(18, 51, 51, 0.95), rgba(13, 39, 39, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
}
.checklist::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 3px;
  background: linear-gradient(180deg, var(--amber), var(--teal));
  border-radius: 2px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  animation: blink 1.7s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.checklist h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin-bottom: 0.7rem;
}
.lead { color: var(--mute); font-size: 1.02rem; max-width: 36rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.72rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-teal {
  background: var(--teal);
  color: #04201c;
  box-shadow: 0 10px 22px rgba(46, 168, 148, 0.25);
}
.btn-steel {
  background: transparent;
  color: var(--ink);
  border-color: rgba(46, 168, 148, 0.35);
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.specs p {
  margin: 0;
  padding: 0.55rem 0.65rem;
  background: rgba(7, 26, 26, 0.55);
  border: 1px dashed rgba(46, 168, 148, 0.28);
  font-size: 0.82rem;
  color: var(--mute);
  border-radius: 4px;
}
.specs b {
  display: block;
  font-family: var(--font-meta);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.12rem;
}
.viewport {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.viewport img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.sec { padding: 2.3rem 0; }
.head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.head .tag {
  font-family: var(--font-meta);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  border: 1px solid rgba(212, 160, 23, 0.4);
  padding: 0.35rem 0.5rem;
  text-transform: uppercase;
}
.head h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); margin: 0 0 0.25rem; }
.head p { margin: 0; color: var(--mute); font-size: 0.94rem; max-width: 40rem; }

/* download bays — horizontal equipment slots */
.bays {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.bay {
  background: var(--bay);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bay:hover {
  border-color: rgba(46, 168, 148, 0.45);
  transform: translateY(-2px);
}
.bay .slot {
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(46, 168, 148, 0.4);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-meta);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(46, 168, 148, 0.08);
}
.bay .os {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}
.bay .meta { margin: 0; font-size: 0.84rem; color: var(--mute); }
.bay .meta b { color: var(--ink); }
.bay .btn { grid-column: 3; grid-row: 1 / span 2; align-self: center; }

/* capability gauges */
.gauges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
}
.gauge {
  background: linear-gradient(180deg, var(--bay), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 0.85rem;
}
.gauge .ico {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 4px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 168, 148, 0.35);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.65rem;
  background: rgba(46, 168, 148, 0.08);
}
.gauge h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.gauge p { margin: 0; font-size: 0.86rem; color: var(--mute); }
.gauge .bar {
  margin-top: 0.7rem;
  height: 3px;
  background: rgba(46, 168, 148, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.gauge .bar span {
  display: block;
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

/* ops brief */
.ops {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  align-items: center;
}
.brief {
  background: var(--bay);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.brief h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.brief .bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.brief .bullets li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--mute);
  font-size: 0.93rem;
}
.brief .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--amber);
}
.gallery { display: grid; gap: 0.7rem; }
.gallery .shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.gallery .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

/* trust */
.acred {
  text-align: center;
  background: linear-gradient(180deg, rgba(18,51,51,0.9), rgba(13,39,39,0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.1rem 1.3rem;
}
.acred .big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 0.35rem;
}
.acred .big em {
  font-style: normal;
  color: var(--teal);
  font-size: 1.2em;
}
.acred .sub { color: var(--mute); margin-bottom: 1rem; }
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.05rem;
}
.brands span {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  background: rgba(7, 26, 26, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mute);
  font-family: var(--font-meta);
  letter-spacing: 0.02em;
}
.acred .shot {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

/* news + help */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.9rem;
}
.panel {
  background: var(--bay);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 0.85rem;
}
.panel-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}
.panel-h a { color: var(--teal); font-size: 0.86rem; font-weight: 700; }
.log {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.65rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.log:last-child { border-bottom: 0; }
.log time {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  color: var(--amber);
  padding-top: 0.15rem;
}
.log h3 { font-size: 0.96rem; margin-bottom: 0.2rem; }
.log p { margin: 0; font-size: 0.85rem; color: var(--mute); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal);
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--mute); font-size: 0.9rem; margin: 0.4rem 0 0.5rem; }
.faq a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* CTA */
.dispatch {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.15rem;
  align-items: center;
  background: linear-gradient(135deg, #0a2e2a, #14524a 55%, #1c7a6b);
  color: #e8f6f2;
  padding: 1.45rem 1.35rem;
  margin: 0.4rem 0 1.9rem;
  border: 1px solid rgba(46, 168, 148, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dispatch h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.dispatch .lead { color: rgba(232, 246, 242, 0.85); }
.gains {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.35rem;
}
.gains li {
  padding-left: 1rem;
  position: relative;
  font-size: 0.93rem;
  color: rgba(232, 246, 242, 0.92);
}
.gains li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--amber);
}
.dispatch .btn-teal {
  background: #e8f6f2;
  color: #0a2e2a;
  box-shadow: none;
}
.dispatch .btn-steel {
  color: #e8f6f2;
  border-color: rgba(232, 246, 242, 0.35);
}
.dispatch .shot {
  border: 1px solid rgba(232, 246, 242, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,0.18);
}

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.3rem 0 1.7rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.1rem 0 1.9rem;
  color: var(--mute);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}
.foot nav { display: flex; gap: 1rem; }
.foot a:hover { color: var(--teal); }

@media (max-width: 960px) {
  .route, .ops, .split, .dispatch, .page-hero { grid-template-columns: 1fr; }
  .gauges { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .bay { grid-template-columns: auto 1fr; }
  .bay .btn { grid-column: 1 / -1; grid-row: auto; width: 100%; }
}
@media (max-width: 560px) {
  .bays, .gauges, .specs, .gallery .duo, .head { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero image hard rules — end of file */
.route,
.page-hero {
  align-items: center;
}
.route .viewport,
.page-hero .viewport,
.dispatch .shot,
.gallery .shot,
.acred .shot {
  align-self: center;
  height: auto;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transform: none;
}
.route .viewport img,
.page-hero .viewport img,
.dispatch .shot img,
.gallery .shot img,
.acred .shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  clip-path: none;
  transform: none;
}
