/* ============ 字体 ============ */
@font-face { font-family: 'Sofia Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/sofia-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sofia Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/sofia-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sofia Sans XC'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/sofia-sans-xc-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sofia Sans XC'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/sofia-sans-xc-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Noto Sans SC Subset'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/noto-sans-sc-subset.woff2?v=24ea04b8) format('woff2'); }

/* ============ 设计变量 ============ */
:root {
  --ink: #1C2830;        /* 深板岩：正文与“大地”，低饱和、不发蓝 */
  --ink-2: #2A3842;
  --sky: #3A6F8F;        /* 雾霭钢蓝 */
  --sun: #F5B700;        /* 向日葵黄：只用来表示能源 */
  --plaster: #EEF1EC;    /* 石灰墙灰白：页面底色 */
  --paper: #FFFFFF;
  --line: #CDD5D0;
  --muted: #55616B;
  /* 极细的胶片颗粒，叠在深色区块上，让大面积深色有材质感 */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --cjk: 'Noto Sans SC Subset', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'Sofia Sans', var(--cjk), system-ui, sans-serif;
  --display: 'Sofia Sans XC', 'Sofia Sans', var(--cjk), system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --focus: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--plaster); font-weight: 400; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.dark { --focus: var(--sun); }
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--sun); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* 标题：窄体大字，用排版本身做视觉 */
.display { font-family: var(--display); font-weight: 700; line-height: .92; letter-spacing: -.01em; white-space: pre-line; text-wrap: balance; }
h1.display { font-size: clamp(3.4rem, 8.4vw, 8.4rem); }
h2.display { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 36em; color: var(--muted); }
.dark .lead { color: rgba(255,255,255,.82); }
.fine { font-size: .86rem; line-height: 1.55; color: var(--muted); max-width: 70em; }
.dark .fine { color: rgba(255,255,255,.66); }
:lang(zh) .display { letter-spacing: .01em; line-height: 1.12; font-weight: 800; }
:lang(zh) h1.display { font-size: clamp(2.6rem, 6vw, 5.6rem); }
:lang(zh) h2.display { font-size: clamp(2rem, 4vw, 3.4rem); }
:lang(zh) body { line-height: 1.75; }

