/* ==================================================================
   龙琪科技官网 · 现代商务风格样式
   主色：科技蓝渐变 #0A3BBF → #1E5EFF → #00C6FF
   ================================================================== */

:root {
  --primary: #1e5eff;
  --primary-dark: #0a3bbf;
  --accent: #00c6ff;
  --ink: #0b1f3f;
  --ink-2: #3d4f6d;
  --muted: #7a8aa5;
  --line: #e6ecf7;
  --bg: #f5f8fd;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #0a3bbf 0%, #1e5eff 45%, #00c6ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(30, 94, 255, .08), rgba(0, 198, 255, .08));
  --shadow-sm: 0 2px 10px rgba(11, 31, 63, .06);
  --shadow-md: 0 10px 30px rgba(11, 31, 63, .09);
  --shadow-lg: 0 20px 50px rgba(11, 31, 63, .14);
  --radius: 16px;
  --maxw: 1200px;
  --nav-h: 68px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  letter-spacing: .5px;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 94, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(30, 94, 255, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11, 31, 63, .06);
}
.site-header.scrolled .nav-link { color: var(--ink-2); }
.site-header.scrolled .logo-text { color: var(--ink); }
.site-header.scrolled .logo-sub { color: var(--muted); }
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(30, 94, 255, .35);
  flex: none;
}
.logo-text { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: 1px; transition: color .3s; }
.logo-sub { font-size: 10px; letter-spacing: 2.6px; color: rgba(255, 255, 255, .75); text-transform: uppercase; transition: color .3s; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
  transition: background .25s, color .25s;
}
.nav-link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.site-header.scrolled .nav-link:hover { background: var(--grad-soft); color: var(--primary); }
.nav-link.active { background: rgba(255, 255, 255, .2); color: #fff; font-weight: 600; }
.site-header.scrolled .nav-link.active { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(30, 94, 255, .35); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: currentColor; color: #fff; }
.site-header.scrolled .nav-toggle svg { color: var(--ink); }

/* ---------- 英雄区（轮播） ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #06133a;
  color: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 6s linear;
  pointer-events: none;
  background: radial-gradient(1100px 600px at 15% 30%, #123a9e 0%, transparent 60%),
              radial-gradient(900px 500px at 85% 70%, #065a8f 0%, transparent 55%),
              linear-gradient(160deg, #071743 0%, #0a2a7a 60%, #0b3fa0 100%);
}
.hero-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
}
.hero-slide::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(0, 198, 255, .28), transparent 65%);
  filter: blur(10px);
  animation: float 9s ease-in-out infinite alternate;
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(50px); } }
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 140px 24px 120px; width: 100%; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  font-size: 13.5px;
  letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-title {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 1px;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-title em { font-style: normal; background: linear-gradient(90deg, #6fd7ff, #00e0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 640px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 34px; height: 5px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.hero-dots button.active { background: #fff; width: 50px; }

/* 波浪分隔 */
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 4; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ---------- 数据统计条 ---------- */
.stats-bar {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  padding-bottom: 20px;
}
.stats-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item {
  padding: 34px 20px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 26%;
  height: 48%;
  width: 1px;
  background: var(--line);
}
.stat-num { font-size: 40px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding: 0 46px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: 1px; }
.section-desc { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* 滚动进场动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 公司简介（首页） ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-cube {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: var(--grad);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.about-cube::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-cube-logo { font-size: 72px; font-weight: 800; color: rgba(255, 255, 255, .92); letter-spacing: 4px; }
.about-cube-caption { position: absolute; bottom: 22px; color: rgba(255, 255, 255, .8); font-size: 13px; letter-spacing: 3px; }
.about-badge {
  position: absolute;
  right: -22px; bottom: 34px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 6s ease-in-out infinite alternate;
}
.about-badge .num { font-size: 30px; font-weight: 800; color: var(--primary); }
.about-badge .txt { font-size: 13px; color: var(--muted); line-height: 1.4; }
.about-text h3 { font-size: 26px; margin-bottom: 18px; letter-spacing: 1px; }
.about-text p { color: var(--ink-2); margin-bottom: 16px; font-size: 15.5px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 34px; }
.about-point { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.about-point .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex: none;
}

/* ---------- 业务范围 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s 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: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: transform .35s;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: .5px; }
.service-desc { font-size: 13.8px; color: var(--muted); line-height: 1.75; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s;
}
.service-card:hover .service-more { opacity: 1; transform: none; }

/* ---------- 案例展示 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-cover {
  aspect-ratio: 16 / 9;
  background: var(--grad);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case-cover::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.case-cover .ph {
  position: relative;
  color: rgba(255, 255, 255, .92);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 3px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .3);
}
.case-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.case-cat {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--grad-soft);
  border-radius: 999px;
  padding: 4px 14px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.case-title { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.case-client { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.case-desc { font-size: 14px; color: var(--ink-2); flex: 1; }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-date { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; color: var(--primary); font-weight: 800; }
.news-date .d { font-size: 30px; line-height: 1; }
.news-date .rest { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.news-title { font-size: 17px; font-weight: 700; line-height: 1.55; margin-bottom: 10px; flex: 0 0 auto; }
.news-card:hover .news-title { color: var(--primary); }
.news-summary { font-size: 14px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1f5c 0%, #123a9e 55%, #0e63b8 100%);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
}
.cta-band h3 { font-size: 28px; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .78); position: relative; }
.cta-band .btn { position: relative; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07142e; color: rgba(255, 255, 255, .72); padding: 70px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: rgba(255, 255, 255, .5); }
.footer-brand p { font-size: 14px; margin-top: 18px; line-height: 1.9; color: rgba(255, 255, 255, .55); }
.footer-h { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; letter-spacing: 1px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact .ic { color: var(--accent); flex: none; font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 内页头部 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 70px;
  background: radial-gradient(900px 380px at 20% 0%, #123a9e 0%, transparent 60%), linear-gradient(165deg, #071743 0%, #0a2a7a 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: 2px; position: relative; }
.page-hero .crumbs { position: relative; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.page-hero .crumbs a:hover { color: #fff; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
  font-style: normal;
}
.contact-item .k { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.contact-item .v { font-size: 15.5px; font-weight: 600; word-break: break-all; }
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-form-card h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form-card .tip { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.form-group label .req { color: #e05656; margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fafcff;
  transition: border-color .25s, box-shadow .25s, background .25s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 94, 255, .12); background: #fff; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-ok {
  display: none;
  background: #e9f9ef;
  color: #1a7f43;
  border: 1px solid #bce8cd;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  margin-top: 16px;
}
.form-ok.show { display: block; }
.form-err {
  display: none;
  background: #fdeeee;
  color: #c0392b;
  border: 1px solid #f5c8c4;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  margin-top: 16px;
}
.form-err.show { display: block; }

/* ---------- 业务范围页 ---------- */
.service-detail { display: flex; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; margin-bottom: 22px; transition: box-shadow .3s, transform .3s; }
.service-detail:hover { box-shadow: var(--shadow-lg); transform: translateX(6px); }
.service-detail .service-icon { margin-bottom: 0; flex: none; width: 64px; height: 64px; font-size: 30px; }
.service-detail h3 { font-size: 20px; margin-bottom: 10px; }
.service-detail p { color: var(--ink-2); font-size: 14.5px; }
.service-detail .tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.service-detail .tag { font-size: 12.5px; color: var(--primary); background: var(--grad-soft); padding: 4px 14px; border-radius: 999px; }

/* ---------- 新闻/案例列表页 ---------- */
.list-entry { margin-bottom: 60px; }
.news-full { display: flex; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s; }
.news-full:hover { padding-left: 10px; }
.news-full:hover .news-title { color: var(--primary); }
.news-full .news-date-box {
  flex: none;
  width: 76px;
  border-radius: 14px;
  background: var(--grad-soft);
  text-align: center;
  padding: 12px 0;
  color: var(--primary);
}
.news-full .news-date-box .d { font-size: 28px; font-weight: 800; line-height: 1.1; display: block; }
.news-full .news-date-box .m { font-size: 12px; }
.news-full .news-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; transition: color .25s; }
.news-full .news-summary { color: var(--muted); font-size: 14.5px; }

/* 文章详情 */
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: var(--shadow-sm);
}
.article h1 { font-size: 27px; line-height: 1.5; margin-bottom: 14px; }
.article .meta { color: var(--muted); font-size: 13.5px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px; display: flex; gap: 20px; flex-wrap: wrap; }
.article-body p { margin-bottom: 16px; font-size: 15.5px; color: var(--ink-2); line-height: 1.95; }
.article-back { margin-top: 40px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 160px 24px 120px; }
.error-page .code { font-size: 120px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.error-page p { color: var(--muted); margin: 20px 0 32px; }

/* ---------- 浮动客服 ---------- */
.float-contact {
  position: fixed;
  right: 26px; bottom: 30px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 10px 26px rgba(30, 94, 255, .4);
  cursor: pointer;
  transition: transform .3s;
  border: none;
}
.float-btn:hover { transform: translateY(-4px) scale(1.06); }
.float-btn.light { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 88px; left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: var(--ink);
  color: #fff;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .news-list { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link, .site-header.scrolled .nav-link { color: var(--ink-2); }
  .nav-link.active, .site-header.scrolled .nav-link.active { color: #fff; }
  .nav-toggle { display: block; }
  .logo-sub { display: none; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(3)::before { display: none; }
  .services-grid, .cases-grid, .news-list { grid-template-columns: 1fr; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 44px 30px; }
  .article { padding: 32px 24px; }
  .service-detail { flex-direction: column; }
  .hero { min-height: 88vh; }
  .about-badge { right: 8px; }
}
