/* =================================================================
 * 圣戈班量子膜 · 江苏运营中心 · 官方站
 * 视觉：浅色 + 深蓝主色 + 留白 + 玻璃感（蓝色科技）
 * ================================================================= */

* { box-sizing: border-box; }

:root{
  --bg:           #f6f8fb;
  --surface:      #ffffff;
  --surface-2:    #f1f4f9;
  --border:       #e3e8ef;
  --border-2:     #d4dbe4;
  --text:         #0d1b2a;
  --text-2:       #4b5868;
  --text-3:       #7a8696;
  --brand:        #0b4ea2;          /* 圣戈班深蓝 */
  --brand-2:      #1a6bc9;          /* 亮蓝 */
  --brand-3:      #74a8e0;          /* 浅蓝 */
  --accent:       #ff6a00;          /* 量子橙（点缀） */
  --gold:         #c9a23b;
  --success:      #1aa563;
  --danger:       #d8382c;

  --radius:       14px;
  --radius-sm:    10px;
  --radius-lg:    22px;
  --shadow-sm:    0 1px 2px rgba(13,27,42,.06), 0 1px 3px rgba(13,27,42,.04);
  --shadow:       0 6px 24px rgba(13,27,42,.08);
  --shadow-lg:    0 24px 60px rgba(13,27,42,.12);

  --header-h:     64px;
}

html, body { margin: 0; padding: 0; }

body{
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

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

h1,h2,h3,h4{ color: var(--text); margin: 0 0 .4em; letter-spacing: -.01em; }
h1{ font-size: clamp(36px, 5vw, 56px); line-height: 1.15; font-weight: 700; }
h2{ font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-weight: 700; }
h3{ font-size: 20px; font-weight: 600; }
h4{ font-size: 16px; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-2); }
small{ color: var(--text-3); }

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

