﻿/* ====== 苏州特可特沃三维扫描逆向设计 — 全局样式 ====== */
:root {
  --blue: #1a56db;
  --blue-dark: #1e3a5f;
  --blue-light: #e8f0fe;
  --blue-gradient: linear-gradient(135deg, #1a56db 0%, #2563eb 50%, #3b82f6 100%);
  --blue-btn-hover: linear-gradient(135deg, #1647b8 0%, #1d4ed8 100%);
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #1e293b;
  --border: #e5e7eb;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10);
  --max-width: 1240px;
  --nav-h: 70px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 20px); font-size:16px }
body { font-family:var(--font); color:var(--text); background:var(--bg); line-height:1.75; -webkit-font-smoothing:antialiased; overflow-x:hidden }
a { color:inherit; text-decoration:none }
img { max-width:100%; height:auto; display:block }
ul,ol { list-style:none }
button { cursor:pointer; font-family:inherit }
input,textarea,select { font-family:inherit }

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

/* ====== 导航 ====== */
.nav { position:fixed; top:0; left:0; right:0; z-index:1000; height:var(--nav-h); background:rgba(255,255,255,.95); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); transition:box-shadow var(--transition) }
.nav.scrolled { box-shadow:var(--shadow) }
.nav .container { display:flex; align-items:center; justify-content:space-between; height:100% }
.nav-logo { display:flex; align-items:center; gap:10px; font-size:22px; font-weight:800; letter-spacing:1px }
.nav-logo .logo-icon { width:38px; height:38px; background:var(--blue-gradient); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px; font-weight:900 }
.nav-logo span { color:var(--blue) }
.nav-links { display:flex; align-items:center; gap:8px }
.nav-links a { padding:8px 18px; font-size:15px; color:var(--text-muted); border-radius:6px; transition:all var(--transition); position:relative }
.nav-links a:hover { color:var(--blue); background:var(--blue-light) }
.nav-links a.active { color:var(--blue); background:var(--blue-light); font-weight:600 }
.nav-toggle { display:none; background:none; border:none; font-size:26px; color:var(--text); padding:4px; line-height:1 }