/* ============ 按钮与链接 ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; min-height: 50px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--ink); color: #fff; font-weight: 650; font-size: 1rem; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(28,40,48,.06); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn.sun:hover { background: #FFC933; }
.dark .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.dark .btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--sun); }
.link:hover { text-decoration-thickness: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* ============ 顶栏 ============ */
.header { position: sticky; top: 0; z-index: 100; background: var(--grain), rgba(22,31,37,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(221,183,102,.22); color: #fff; --focus: var(--sun); }
.header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; color: inherit; }

/* ============ 商标：金色地球 + Sinobalkan ============ */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.globe { width: 46px; height: 46px; flex: none; overflow: visible; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.logo-word { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.wm {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 1.85rem; letter-spacing: .005em;
  /* 两层背景：上层是一道掠过的高光，下层是金属金色渐变，都裁切到文字里 */
  background-image: linear-gradient(100deg, transparent 0 42%, rgba(255,250,232,.95) 50%, transparent 58% 100%), linear-gradient(180deg, #FFF0C2 0%, #F1C765 40%, #C58D2F 72%, #8C5E1A 100%);
  background-size: 320% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.45));
  padding: .08em 0 .12em;
}
.wm-sub { font-family: var(--body); font-weight: 500; font-size: .98rem; letter-spacing: .06em; color: #DDB766; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/fonts/playfair-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 首次加载：外环画出 → 四个刻度就位 → 地球转入并停在巴尔干 → 字标展开 → 高光掠过 */
.intro-anim .ring-c { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ringdraw 1.1s cubic-bezier(.6,0,.2,1) .05s forwards; }
.intro-anim .ring-t { opacity: 0; transform: scale(1.35); transform-origin: 0 0; animation: ticks .6s cubic-bezier(.2,.8,.2,1) .8s forwards; }
.intro-anim .globe-body { transform: scale(.55); opacity: 0; transform-origin: 0 0; animation: globein 1s cubic-bezier(.2,.8,.2,1) .2s forwards; }
.intro-anim .logo-word { clip-path: inset(-20% 100% -20% 0); animation: word .9s cubic-bezier(.6,0,.2,1) .45s forwards; }
.intro-anim .wm { animation: shine 1.2s ease-in-out 1.5s both; }
@keyframes ringdraw { to { stroke-dashoffset: 0; } }
@keyframes ticks { to { opacity: 1; transform: scale(1); } }
@keyframes globein { to { opacity: 1; transform: scale(1); } }
@keyframes word { to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes shine { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }

/* 悬停：地球加速转一圈、外环轻微旋转、字标再掠过一次高光 */
/* 球面高光：纯白 + screen 混合，只提亮不染色，不会和金色陆地糊在一起 */
.globe-sheen { mix-blend-mode: screen; }
.globe-ring { transition: transform .9s cubic-bezier(.2,.8,.2,1); transform-origin: 0 0; }
.brand:hover .globe-ring, .brand:focus-visible .globe-ring { transform: rotate(45deg); }
.brand:hover .wm, .brand:focus-visible .wm { animation: shine 1.1s ease-in-out; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; font-weight: 550; font-size: .97rem; border-radius: 3px; white-space: nowrap; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 #DDB766; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1.5px solid rgba(255,255,255,.4); border-radius: 3px; overflow: hidden; }
.lang button { white-space: nowrap; border: 0; background: none; padding: 6px 9px; font-size: .85rem; font-weight: 700; min-width: 38px; }
.lang button[aria-pressed="true"] { background: #F3E4BC; color: var(--ink); }
.header .btn { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn.gold { background: transparent; border-color: #DDB766; color: #F3D58A; }
.btn.gold:hover { background: rgba(221,183,102,.14); }
.menu-btn { display: none; border: 0; background: none; padding: 8px; }

/* ============ 首屏：贝尔格莱德的一天（自动播放） ============ */
/* 首屏高度 = 一屏（减去顶栏），所有内容都在第一屏内，不需要滚动 */
.hero { --sky-top: #3E6E92; --sky-bot: #B9CCD6; position: relative; color: #fff; display: flex; flex-direction: column; height: calc(100svh - 68px); min-height: 620px; max-height: 1000px; background-image: var(--grain), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-top) 30%, var(--sky-bot) 100%); overflow: hidden; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); grid-template-areas: "copy read" "lead read"; column-gap: 48px; align-items: end; padding-top: clamp(20px, 5vh, 64px); position: relative; z-index: 1; }
.hero-copy { grid-area: copy; }
.hero-lead { grid-area: lead; }
.hero-place { display: block; font-weight: 600; font-size: .98rem; margin-bottom: clamp(8px, 1.6vh, 18px); color: rgba(255,255,255,.88); }
.hero h1.display { color: #fff; font-size: clamp(3rem, min(7.2vw, 11.5vh), 7.6rem); }
:lang(zh) .hero h1.display { font-size: clamp(2.4rem, min(5.6vw, 9.5vh), 5.8rem); }
.hero .lead { color: rgba(255,255,255,.92); margin-top: clamp(10px, 2.2vh, 24px); }
.hero .actions { margin-top: clamp(14px, 2.8vh, 30px); }
.readout { grid-area: read; align-self: end; justify-self: end; width: 100%; max-width: 380px; }
.readout-label { font-size: .95rem; color: rgba(255,255,255,.88); }
.readout-big { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 700; line-height: .85; font-variant-numeric: tabular-nums; margin: 6px 0 16px; }
.readout-big b { font-size: clamp(4.5rem, min(10vw, 15vh), 9rem); font-weight: 700; letter-spacing: -.02em; }
.readout-big span { font-size: 2.2rem; }
.readout dl { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0; }
.readout dt { font-size: .8rem; color: rgba(255,255,255,.8); }
.readout dd { margin: 0; font-family: var(--display); font-size: 1.65rem; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout dd small { font-family: var(--body); font-size: .9rem; font-weight: 500; opacity: .75; margin-left: 3px; }

/* 日照图：占满剩余高度 */
.sunbox { flex: 1 1 auto; min-height: 150px; position: relative; margin-top: 6px; }
.sunchart { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sunchart text { font-family: var(--body); font-size: 14px; fill: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.sc-ground { fill: var(--ink); }
.sc-path { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.sc-pow-line { fill: none; stroke: rgba(245,183,0,.5); stroke-width: 1.5; stroke-dasharray: 4 5; }
.sc-pow { fill: var(--sun); }
.sc-horizon, .sc-tick { stroke: rgba(255,255,255,.85); stroke-width: 1.5; }
.sc-v { stroke: rgba(255,255,255,.55); stroke-width: 1; }
.sc-disc { fill: var(--sun); }
.sunchart .sc-now text { fill: #fff; font-weight: 700; font-size: 13px; }
.sc-now path { fill: #fff; }

/* 底部控制条 */
.hero-foot { background-image: var(--grain); background-color: var(--ink); position: relative; z-index: 1; }
.hero-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 2px; padding-bottom: clamp(14px, 2.4vh, 26px); }
.hero-caption { flex: 1 1 320px; max-width: 62em; padding-right: 150px; }
@media (max-width: 860px) { .hero-caption { padding-right: 0; display: none; } .hero-foot-in { padding-right: 70px; } }
.player { display: inline-flex; align-items: center; gap: 12px; }
.play { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: none; color: #fff; display: grid; place-items: center; padding: 0; }
.play:hover { background: rgba(255,255,255,.1); }
.clock { font-family: var(--display); font-size: 1.9rem; font-weight: 700; min-width: 3.1em; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; border: 1.5px solid rgba(255,255,255,.55); border-radius: 3px; overflow: hidden; }
.seg button { border: 0; background: none; color: #fff; padding: 9px 14px; font-weight: 650; font-size: .92rem; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }

/* 计算器滑块 */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; background: var(--line); border-radius: 2px; }
input[type=range]::-moz-range-track { height: 3px; background: var(--line); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); box-shadow: 0 0 0 1.5px var(--sun); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); box-shadow: 0 0 0 1.5px var(--sun); }

/* ============ 通用区块 ============ */
.block { padding: clamp(72px, 10vw, 132px) 0; }
.block.tight { padding: clamp(48px, 7vw, 88px) 0; }
.block.dark { background: var(--grain), var(--ink); color: #fff; }
.block.white { background: var(--paper); }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head .lead { justify-self: start; }
.head-solo { max-width: 50rem; margin-bottom: clamp(36px, 5vw, 60px); }
.head-solo .lead { margin-top: 22px; }

/* 优势条 */
.benefits { border-bottom: 1px solid var(--line); background: var(--paper); }
.benefits-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: flex; gap: 14px; padding: 30px 26px 30px 0; }
.benefit + .benefit { padding-left: 26px; border-left: 1px solid var(--line); }
.benefit .icon { color: var(--sky); margin-top: 2px; }
.benefit h3 { font-size: 1.05rem; line-height: 1.3; }
.benefit p { font-size: .93rem; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* 方案：杂志式交错排版 */
.solution { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.solution:nth-child(even) .solution-img { order: 2; }
.solution-img { display: block; position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 10; background: var(--line); }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.solution-img:hover img { transform: scale(1.03); }
.photo-note { position: absolute; right: 10px; bottom: 10px; font-size: .74rem; padding: 3px 8px; background: rgba(28,40,48,.7); color: #fff; border-radius: 2px; }
.metric { font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 8vw, 7rem); line-height: .85; letter-spacing: -.02em; }
.metric-sub { display: block; font-size: .95rem; color: var(--muted); margin: 8px 0 26px; }
.solution h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.solution p { color: var(--muted); margin: 12px 0 22px; max-width: 30em; }
.tag { display: inline-block; font-size: .88rem; font-weight: 650; color: var(--sky); margin-bottom: 10px; }

/* 一体化：能量流 */
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.flow { display: flex; align-items: flex-start; margin: 40px 0 36px; }
.flow-node { flex: 1; display: grid; justify-items: start; gap: 10px; position: relative; font-size: .92rem; font-weight: 600; padding-right: 10px; }
.flow-node .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.6); background: var(--ink); position: relative; z-index: 1; }
.flow-node:first-child .dot { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.flow-node:not(:last-child)::after { content: ''; position: absolute; left: 46px; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--sun) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flow 1.4s linear infinite; }
@keyframes flow { to { background-position: 28px 0; } }
.flow-img { position: relative; border-radius: 3px; overflow: hidden; }
.flow-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

/* 项目 */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.project img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.project-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 8px; font-size: .9rem; color: var(--muted); }
.project-meta b { color: var(--ink); font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.project h3 { font-size: 1.5rem; line-height: 1.2; }
.project p { color: var(--muted); margin-top: 8px; max-width: 34em; }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 48px; }
.refs article { padding: 24px 24px 0 0; }
.refs article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.refs h3 { font-size: 1.2rem; margin: 4px 0; }
.refs span { font-size: .85rem; color: var(--muted); }

/* 计算器 */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.calc-form { display: grid; gap: 30px; margin-top: 40px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; font-weight: 650; }
.field-top output { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.seg-light { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.seg-light button { border: 0; background: none; padding: 10px 18px; font-weight: 650; }
.seg-light button[aria-pressed="true"] { background: var(--ink); color: #fff; }
details.adv summary { cursor: pointer; font-weight: 650; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .95rem; line-height: 1; }
details.adv[open] summary::before { content: '−'; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 20px; }
label.f { display: grid; gap: 6px; font-weight: 600; font-size: .94rem; }
.hint { font-weight: 400; font-size: .82rem; color: var(--muted); }
.unit { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 3px; background: var(--paper); }
.unit:focus-within { border-color: var(--ink); }
.unit input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 12px; outline: none; }
.unit span { padding: 0 12px; color: var(--muted); font-size: .9rem; }
.result { background: var(--grain), var(--ink); color: #fff; border-radius: 3px; padding: clamp(28px, 4vw, 48px); position: sticky; top: 92px; }
.result-label { font-size: 1rem; color: rgba(255,255,255,.8); }
.result-big { font-family: var(--display); font-weight: 700; font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: .9; margin: 10px 0 4px; font-variant-numeric: tabular-nums; color: var(--sun); }
.result-big small { font-size: 1.6rem; color: #fff; margin-left: 6px; }
.result-month { color: rgba(255,255,255,.8); }
.result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 28px 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.result dt { font-size: .84rem; color: rgba(255,255,255,.7); }
.result dd { margin: 2px 0 0; font-family: var(--display); font-size: 1.9rem; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rec { display: grid; gap: 6px; margin-bottom: 22px; }
.rec span { font-size: .84rem; color: rgba(255,255,255,.7); }
.rec .link { color: #fff; font-size: 1.25rem; justify-content: start; text-align: left; }
.alert { font-size: .9rem; border-left: 3px solid var(--sun); padding-left: 12px; margin-bottom: 14px; color: rgba(255,255,255,.88); }
.result .fine { margin-top: 22px; }
.result.loading .result-big { opacity: .55; }

/* 流程：真实顺序，所以用编号 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.step { padding-right: 28px; position: relative; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--plaster); border: 2px solid var(--ink); font-family: var(--display); font-size: 1.6rem; font-weight: 700; position: relative; margin-bottom: 22px; }
.step:first-child .step-n { background: var(--sun); border-color: var(--sun); }
.step h3 { font-size: 1.2rem; line-height: 1.25; }
.step p { color: var(--muted); margin-top: 6px; font-size: .96rem; }
.white .step-n { background: var(--paper); }
.white .step:first-child .step-n { background: var(--sun); }

/* 常见问题 */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 88px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font-weight: 650; font-size: 1.12rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* 行动号召：整块向日葵黄 */
.cta { background: var(--sun); color: var(--ink); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -8vw; bottom: -38vw; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; border-radius: 50%; border: 2px solid rgba(28,40,48,.18); box-shadow: 0 0 0 60px rgba(255,255,255,.08), 0 0 0 120px rgba(255,255,255,.05); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 36px; align-items: end; position: relative; z-index: 1; }
.cta .lead { color: var(--ink); margin-top: 20px; }
.cta .btn.ghost { border-color: var(--ink); }
.cta .btn.ghost:hover { background: rgba(28,40,48,.08); }

/* ============ 内页 ============ */
.intro { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumb { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.intro .lead { margin-top: 24px; }
.shortcuts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.tabs { display: flex; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; align-items: center; }
.tabs a { text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 3px; font-weight: 650; }
.tabs a[aria-current] { background: var(--ink); color: #fff; }
.tabs .count { margin-left: auto; color: var(--muted); font-size: .92rem; }

/* 产品：铭牌式 */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; display: flex; flex-direction: column; }
.product-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #e6e9e6; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 14px; top: 14px; background: var(--sun); color: var(--ink); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.45rem; line-height: 1.2; }
.product p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.plate { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plate div { padding: 14px 0; }
.plate div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.plate b { display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 700; line-height: 1; }
.plate span { font-size: .8rem; color: var(--muted); }
.prices { display: grid; gap: 8px; margin-bottom: 22px; }
.prices div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: .9rem; color: var(--muted); }
.prices b { color: var(--ink); font-size: 1.05rem; white-space: nowrap; }
.product-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.model { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* 表格 */
.table { overflow-x: auto; margin: 26px 0 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .82rem; color: var(--muted); font-weight: 650; background: var(--plaster); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 650; }
td { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 信息格：用细线分隔，不做卡片 */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); border-top: 1.5px solid var(--ink); }
.notes article { padding: 24px 24px 8px 0; }
.notes h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
.notes p { color: var(--muted); font-size: .95rem; }
.dark .notes { border-color: rgba(255,255,255,.5); }
.dark .notes p { color: rgba(255,255,255,.75); }

/* 一体化三档 */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper); }
.tier { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier:nth-child(2) { background: var(--ink); color: #fff; --focus: var(--sun); }
.tier:nth-child(2) p { color: rgba(255,255,255,.78); }
.tier:nth-child(2) .link { color: #fff; }
.tier h3 { font-size: 1.25rem; }
.tier .price { font-family: var(--display); font-size: clamp(2.3rem, 3.6vw, 3rem); font-weight: 700; line-height: 1; }
.tier p { color: var(--muted); font-size: .95rem; flex: 1; }
.offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 56px; }
.offer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.offer h3 { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.offer p { color: var(--muted); margin: 14px 0 20px; }
.spec { margin: 0 0 24px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 650; text-align: right; }

/* 能量链示意（内页） */
.chain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 12px; }
.chain img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.chain .flow { margin: 0; color: var(--ink); }
.chain .flow-node .dot { background: var(--paper); border-color: var(--ink); }
.chain .flow-node:first-child .dot { background: var(--sun); border-color: var(--sun); }

/* ============ 保温系统页 ============ */
.insul-hero { position: relative; margin-top: clamp(30px, 5vw, 52px); border-radius: 3px; overflow: hidden; }
.insul-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* 墙体剖面：左图右说明 */
.wall { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wall-fig { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: clamp(16px, 3vw, 34px); overflow-x: auto; }
.wall-sec { display: block; width: 100%; min-width: 300px; height: auto; }
.wall-sec .wl { cursor: pointer; }
.wall-sec .wl rect:first-child { transition: filter .18s, stroke-width .18s; }
.wall-sec .wl:hover rect:first-child { filter: brightness(1.05); }
.wall-sec .wl.on rect:first-child { stroke: var(--ink); stroke-width: 2.4; }
.wall-sec .wl-sep { stroke: #fff; stroke-width: 1.4; opacity: .85; }
.wall-sec .wall-cap { fill: var(--muted); font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
/* 剖面整体淡化，选中的那一层保持满色 —— 用透明度做层级区分 */
.wall-sec .wl { opacity: .55; transition: opacity .18s; }
.wall-sec .wl.on, .wall-sec .wl:hover { opacity: 1; }

.wall-legend { position: sticky; top: 88px; }
.wall-list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1.5px solid var(--ink); }
.wall-list li { border-bottom: 1px solid var(--line); }
.wl-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 4px; border: 0; background: none; text-align: left; font-weight: 650; }
.wl-btn:hover { background: rgba(28,40,48,.04); }
.wl-n { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .82rem; font-weight: 700; font-family: var(--display); }
.wl-btn[aria-pressed="true"] .wl-n { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.wl-name { flex: 1; }
.wl-thick { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.wall-note { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--sun); border-radius: 3px; padding: 22px 24px; min-height: 190px; }
.wall-note-n { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wall-note h3 { font-size: 1.5rem; margin: 6px 0 12px; }
.wall-note p { color: var(--muted); font-size: .96rem; }
.spec.compact { margin: 0 0 14px; }
.spec.compact div { padding: 7px 0; font-size: .9rem; }

/* 饰面四栏 */
.finishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.finish { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.finish-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #e6e9e6; }
.finish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.finish:hover .finish-img img { transform: scale(1.04); }
.finish-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.finish h3 { font-size: 1.25rem; }
.finish p { color: var(--muted); font-size: .94rem; margin-top: 8px; flex: 1; }
.finish-price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.finish-price span { font-size: .82rem; color: var(--muted); }
.finish-price b { font-family: var(--display); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }

/* 案例：独栋别墅 */
.insul-cases { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.insul-cases h3 { font-size: 1.25rem; }

/* 融合展示：四张图拼版 */
.combo-fig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.combo-fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; }
.combo-fig img:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.insul-flow { flex-wrap: wrap; }
.insul-combo-notes article { padding-right: 26px; }

/* 节能与报价表：高亮列 */
.table.energy td.hl { font-weight: 700; color: var(--ink); }
.table.energy tbody tr:last-child td.hl { background: rgba(245,183,0,.16); }
.table.price th[scope="row"] { min-width: 170px; }
.table.price td:nth-child(2) { white-space: normal; color: var(--muted); font-size: .92rem; }
.table.price td:last-child b { font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.table td.nowrap { white-space: nowrap; }

/* 工艺流程：6 步，两行三列 */
.insul-steps { grid-template-columns: repeat(3, 1fr); row-gap: clamp(28px, 4vw, 44px); }
.insul-steps::before { display: none; }
.insul-steps .step { padding-right: 26px; }

/* 服务页 */
.facade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.swatch { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 14px; }
.swatch i { display: block; height: 96px; border-radius: 2px; margin-bottom: 12px; }
.swatch h3 { font-size: 1.02rem; }
.swatch span { font-size: .9rem; color: var(--muted); }
.sw-0 { background: linear-gradient(135deg, #EDE7DC, #D9CFBF); }
.sw-1 { background: radial-gradient(circle at 20% 30%, #b9ab95 1px, transparent 2px) 0 0 / 7px 7px, radial-gradient(circle at 70% 60%, #8f826d 1px, transparent 2px) 0 0 / 9px 9px, #CFC3AE; }
.sw-2 { background: linear-gradient(90deg, transparent 48%, rgba(0,0,0,.18) 48% 52%, transparent 52%) 0 0 / 60px 32px, linear-gradient(0deg, transparent 46%, rgba(0,0,0,.18) 46% 54%, transparent 54%) 0 0 / 60px 32px, linear-gradient(135deg, #9C8B76, #7B6C5B); }
.sw-3 { background: linear-gradient(115deg, transparent 40%, rgba(150,150,150,.35) 42%, transparent 46%), linear-gradient(90deg, transparent 49.5%, #fff 49.5% 50.5%, transparent 50.5%) 0 0 / 50% 100%, #E9E9E6; }
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); margin-bottom: 56px; }
.milestones article { padding: 22px 22px 0 0; }
.milestones b { display: block; font-family: var(--display); font-size: 3.6rem; font-weight: 700; line-height: 1; }
.milestones h3 { font-size: 1.1rem; margin: 6px 0 4px; }
.milestones p { color: var(--muted); font-size: .93rem; }
.support { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 30px 0; }
.support h3 { font-size: 1.3rem; }
.support p { color: rgba(255,255,255,.78); margin-top: 4px; max-width: 46em; }

/* 关于 */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about p + p { margin-top: 16px; }
.about .lead { margin-top: 24px; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.values li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.values .icon { color: var(--sky); }
.companies { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1.5px solid var(--ink); margin-top: clamp(48px, 7vw, 88px); }
.companies article { padding: 28px 28px 0 0; }
.companies article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.companies .tag { margin-bottom: 6px; }
.companies h3 { font-family: var(--display); font-size: 2rem; line-height: 1.05; }
.companies p { color: var(--muted); margin: 8px 0; }
.companies small { display: block; white-space: pre-line; font-size: .9rem; margin-bottom: 14px; }

/* 证书 */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cert-doc { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1.5px dashed var(--line); border-radius: 3px; background: var(--plaster); color: var(--muted); font-size: .9rem; text-align: left; width: 100%; }
.cert h3 { font-family: var(--display); font-size: 1.9rem; line-height: 1.05; }
.cert p { color: var(--muted); font-size: .95rem; flex: 1; }
.ref { font-size: .82rem; color: var(--muted); }
.ref code { display: block; color: var(--ink); font-size: .92rem; margin-top: 2px; }

/* 硬件 */
.hardware { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hw { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.hw img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.hw div { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hw code { font-size: .78rem; color: var(--muted); }
.hw h3 { font-size: 1.3rem; }
.hw ul { margin: 4px 0 16px; padding: 0; list-style: none; flex: 1; }
.hw li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-variant-numeric: tabular-nums; }

/* 联系 */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.methods { margin-top: 40px; border-top: 1px solid var(--line); }
.method { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.method .icon { margin-top: 4px; color: var(--sky); }
.method h3 { font-size: 1.1rem; }
.method p, .method a { display: block; margin-top: 4px; color: var(--muted); }
.method a.link { color: var(--ink); display: inline-flex; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 4vw, 44px); }

/* 表单 */
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 3px; padding: 12px 13px; background: var(--paper); font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(245,183,0,.45); }
.form textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .93rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.chosen { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--plaster); border-left: 3px solid var(--sun); font-weight: 650; }
.err { color: #A3261B; font-weight: 600; }
.success { display: grid; gap: 14px; justify-items: start; }
.success .icon { color: #2E7D4F; }
.success code { font-size: 1rem; background: var(--plaster); padding: 6px 10px; border-radius: 3px; word-break: break-all; }


/* 3D 演示入口暂时灰显（动画未完成） */
.is-disabled,
.link.is-disabled {
  color: var(--muted);
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
  text-decoration-color: transparent;
  user-select: none;
}
.link.is-disabled:hover {
  text-decoration: none;
  text-decoration-thickness: 1.5px;
}
.footer .is-disabled {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.38);
  opacity: 1;
}
/* 3D 演示：动画尚未制作完成，先以整页纯黑占位 */
.twin-void { background: #000; min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px); }

/* 页脚 */
.footer { background: var(--grain), var(--ink); color: #fff; padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer .globe { width: 70px; height: 70px; }
.footer .wm { font-size: 2.6rem; }
.footer .wm-sub { font-size: 1.2rem; }
.footer p { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 26em; }
.footer h4 { font-size: .95rem; margin-bottom: 14px; color: rgba(255,255,255,.62); font-weight: 600; }
.footer nav a, .footer-contact a { display: block; text-decoration: none; padding: 4px 0; }
.footer nav a:hover, .footer-contact a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-bottom button { background: none; border: 0; color: inherit; padding: 0; margin-left: 20px; text-decoration: underline; text-underline-offset: 4px; }
.footer .fine { margin-top: 18px; }

/* 浮动联系按钮 */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 9px; min-height: 56px; padding: 0 22px 0 15px; border: 0; border-radius: 999px; background: #11803F; color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(10,40,20,.6); transition: transform .18s, background .18s; }
.float:hover { background: #0C6B34; transform: scale(1.06); }
.float .icon-wa { width: 26px; height: 26px; flex: none; }

/* 弹窗 */
dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 0; border-radius: 4px; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 80px -20px rgba(28,40,48,.5); }
dialog.wide { width: min(980px, calc(100vw - 24px)); }
dialog::backdrop { background: rgba(28,40,48,.6); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.dlg-head h2 { font-family: var(--display); font-size: 2rem; line-height: 1; }
.dlg-head button { border: 0; background: none; padding: 6px; }
.dlg-body { padding: 26px; }
.dlg-product { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
.dlg-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.dlg-product h3 { font-size: 1.1rem; margin: 18px 0 8px; }
.legal { white-space: pre-line; color: var(--muted); }
.cert-empty { display: grid; gap: 14px; justify-items: start; }

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; background: #161F25; border-bottom: 1px solid rgba(221,183,102,.22); padding: 10px var(--gut) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .nav a[aria-current] { box-shadow: inset 3px 0 0 #DDB766; padding-left: 12px; }
  .menu-btn { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .benefits-in { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { border-left: 0; padding-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hardware, .certs { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .header .btn { display: none; }
  .hero-top, .head, .solution, .flow-grid, .calc, .faq, .cta-in, .facade, .about, .contact, .offer, .chain, .dlg-product { grid-template-columns: 1fr; }
  .readout { justify-self: start; max-width: none; }
  .solution:nth-child(even) .solution-img { order: 0; }
  .hero-controls { grid-template-columns: 1fr; }
  .projects, .companies { grid-template-columns: 1fr; }
  .companies article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps::before { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
  .milestones { grid-template-columns: 1fr 1fr; gap: 0 0; }
  .result { position: static; }
  .refs { grid-template-columns: 1fr; }
  .refs article + article { padding-left: 0; border-left: 0; }
  /* 保温页：剖面图与说明上下排列，说明不再吸顶 */
  .wall { grid-template-columns: 1fr; }
  .wall-legend { position: static; }
  .finishes { grid-template-columns: 1fr 1fr; }
  .insul-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .finishes, .insul-cases, .combo-fig { grid-template-columns: 1fr; }
  .combo-fig img:first-child { grid-column: span 1; aspect-ratio: 4 / 3; }
  .insul-hero img { aspect-ratio: 4 / 3; }
  .wall-fig { padding: 12px; }
  .wall-list li:first-child { border-top: 0; }
  .wl-thick { display: none; }
}
@media (max-width: 600px) {
  .benefits-in, .hardware, .certs, .footer-grid, .row2, .adv-grid, .swatches { grid-template-columns: 1fr; }
  .benefit + .benefit { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps, .milestones { grid-template-columns: 1fr; }
  .wm { font-size: 1.5rem; } .globe { width: 38px; height: 38px; } .logo { gap: 9px; }
  .readout dl { gap: 4px 16px; }
  .readout dd { font-size: 1.4rem; }
  .seg button { padding: 9px 10px; font-size: .85rem; }
  .float { padding: 0 15px; }
  .tabs .count { width: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 首屏：平板与手机改为上下排列，并精简内容，保证一屏放得下 */
@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; grid-template-areas: "copy" "lead" "read"; }
  .readout { justify-self: start; max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; margin-top: 18px; }
  .readout-label { width: 100%; }
  .readout-big { margin: 0; }
  .readout-big b { font-size: 4.2rem; }
  .readout-big span { font-size: 1.5rem; }
  .readout dl { gap: 4px 16px; }
  .readout dd { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .hero { min-height: 560px; }
  .hero .lead { display: none; }
  .hero .actions { flex-wrap: nowrap; gap: 10px; margin-top: 14px; }
  .hero .actions .btn { flex: 1; justify-content: center; padding: 0 12px; min-height: 46px; font-size: .95rem; }
  .readout dl div:nth-child(3) { display: none; }
  .hero-foot-in { gap: 10px 14px; }
  .play { width: 40px; height: 40px; }
  .clock { font-size: 1.6rem; }
}
@media (max-width: 400px) {
  .header-in { gap: 10px; }
  .header-tools { gap: 4px; }
  .lang button { min-width: 0; padding: 6px 7px; font-size: .8rem; }
  .menu-btn { padding: 6px 2px 6px 4px; }
  .wm { font-size: 1.3rem; } .wm-sub { display: none; } .globe { width: 34px; height: 34px; } .logo { gap: 7px; }
}

/* ============ 一页算账 / 现场收益测算 ============ */
html.quote-route .float { display: none; }
.quote-hero { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 88px) 0 clamp(38px, 6vw, 72px); background: var(--grain), linear-gradient(135deg, #16222A 0%, #223A45 58%, #355A62 100%); color: #fff; }
.quote-hero::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border: 1px solid rgba(245,183,0,.28); border-radius: 50%; box-shadow: 0 0 0 58px rgba(245,183,0,.04), 0 0 0 116px rgba(245,183,0,.025); pointer-events: none; }
.quote-hero-in { display: block; position: relative; z-index: 1; }
.quote-hero .crumb { color: rgba(255,255,255,.62); }
.quote-hero .crumb a { color: rgba(255,255,255,.82); }
.quote-hero .lead { color: rgba(255,255,255,.78); margin-top: 20px; }
.quote-hero h1.display { margin-top: 18px; max-width: 17em; }
.q-badge { display: inline-flex; margin-top: 28px; padding: 5px 10px; border: 1px solid rgba(245,183,0,.55); color: var(--sun); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.q-example { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); font-size: .9rem; }
.q-example small { color: rgba(255,255,255,.62); }
.q-example .link { color: #fff; margin-left: auto; }
.quote-facts { background: var(--plaster); }
.q-step-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: clamp(28px, 4vw, 46px); }
.q-step-head .lead { margin-top: 12px; }
.q-step { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1rem; margin-top: 3px; }
.q-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.q-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); min-width: 0; }
.q-card h3 { font-size: 1.18rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.q-card .fine { margin-top: 12px; margin-bottom: 0; }
.q-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; margin-top: 12px; }
.q-field { min-width: 0; }
.q-field > span:first-child { overflow-wrap: anywhere; }
.q-field .unit { width: 100%; min-width: 0; max-width: 100%; align-items: stretch; }
.q-field input, .q-field textarea { min-width: 0; width: 100%; }
.q-field textarea { flex: 1; min-height: 46px; max-height: 9em; border: 0; background: transparent; padding: 11px 12px; outline: none; resize: none; overflow: hidden; font: inherit; line-height: 1.45; overflow-wrap: anywhere; field-sizing: content; }
.q-label { display: block; margin-top: 18px; font-size: .83rem; color: var(--muted); }
.q-subhead { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .83rem; color: var(--muted); }
.q-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.q-seg button { border: 1px solid var(--line); background: transparent; padding: 8px 10px; border-radius: 2px; font-size: .85rem; font-weight: 650; line-height: 1.25; max-width: 100%; overflow-wrap: anywhere; }
.q-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.q-profile { min-height: 3.1em; }
.q-prices { padding-top: 14px; border-top: 1px solid var(--line); }
.q-diagnosis { background: var(--paper); border-top: 4px solid var(--sun); }
.q-slider { display: grid; gap: 8px; min-width: 0; margin-top: 16px; }
.q-slider-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.q-slider-top span { color: var(--muted); font-size: .83rem; }
.q-slider output { font-variant-numeric: tabular-nums; font-weight: 700; }
.q-slider input[type="range"] { width: 100%; min-width: 0; accent-color: #C89200; }
.q-measures button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.quote-calc .q-step-head .lead { color: rgba(255,255,255,.72); }
.q-result { border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.14); padding: clamp(24px, 3.5vw, 40px); min-width: 0; }
.q-result-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.18); }
.q-result-hero > div { display: grid; gap: 5px; }
.q-result-hero span { font-size: .85rem; color: rgba(255,255,255,.6); }
.q-result-hero b { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .95; color: var(--sun); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.q-result-hero small { color: rgba(255,255,255,.65); }
.q-result-money b { color: #fff; }
.q-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 26px 0; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.q-kpi { background: #202d34; padding: 16px 18px; min-width: 0; }
.q-kpi span { display: block; font-size: .78rem; color: rgba(255,255,255,.58); }
.q-kpi b { display: block; margin-top: 4px; font-family: var(--display); font-size: 1.4rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.q-kpi small { display: block; margin-top: 4px; font-size: .76rem; color: rgba(255,255,255,.55); }
.q-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin: 26px 0; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); }
.q-flow > div { min-width: 0; }
.q-flow span { display: block; font-size: .74rem; color: rgba(255,255,255,.58); }
.q-flow b { display: block; font-family: var(--display); font-size: 1.15rem; overflow-wrap: anywhere; }
.q-flow i { font-style: normal; color: var(--sun); font-size: 1.2rem; }
.q-analysis { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; margin-top: 30px; }
.q-analysis h3 { font-size: 1.25rem; margin-bottom: 16px; }
.q-cat-list { display: grid; gap: 16px; }
.q-cat-head { display: flex; justify-content: space-between; gap: 14px; font-size: .88rem; }
.q-cat-head b { color: var(--sun); font-variant-numeric: tabular-nums; }
.q-cat-bar { height: 5px; margin-top: 7px; background: rgba(255,255,255,.12); }
.q-cat-bar i { display: block; height: 100%; background: var(--sun); }
.q-cat small { display: block; margin-top: 5px; color: rgba(255,255,255,.56); font-size: .75rem; }
.q-formula { border-left: 3px solid var(--sun); padding-left: 20px; }
.q-formula > p { color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.65; }
.q-formula dl { display: grid; gap: 14px; margin: 18px 0; }
.q-formula dt { font-size: .76rem; color: var(--sun); }
.q-formula dd { margin: 3px 0 0; font-size: .86rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.q-formula .fine { margin-top: 16px; color: rgba(255,255,255,.52); }
.q-formula .q-advice { margin-top: 18px; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.3); font-size: .84rem; color: rgba(255,255,255,.72); }
.q-wait { display: grid; place-items: center; min-height: 220px; color: rgba(255,255,255,.58); }
.quote-offer { background: var(--plaster); }
.q-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.q-offer { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); padding: 22px; min-width: 0; }
.q-offer-main { border-top: 4px solid var(--sun); box-shadow: 0 18px 40px -30px rgba(28,40,48,.6); }
.q-offer-selected { box-shadow: 0 0 0 3px rgba(245,183,0,.28), 0 18px 40px -30px rgba(28,40,48,.6); }
.q-offer-head { display: grid; gap: 5px; }
.q-offer-head span { color: var(--sky); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.q-offer h3 { font-size: 1.28rem; line-height: 1.25; overflow-wrap: anywhere; }
.q-offer > p { color: var(--muted); font-size: .93rem; margin-top: 12px; overflow-wrap: anywhere; }
.q-offer-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.q-offer-kpis dt { color: var(--muted); font-size: .75rem; }
.q-offer-kpis dd { margin: 1px 0 0; font-family: var(--display); font-size: 1.2rem; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.q-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.q-tags span { font-size: .75rem; padding: 4px 7px; background: var(--plaster); color: var(--muted); }
.q-value { margin-bottom: 12px; font-size: .85rem; }
.q-value b { display: block; margin-bottom: 2px; color: var(--sky); }
.q-value p { color: var(--muted); }
.q-components { margin: 8px 0 18px; border-top: 1px solid var(--line); }
.q-components summary { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; cursor: pointer; font-weight: 700; font-size: .88rem; }
.q-components summary span { color: var(--muted); font-weight: 400; }
.q-components { min-width: 0; overflow-x: auto; }
.q-components table { width: 100%; min-width: 0; border-collapse: collapse; font-size: .78rem; table-layout: fixed; }
.q-components th:first-child, .q-components td:first-child { width: calc(100% - 92px); }
.q-components th, .q-components td { overflow-wrap: anywhere; }
.q-components th:last-child, .q-components td:last-child { width: 92px; }
.q-components td:first-child { padding-right: 8px; }
.q-components th { padding: 7px 0; text-align: left; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
.q-components th:last-child { text-align: right; }
.q-components td { padding: 9px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.q-components td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-components td b, .q-components td span, .q-components td small { display: block; }
.q-components td span { color: var(--ink); margin-top: 2px; }
.q-components td small { color: var(--muted); line-height: 1.45; }
.q-offer .btn { margin-top: auto; justify-content: center; }
.q-close { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 22px 26px; background: var(--ink); color: #fff; }
.q-close h3 { font-size: 1.35rem; overflow-wrap: anywhere; }
.q-close .fine { color: rgba(255,255,255,.64); margin-top: 6px; }
.q-close-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.q-close-actions .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.q-saved { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; padding: 18px; background: #EDF7F0; border: 1px solid #B9DCC5; }
.q-saved code { background: #fff; padding: 5px 8px; overflow-wrap: anywhere; }
.q-code-form { display: grid; gap: 18px; }
.q-code-form .f { display: grid; gap: 8px; }
.q-code-form input { width: 100%; border: 1px solid var(--line); background: #fff; padding: 13px 14px; font: inherit; font-size: 1.35rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; border-radius: 2px; }
.q-code-form input:focus { outline: 2px solid var(--sun); outline-offset: 1px; }
.q-code-error { color: #A3261B; font-weight: 600; }
.q-code-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.q-copied, .q-save-error { margin-top: 16px; }
.q-disclaimer { margin-top: 18px; }
@media (max-width: 1100px) {
  .q-facts-grid { grid-template-columns: 1fr 1fr; }
  .q-diagnosis { grid-column: 1 / -1; }
  .q-kpi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .q-facts-grid, .q-offers, .q-analysis { grid-template-columns: 1fr; }
  .q-diagnosis { grid-column: auto; }
  .q-close { align-items: flex-start; flex-direction: column; }
  .q-result-hero { grid-template-columns: 1fr; }
  .q-flow { grid-template-columns: 1fr 1fr; }
  .q-flow i { display: none; }
}
@media (max-width: 560px) {
  .q-kpi-grid { grid-template-columns: 1fr; }
  .q-close-actions, .q-close-actions .btn, .q-code-actions, .q-code-actions .btn { width: 100%; }
  .q-example .link { margin-left: 0; }
  .q-step-head { gap: 12px; }
  .q-step { width: 36px; height: 36px; }
}
