/*
 Theme Name: 苏州连盟网络科技
 Theme URI: https://lmwl.com.cn
 Description: 苏州连盟网络科技官网主题——实体商家全域获客落地团队。稳重商务风，深海军蓝+金棕，响应式，后台可编辑文章/案例/图片/视频与联系方式。
 Version: 1.0.0
 Author: WorkBuddy
 License: MIT
 Text Domain: lianmeng
*/

:root {
  --navy: #0E2A47;
  --navy-2: #163a63;
  --blue: #1B4F8A;
  --gold: #C9A24B;
  --gold-soft: #e7d3a0;
  --bg: #F5F7FA;
  --bg-2: #EEF2F7;
  --white: #FFFFFF;
  --text: #1F2D3D;
  --muted: #5A6B7B;
  --line: #E2E8F0;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(14, 42, 71, 0.08);
  --shadow-lg: 0 16px 40px rgba(14, 42, 71, 0.14);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 42, 71, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #b8862f);
  display: grid; place-items: center; font-weight: 800; color: var(--navy); font-size: 18px;
  overflow: hidden;
}
.brand .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand .name { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.brand .sub { font-size: 12px; color: var(--gold-soft); letter-spacing: 2px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: #cdd8e6; font-size: 15px; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links li.current-menu-item > a, .nav-links a.active { color: #fff; }
.nav-links li.current-menu-item > a::after, .nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 9px 20px !important; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: #d9b25c; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; border: 0; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,75,.35); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(27,79,138,.55), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 96px 0 110px; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { display: inline-block; color: var(--gold-soft); letter-spacing: 3px; font-size: 13px; margin-bottom: 18px; border: 1px solid rgba(201,162,75,.4); padding: 5px 14px; border-radius: 999px; }
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; margin-bottom: 20px; max-width: 880px; }
.hero h1 .hl { color: var(--gold); }
.hero p.lead { font-size: 19px; color: #d4deea; max-width: 720px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 46px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 34px; font-weight: 800; color: #fff; }
.hero-stats .stat .num span { color: var(--gold); }
.hero-stats .stat .label { font-size: 14px; color: #aebfd2; margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .tag { color: var(--gold); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.section-head h2 { font-size: 32px; margin: 10px 0 14px; color: var(--navy); }
.section-head p { color: var(--muted); font-size: 16px; }
.section-head .btn { margin-top: 22px; }

/* ---------- 痛点 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-card .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-2); color: var(--blue); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.pain-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--navy); }
.pain-card p { color: var(--muted); font-size: 15px; }

/* ---------- 服务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card .ic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; font-size: 26px; }
.svc-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card ul.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card ul.tags li { font-size: 12px; color: var(--blue); background: var(--bg-2); padding: 4px 10px; border-radius: 999px; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow .step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; position: relative; box-shadow: var(--shadow); }
.flow .step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.flow .step h4 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.flow .step p { color: var(--muted); font-size: 14px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .thumb { height: 168px; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card .thumb .badge { position: absolute; left: 16px; top: 16px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.case-card .body { padding: 22px; }
.case-card .body h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.case-card .body p { color: var(--muted); font-size: 14px; }
.case-card .body .metric { margin-top: 14px; display: flex; gap: 18px; }
.case-card .body .metric div span { display: block; color: var(--gold); font-weight: 800; font-size: 20px; }
.case-card .body .metric div small { color: var(--muted); font-size: 12px; }

/* ---------- 关于 ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-wrap .txt h2 { font-size: 30px; color: var(--navy); margin-bottom: 16px; }
.about-wrap .txt p { color: var(--muted); margin-bottom: 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.about-points .pt { background: var(--bg); border-radius: 10px; padding: 16px; }
.about-points .pt b { color: var(--navy); display: block; margin-bottom: 4px; }
.about-points .pt span { color: var(--muted); font-size: 14px; }
.about-visual { background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 16px; padding: 40px; color: #fff; }
.about-visual .big { font-size: 40px; font-weight: 800; color: var(--gold); }
.about-visual p { color: #d4deea; margin-top: 8px; }

/* ---------- 联系 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { font-size: 30px; color: var(--navy); margin-bottom: 10px; }
.contact-info p.desc { color: var(--muted); margin-bottom: 26px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--bg-2); color: var(--blue); display: grid; place-items: center; font-size: 20px; }
.info-list .t b { display: block; color: var(--navy); }
.info-list .t span { color: var(--muted); font-size: 14px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--navy); margin-bottom: 18px; font-size: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--navy); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-success { background: #eaf6ee; border: 1px solid #b7e0c4; color: #1f6e3c; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; }
.form-error { background: #fdecec; border: 1px solid #f3b6b6; color: #a4262c; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; }

/* ---------- 文章/页面正文 ---------- */
.entry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.entry h1, .entry h2, .entry h3 { color: var(--navy); margin: 18px 0 12px; }
.entry p { color: var(--muted); margin-bottom: 14px; }
.entry img { border-radius: 10px; margin: 16px 0; }
.entry .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.pagination { text-align: center; margin-top: 36px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; margin: 0 4px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-card .thumb { height: 160px; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 20px; }
.news-card .body h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.news-card .body p { color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #c7d3e0; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.site-footer a { color: #aebfd2; font-size: 14px; line-height: 2; }
.site-footer a:hover { color: var(--gold-soft); }
.foot-about p { font-size: 14px; color: #aebfd2; margin-top: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8095a8; text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .pain-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 20px 24px; gap: 16px; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { gap: 26px; }
  .hero-stats .stat .num { font-size: 26px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .pain-grid, .case-grid, .flow, .about-points, .foot-grid, .news-grid, .svc-grid { grid-template-columns: 1fr; }
  .svc-card { flex-direction: column; }
}
