/* ==========================================================================
   新疆恒学财税管理有限公司 官网样式
   ========================================================================== */

:root {
  --primary: #0a3a7d;
  --primary-dark: #07285b;
  --primary-light: #1454a8;
  --accent: #c9a227;
  --accent-light: #e6c65c;
  --bg-soft: #f4f7fb;
  --text: #223247;
  --text-2: #5d6c80;
  --border: #e2e8f0;
  --white: #ffffff;
  --footer-bg: #0b1f3a;
  --footer-text: #a9b8cc;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(10, 58, 125, 0.10);
  --shadow-lg: 0 18px 50px rgba(10, 58, 125, 0.18);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.28s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 58, 125, 0.28);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #3b2f06;
}

.btn-gold:hover {
  filter: brightness(1.06);
  color: #3b2f06;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.4);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* ===== 顶栏 ===== */
.topbar {
  background: var(--primary-dark);
  color: #cdd9ea;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
}

.topbar-contact {
  display: flex;
  gap: 24px;
}

.topbar-contact a {
  color: #cdd9ea;
}

.topbar-contact a:hover {
  color: var(--accent-light);
}

/* ===== 页头 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(7, 40, 91, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent-light);
  font-size: 25px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10, 58, 125, 0.28);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  font-size: 21px;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-text small {
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 1.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  position: relative;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  padding: 6px 2px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.28s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 40, 91, 0.45);
  z-index: 99;
}

.nav-mask.show {
  display: block;
}

/* ===== 首页横幅 ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #06224a 0%, var(--primary) 55%, #124d9e 100%);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 65%);
  top: -240px;
  right: -140px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 65%);
  bottom: -200px;
  left: -120px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(230, 198, 92, 0.55);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-light);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-info > p {
  font-size: 16.5px;
  color: #d3def0;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #c6d4ea;
  font-size: 14px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-panel {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 340px;
  height: 320px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 18px 44px rgba(3, 20, 48, 0.35);
  min-width: 230px;
}

.float-card strong {
  display: block;
  font-size: 15.5px;
  color: var(--primary);
}

.float-card small {
  display: block;
  font-size: 12.5px;
  color: var(--text-2);
}

.fc-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-icon svg {
  width: 22px;
  height: 22px;
}

.fc-1 {
  top: 28px;
  left: 8px;
  animation: float 5.5s ease-in-out infinite;
}

.fc-2 {
  top: 128px;
  right: 4px;
  animation: float 6.5s ease-in-out 0.6s infinite;
}

.fc-3 {
  top: 238px;
  left: 26px;
  animation: float 7s ease-in-out 1.2s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== 数据条 ===== */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -52px;
}

.stats-inner {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 20px;
}

.stat {
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-size: 30px;
  color: var(--primary);
  line-height: 1.3;
}

.stat span {
  font-size: 13.5px;
  color: var(--text-2);
}

/* ===== 通用区块 ===== */
.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 34px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-head p {
  color: var(--text-2);
  font-size: 15.5px;
}

.section-more {
  text-align: center;
  margin-top: 44px;
}

/* ===== 服务卡片 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(10, 58, 125, 0.08), rgba(10, 58, 125, 0.16));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 19px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 18px;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--primary);
}

.card-link svg {
  width: 15px;
  height: 15px;
}

/* ===== 优势特性 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-item h3 {
  font-size: 17.5px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-2);
}

/* ===== 关于预览 ===== */
.about-preview {
  background: #fff;
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-text .section-tag {
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-2);
  margin-bottom: 16px;
  font-size: 15px;
}

