/* 洛阳夸客网络科技有限公司 - 站点样式 */

:root {
  --brand: #14508f;
  --brand-dark: #0e3a69;
  --brand-light: #2b7fd4;
  --brand-tint: #eef4fb;
  --ink: #1c2430;
  --ink-2: #4a5566;
  --ink-3: #7a8494;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 8px;
  --wrap: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部 ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .5px;
}
.logo-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block;
  padding: 8px 16px;
  color: var(--ink-2);
  border-radius: 6px;
  font-size: 15px;
}
.nav a:hover { background: var(--brand-tint); color: var(--brand); }
.nav a.on { color: var(--brand); font-weight: 600; background: var(--brand-tint); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle i {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink-2); border-radius: 2px;
}
.nav-toggle i:nth-child(1) { top: 13px; }
.nav-toggle i:nth-child(2) { top: 19px; }
.nav-toggle i:nth-child(3) { top: 25px; }

/* ---------- 首页大图 ---------- */
.hero {
  background: linear-gradient(135deg, #0e3a69 0%, #14508f 55%, #2b7fd4 100%);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px;
  border: 60px solid rgba(255,255,255,.05);
  border-radius: 50%;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: 38px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero p {
  font-size: 16px;
  max-width: 680px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}
.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 6px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: .2s;
}
.btn-main { background: #fff; color: var(--brand); }
.btn-main:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; margin-left: 12px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- 内页标题条 ---------- */
.pagehead {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 34px;
}
.pagehead h1 { font-size: 26px; font-weight: 600; letter-spacing: 1px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.crumb a { color: var(--ink-3); }

/* ---------- 通用版块 ---------- */
.section { padding: 66px 0; }
.section.soft { background: var(--bg-soft); }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: 25px; font-weight: 600; letter-spacing: 1px; }
.sec-title span {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 6px;
}
.sec-title::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin: 16px auto 0;
}

.lead {
  max-width: 720px;
  margin: -20px auto 40px;
  text-align: center;
  color: var(--ink-2);
}

.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.solo { max-width: 640px; margin: 0 auto; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: .25s;
}
.card:hover { border-color: var(--brand-light); box-shadow: 0 8px 26px rgba(20,80,143,.08); }
.card .ico {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14px; }

.prose { max-width: 820px; margin: 0 auto; }
.prose p { margin-bottom: 16px; color: var(--ink-2); }
.prose h3 {
  font-size: 18px; font-weight: 600;
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split h2 { font-size: 24px; font-weight: 600; letter-spacing: .5px; margin-bottom: 16px; }
.split p { color: var(--ink-2); margin-bottom: 14px; }
.split .table { background: #fff; }

.btn-line { border-color: var(--brand); color: var(--brand); margin-top: 8px; }
.btn-line:hover { background: var(--brand); color: #fff; }

.step-no {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--brand-light);
  margin-bottom: 8px;
}

.mailbox {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 30px;
}
.mailbox .ico { margin: 0 auto 20px; }
.mailbox a { font-size: 22px; font-weight: 600; letter-spacing: .5px; }
.mailbox p { color: var(--ink-2); font-size: 14px; margin-top: 14px; }

.prose ul { margin: 0 0 16px; }
.prose li {
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.prose li::before {
  content: "";
  position: absolute; left: 2px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-light);
}

/* ---------- 信息表 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td {
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}
.table th {
  background: var(--bg-soft);
  width: 160px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.table td { color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.footer {
  background: #161d27;
  color: rgba(255,255,255,.6);
  padding: 46px 0 0;
  font-size: 14px;
}
.footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: 8px; }
.footer .fgrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 34px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-align: center;
}
.copyright a { color: rgba(255,255,255,.45); }
.copyright .beian { display: inline-flex; align-items: center; gap: 6px; }
.copyright span { margin: 0 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
    padding: 8px 20px 14px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header .wrap { position: relative; min-height: 62px; }
  .hero { padding: 58px 0 62px; }
  .hero h1 { font-size: 25px; }
  .section { padding: 44px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .lead { margin-bottom: 30px; }
  .mailbox { padding: 34px 22px; }
  .footer .fgrid { grid-template-columns: 1fr; gap: 26px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .table th { width: 96px; padding: 11px; }
  .table td { padding: 11px; }
}