/* ====== 轮播大图 ====== */
.hero-slider { position:relative; width:100%; height:100vh; min-height:600px; max-height:900px; overflow:hidden }
.slider-wrapper { position:relative; width:100%; height:100% }
.slide { position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; transition:opacity .8s cubic-bezier(.4,0,.2,1); pointer-events:none }
.slide.active { opacity:1; pointer-events:auto }
.slide-bg { position:absolute; inset:0; background-size:cover; background-position:center; background-repeat:no-repeat }
.slide-bg::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.5) 100%) }
.slide-content { position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding-top:var(--nav-h); color:#fff }
.slide-content .slide-tag { display:inline-block; padding:6px 20px; background:rgba(255,255,255,.2); backdrop-filter:blur(8px); border-radius:20px; font-size:13px; letter-spacing:3px; margin-bottom:20px; border:1px solid rgba(255,255,255,.3) }
.slide-content h2 { font-size:clamp(30px,4.5vw,52px); font-weight:900; line-height:1.25; margin-bottom:20px; text-shadow:0 2px 12px rgba(0,0,0,.3); max-width:680px }
.slide-content p { font-size:clamp(14px,1.5vw,18px); line-height:1.8; opacity:.9; margin-bottom:36px; max-width:560px; text-shadow:0 1px 6px rgba(0,0,0,.2) }
.slide-content .btn { text-shadow:none }

/* 轮播指示器 */
.slider-dots { position:absolute; bottom:36px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:10 }
.slider-dots button { width:12px; height:12px; border-radius:50%; border:2px solid rgba(255,255,255,.6); background:transparent; cursor:pointer; transition:all .3s; padding:0 }
.slider-dots button.active { background:#fff; border-color:#fff; transform:scale(1.2) }
.slider-dots button:hover { border-color:#fff }

/* 轮播箭头 */
.slider-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:10; width:48px; height:48px; border-radius:50%; border:2px solid rgba(255,255,255,.4); background:rgba(0,0,0,.2); color:#fff; font-size:24px; cursor:pointer; transition:all .3s; display:flex; align-items:center; justify-content:center; line-height:1; backdrop-filter:blur(4px) }
.slider-arrow:hover { background:rgba(255,255,255,.2); border-color:#fff }
.slider-arrow.prev { left:24px }
.slider-arrow.next { right:24px }

/* ====== 页头 Banner ====== */
.page-header { padding:120px 0 60px; background:var(--bg-alt); text-align:center }
.page-header h1 { font-size:clamp(28px,4vw,40px); font-weight:800; color:var(--blue-dark) }
.page-header .sub { color:var(--text-muted); font-size:16px; margin-top:12px }
.page-header .breadcrumb { display:flex; align-items:center; justify-content:center; gap:8px; font-size:14px; color:var(--text-light); margin-top:16px }
.page-header .breadcrumb a { color:var(--text-muted) }
.page-header .breadcrumb a:hover { color:var(--blue) }
.page-header .breadcrumb .sep { color:var(--text-light) }

/* ====== Section 通用 ====== */
.section { padding:80px 0 }
.section.bg { background:var(--bg-alt) }
.section.blue { background:var(--blue-dark); color:#fff }
.section.blue .sec-label { color:rgba(255,255,255,.6) }
.section.blue .sec-title { color:#fff }
.section.blue .sec-desc { color:rgba(255,255,255,.7) }

.sec-header { text-align:center; margin-bottom:56px }
.sec-label { font-size:13px; text-transform:uppercase; letter-spacing:3px; color:var(--blue); margin-bottom:8px; font-weight:600 }
.sec-title { font-size:clamp(24px,3.5vw,34px); font-weight:800; color:var(--blue-dark); margin-bottom:12px }
.sec-title-sm { font-size:20px; font-weight:700; color:var(--blue-dark); margin-bottom:8px }
.sec-desc { color:var(--text-muted); font-size:16px; max-width:640px; margin:0 auto }
.sec-line { width:50px; height:3px; background:var(--blue); margin:16px auto; border-radius:2px }

/* ====== 按钮 ====== */
.btn { display:inline-flex; align-items:center; gap:6px; padding:12px 32px; border-radius:var(--radius); font-size:15px; font-weight:600; letter-spacing:.5px; transition:all var(--transition); border:none }
.btn-primary { background:var(--blue-gradient); color:#fff; box-shadow:0 4px 14px rgba(26,86,219,.35) }
.btn-primary:hover { background:var(--blue-btn-hover); transform:translateY(-1px); box-shadow:0 6px 20px rgba(26,86,219,.45) }
.btn-outline { border:2px solid var(--blue); color:var(--blue); background:transparent }
.btn-outline:hover { background:var(--blue); color:#fff }
.btn-white { background:#fff; color:var(--blue); border:2px solid #fff }
.btn-white:hover { background:transparent; color:#fff }
.btn-light { background:var(--blue-light); color:var(--blue) }
.btn-light:hover { background:var(--blue); color:#fff }
.btn-sm { padding:8px 20px; font-size:13px }
.btn-lg { padding:16px 44px; font-size:17px }

/* ====== 卡片 ====== */
.card { background:#fff; border-radius:var(--radius-lg); border:1px solid var(--border); overflow:hidden; transition:all var(--transition) }
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg) }
.card-body { padding:24px }
.card-img { width:100%; height:220px; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; font-size:48px; color:var(--text-light); overflow:hidden }
.card-img img { width:100%; height:100%; object-fit:cover }
.card-tag { display:inline-block; padding:4px 12px; background:var(--blue-light); color:var(--blue); font-size:12px; border-radius:20px; font-weight:500 }
.card-title { font-size:17px; font-weight:700; margin:12px 0 8px; color:var(--blue-dark); line-height:1.4 }
.card-desc { color:var(--text-muted); font-size:14px; line-height:1.6 }

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

/* ====== 统计数字 ====== */
.stats-row { display:flex; justify-content:center; gap:60px; flex-wrap:wrap }
.stat-item { text-align:center }
.stat-num { font-size:42px; font-weight:900; color:var(--blue); line-height:1.2 }
.stat-num .unit { font-size:24px; font-weight:600 }
.stat-label { font-size:14px; color:var(--text-muted); margin-top:8px }

/* ====== 新闻列表 ====== */
.news-list {}
.news-item { display:flex; gap:24px; padding:24px 0; border-bottom:1px solid var(--border); transition:all var(--transition) }
.news-item:hover { padding-left:8px }
.news-item:first-child { padding-top:0 }
.news-thumb { width:200px; height:140px; border-radius:var(--radius); background:var(--bg-alt); flex-shrink:0; overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:40px; color:var(--text-light) }
.news-thumb img { width:100%; height:100%; object-fit:cover }
.news-body { flex:1; min-width:0 }
.news-meta { display:flex; align-items:center; gap:16px; font-size:13px; color:var(--text-light); margin-bottom:8px }
.news-meta .tag { padding:2px 10px; background:var(--blue-light); color:var(--blue); border-radius:20px; font-size:12px }
.news-title-link { font-size:18px; font-weight:700; color:var(--blue-dark); line-height:1.4; transition:color var(--transition) }
.news-title-link:hover { color:var(--blue) }
.news-excerpt { color:var(--text-muted); font-size:14px; margin-top:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden }

/* ====== 表单 ====== */
.form-group { margin-bottom:20px }
.form-label { display:block; font-size:14px; font-weight:600; color:var(--text); margin-bottom:6px }
.form-input,.form-textarea { width:100%; padding:14px 16px; border:1px solid var(--border); border-radius:var(--radius); font-size:15px; color:var(--text); background:var(--bg); outline:none; transition:border-color var(--transition) }
.form-input:focus,.form-textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-light) }
.form-textarea { min-height:140px; resize:vertical }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px }

/* ====== 页脚 ====== */
.footer { background:var(--bg-dark); color:#cbd5e1; padding:56px 0 0 }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.1) }
.footer h4 { color:#fff; font-size:16px; font-weight:700; margin-bottom:20px }
.footer a { color:#94a3b8; font-size:14px; transition:color var(--transition); display:inline-block; padding:4px 0 }
.footer a:hover { color:#fff }
.footer .brand-desc { font-size:14px; color:#94a3b8; margin-top:12px; line-height:1.8 }
.footer .contact-line { font-size:14px; color:#94a3b8; margin-bottom:8px }
.footer-bottom { padding:24px 0; text-align:center; font-size:13px; color:#64748b }
.footer-bottom a { color:#94a3b8 }
.footer-bottom a:hover { color:#fff }

/* ====== 回到顶部 ====== */
.back-top { position:fixed; right:30px; bottom:30px; width:44px; height:44px; background:var(--blue); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px; box-shadow:var(--shadow); opacity:0; visibility:hidden; transition:all var(--transition); z-index:999; border:none }
.back-top.show { opacity:1; visibility:visible }
.back-top:hover { background:var(--blue-dark); transform:translateY(-3px) }

/* ====== 标签筛选 ====== */
.tag-filters { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px }
.tag-filter { padding:8px 20px; border:1px solid var(--border); border-radius:20px; font-size:14px; color:var(--text-muted); background:#fff; cursor:pointer; transition:all var(--transition) }
.tag-filter:hover { border-color:var(--blue); color:var(--blue) }
.tag-filter.active { background:var(--blue); color:#fff; border-color:var(--blue) }

/* ====== 服务详情页 ====== */
.service-hero { padding:140px 0 80px; background:linear-gradient(135deg,#1e3a5f 0%,#1a56db 100%); color:#fff; text-align:center }
.service-hero h1 { font-size:clamp(28px,4vw,42px); font-weight:800; margin-bottom:16px }
.service-hero .sub { font-size:17px; opacity:.85; max-width:700px; margin:0 auto }
.service-feature { display:flex; gap:16px; align-items:flex-start; margin-bottom:24px }
.service-feature .icon { font-size:24px; flex-shrink:0; width:48px; height:48px; background:var(--blue-light); border-radius:50%; display:flex; align-items:center; justify-content:center }
.service-feature h4 { font-size:16px; font-weight:700; color:var(--blue-dark); margin-bottom:4px }
.service-feature p { color:var(--text-muted); font-size:14px; line-height:1.7 }
.process-steps { position:relative; padding-left:32px }
.process-step { position:relative; padding-bottom:36px }
.process-step::before { content:''; position:absolute; left:-32px; top:0; width:2px; height:100%; background:var(--border) }
.process-step:last-child::before { height:0 }
.process-step .dot { position:absolute; left:-40px; top:4px; width:18px; height:18px; background:var(--blue); border:3px solid var(--bg); border-radius:50%; z-index:1; box-shadow:0 0 0 3px var(--blue-light) }
.process-step h4 { font-size:17px; font-weight:700; color:var(--blue-dark); margin-bottom:6px }
.process-step p,.process-step ul { color:var(--text-muted); font-size:14px; line-height:1.8 }
.service-list-item { display:flex; gap:20px; padding:20px; background:#fff; border-radius:var(--radius-lg); border:1px solid var(--border); transition:all var(--transition) }
.service-list-item:hover { border-color:var(--blue); box-shadow:var(--shadow-sm) }
.service-list-item .s-icon { width:56px; height:56px; background:var(--blue-light); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0 }
.service-list-item h4 { font-size:16px; font-weight:700; color:var(--blue-dark); margin-bottom:4px }
.service-list-item p { color:var(--text-muted); font-size:14px; line-height:1.6 }
.equip-table { width:100%; border-collapse:collapse; font-size:14px; margin:20px 0 }
.equip-table th { background:var(--blue); color:#fff; padding:12px 16px; text-align:left; font-weight:600 }
.equip-table td { padding:12px 16px; border-bottom:1px solid var(--border); color:var(--text-muted) }
.equip-table tr:hover td { background:var(--blue-light) }

/* ====== 响应式 ====== */
@media (max-width:768px) {
  .nav-links { display:none; position:absolute; top:var(--nav-h); left:0; right:0; background:#fff; flex-direction:column; gap:0; border-bottom:1px solid var(--border); box-shadow:var(--shadow-lg) }
  .nav-links.open { display:flex }
  .nav-links a { padding:16px 24px; border-bottom:1px solid var(--border); border-radius:0 }
  .nav-toggle { display:block }
  .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; gap:20px }
  .form-row { grid-template-columns:1fr }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px }
  .news-item { flex-direction:column; gap:16px }
  .news-thumb { width:100%; height:180px }
  .page-header { padding:100px 0 40px }
  .section { padding:50px 0 }
  .stats-row { gap:30px }
  .stat-num { font-size:32px }
  .stat-num .unit { font-size:18px }
  .hero-slider { height:70vh; min-height:480px; max-height:700px }
  .slide-content h2 { font-size:26px }
  .slide-content p { font-size:14px; margin-bottom:24px }
  .slider-arrow { width:36px; height:36px; font-size:18px }
  .slider-arrow.prev { left:12px }
  .slider-arrow.next { right:12px }
  .slider-dots { bottom:24px }
}

@media (max-width:480px) {
  .footer-grid { grid-template-columns:1fr }
  .stats-row { gap:24px }
}