/* =============== 顶部导航 =============== */
.header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav{
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand{
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-weight: 600;
}
.brand-logo{
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.brand-name{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b{ font-size: 15px; }
.brand-name span{ font-size: 11px; color: var(--text-3); letter-spacing: .04em; }

.nav-links{
  display: flex; gap: 28px; align-items: center;
}
.nav-links a{
  color: var(--text-2); font-size: 14px; font-weight: 500;
  padding: 6px 0; position: relative;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-links a.active::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-cta{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--brand); color: #fff !important; font-size: 13px;
  font-weight: 600; transition: background .2s ease;
}
.nav-cta:hover{ background: var(--brand-2); }

.nav-toggle{
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle:hover{ background: var(--surface-2); }
.nav-toggle svg{ width: 22px; height: 22px; }

@media (max-width: 880px){
  .nav-links{
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
  }
  .nav-links.open{ display: flex; }
  .nav-links a{ padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child{ border-bottom: 0; }
  .nav-toggle{ display: inline-flex; }
  .nav-cta{ margin-top: 8px; align-self: flex-start; }
}

/* =============== Hero =============== */
.hero{
  position: relative; overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(116,168,224,.25), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(11,78,162,.10), transparent 50%),
    var(--bg);
}
.hero-grid{
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11,78,162,.08); color: var(--brand);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
  border: 1px solid rgba(11,78,162,.18);
}
.hero-eyebrow .dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.hero h1{
  margin-top: 18px;
  background: linear-gradient(180deg, #0d1b2a 0%, #1a3a5f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero h1 .accent{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub{
  margin-top: 14px; font-size: 17px; color: var(--text-2);
  text-align: left; max-width: 100%;
}
.hero-cta{
  display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
}
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease;
  text-decoration: none; line-height: 1;
}
.btn-primary{
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 18px rgba(11,78,162,.28);
}
.btn-primary:hover{ background: var(--brand-2); color: #fff; transform: translateY(-1px); }
.btn-ghost{
  background: #fff; color: var(--text); border-color: var(--border-2);
}
.btn-ghost:hover{ border-color: var(--brand); color: var(--brand); }

.hero-stats{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 48px;
}
.hero-stats .stat{
  padding: 16px 18px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero-stats .stat b{
  display: block; font-size: 22px; color: var(--brand); font-weight: 700;
}
.hero-stats .stat span{ font-size: 12px; color: var(--text-3); }

.hero-visual{
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img{ width: 100%; height: 100%; object-fit: cover; }
.hero-visual .badge-floating{
  position: absolute; left: 18px; top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92);
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow);
}
.hero-visual .badge-floating .dot{
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 4px rgba(26,165,99,.18);
}
.hero-visual .card-floating{
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(255,255,255,.95);
  padding: 14px 16px; border-radius: var(--radius);
  width: 220px; box-shadow: var(--shadow);
}
.hero-visual .card-floating h5{
  margin: 0 0 6px; font-size: 12px; color: var(--text-3); font-weight: 500;
}
.hero-visual .card-floating .row{
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 4px 0; font-size: 12px; color: var(--text-2);
}
.hero-visual .card-floating .row b{ color: var(--brand); font-size: 14px; }

@media (max-width: 880px){
  .hero{ padding: 56px 0 64px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 36px; }
  .hero-stats{ grid-template-columns: 1fr 1fr; }
}

/* =============== Section =============== */
.section{ padding: 80px 0; }
.section-tight{ padding: 56px 0; }
.section-dark{
  background: linear-gradient(180deg, #0d1b2a 0%, #112a44 100%);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3{ color: #fff; }
.section-dark p{ color: rgba(255,255,255,.75); }

.section-head{ text-align: center; margin-bottom: 48px; }
.section-head .eyebrow{
  color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.section-head h2{ margin-top: 8px; }
.section-head p{ color: var(--text-2); max-width: 640px; margin: 12px auto 0; }

/* =============== 大特色卡 =============== */
.feature-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card{
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); transition: all .2s ease;
}
.feature-card:hover{
  transform: translateY(-2px); box-shadow: var(--shadow);
  border-color: var(--brand-3);
}
.feature-card .icon{
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,78,162,.12), rgba(116,168,224,.20));
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.feature-card h4{ margin-bottom: 6px; }
.feature-card p{ font-size: 13px; color: var(--text-2); margin: 0; }

/* 带实景图的产品线卡片 */
.feature-card.has-media{
  padding: 0; overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px;
}
.feature-card.has-media .media{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.feature-card.has-media:hover .media{ transform: scale(1.05); }
.feature-card.has-media .media::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0) 25%, rgba(13,27,42,.82) 100%);
}
.feature-card.has-media .content{
  position: relative; z-index: 1; padding: 20px; color: #fff;
}
.feature-card.has-media .content h4{ color: #fff; margin-bottom: 4px; }
.feature-card.has-media .content p{ color: rgba(255,255,255,.85); }
.feature-card.has-media .content a{ color: #fff; font-weight: 600; }
.feature-card.has-media .content a:hover{ color: var(--brand-3); }

.feature-grid.two{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px){ .feature-grid{ grid-template-columns: 1fr 1fr; } .feature-grid.two{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .feature-grid{ grid-template-columns: 1fr; } .feature-grid.two{ grid-template-columns: 1fr; } }

/* =============== 场景切换（4 室） =============== */
.scene-tabs{
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.scene-tab{
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text-2);
  cursor: pointer; transition: all .2s ease;
}
.scene-tab:hover{ border-color: var(--brand-3); color: var(--brand); }
.scene-tab.active{
  background: var(--brand); color: #fff; border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(11,78,162,.30);
}

.scene-panel{
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
  box-shadow: var(--shadow);
}
.scene-panel .pic{
  position: relative; min-height: 360px;
  background-size: cover; background-position: center;
}
.scene-panel .pic .overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,27,42,.55) 100%);
}
.scene-panel .pic .label{
  position: absolute; left: 24px; bottom: 22px; color: #fff;
}
.scene-panel .pic .label b{ display: block; font-size: 22px; font-weight: 700; }
.scene-panel .pic .label span{ font-size: 13px; opacity: .85; }

.scene-panel .body{ padding: 36px 36px; }
.scene-panel h3{ font-size: 22px; margin-bottom: 6px; }
.scene-panel .sub{ color: var(--text-3); font-size: 13px; margin-bottom: 16px; }
.scene-panel ul{ padding-left: 18px; margin: 0 0 18px; color: var(--text-2); }
.scene-panel ul li{ margin-bottom: 6px; }
.scene-panel .cta-row{ display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 880px){
  .scene-panel{ grid-template-columns: 1fr; }
  .scene-panel .pic{ min-height: 220px; }
}

/* =============== 建筑膜抽象卡 =============== */
.arch-viz{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 40px;
}
.arch-viz .card{
  position: relative; padding: 28px;
  border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border);
  overflow: hidden; min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.arch-viz .card .svg{
  position: absolute; right: -10px; top: -10px; width: 60%; opacity: .85;
}
.arch-viz .card .viz-img{
  width: calc(100% + 56px);
  height: 150px;
  object-fit: cover;
  margin: -28px -28px 18px -28px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}
.arch-viz .card h4{ margin-bottom: 4px; }
.arch-viz .card p{ font-size: 13px; color: var(--text-2); margin: 0; }
.arch-viz .card .meta{
  margin-top: 12px; display: flex; gap: 12px;
  font-size: 12px; color: var(--text-3);
}
.arch-viz .card .meta b{ color: var(--brand); font-size: 16px; }
@media (max-width: 880px){ .arch-viz{ grid-template-columns: 1fr; } }

/* =============== 产品卡 =============== */
.product-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.product-card{
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s ease;
}
.product-card:hover{
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.product-card .thumb{
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #eef4fb, #dde8f5);
  border-bottom: 1px solid var(--border);
}
.product-card .thumb img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .thumb img{ transform: scale(1.05); }
.product-card .head{
  position: relative;
  padding: 22px 22px 16px;
  background: linear-gradient(135deg, rgba(11,78,162,.04), rgba(116,168,224,.10));
  border-bottom: 1px solid var(--border);
}
.product-card .head .series{
  font-size: 11px; color: var(--text-3); letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
}
.product-card .head h4{
  margin: 4px 0 4px; font-size: 20px;
}
.product-card .head .en{ font-size: 12px; color: var(--text-3); }
.product-card .head .tag{
  position: absolute; right: 14px; top: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 600;
}
.product-card .head .tag.gold{ background: var(--gold); }
.product-card .head .tag.orange{ background: var(--accent); }
.product-card .head .tag.gray{ background: #5b6776; }
.product-card .body{
  padding: 18px 22px 20px;
  flex: 1; display: flex; flex-direction: column;
}
.product-card .body .tagline{
  font-size: 13px; color: var(--text-2); margin-bottom: 14px;
  border-left: 3px solid var(--brand-3);
  padding-left: 10px; line-height: 1.5;
}
.product-card .spec-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
  margin-bottom: 14px;
}
.product-card .spec-grid .item{ font-size: 12px; color: var(--text-3); }
.product-card .spec-grid .item b{
  display: block; color: var(--text); font-size: 14px; font-weight: 600;
}
.product-card .features{
  list-style: none; padding: 0; margin: 0 0 16px;
  font-size: 13px; color: var(--text-2);
}
.product-card .features li{
  position: relative; padding-left: 18px; margin-bottom: 4px;
}
.product-card .features li::before{
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 2px; background: var(--brand-3); border-radius: 2px;
}
.product-card .actions{
  margin-top: auto;
  display: flex; gap: 8px; align-items: center; justify-content: space-between;
}
.product-card .actions .price{ font-size: 12px; color: var(--text-3); }
.product-card .actions .price b{ color: var(--brand); font-size: 14px; }

.btn-sm{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--border-2); background: #fff; color: var(--text);
  cursor: pointer; transition: all .15s ease;
}
.btn-sm:hover{ border-color: var(--brand); color: var(--brand); }
.btn-sm.primary{ background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-sm.primary:hover{ background: var(--brand-2); }
.btn-sm.in-compare{ background: rgba(11,78,162,.08); color: var(--brand); border-color: rgba(11,78,162,.30); }

@media (max-width: 880px){ .product-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px){ .product-grid{ grid-template-columns: 1fr; } }

/* =============== 标签页（产品中心） =============== */
.tabs{
  display: flex; gap: 6px; padding: 6px;
  background: var(--surface-2); border-radius: 999px;
  width: fit-content; margin: 0 auto 32px;
}
.tabs .tab{
  padding: 9px 22px; border-radius: 999px;
  background: transparent; border: 0;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  cursor: pointer; transition: all .15s ease;
}
.tabs .tab:hover{ color: var(--text); }
.tabs .tab.active{ background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

/* =============== 选膜器 =============== */
.selector-wrap{
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
}
.filter-panel{
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 22px;
  position: sticky; top: calc(var(--header-h) + 16px);
  align-self: start;
  box-shadow: var(--shadow-sm);
}
.filter-panel h5{
  margin: 0 0 10px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); font-weight: 700;
}
.filter-panel .group + .group{ margin-top: 22px; }
.filter-panel .chips{
  display: flex; flex-wrap: wrap; gap: 6px;
}
.filter-panel .chip{
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid transparent;
  font-size: 12px; color: var(--text-2);
  cursor: pointer; transition: all .15s ease;
}
.filter-panel .chip:hover{ background: #fff; border-color: var(--border-2); }
.filter-panel .chip.active{
  background: var(--brand); color: #fff; border-color: var(--brand);
}
/* 空结果时的"冲突筛选"标签（可点击移除） */
.chip.conflict{
  padding: 6px 12px; border-radius: 999px;
  background: #fff7f0; border: 1px dashed #ff6a00;
  font-size: 12px; color: #d45800; cursor: pointer;
  user-select: none; transition: all .15s ease;
}
.chip.conflict:hover{ background: #ff6a00; color: #fff; border-style: solid; }
.filter-panel .reset{
  margin-top: 18px;
  font-size: 12px; color: var(--brand);
  background: none; border: 0; cursor: pointer; padding: 0;
}
.filter-panel .reset:hover{ text-decoration: underline; }

.result-area .toolbar{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.result-area .toolbar .count{ font-size: 13px; color: var(--text-3); }
.result-area .toolbar .count b{ color: var(--brand); font-weight: 700; }
.result-area .toolbar select{
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: #fff;
  font-size: 13px; color: var(--text); cursor: pointer;
}

.empty-state{
  text-align: center; padding: 80px 20px;
  color: var(--text-3); background: #fff;
  border-radius: var(--radius); border: 1px dashed var(--border-2);
}
.empty-state .icon{ font-size: 40px; margin-bottom: 12px; }

@media (max-width: 880px){
  .selector-wrap{ grid-template-columns: 1fr; }
  .filter-panel{ position: static; }
}

/* =============== 对比抽屉 =============== */
.compare-bar{
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(13,27,42,.10);
  transform: translateY(110%); transition: transform .3s ease;
  z-index: 90;
}
.compare-bar.open{ transform: translateY(0); }
.compare-bar .inner{
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.compare-bar .items{
  display: flex; gap: 10px; flex: 1; overflow-x: auto;
}
.compare-bar .item-chip{
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px; border-radius: 999px;
  background: var(--surface-2); font-size: 13px; color: var(--text);
  white-space: nowrap;
}
.compare-bar .item-chip .x{
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-2);
  display: grid; place-items: center; cursor: pointer; font-size: 11px;
}
.compare-bar .item-chip .x:hover{ background: var(--danger); color: #fff; border-color: var(--danger); }

/* =============== 对比模态 =============== */
.modal{
  position: fixed; inset: 0; background: rgba(13,27,42,.55);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 24px;
}
.modal.open{ display: flex; }
.modal-card{
  width: 100%; max-width: 1100px; max-height: 88vh;
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.modal-head{
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.modal-head h3{ margin: 0; }
.modal-close{
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--surface-2); cursor: pointer;
  display: grid; place-items: center; font-size: 16px; color: var(--text);
}
.modal-close:hover{ background: var(--border); }
.modal-body{ padding: 18px 24px 24px; overflow-y: auto; }

.compare-table{
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.compare-table th, .compare-table td{
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.compare-table th{
  font-size: 12px; color: var(--text-3); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--surface-2);
}
.compare-table td b{ color: var(--brand); font-weight: 700; }
.compare-table .product-col{
  width: 22%; min-width: 180px;
  border-right: 1px solid var(--border);
}
.compare-table .product-col .name{ font-size: 16px; font-weight: 700; }
.compare-table .product-col .series{ font-size: 12px; color: var(--text-3); }
.compare-table .highlight{
  background: rgba(11,78,162,.06);
  font-weight: 700; color: var(--brand);
}
.compare-table .highlight-dim{
  background: rgba(11,78,162,.06);
}

/* =============== 预约表单 =============== */
.booking-grid{
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px;
  align-items: stretch;
}
.booking-grid > *{ min-width: 0; }   /* grid item 可被压缩 */
.booking-form{
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px;
  box-shadow: var(--shadow);
}
.booking-form h3{ margin-bottom: 4px; }
.booking-form .sub{ color: var(--text-3); font-size: 14px; margin-bottom: 24px; }

.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.single{ grid-template-columns: 1fr; }
.field{ display: flex; flex-direction: column; margin-bottom: 14px; }
.field label{
  font-size: 12px; color: var(--text-2); font-weight: 600;
  margin-bottom: 6px; letter-spacing: .02em;
}
.field label .req{ color: var(--danger); }
.field input, .field select, .field textarea{
  font-family: inherit; font-size: 14px;
  padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: #fff;
  color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
  width: 100%; min-width: 0;   /* 防止 select 因长 option 撑破布局 */
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,78,162,.12);
}
.field textarea{ resize: vertical; min-height: 90px; }
.field .hint{ font-size: 11px; color: var(--text-3); margin-top: 4px; }

.chip-group{ display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group .opt{
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid transparent;
  font-size: 13px; color: var(--text-2);
  cursor: pointer; transition: all .15s ease;
}
.chip-group .opt:hover{ background: #fff; border-color: var(--border-2); }
.chip-group .opt.active{
  background: var(--brand); color: #fff; border-color: var(--brand);
}

.form-error{ font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea{
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(216,56,44,.10);
}
.field.invalid .form-error{ display: block; }

.form-submit{
  margin-top: 8px; width: 100%; justify-content: center;
  padding: 14px 22px; font-size: 15px;
}

.booking-aside{
  background: linear-gradient(180deg, #0d1b2a 0%, #112a44 100%);
  border-radius: var(--radius-lg); padding: 32px; color: #fff;
}
.booking-aside h4{ color: #fff; font-size: 22px; margin-bottom: 6px; }
.booking-aside .sub{ color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 22px; }
.booking-aside .perk{
  display: flex; gap: 12px; margin-bottom: 14px;
  padding: 12px; border-radius: 12px;
  background: rgba(255,255,255,.05);
}
.booking-aside .perk .icon{
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center; font-size: 18px;
}
.booking-aside .perk .text b{ display: block; color: #fff; font-size: 14px; }
.booking-aside .perk .text span{ color: rgba(255,255,255,.7); font-size: 12px; }

.qr-card{
  margin-top: 22px;
  background: #fff; color: var(--text);
  padding: 14px; border-radius: 14px;
  display: flex; gap: 14px; align-items: center;
}
.qr-card img{ width: 88px; height: 88px; border-radius: 8px; }
.qr-card b{ font-size: 14px; }
.qr-card span{ font-size: 12px; color: var(--text-3); display: block; margin-top: 2px; }

@media (max-width: 880px){
  .booking-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* =============== 成功状态 =============== */
.success-card{
  background: #fff; border-radius: var(--radius-lg);
  padding: 56px 40px; text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.success-card .check{
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #2dd186);
  color: #fff; font-size: 30px; display: grid; place-items: center;
  margin: 0 auto 20px;
}
.success-card .code{
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface-2); font-size: 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: var(--brand); font-weight: 700;
}

/* =============== FAQ =============== */
.faq{ max-width: 820px; margin: 0 auto; }
.faq details{
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
  padding: 18px 22px; transition: all .15s ease;
}
.faq details[open]{
  border-color: var(--brand-3);
  box-shadow: var(--shadow-sm);
}
.faq summary{
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+"; font-size: 22px; color: var(--brand); font-weight: 300;
  transition: transform .2s ease;
}
.faq details[open] summary::after{ content: "−"; }
.faq details p{ margin: 12px 0 0; color: var(--text-2); font-size: 14px; }

/* =============== 步骤流程 =============== */
.steps{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  counter-reset: step;
}
.step{
  position: relative;
  background: #fff; border-radius: var(--radius);
  padding: 24px 20px; border: 1px solid var(--border);
}
.step::before{
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 20px; top: -14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(11,78,162,.30);
}
.step h4{ margin: 8px 0 6px; font-size: 16px; }
.step p{ font-size: 13px; color: var(--text-2); margin: 0; }

@media (max-width: 880px){ .steps{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .steps{ grid-template-columns: 1fr; } }

/* =============== 品牌对比表 =============== */
.compare-2col{
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.compare-2col .col{
  background: #fff; border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
}
.compare-2col .col.bad{ border-color: rgba(216,56,44,.20); }
.compare-2col .col.good{
  border-color: rgba(11,78,162,.30);
  box-shadow: 0 0 0 3px rgba(11,78,162,.06);
}
.compare-2col .col h4{ display: flex; align-items: center; gap: 10px; }
.compare-2col .col .pill{
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
}
.compare-2col .col.bad .pill{ background: rgba(216,56,44,.12); color: var(--danger); }
.compare-2col .col.good .pill{ background: rgba(11,78,162,.10); color: var(--brand); }
.compare-2col .col ul{ padding-left: 18px; color: var(--text-2); font-size: 14px; }
.compare-2col .col li{ margin-bottom: 8px; }
@media (max-width: 880px){ .compare-2col{ grid-template-columns: 1fr; } }

/* =============== Footer =============== */
.footer{
  background: #0d1b2a; color: rgba(255,255,255,.7);
  padding: 56px 0 28px; margin-top: 80px;
}
.footer-grid{
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer h5{
  color: #fff; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer ul{ list-style: none; padding: 0; margin: 0; font-size: 13px; }
.footer ul li{ margin-bottom: 8px; }
.footer ul a{ color: rgba(255,255,255,.65); }
.footer ul a:hover{ color: #fff; }
.footer .legal{
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.5);
}
.footer .legal a{ color: rgba(255,255,255,.5); }
.footer .brand-block{ display: flex; gap: 12px; align-items: flex-start; }
.footer .brand-block img{ width: 80px; }
.footer .brand-block small{ display: block; line-height: 1.6; font-size: 12px; color: rgba(255,255,255,.55); }
.footer .brand-block b{ display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
@media (max-width: 880px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }

/* =============== 通用多栏网格（带响应式） =============== */
.grid-3{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.grid-3 > *{ min-width: 0; }
.grid-2-split{
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.grid-2-split > *{ min-width: 0; }

/* =============== 工具类 =============== */
.text-center{ text-align: center; }
.mt-24{ margin-top: 24px; }
.mt-32{ margin-top: 32px; }
.mb-24{ margin-bottom: 24px; }
.hidden{ display: none !important; }

/* 滚动条 */
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-thumb{ background: rgba(11,78,162,.25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover{ background: rgba(11,78,162,.45); }
::-webkit-scrollbar-track{ background: transparent; }

/* 进入动画 */
.fade-up{ opacity: 0; transform: translateY(14px); transition: all .6s ease; }
.fade-up.show{ opacity: 1; transform: translateY(0); }

/* =================================================================
 * 响应式收口
 * ================================================================= */
@media (max-width: 880px){
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-2-split{ grid-template-columns: 1fr; gap: 28px; }
  .booking-form{ padding: 24px; }

  /* 对比抽屉：小屏换行，避免横向溢出 */
  .compare-bar .inner{
    flex-wrap: wrap; gap: 10px; padding: 12px 16px;
  }
  .compare-bar .count-info{ width: 100%; font-size: 12px; }
  .compare-bar .items{ order: 3; width: 100%; }
  .compare-bar .clear-compare,
  .compare-bar .open-compare{ flex: 1; justify-content: center; }
}

@media (max-width: 580px){
  .grid-3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .compare-2col{ grid-template-columns: 1fr; }
  .arch-viz{ grid-template-columns: 1fr; }
  .success-card{ padding: 40px 24px; }
  .modal{ padding: 12px; }
  .modal-body{ padding: 14px 16px 20px; }
  .compare-table th, .compare-table td{ padding: 10px; font-size: 13px; }
}

/* 图片在小屏不撑破容器 */
img{ max-width: 100%; height: auto; }

/* =============== 项目案例 =============== */
.case-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case-card{
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s ease;
}
.case-card:hover{
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: var(--brand-3);
}
.case-card .thumb{
  display: block; width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.case-card .thumb img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.case-card:hover .thumb img{ transform: scale(1.05); }
.case-card .body{
  padding: 20px; flex: 1; display: flex; flex-direction: column;
}
.case-card .tags{
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.case-card .tag,
.case-detail-head .tag{
  padding: 4px 10px; border-radius: 999px;
  background: rgba(11,78,162,.08); color: var(--brand);
  font-size: 11px; font-weight: 600;
}
.case-card h4{ font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.case-card h4 a{ color: var(--text); }
.case-card h4 a:hover{ color: var(--brand); }
.case-card .summary{
  font-size: 13px; color: var(--text-2); line-height: 1.6;
  margin-bottom: 14px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card .meta{
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-3);
  border-top: 1px solid var(--border); padding-top: 12px;
}
.case-card .meta .more{ font-weight: 600; }

/* 案例详情页 */
.case-detail{ max-width: 900px; margin: 0 auto; }
.case-detail-head{ margin-bottom: 28px; }
.case-detail-head .back{
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--text-3); margin-bottom: 16px;
}
.case-detail-head .back:hover{ color: var(--brand); }
.case-detail-head .tags{ margin-bottom: 12px; }
.case-detail-head h1{
  font-size: clamp(24px, 4vw, 36px); line-height: 1.25; margin-bottom: 10px;
}
.case-detail-head .summary{
  font-size: 16px; color: var(--text-2); line-height: 1.7; margin: 0;
}
.case-detail-body{ background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow);
}

/* 图片画廊 */
.case-gallery{ border-bottom: 1px solid var(--border); }
.case-gallery .stage{
  width: 100%; aspect-ratio: 16 / 9; background: #0d1b2a;
  display: grid; place-items: center; overflow: hidden;
}
.case-gallery .stage img{
  width: 100%; height: 100%; object-fit: cover;
}
.case-gallery .thumbs{
  display: flex; gap: 10px; padding: 14px 16px;
  overflow-x: auto; background: #fff;
}
.case-gallery .thumbs .thumb{
  flex: 0 0 84px; height: 56px; border-radius: 8px;
  border: 2px solid transparent; overflow: hidden; cursor: pointer;
  padding: 0; background: none;
}
.case-gallery .thumbs .thumb img{
  width: 100%; height: 100%; object-fit: cover;
}
.case-gallery .thumbs .thumb.active{ border-color: var(--brand); }
.case-gallery .thumbs .thumb:hover{ border-color: var(--brand-3); }

/* 富文本内容区 */
.rt-content{
  padding: 36px 40px 48px; font-size: 16px; line-height: 1.85;
  color: var(--text-2);
}
.rt-content > *:first-child{ margin-top: 0; }
.rt-content > *:last-child{ margin-bottom: 0; }
.rt-content h1, .rt-content h2, .rt-content h3, .rt-content h4{
  color: var(--text); margin: 28px 0 12px; line-height: 1.35;
}
.rt-content h3{ font-size: 22px; }
.rt-content h4{ font-size: 18px; }
.rt-content p{ margin-bottom: 16px; }
.rt-content ul, .rt-content ol{
  margin: 0 0 18px; padding-left: 24px;
}
.rt-content li{ margin-bottom: 8px; }
.rt-content img{
  max-width: 100%; height: auto; border-radius: var(--radius);
  margin: 20px 0; box-shadow: var(--shadow-sm);
}
.rt-content a{ color: var(--brand); text-decoration: underline; }
.rt-content a:hover{ color: var(--brand-2); }
.rt-content b, .rt-content strong{ color: var(--text); }
.rt-content blockquote{
  margin: 20px 0; padding: 16px 20px;
  border-left: 4px solid var(--brand-3);
  background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (max-width: 880px){
  .case-grid{ grid-template-columns: 1fr 1fr; }
  .rt-content{ padding: 24px; font-size: 15px; }
  .case-gallery .stage{ aspect-ratio: 4 / 3; }
}
@media (max-width: 580px){
  .case-grid{ grid-template-columns: 1fr; }
  .case-gallery .thumbs .thumb{ flex: 0 0 72px; height: 48px; }
  .rt-content{ padding: 20px; }
}