.about-text .btn {
  margin-top: 10px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fact {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.fact span {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 6px;
}

.fact strong {
  display: block;
  font-size: 17px;
  color: var(--primary);
  word-break: break-all;
}

/* ===== 资讯卡片 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
}

.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 16px);
}

.news-thumb span {
  position: relative;
  z-index: 1;
}

.news-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.news-tag {
  background: rgba(201, 162, 39, 0.14);
  color: #8a6d12;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.news-body h3 {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.news-body h3 a {
  color: inherit;
}

.news-body h3 a:hover {
  color: var(--primary);
}

.news-body p {
  font-size: 14px;
  color: var(--text-2);
  flex: 1;
}

.news-more {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.news-more:hover {
  color: var(--primary);
}

/* ===== 咨询横幅 ===== */
.cta-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.25), transparent 45%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: 30px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.cta-inner p {
  color: #cdd9ea;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 24px 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-mark {
  width: 42px;
  height: 42px;
  font-size: 22px;
  box-shadow: none;
}

.footer-logo strong {
  font-size: 19px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.9;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.footer-col ul li {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-col ul a {
  color: var(--footer-text);
}

.footer-col ul a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 13px;
  text-align: center;
  color: #7f92ab;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== 内页横幅 ===== */
.page-banner {
  background:
    radial-gradient(circle at 80% 0%, rgba(201, 162, 39, 0.18), transparent 45%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 64px 0 58px;
}

.page-banner h1 {
  font-size: 34px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.page-banner p {
  color: #c6d4ea;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--accent-light);
}

/* ===== 关于页 ===== */
.about-intro {
  padding: 80px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 52px;
  align-items: start;
}

.about-intro h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.about-intro p {
  color: var(--text-2);
  margin-bottom: 16px;
  text-indent: 2em;
}

.info-table-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.info-table-wrap h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.info-table td {
  padding: 11px 8px;
  border-bottom: 1px dashed var(--border);
  vertical-align: top;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table td:first-child {
  color: var(--text-2);
  width: 130px;
  font-weight: 500;
}

.info-table td:last-child {
  color: var(--text);
  word-break: break-all;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vision-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vision-item .cn {
  display: block;
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.vision-item .en {
  display: block;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cert-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-box {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 44px 20px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  background: var(--bg-soft);
}

.cert-box svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  color: var(--primary-light);
}

/* ===== 服务页 ===== */
.service-block {
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:nth-child(even) {
  background: var(--bg-soft);
}

.service-block-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.service-block-head .service-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 18px;
}

.service-block-head h2 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-block-head p {
  color: var(--text-2);
  font-size: 15px;
}

.service-list {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 30px;
}

.service-list h3 {
  font-size: 16.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 14.5px;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.service-fit {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 16px;
}

/* ===== 流程 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-item {
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 18px 24px;
  transition: all 0.3s ease;
}

.process-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.process-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent-light);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.process-item p {
  font-size: 13px;
  color: var(--text-2);
}

/* ===== 联系页 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card.wide {
  grid-column: 1 / -1;
}

.contact-card .fc-icon {
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  font-size: 14.5px;
  color: var(--text-2);
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--primary);
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label span {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 58, 125, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-tip {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  margin-top: 12px;
}

.form-tip.success {
  color: #1e7e34;
}

/* ===== 文章页 ===== */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.article-head {
  text-align: center;
  margin-bottom: 36px;
}

.article-head h1 {
  font-size: 30px;
  color: var(--primary-dark);
  line-height: 1.45;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--text-2);
  font-size: 13.5px;
}

.article-body {
  font-size: 15.5px;
  color: var(--text);
}

.article-body p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.article-body h3 {
  font-size: 19px;
  color: var(--primary-dark);
  margin: 28px 0 12px;
}

.article-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 24px rgba(10, 58, 125, 0.3);
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-light);
}

/* ===== 滚动显现 ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 36px;
  }

  .services-grid,
  .features-grid,
  .news-grid,
  .cert-placeholder {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .topbar-contact {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 90px 34px 34px;
    box-shadow: -12px 0 40px rgba(7, 40, 91, 0.18);
    transition: right 0.35s ease;
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 12px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin-top: 26px;
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .about-preview-inner,
  .about-intro-grid,
  .service-block-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 18px;
  }

  .header-inner {
    min-height: 66px;
  }

  .logo-text small {
    display: none;
  }

  .hero {
    padding: 52px 0 84px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero-points {
    gap: 12px;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .services-grid,
  .features-grid,
  .news-grid,
  .vision-grid,
  .cert-placeholder,
  .process-grid,
  .contact-info-cards,
  .form-row,
  .about-facts {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    padding: 20px 10px;
  }

  .stat strong {
    font-size: 24px;
  }

  .cta-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 48px 18px 32px;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }

  .page-banner {
    padding: 48px 0 44px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .article-head h1 {
    font-size: 24px;
  }
}
