/* ============================================================
 * 瑞雪官网 · 设计系统（源自 VI，全部取色不新造）
 * 墨蓝 #0B1E3C / 品牌蓝 #1E6FD9 / 点缀橙 #E67E22（价格专用）
 * ============================================================ */
:root {
  --ink: #0B1E3C;          /* 墨蓝：首屏/页脚/主标题 */
  --ink-mid: #1E3A6B;
  --ink-light: #2A5298;
  --blue: #1E6FD9;         /* 品牌蓝：按钮/链接/强调 */
  --blue-1: #4FA8FF;
  --blue-2: #6FB8FF;
  --blue-3: #8FD3FF;
  --blue-bg: #E8F1FA;      /* 浅蓝底：标签/卡片底 */
  --mist-1: #9EC7F5;       /* 雾蓝：深底次级文字 */
  --mist-2: #93A7C4;
  --gray-blue: #5B7290;    /* 灰蓝：浅底次级文字 */
  --orange: #E67E22;       /* 点缀橙：价格/促销，唯一暖色 */
  --orange-bg: #FFF3E8;
  --page-bg: #F4F6FA;      /* 内容区背景 */
  --card-r: 14px;
  --btn-r: 7px;
  --shadow: 0 8px 30px rgba(11,30,60,.12);
  --shadow-lg: 0 8px 30px rgba(11,30,60,.18);
  --font: 'PingFang SC','Microsoft YaHei','Source Han Sans SC','Segoe UI',sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- 排版 ---------- */
.h-cn { font-weight: 900; letter-spacing: 3px; }        /* 中文标题 900 + 2~4px */
.h-en { font-weight: 600; letter-spacing: 6px; text-transform: uppercase; } /* 英文小标 600 + 4~8px */
.sec-head { margin: 0 0 34px; }
.sec-head .h-en { font-size: 12px; color: var(--blue-1); margin-bottom: 10px; }
.sec-head .h-cn { font-size: clamp(24px, 3.4vw, 34px); }
.sec-head p { color: var(--gray-blue); margin-top: 10px; font-size: 15px; }
.sec-head.center { text-align: center; }

/* ---------- 标签 ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px;
  background: var(--blue-bg); color: var(--blue); font-size: 13px; letter-spacing: 1px; }
.tag.warm { background: var(--orange-bg); color: var(--orange); }
.tag.on-dark { background: rgba(143,211,255,.14); color: var(--blue-3); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--btn-r); font-size: 16px; font-weight: 700;
  letter-spacing: 2px; cursor: pointer; border: none; transition: all .25s; font-family: var(--font); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(30,111,217,.35); }
.btn-primary:hover { background: #1877d6; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue-3); border: 1px solid rgba(143,211,255,.45); }
.btn-ghost:hover { border-color: var(--blue-3); background: rgba(143,211,255,.08); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(230,126,34,.35); }
.btn-orange:hover { background: #d35400; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(11,30,60,.92); backdrop-filter: blur(10px); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.site-header .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.site-header .brand .t { font-size: 20px; font-weight: 900; letter-spacing: 3px; }
.site-header .brand .t small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 4px; color: var(--mist-1); }
.site-header nav { display: flex; gap: 24px; margin-left: auto; }
.site-header nav a { color: var(--mist-1); font-size: 15px; letter-spacing: 2px; padding: 4px 2px; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a.active { color: #fff; border-bottom-color: var(--blue-1); }
.site-header .tel { color: var(--blue-3); font-weight: 700; letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
.site-header .tel:hover { color: #fff; }

/* ---------- 首屏（墨蓝渐变） ---------- */
.hero { position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0B1E3C 0%, #1E3A6B 55%, #2A5298 100%);
  color: #fff; }
.hero .inner { display: flex; align-items: center; gap: 40px; padding: 72px 0 88px; }
.hero .mark { flex: none; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.hero .kicker { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.hero .dot-line { display: flex; gap: 10px; }
.hero .dot-line span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-1); opacity: .5; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 900; letter-spacing: 4px; line-height: 1.25; }
.hero .sub { margin-top: 16px; font-size: clamp(15px, 2vw, 18px); color: var(--mist-1); letter-spacing: 1px; max-width: 34em; }
.hero .lines { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .acts { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .slogan { margin-top: 26px; font-size: 13px; color: var(--blue-3); letter-spacing: 5px; }
/* 装饰：角框线 + 雪花水印 */
.hero .corner { position: absolute; width: 90px; height: 90px; border: 2px solid var(--blue-1); opacity: .3; }
.hero .corner.tl { top: 26px; left: 26px; border-right: none; border-bottom: none; }
.hero .corner.br { bottom: 26px; right: 26px; border-left: none; border-top: none; }
.hero .watermark { position: absolute; right: -80px; top: -60px; width: 420px; opacity: .07; pointer-events: none; }

/* ---------- 服务与价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; background: #fff; border-radius: var(--card-r); padding: 28px 26px 24px;
  box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--blue-1)); }
.price-card .h-en { font-size: 10px; color: var(--blue-1); margin-bottom: 6px; }
.price-card h3 { font-size: 20px; font-weight: 900; letter-spacing: 2px; }
.price-card .desc { color: var(--gray-blue); font-size: 13.5px; margin: 10px 0 18px; min-height: 44px; }
.price-card .num { display: flex; align-items: baseline; gap: 4px; color: var(--orange); }
.price-card .num b { font-size: 34px; font-weight: 900; letter-spacing: 0; }
.price-card .num i { font-style: normal; font-size: 13px; font-weight: 600; }
.price-card .num .ask { font-size: 20px; font-weight: 900; letter-spacing: 2px; }
.price-card .from { font-size: 12px; color: var(--gray-blue); margin-top: 6px; letter-spacing: 1px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card { background: #fff; border-radius: var(--card-r); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px; }
.case-card .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-card h3 { font-size: 17px; font-weight: 900; letter-spacing: 1px; }
.case-card p { color: var(--gray-blue); font-size: 13.5px; }
.case-card .r { color: var(--blue); font-size: 13px; letter-spacing: 1px; margin-top: auto; padding-top: 8px; }

/* ---------- 信任承诺 ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise { background: #fff; border-radius: var(--card-r); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.promise .ic { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-bg); color: var(--blue); }
.promise .ic svg { width: 26px; height: 26px; }
.promise h3 { font-size: 16px; font-weight: 900; letter-spacing: 2px; }
.promise p { font-size: 12.5px; color: var(--gray-blue); margin-top: 8px; }

/* ---------- 联系 ---------- */
.contact-band { background: var(--ink); color: #fff; border-radius: var(--card-r) var(--card-r) 0 0; }
.contact-band .inner { display: flex; align-items: center; gap: 44px; padding: 46px 40px; }
.contact-band .qr { flex: none; background: #fff; border-radius: 12px; padding: 10px; text-align: center; }
.contact-band .qr img { width: 132px; height: 132px; }
.contact-band .qr span { display: block; font-size: 11px; color: var(--gray-blue); letter-spacing: 2px; margin-top: 8px; }
.contact-band .k { color: var(--blue-1); font-size: 13px; letter-spacing: 4px; }
.contact-band .tel { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; letter-spacing: 2px; color: #fff; margin: 6px 0 10px; }
.contact-band .tel:hover { color: var(--blue-3); }
.contact-band .note { color: var(--mist-1); font-size: 13.5px; letter-spacing: 1px; }
.contact-band .promise-line { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 13px; color: var(--mist-2); letter-spacing: 2px; }
.contact-band .promise-line b { color: var(--blue-3); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: var(--mist-2); text-align: center; padding: 20px 0 26px; }
.site-footer .logo-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; }
.site-footer .t { color: var(--mist-1); font-size: 13px; letter-spacing: 3px; }
.site-footer .copy { font-size: 11.5px; letter-spacing: 1px; }

/* ---------- 通用区块 ---------- */
.section { padding: 66px 0; }

/* ---------- 风格馆 ---------- */
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.style-card { background: #fff; border-radius: var(--card-r); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .25s; }
.style-card:hover { transform: translateY(-4px); }
.style-card .ph { position: relative; background: #eef3fa; aspect-ratio: 210/297; overflow: hidden; }
.style-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.style-card .meta { padding: 14px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.style-card .meta h3 { font-size: 15.5px; font-weight: 900; letter-spacing: 1px; }
.style-card .meta span { font-size: 12px; color: var(--gray-blue); letter-spacing: 1px; white-space: nowrap; }
/* PPT 风格示意卡（CSS 绘制，非真实样张） */
.ppt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ppt-card { border-radius: var(--card-r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.ppt-card .fake { aspect-ratio: 16/9; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ppt-card .fake .bar { height: 10px; border-radius: 5px; }
.ppt-card .fake .bar.w60 { width: 60%; } .ppt-card .fake .bar.w40 { width: 40%; }
.ppt-card .fake .bar.w80 { width: 80%; }
.ppt-card .meta { padding: 12px 16px 14px; display: flex; justify-content: space-between; align-items: center; }
.ppt-card .meta h3 { font-size: 14.5px; font-weight: 900; letter-spacing: 1px; }
/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,16,32,.88);
  display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox.show { display: flex; }
.lightbox img { max-width: min(92vw, 620px); max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ---------- 需求提交表单 ---------- */
.need-wrap { max-width: 860px; margin: 0 auto; }
.steps { display: flex; gap: 0; margin-bottom: 28px; }
.steps .st { flex: 1; text-align: center; font-size: 13px; letter-spacing: 2px; color: var(--gray-blue);
  padding-bottom: 12px; border-bottom: 3px solid #dfe7f2; }
.steps .st.on { color: var(--blue); font-weight: 700; border-bottom-color: var(--blue); }
.form-card { background: #fff; border-radius: var(--card-r); box-shadow: var(--shadow-lg); padding: 34px 34px 30px; }
.form-card .fld { margin-bottom: 22px; }
.form-card label { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.form-card label small { color: var(--gray-blue); font-weight: 400; margin-left: 6px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat-opt { border: 2px solid #e3eaf4; border-radius: 10px; padding: 14px 12px; text-align: center; cursor: pointer; transition: all .2s; }
.cat-opt:hover { border-color: var(--blue-1); }
.cat-opt.on { border-color: var(--blue); background: var(--blue-bg); }
.cat-opt .n { font-size: 15px; font-weight: 900; letter-spacing: 1px; }
.cat-opt .d { font-size: 11.5px; color: var(--gray-blue); margin-top: 4px; }
.form-card textarea, .form-card input[type=text] { width: 100%; border: 1.5px solid #e3eaf4; border-radius: 8px;
  padding: 12px 14px; font-size: 15px; font-family: var(--font); resize: vertical; transition: border .2s; }
.form-card textarea:focus, .form-card input:focus { outline: none; border-color: var(--blue); }
.form-card textarea { min-height: 130px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--gray-blue); margin-top: 8px; letter-spacing: .5px; }
.err-msg { color: #d64541; font-size: 13px; margin-top: 10px; min-height: 18px; letter-spacing: .5px; }
/* 回执 */
.receipt { text-align: center; padding: 20px 10px; }
.receipt .ok-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue-bg); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.receipt h2 { font-size: 22px; font-weight: 900; letter-spacing: 2px; }
.receipt .ref { color: var(--gray-blue); font-size: 14px; margin: 8px 0 18px; }
.receipt .quote { display: inline-block; background: var(--orange-bg); color: var(--orange);
  border-radius: 10px; padding: 12px 26px; font-size: 14px; letter-spacing: 1px; }
.receipt .quote b { font-size: 20px; }
.receipt .lead { margin-top: 20px; display: flex; align-items: center; gap: 18px; text-align: left;
  background: var(--page-bg); border-radius: 12px; padding: 16px 20px; }
.receipt .lead img { width: 96px; height: 96px; border-radius: 8px; }
.receipt .lead p { font-size: 13.5px; color: var(--gray-blue); }
.receipt .lead b { color: var(--ink); }

/* ---------- 风格选择（需求提交页） ---------- */
.style-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.style-opt { position: relative; border: 2px solid #e3eaf4; border-radius: 10px; overflow: hidden;
  cursor: pointer; transition: all .2s; background: #fff; }
.style-opt:hover { border-color: var(--blue-1); }
.style-opt.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,111,217,.15); }
.style-opt .ph { aspect-ratio: 210/297; background: #eef3fa; }
.style-opt .ph img { width: 100%; height: 100%; object-fit: cover; }
.style-opt .nm { padding: 8px 6px; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; }
.style-opt .ck { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff; display: none; align-items: center; justify-content: center; }
.style-opt.on .ck { display: flex; }
.style-opt.custom { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-style: dashed; color: var(--gray-blue); }
.style-opt.custom.on { color: var(--blue); border-color: var(--blue); }
.style-opt.custom svg { width: 26px; height: 26px; }
/* 风格预览大图 */
.style-preview { margin-top: 14px; display: none; gap: 16px; align-items: stretch;
  background: var(--page-bg); border-radius: 10px; padding: 14px; }
.style-preview.show { display: flex; }
.style-preview img { flex: none; width: 148px; border-radius: 8px; box-shadow: var(--shadow); }
.style-preview .tx { font-size: 13px; color: var(--gray-blue); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.style-preview .tx b { color: var(--ink); font-size: 15px; letter-spacing: 1px; }
#customStyleBox { display: none; margin-top: 10px; }
#customStyleBox.show { display: block; }

/* ---------- 规模字段 + 交付时间 ---------- */
.scale-row { display: flex; align-items: center; gap: 12px; }
.scale-row input[type=number] { width: 130px; border: 1.5px solid #e3eaf4; border-radius: 8px;
  padding: 11px 14px; font-size: 16px; font-weight: 700; font-family: var(--font); }
.scale-row input[type=number]:focus { outline: none; border-color: var(--blue); }
.scale-row .unit { font-size: 14px; color: var(--gray-blue); letter-spacing: 1px; }
.urgency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.urg-opt { border: 2px solid #e3eaf4; border-radius: 9px; padding: 10px 8px; text-align: center; cursor: pointer; transition: all .2s; }
.urg-opt:hover { border-color: var(--blue-1); }
.urg-opt.on { border-color: var(--blue); background: var(--blue-bg); }
.urg-opt .n { font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.urg-opt .d { font-size: 11px; color: var(--gray-blue); margin-top: 2px; }
.urg-opt.hot.on { border-color: var(--orange); background: var(--orange-bg); }
.urg-opt.hot .n { color: var(--orange); }

/* ---------- 快速估价卡 ---------- */
.estimate-box { margin: 4px 0 26px; border-radius: 12px; border: 1.5px solid #dfe9f5;
  background: linear-gradient(135deg, #f7fafe, #eef4fc); padding: 20px 22px; }
.estimate-box .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.estimate-box .head b { font-size: 15px; letter-spacing: 2px; }
.estimate-result { display: none; margin-top: 14px; align-items: center; gap: 18px;
  background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow); }
.estimate-result.show { display: flex; }
.estimate-result .price { color: var(--orange); font-size: 30px; font-weight: 900; letter-spacing: 0; white-space: nowrap; }
.estimate-result .price small { font-size: 13px; color: var(--gray-blue); font-weight: 400; }
.estimate-result .why { flex: 1; font-size: 13px; color: var(--gray-blue); line-height: 1.6; }
.estimate-result .src { display: inline-block; margin-bottom: 4px; }
.estimate-loading { display: none; margin-top: 12px; font-size: 13px; color: var(--gray-blue); letter-spacing: 1px; }
.estimate-loading.show { display: block; }

/* ---------- 移动端 ---------- */
@media (max-width: 1199px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .ppt-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-header .bar { gap: 14px; height: auto; padding: 10px 0; flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; justify-content: space-around; }
  .site-header .tel { margin-left: auto; order: 2; font-size: 13.5px; }
  .hero .inner { flex-direction: column; text-align: center; padding: 46px 0 60px; gap: 26px; }
  .hero .kicker, .hero .lines, .hero .acts { justify-content: center; }
  .hero .slogan { letter-spacing: 3px; }
  .hero .corner { display: none; }
  .price-grid, .style-grid, .ppt-grid, .cat-grid, .contact-row { grid-template-columns: 1fr; }
  .style-pick { grid-template-columns: repeat(2, 1fr); }
  .urgency-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact-band .inner { flex-direction: column; text-align: center; gap: 24px; padding: 34px 22px; }
  .form-card { padding: 24px 18px; }
  .steps .st { font-size: 11.5px; letter-spacing: 1px; }
  .section { padding: 46px 0; }
  .style-preview { flex-direction: column; }
  .style-preview img { width: 100%; max-width: 260px; margin: 0 auto; }
  .estimate-result { flex-direction: column; text-align: center; gap: 10px; }
}
