/* ============================================================
 * 墙墙网 · 设计系统
 * 品牌：朱红 × 墨黑 × 暖米白
 * ========================================================== */

:root {
  --ink: #14181f;
  --ink-2: #232a34;
  --muted: #6b7280;
  --muted-2: #9aa1ac;
  --bg: #fbfaf8;
  --bg-alt: #f4f0ea;
  --white: #ffffff;
  --line: rgba(20, 24, 31, 0.10);
  --line-strong: rgba(20, 24, 31, 0.16);
  --brand: #b3272c;
  --brand-2: #8e1f23;
  --brand-soft: #fbedec;
  --gold: #c2a05a;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(20, 24, 31, 0.16);
  --shadow-lg: 0 28px 64px -28px rgba(20, 24, 31, 0.30);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------- 通用排版 ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--brand); text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--brand); display: inline-block;
}
.eyebrow.is-center::before { display: none; }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 16px 0 14px;
}
.section-head p { color: var(--muted); font-size: 16.5px; }
.section--ink .section-head p { color: rgba(255, 255, 255, 0.66); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .eyebrow::before { background: var(--gold); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .22s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(179, 39, 44, .8); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,24,31,.4); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  color: #fff; display: grid; place-items: center;
  font-size: 19px; font-weight: 700; letter-spacing: 0;
  box-shadow: 0 8px 18px -10px rgba(179,39,44,.9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 18px; letter-spacing: 0.02em; }
.brand-text span { font-size: 11px; color: var(--muted-2); letter-spacing: 0.12em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: rgba(20,24,31,.05); }
.nav-links a.is-active { color: var(--brand); background: var(--brand-soft); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.nav-phone svg { width: 17px; height: 17px; color: var(--brand); }
.nav-phone small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted-2); letter-spacing: .1em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(179,39,44,.10), transparent 62%),
    radial-gradient(760px 460px at 4% 108%, rgba(194,160,90,.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(20,24,31,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,24,31,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(760px 420px at 60% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 420px at 60% 40%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.15; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--brand); position: relative; white-space: nowrap; }
.hero .lead { margin-top: 22px; font-size: 17.5px; color: var(--muted); max-width: 540px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 42px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-trust .t-item b { display: block; font-size: 26px; letter-spacing: -0.01em; }
.hero-trust .t-item span { font-size: 13px; color: var(--muted-2); }

/* 首屏右侧实拍图 */
.hero-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #1b2029; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.35;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 20, 26, .78), rgba(16, 20, 26, .06) 58%);
}
.hero-visual { position: relative; }
.wall {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, #1b2029, #2c343f 55%, #1b2029);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.35;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr);
  gap: 7px; padding: 14px;
}
.wall .panel { background: rgba(255,255,255,.055); border-radius: 6px; border: 1px solid rgba(255,255,255,.07); }
.wall .panel.b { background: rgba(179,39,44,.85); border-color: rgba(179,39,44,.9); }
.wall .panel.g { background: rgba(194,160,90,.75); border-color: rgba(194,160,90,.85); }
.wall .panel.w { background: rgba(255,255,255,.92); border-color: rgba(255,255,255,.95); }
.wall .panel.w::after {
  content: ""; display: block; height: 3px; margin: 9px 10px 0; border-radius: 2px;
  background: linear-gradient(90deg, rgba(20,24,31,.5), rgba(20,24,31,.08));
}
.wall-caption {
  position: absolute; left: 26px; bottom: 26px; right: 26px; z-index: 3;
  color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.wall-caption b { font-size: 17px; letter-spacing: .02em; }
.wall-caption span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .16em; }
.wall-badge {
  position: absolute; top: -16px; right: 22px; z-index: 4;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
}
.wall-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 4px rgba(47,163,107,.16); }
.wall-badge b { font-size: 14px; }
.wall-badge span { display: block; font-size: 11.5px; color: var(--muted-2); }

/* ---------------- 服务卡片 ---------------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 38px 34px; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-num {
  font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--muted-2);
}
.svc-icon {
  width: 54px; height: 54px; border-radius: 15px; margin: 18px 0 20px;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 23px; margin-bottom: 12px; }
.svc-card > p { color: var(--muted); font-size: 15.5px; }
.svc-list { margin-top: 22px; display: grid; gap: 11px; }
.svc-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.svc-list svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 5px; }

/* ---------------- 案例卡片 ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-alt); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.case-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 18.5px; margin-bottom: 8px; }
.case-body .desc { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.case-meta span { display: inline-flex; align-items: center; gap: 6px; }
.case-meta svg { width: 14px; height: 14px; color: var(--muted-2); }

/* 筛选 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; justify-content: center; }
.chip {
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2);
  height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  cursor: pointer; transition: all .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------- 流程 ---------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px;
  background: var(--line-strong);
}
.step .idx {
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-strong); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.step h4 { font-size: 16.5px; margin: 14px 0 8px; padding-top: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------------- 优势 ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 28px 24px;
}
.feat .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(194,160,90,.16); color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h4 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14px; color: rgba(255,255,255,.62); }

/* ---------------- CTA ---------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-2), var(--brand) 58%, #c9432f);
  color: #fff; padding: 58px 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.cta-band h3 { font-size: clamp(22px, 2.6vw, 32px); position: relative; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.82); font-size: 16px; position: relative; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.cta-phone { display: flex; align-items: center; gap: 12px; }
.cta-phone .ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.cta-phone .ic svg { width: 22px; height: 22px; }
.cta-phone b { font-size: 24px; letter-spacing: .01em; }
.cta-phone span { display: block; font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: .12em; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #10141a; color: rgba(255,255,255,.72); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text span { color: rgba(255,255,255,.42); }
.footer-about { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.55); max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col a, .footer-col li { font-size: 14px; color: rgba(255,255,255,.6); display: block; padding: 6px 0; transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-phone { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-icp { color: rgba(255,255,255,.45); text-decoration: none; transition: color .18s ease; }
.footer-icp:hover { color: #fff; text-decoration: underline; }

/* ---------------- 图文排版辅助 ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.media-box { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, #2c343f, #1b2029); }
.media-box img { width: 100%; display: block; }
.media-band { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #2c343f, #1b2029); }
.media-band img { width: 100%; display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; text-align: center; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.01em; color: var(--brand); }
.stat span { font-size: 13.5px; color: var(--muted); }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.craft { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .24s ease, box-shadow .24s ease; }
.craft:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.craft b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.craft p { font-size: 14px; color: var(--muted); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.info-card + .info-card { margin-top: 18px; }
.info-card .lab { font-size: 13px; color: var(--muted-2); letter-spacing: .08em; margin-bottom: 6px; }
.info-card .val { font-size: 17px; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }

/* ---------------- 页面头 ---------------- */
.page-hero { padding: 64px 0 44px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.breadcrumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 640px; }

/* ---------------- 案例详情 ---------------- */
.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }
.detail-cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-alt); }
.detail-cover img { width: 100%; }
.detail-spec { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 26px; position: sticky; top: 96px; }
.detail-spec dl { margin: 0; }
.detail-spec .row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.detail-spec .row:last-child { border-bottom: 0; }
.detail-spec dt { color: var(--muted); font-size: 14px; }
.detail-spec dd { margin: 0; font-weight: 600; font-size: 14.5px; text-align: right; }
.prose { font-size: 16.5px; color: var(--ink-2); }
.prose p { margin-bottom: 18px; }
.prose h3 { font-size: 21px; margin: 34px 0 16px; }
.prose h3:first-child { margin-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.gallery-grid img { border-radius: var(--r); box-shadow: var(--shadow-sm); width: 100%; cursor: zoom-in; }

/* ---------------- 表单 ---------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 11px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(179,39,44,.10);
}
.textarea { min-height: 118px; resize: vertical; }
.field-hint { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }
.field-error { font-size: 12.5px; color: var(--brand); margin-top: 6px; display: none; }
.field-error.show { display: block; }

.notice { border-radius: 11px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; display: none; }
.notice.show { display: block; }
.notice-ok { background: #eaf7f0; color: #1c7a4d; border: 1px solid #bfe6d2; }
.notice-err { background: var(--brand-soft); color: var(--brand-2); border: 1px solid #f0cfce; }
.notice-info { background: #eef3fb; color: #2a4d7a; border: 1px solid #cfe0f5; }

/* ---------------- 空状态 / 加载 ---------------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .ic { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--muted-2); }
.skeleton-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.skeleton { background: linear-gradient(90deg, #f0ece6 25%, #f7f4ef 37%, #f0ece6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner-dark { border-color: rgba(20,24,31,.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 分页 ---------------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 14.5px; color: var(--ink-2);
  transition: all .18s ease;
}
.pager button:hover:not(:disabled) { border-color: var(--ink); }
.pager button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------------- 滚动出现动画 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------- 悬浮电话 ---------------- */
.float-call {
  position: fixed; right: 22px; bottom: 24px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; font-size: 15px;
  box-shadow: 0 16px 34px -14px rgba(179,39,44,.95);
  transition: transform .22s ease;
}
.float-call:hover { transform: translateY(-3px); }
.float-call svg { width: 18px; height: 18px; }
.float-call .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; }
.float-call .pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ================= 后台 Admin ================= */
.admin-body { background: #f5f6f8; min-height: 100vh; }
.admin-top {
  background: #fff; border-bottom: 1px solid var(--line); padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px; position: sticky; top: 0; z-index: 50;
}
.admin-top .left { display: flex; align-items: center; gap: 14px; }
.admin-top .left b { font-size: 16px; }
.admin-tag { font-size: 12px; background: var(--brand-soft); color: var(--brand); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.admin-main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 80px; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 24px; background: #fff; padding: 6px; border-radius: 12px; border: 1px solid var(--line); width: fit-content; }
.admin-tabs button {
  border: 0; background: transparent; padding: 9px 20px; border-radius: 9px; font-size: 14.5px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: all .18s ease;
}
.admin-tabs button.is-active { background: var(--ink); color: #fff; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-toolbar h2 { font-size: 20px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.admin-table th { text-align: left; padding: 13px 16px; background: #fafafb; color: var(--muted); font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #fcfcfd; }
.admin-thumb { width: 62px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--bg-alt); }
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.badge-ok { background: #eaf7f0; color: #1c7a4d; }
.badge-draft { background: #f0f1f3; color: #6b7280; }
.badge-star { background: #fdf3e2; color: #a8741f; }
.row-actions { display: flex; gap: 8px; }
.icon-btn {
  border: 1px solid var(--line-strong); background: #fff; border-radius: 9px; height: 34px; padding: 0 12px;
  font-size: 13.5px; cursor: pointer; color: var(--ink-2); transition: all .18s ease;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn.danger { color: var(--brand); border-color: #f0cfce; }
.icon-btn.danger:hover { background: var(--brand-soft); border-color: var(--brand); }

.modal-mask {
  position: fixed; inset: 0; background: rgba(16,20,26,.5); z-index: 100;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto;
  backdrop-filter: blur(3px);
}
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 760px; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-head { padding: 22px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { font-size: 19px; }
.modal-close { border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-body { padding: 26px 28px; }
.modal-foot { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 12px; background: #fafafb; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.uploader {
  border: 1.5px dashed var(--line-strong); border-radius: var(--r); padding: 22px; text-align: center;
  cursor: pointer; transition: all .2s ease; background: #fcfcfd;
}
.uploader:hover { border-color: var(--brand); background: var(--brand-soft); }
.uploader svg { width: 26px; height: 26px; color: var(--muted-2); margin-bottom: 8px; }
.uploader p { font-size: 13.5px; color: var(--muted); }
.uploader.is-over { border-color: var(--brand); background: var(--brand-soft); }
.thumb-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.thumb-item { position: relative; width: 104px; height: 78px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item .rm {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16,20,26,.7); color: #fff; border: 0; cursor: pointer; font-size: 14px; line-height: 1; display: grid; place-items: center;
}
.thumb-item .cover-tag { position: absolute; left: 4px; bottom: 4px; background: var(--brand); color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; }
.lead-msg { max-width: 320px; color: var(--ink-2); }

/* 登录页 */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(900px 500px at 50% -10%, rgba(179,39,44,.10), transparent 70%), #f5f6f8; }
.login-card { width: 100%; max-width: 420px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 38px 34px; }
.login-card .brand { justify-content: center; margin-bottom: 8px; }
.login-card h1 { font-size: 22px; text-align: center; margin-bottom: 6px; }
.login-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.login-tabs { display: flex; background: #f2f3f5; border-radius: 11px; padding: 4px; margin-bottom: 22px; }
.login-tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.login-tabs button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.login-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-radius: 11px; padding: 11px 14px; font-size: 13px; margin-bottom: 18px; }
.login-status:empty { display: none; }
.login-status b { font-size: 13.5px; }
.login-status span { opacity: .82; }
.login-status.is-warn { background: #fff8e8; color: #8a5a12; border: 1px solid #f2dfb4; }
.login-status.is-ok { background: #eaf7f0; color: #1c7a4d; border: 1px solid #bfe6d2; }
.otp-row { display: flex; gap: 10px; }
.otp-row .input { flex: 1; }
.login-card a.link { color: var(--brand); text-decoration: underline; cursor: pointer; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-spec { position: static; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 16px; border-radius: 10px; }
  .nav-cta .nav-phone { display: none; }
  .svc-grid, .case-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .grid-2 { grid-template-columns: 1fr; }
  .admin-table { font-size: 13.5px; }
  .admin-table th:nth-child(3), .admin-table td:nth-child(3) { display: none; }
  .float-call span.txt { display: none; }
  .float-call { padding: 14px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .feat-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
  .hero-trust .t-item b { font-size: 22px; }
}
