/* ==========================================================================
   三正圆 · 官网（清爽精致版）
   白底浅蓝 / 柔和渐变 / 轻阴影 / 适度留白
   ========================================================================== */

:root {
  --bg: #ffffff;
  --soft: #f6f9fc;
  --ink: #0f172a;
  --body: #475569;
  --muted: #7c8ba1;
  --line: #e6edf5;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-dark: #2563eb;
  --blue-soft: #eff6ff;

  --r-lg: 18px;
  --r-md: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.13);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue",
    Arial, sans-serif;

  --container: 1180px;
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: rgba(59, 130, 246, 0.16);
  color: var(--ink);
}

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

.section {
  padding: 92px 0;
}

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

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

.section-head h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
}

.accent {
  color: var(--blue);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.34);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
}

/* ---------- 动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(147, 197, 253, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-cn {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.brand-en {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: 15px;
  color: var(--body);
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  flex: none;
}

.header-tel svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero（分屏 + 浅蓝渐变）
   ========================================================================== */
.hero {
  position: relative;
  padding: 148px 0 104px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 72%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--blue);
}

.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  aspect-ratio: 16 / 11.5;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-chip {
  position: absolute;
  left: -20px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.hero-chip .chip-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}

.hero-chip .chip-ic svg {
  width: 22px;
  height: 22px;
}

.hero-chip b {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}

.hero-chip span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   数据带
   ========================================================================== */
.stats {
  padding: 28px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

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

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

.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat-num .unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}

.stat-label {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   关于（分屏）
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(25px, 3.3vw, 35px);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.about-copy .lead {
  margin-top: 20px;
  color: var(--body);
  font-size: 15.5px;
}

.about-points {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-point .p-ic {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}

.about-point .p-ic svg {
  width: 24px;
  height: 24px;
}

.about-point b {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
}

.about-point p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.about-visual {
  position: relative;
}

.about-visual .frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 11.5;
}

.about-visual .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge b {
  display: block;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about-badge span {
  font-size: 12.5px;
  opacity: 0.9;
}

/* ==========================================================================
   业务范围
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.4);
}

.service-card .s-ic {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: background 0.22s ease, color 0.22s ease;
}

.service-card:hover .s-ic {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
}

.service-card .s-ic svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--ink);
}

.service-card p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   工程案例
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-media img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.case-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-body h3 {
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--ink);
}

.case-body h3 a:hover {
  color: var(--blue);
}

.case-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.case-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.case-meta svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.case-body .desc {
  margin-top: 11px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.case-more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14px;
}

.case-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.case-card:hover .case-more svg {
  transform: translateX(3px);
}

.section-foot {
  margin-top: 46px;
  text-align: center;
}

/* ==========================================================================
   价值主张
   ========================================================================== */
.value-band {
  background: var(--soft);
  padding: 84px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}

.value-item .v-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.value-item .v-ic svg {
  width: 24px;
  height: 24px;
}

.value-item h4 {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink);
}

.value-item p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

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

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.34);
}

.news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.news-cat {
  color: var(--blue-dark);
  font-weight: 600;
}

.news-card h3 {
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink);
}

.news-card h3 a:hover {
  color: var(--blue);
}

.news-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.news-more {
  margin-top: 14px;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.news-card:hover .news-more svg {
  transform: translateX(3px);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -160px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(23px, 3.2vw, 32px);
  letter-spacing: -0.01em;
  color: #fff;
}

.cta-inner p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
}

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

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
  color: var(--body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-brand .brand-cn {
  color: var(--ink);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.footer-brand .credit {
  margin-top: 16px;
  font-size: 12.5px;
  color: #a8b3c4;
}

.footer-col h4 {
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col li {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.65;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #a8b3c4;
}

.footer-bottom a:hover {
  color: var(--blue);
}

/* ==========================================================================
   内页页头
   ========================================================================== */
.page-hero {
  padding: 76px 0 52px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.page-hero p {
  margin-top: 10px;
  max-width: 620px;
  color: var(--body);
  font-size: 15.5px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

/* ==========================================================================
   关于页
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
}

.info-item .label {
  flex: none;
  width: 130px;
  font-size: 13.5px;
  color: var(--muted);
}

.info-item .value {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

.scope-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.scope-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
}

.scope-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}

.scope-item span {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.6;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}

.timeline-item h4 {
  font-size: 16.5px;
  color: var(--ink);
}

.timeline-item .t-date {
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
  margin-top: 3px;
}

.timeline-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
}

/* ==========================================================================
   业务页
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail .s-ic {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.service-detail .s-ic svg {
  width: 27px;
  height: 27px;
}

.service-detail h3 {
  font-size: 19px;
  color: var(--ink);
}

.service-detail p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.service-detail .scope-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-tags span {
  font-size: 12.5px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 18px;
  text-align: center;
}

.process-step .p-num {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
}

.process-step h4 {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink);
}

.process-step p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   案例页
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 42px;
}

.filter-pill {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  font-size: 14px;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.filter-pill.is-active {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.26);
}

/* ==========================================================================
   新闻页
   ========================================================================== */
.news-list {
  display: grid;
  gap: 18px;
}

.news-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.news-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-row .n-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.news-row .n-date b {
  display: block;
  font-size: 29px;
  line-height: 1;
  color: var(--blue);
  font-weight: 800;
}

.news-row .n-date span {
  font-size: 12.5px;
  color: var(--muted);
}

.news-row h3 {
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.5;
}

.news-row h3 a:hover {
  color: var(--blue);
}

.news-row p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.news-row .news-cat {
  align-self: start;
  font-size: 13px;
  color: var(--blue-dark);
  font-weight: 600;
}

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

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}

.contact-card .c-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-card .c-ic svg {
  width: 22px;
  height: 22px;
}

.contact-card h4 {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

.contact-card b {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 600;
}

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

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 21px;
  color: var(--ink);
}

.form-card .form-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.form-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-field label .req {
  color: var(--blue);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aab6c6;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

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

.form-field .err {
  font-size: 13px;
  color: #dc2626;
  display: none;
}

.form-field.is-error input,
.form-field.is-error textarea {
  border-color: #dc2626;
}

.form-field.is-error .err {
  display: block;
}

.form-submit {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-ok {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14.5px;
}

.form-ok.is-show {
  display: inline-flex;
}

.form-ok svg {
  width: 18px;
  height: 18px;
}

.map-wrap {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-height: 320px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   详情弹窗
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  animation: modalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.modal-close:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-media {
  border-radius: var(--r-md);
  overflow: hidden;
  margin: -8px 0 20px;
}

.modal-media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.modal h3 {
  font-size: 22px;
  color: var(--ink);
  line-height: 1.4;
}

.modal .modal-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.modal .modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modal .modal-meta svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

.modal .modal-body {
  margin-top: 18px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.9;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero {
    padding: 128px 0 84px;
  }
  .hero-visual {
    order: 2;
  }
  .hero-chip {
    left: 12px;
    bottom: 16px;
  }
  .about-split {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .about-badge {
    right: 12px;
    bottom: -16px;
  }
  .news-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .news-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news-row .n-date {
    border-right: none;
    padding-right: 0;
    text-align: left;
    display: flex;
    gap: 8px;
    align-items: baseline;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 90px 28px 36px;
    background: #fff;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    margin-left: 0;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 16.5px;
    padding: 12px 0;
    color: var(--body);
  }
  .header-tel {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 66px 0;
  }
  .services-grid,
  .news-grid,
  .cases-grid,
  .scope-list,
  .form-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-detail {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    flex: 1;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat {
    border-right: none;
  }
  .stats-grid {
    gap: 18px;
  }
}
