/* 未之境科技 — 审核用官网：紧凑务实，少装饰 */

:root {
  --blue: #1a5aa8;
  --blue-d: #134687;
  --ink: #222;
  --text: #555;
  --muted: #888;
  --line: #e5e5e5;
  --bg: #f6f7f9;
  --max: 1080px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 14px/1.7 var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  flex-shrink: 0;
}
.logo strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}
.logo span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 6px 12px;
  font-size: 14px;
  color: #444;
}
.nav a:hover { color: var(--blue); }
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* banner */
.banner {
  background:
    linear-gradient(rgba(18, 52, 96, 0.78), rgba(18, 52, 96, 0.78)),
    url("img/banner-training.jpg") center/cover no-repeat;
  color: #fff;
}
.banner-inner {
  padding: 42px 0 46px;
}
.banner h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
}

/* blocks */
.block { padding: 36px 0; }
.block.bg { background: var(--bg); }
.block-hd {
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
}
.block-hd h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.block-hd p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text);
}

/* about */
.about {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.about img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 3px;
}
.about-body p {
  color: var(--text);
  margin-bottom: 10px;
  text-align: justify;
}
.about-body b { color: var(--ink); }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tags span {
  padding: 4px 10px;
  background: #eef3fa;
  color: var(--blue-d);
  font-size: 12px;
  border-radius: 2px;
}

/* training mods */
.mods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.mod {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 14px 12px;
}
.mod h3 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
}
.mod p {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.65;
}

.note {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  align-items: center;
}
.note img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 2px;
}
.note h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.note p {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
}
.note ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.note li {
  font-size: 12.5px;
  color: #444;
  padding-left: 10px;
  position: relative;
}
.note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

/* table */
.table-box {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
th {
  background: #f0f3f7;
  color: #444;
  font-weight: 600;
}
tr:last-child td { border-bottom: 0; }
td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
td:nth-child(2) { color: var(--text); }
td:last-child {
  color: var(--text);
  white-space: nowrap;
}

/* services */
.svc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
}
.svc h3 {
  font-size: 14px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}
.svc p {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.65;
}

/* process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fff;
}
.step b {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  border-radius: 50%;
}
.step h3 {
  font-size: 14px;
  margin-bottom: 2px;
}
.step p {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}

/* contact */
.contact {
  background: #163a6b;
  color: #fff;
}
.contact .block-hd { border-left-color: #7eb0ea; }
.contact .block-hd h2 { color: #fff; }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.contact-main h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.contact-main p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  max-width: 36em;
}
.contact-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13.5px;
}
.contact-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-list span {
  color: rgba(255,255,255,0.6);
}
.contact-list strong {
  font-weight: 600;
}

/* footer */
.footer {
  background: #0f2a4f;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}
.footer-inner {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* responsive */
@media (max-width: 900px) {
  .about,
  .note,
  .contact-box {
    grid-template-columns: 1fr;
  }
  .about img { height: 160px; }
  .note img { height: 160px; }
  .mods { grid-template-columns: 1fr 1fr; }
  .svc-list,
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 58px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav a:last-child { border-bottom: 0; }
  .header { position: sticky; }
  .logo span { display: none; }
  .banner h1 { font-size: 22px; }
  .banner-inner { padding: 28px 0 32px; }
  .block { padding: 28px 0; }
  .mods,
  .svc-list,
  .steps { grid-template-columns: 1fr; }
  .footer-inner {
    height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
