@charset "utf-8";
/* ============================================================
   资阳市雁江区信瑾信息技术服务部 — 官方信息展示平台
   主样式表（全站本地化，无任何外部 CDN 依赖）
   ============================================================ */

:root {
  --brand: #1B4F9C;
  --brand-dark: #123A75;
  --brand-light: #EDF3FC;
  --accent: #0E9F8E;
  --accent-light: #E7F6F4;
  --text: #1F2937;
  --text-strong: #0F172A;
  --muted: #64748B;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-deep: #F0F4FA;
  --border: #E3E9F2;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 4px 18px rgba(15, 23, 42, .07);
  --shadow-lg: 0 12px 36px rgba(27, 79, 156, .10);
  --container: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部提示条 ---------- */
.topbar {
  background: var(--brand-dark);
  color: #CBD8EA;
  font-size: 13px;
  line-height: 1.6;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; }
.topbar-right { display: flex; gap: 18px; }
.topbar a { color: #CBD8EA; }
.topbar a:hover { color: #FFFFFF; }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #2E7BD6 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 19px; letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
}
.logo-text strong { display: block; font-size: 18px; line-height: 1.25; color: var(--text-strong); letter-spacing: .5px; }
.logo-text em { display: block; font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
.nav a:hover { color: var(--brand); background: var(--brand-light); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #123A75 0%, #1B4F9C 55%, #2E7BD6 100%);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 92px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,159,142,.30) 0%, transparent 68%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 40px; line-height: 1.35; font-weight: 700; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: #FFD580; }
.hero-sub { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.86); max-width: 640px; line-height: 1.9; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  padding: 5px 14px; border-radius: 999px; font-size: 13px;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 28px; border-radius: 8px;
  font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.btn-primary { background: #fff; color: var(--brand-dark); }
.btn-primary:hover { background: #EEF4FF; color: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ---------- 数据条 ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--border); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item { padding: 30px 8px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.3; }
.stat-num small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: 30px; color: var(--text-strong); line-height: 1.5; font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.divider { width: 48px; height: 3px; background: var(--brand); margin: 18px auto 0; border-radius: 2px; }

/* ---------- 卡片栅格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CBD9EE; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.card h3 { font-size: 18px; color: var(--text-strong); margin-bottom: 10px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.card-link { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--brand); font-weight: 500; }
.card-link::after { content: " →"; }

/* ---------- 关于区块 ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  background: linear-gradient(135deg, #EDF3FC 0%, #DCE8F8 100%);
  border: 1px solid var(--border); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.about-visual svg { width: 62%; height: auto; opacity: .95; }
.about-content h2 { font-size: 28px; color: var(--text-strong); line-height: 1.5; margin-bottom: 18px; }
.about-content p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.check-list li::before {
  content: "✓"; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700;
  margin-top: 5px;
}

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 1px; background: repeating-linear-gradient(to right, var(--border) 0 6px, transparent 6px 12px);
}
.step h4 { font-size: 16px; color: var(--text-strong); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 服务详情 ---------- */
.service-block {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px;
  padding: 34px 0; border-bottom: 1px dashed var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block .sb-icon {
  width: 66px; height: 66px; border-radius: 14px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.service-block .sb-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.service-block h3 { font-size: 20px; color: var(--text-strong); margin-bottom: 10px; }
.service-block p { color: var(--muted); font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  background: var(--bg-deep); border: 1px solid var(--border); color: #475569;
  font-size: 13px; padding: 4px 12px; border-radius: 6px;
}

/* ---------- 表格 ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.info-table th, .info-table td { padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 15px; text-align: left; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 190px; background: var(--bg-soft); color: var(--text-strong); font-weight: 600; }
.info-table td { color: var(--muted); }

.notice {
  background: var(--accent-light); border: 1px solid #BFE9E3; border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 26px;
}
.notice h4 { font-size: 15px; color: #0B7C6F; margin-bottom: 8px; }
.notice p, .notice li { font-size: 14px; color: #31615C; }

/* ---------- 资讯 ---------- */
.news-item {
  display: grid; grid-template-columns: 128px 1fr; gap: 26px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 18px; transition: all .25s ease;
}
.news-item:hover { box-shadow: var(--shadow); border-color: #CBD9EE; }
.news-date {
  background: var(--brand-light); border-radius: var(--radius); text-align: center;
  padding: 14px 8px; height: fit-content;
}
.news-date strong { display: block; font-size: 26px; color: var(--brand); line-height: 1.2; font-weight: 700; }
.news-date span { font-size: 12px; color: #6B82A6; }
.news-body h3 { font-size: 18px; color: var(--text-strong); margin-bottom: 8px; line-height: 1.6; }
.news-body p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.news-meta { margin-top: 12px; font-size: 13px; color: #94A3B8; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, #123A75 0%, #1B4F9C 60%, #246BBF 100%);
  color: #fff; padding: 62px 0; text-align: center;
}
.cta h2 { font-size: 28px; margin-bottom: 14px; font-weight: 700; }
.cta p { color: rgba(255,255,255,.85); font-size: 15.5px; max-width: 640px; margin: 0 auto 28px; }
.cta .btn-primary { background: #fff; color: var(--brand-dark); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 16px; background: #fff;
}
.contact-card .cc-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .cc-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.contact-card h4 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.contact-card p { font-size: 15.5px; color: var(--text-strong); line-height: 1.7; }

.form-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-box h3 { font-size: 20px; color: var(--text-strong); margin-bottom: 6px; }
.form-box > p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-strong); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: var(--font);
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,79,156,.10);
}
.field textarea { min-height: 116px; resize: vertical; }
.form-box .btn { width: 100%; }

/* ---------- 页脚 ---------- */
.footer { background: #0F1E33; color: #94A3B8; font-size: 14px; padding-top: 58px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; letter-spacing: .5px; }
.footer p { line-height: 1.9; font-size: 14px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #94A3B8; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .f-brand strong { color: #fff; font-size: 17px; }
.footer-contact li { display: flex; gap: 10px; line-height: 1.85; }
.footer-contact span { color: #64748B; flex: 0 0 60px; }

.footer-bottom { border-top: 1px solid rgba(148,163,184,.18); padding: 26px 0 34px; }
.footer-bottom .fb-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13.5px; line-height: 1.9; color: #7C8CA3; }
.beian-link { color: #94A3B8; }
.beian-link:hover { color: #fff; text-decoration: underline; }
.fb-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  border: 1px solid rgba(148,163,184,.28); border-radius: 6px; padding: 5px 12px;
  font-size: 12.5px; color: #94A3B8; background: rgba(148,163,184,.06);
}
.disclaimer { margin-top: 14px; font-size: 12.5px; color: #6B7C93; line-height: 1.85; max-width: 900px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--brand); color: #fff; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 90; font-size: 18px;
}
.to-top.show { display: flex; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .step:not(:last-child)::after { display: none; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .hero { padding: 60px 0 66px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 23px; }
  .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .news-date { display: flex; align-items: baseline; gap: 8px; width: fit-content; padding: 8px 14px; }
  .news-date strong { font-size: 18px; }
  .info-table th { width: 120px; }
  .info-table th, .info-table td { padding: 13px 14px; font-size: 14px; }
  .topbar-right { display: none; }
  .about-visual { min-height: 220px; }
}
