/* Just Tint 网站共用样式。WhatsApp 号码等设定在 assets/site.js 最上面 */
:root{
  --ink:#121416; --ink-2:#2b2e31; --text:#3b3e42; --muted:#6c6f73;
  --paper:#f5f3ef; --white:#ffffff; --line:#e3dfd7; --line-dark:#2c2f33;
  --accent:#c8102e; --wa:#1fa855;
  --radius:14px; --maxw:1160px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",Roboto,Helvetica,Arial,sans-serif;
  /* 图表颜色（已通过色盲检测） */
  --s-reflect:#2a78d6; --s-absorb:#eb6834; --s-transmit:#c8102e;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:76px}
body{font-family:var(--font);color:var(--text);background:var(--white);line-height:1.7;font-size:16px;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{color:var(--ink);line-height:1.25;letter-spacing:-.01em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{padding:104px 0}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.h2{font-size:clamp(28px,3.6vw,42px);font-weight:700;max-width:780px}
.lede{font-size:18px;color:var(--muted);max-width:640px;margin-top:16px}
.head{margin-bottom:56px}
.head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:48px}
.head-row .head{margin-bottom:0}
.sr-only{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* 语言切换 */
html[data-lang="zh"] [lang="en"]{display:none!important}
html[data-lang="en"] [lang="zh"]{display:none!important}

/* 按钮 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-weight:600;font-size:16px;text-decoration:none;border-radius:999px;padding:14px 26px;border:1px solid transparent;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.btn svg{width:20px;height:20px;flex:none;fill:currentColor}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover{background:#178a45}
.btn-ghost{border-color:rgba(255,255,255,.35);color:#fff}
.btn-ghost:hover{border-color:#fff}
.btn-line{border-color:var(--line);color:var(--ink);background:#fff}
.btn-line:hover{border-color:var(--ink)}
.link-arrow{font-weight:600;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:2px;white-space:nowrap}

/* 导航 */
.nav{position:sticky;top:0;z-index:40;background:rgba(18,20,22,.94);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line-dark)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:68px;gap:20px}
.brand img{height:38px;width:auto}
.nav-links{display:flex;gap:26px;list-style:none}
.nav-links a{text-decoration:none;color:#c9cbce;font-size:15px}
.nav-links a:hover{color:#fff}
.nav-right{display:flex;align-items:center;gap:12px}
.lang{display:flex;border:1px solid #3a3d41;border-radius:999px;overflow:hidden}
.lang button{font:inherit;font-size:13px;font-weight:600;background:none;border:0;color:#9a9da1;padding:6px 12px;cursor:pointer}
.lang button[aria-pressed="true"]{background:#fff;color:var(--ink)}
.nav .btn{padding:9px 18px;font-size:14px}

/* Hero */
.hero{background:var(--ink);color:#d7d9dc;padding:84px 0 92px;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center}
.hero h1{color:#fff;font-size:clamp(36px,5vw,60px);font-weight:800;line-height:1.12}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero p.sub{font-size:18px;margin-top:22px;max-width:520px;color:#b8bbbf}
.hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.collage{position:relative;display:grid;grid-template-columns:.8fr 1fr;grid-template-rows:1fr 1fr;gap:12px;aspect-ratio:1.18/1}
.collage img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.collage .tall{grid-row:1 / span 2}
.badge{position:absolute;left:-26px;bottom:26px;background:#fff;color:var(--ink);border-radius:12px;padding:14px 18px;box-shadow:0 18px 40px rgba(0,0,0,.35);display:flex;gap:14px;align-items:center}
.badge img{height:38px;width:auto;flex:none}
.badge span{font-size:13px;line-height:1.35;color:var(--muted)}
.badge strong{display:block;color:var(--ink);font-size:15px}

/* 数字 */
.stats-wrap{background:var(--paper);border-bottom:1px solid var(--line)}
.stats{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:34px 24px;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat b{display:block;font-size:34px;font-weight:800;color:var(--ink);line-height:1.1}
.stat span{font-size:14px;color:var(--muted)}
.stat b span{font-size:inherit;color:inherit}

/* 服务 */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.svc{background:#fff;padding:36px 32px 40px}
.svc>svg{width:38px;height:38px;stroke:var(--ink);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.svc h3{font-size:21px;margin:22px 0 10px}
.svc p{font-size:15px;color:var(--muted)}
.svc.cta-card{background:var(--ink);color:#b8bbbf;display:flex;flex-direction:column;justify-content:space-between}
.svc.cta-card h3{color:#fff;margin-top:0}
.svc.cta-card .btn{align-self:flex-start;margin-top:24px}

/* 客户 & 项目 */
.clients-sec{background:var(--paper)}
.proj-cta{margin-top:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border:1px solid var(--line);border-radius:14px;background:#fff}
.proj-cta p{margin:0;max-width:560px;color:var(--ink)}
.logo-wall{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}
.logo-wall li{list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;height:92px;display:flex;align-items:center;justify-content:center;padding:14px 16px}
.logo-wall img{max-height:52px;max-width:100%;width:auto;object-fit:contain}
.logo-wall img.sq{max-height:62px}
.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 22px;margin-top:64px}
.proj img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px}
.proj figcaption{margin-top:12px;font-size:15px;color:var(--ink);font-weight:600;line-height:1.4}
.proj figcaption .loc{display:block;font-weight:400;font-size:13px;color:var(--muted);margin-top:3px}
.proj .tag{display:block;font-size:12px;font-weight:600;color:var(--accent);letter-spacing:.06em;margin-bottom:4px}
.sectors{display:flex;flex-wrap:wrap;gap:8px;margin-top:36px}
.sectors span{font-size:13px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;color:var(--text)}

/* 太阳能量图表 */
.science .wrap{display:grid;grid-template-columns:1fr 1.25fr;gap:64px;align-items:center}
.chart{background:#fff;position:relative}
.legend{display:flex;flex-wrap:wrap;gap:8px 22px;margin-bottom:26px;font-size:14px;color:var(--text)}
.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:8px;vertical-align:-1px}
.sbar{margin-bottom:30px}
.sbar .label{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-bottom:10px}
.sbar .label h3{font-size:16px;font-weight:600}
.sbar .label b{font-size:14px;color:var(--muted);font-weight:500;white-space:nowrap}
.sbar .label b strong{color:var(--ink);font-size:22px;font-weight:800}
.stack{display:flex;gap:2px;height:52px}
.stack .seg{border-radius:4px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:700;min-width:0;overflow:hidden;white-space:nowrap;cursor:default;outline-offset:2px}
.stack .seg:hover,.stack .seg:focus{filter:brightness(1.08)}
.s-reflect{background:var(--s-reflect)}
.s-absorb{background:var(--s-absorb)}
.s-transmit{background:var(--s-transmit)}
.axis{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:-18px;border-top:1px solid var(--line);padding-top:6px}
.science .big{font-size:clamp(54px,7vw,84px);font-weight:800;color:var(--ink);line-height:1;letter-spacing:-.03em;margin-top:30px}
.science .big small{font-size:.4em;color:var(--muted);font-weight:600;letter-spacing:0;margin:0 10px}
.science .big em{font-style:normal;color:var(--s-transmit)}
.science .note{font-size:14px;color:var(--muted);margin-top:10px}
.fine{font-size:13px;color:var(--muted);margin-top:18px}

/* 选膜 3 步骤 */
.guide{background:var(--paper)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.step{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.step img{aspect-ratio:3/2;object-fit:cover;width:100%}
.step .body{padding:28px}
.step .n{font-size:13px;font-weight:700;color:var(--accent);letter-spacing:.12em}
.step h3{font-size:21px;margin:8px 0 12px}
.step p{font-size:15px}
.step .tip{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.step .tip b{color:var(--ink)}

/* 行家内幕 */
.insider .wrap{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.insider .pics{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.insider .pics img{border-radius:10px;aspect-ratio:3/2;object-fit:cover;width:100%}
.insider .pics figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.insider ul{list-style:none;margin-top:28px;border-top:1px solid var(--line)}
.insider li{padding:16px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:44px 1fr;gap:4px;font-size:15px}
.insider li b{color:var(--ink)}

/* 成本比较 */
.cost{background:var(--ink);color:#b8bbbf}
.cost .h2,.cost h3{color:#fff}
.cost .lede{color:#9a9da1}
.bars{margin-top:8px;display:grid;gap:36px}
.bar-row .label{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}
.bar-row .label h3{font-size:18px;font-weight:600}
.bar-row .label .total{font-size:28px;font-weight:800;color:#fff;white-space:nowrap}
.bar{display:flex;gap:2px;height:56px}
.bar .seg{border-radius:4px;display:flex;align-items:center;padding:0 14px;font-size:13px;font-weight:600;color:var(--ink);overflow:hidden;white-space:nowrap;min-width:0;cursor:default}
.seg.brand{background:#fff}
.seg.first{background:#8a8e93;color:#fff}
.seg.remove{background:#b3b6ba}
.seg.redo{background:#e3e4e6}
.bar-row .note{font-size:14px;color:#8a8e93;margin-top:10px}
.cost-callout{margin-top:48px;padding:28px 32px;border:1px solid var(--line-dark);border-radius:var(--radius);display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.cost-callout p{font-size:18px;color:#fff;max-width:620px}
.cost-callout p b{color:#ff5a6e;font-weight:800}
.cost .fine{color:#74777b}

/* tooltip */
.tip-pop{position:fixed;z-index:60;pointer-events:none;background:var(--ink);color:#fff;font-size:13px;line-height:1.45;padding:9px 12px;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.25);max-width:260px;opacity:0;transition:opacity .12s}
.tip-pop.on{opacity:1}
.cost .tip-pop{background:#fff;color:var(--ink)}

/* 影片 */
.vgrid{display:grid;gap:26px}
.vgrid.four{grid-template-columns:repeat(4,1fr)}
.vgrid.three{grid-template-columns:repeat(3,1fr)}
.video{position:relative;display:block;border-radius:12px;overflow:hidden;background:#000;aspect-ratio:8/7;text-decoration:none}
.video img{width:100%;height:100%;object-fit:cover;transition:transform .5s,opacity .3s;opacity:.94}
.video:hover img{transform:scale(1.03);opacity:1}
.video .play{position:absolute;left:50%;top:50%;width:60px;height:60px;margin:-30px 0 0 -30px;border-radius:50%;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.video .play svg{width:22px;height:22px;fill:var(--ink);margin-left:4px}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vcap{margin-top:12px;font-size:15px;color:var(--ink);font-weight:600;line-height:1.45}
.vcap .vsub{display:block;font-weight:400;color:var(--muted);font-size:13px;margin-top:3px}
.vhead{font-size:20px;margin:0 0 20px}
.vhead.second{margin-top:64px}

/* 保家 */
.warranty{background:var(--paper)}
.warranty .wrap{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.warranty .pair{display:grid;grid-template-columns:1.3fr 1fr;gap:14px}
.warranty .pair img{border-radius:10px;width:100%;height:100%;object-fit:cover}
.checks{list-style:none;margin-top:28px}
.checks li{display:flex;gap:14px;padding:9px 0;font-size:16px}
.checks svg{flex:none;width:22px;height:22px;stroke:var(--accent);fill:none;stroke-width:2.2;margin-top:3px}
.brands{display:grid;grid-template-columns:1fr;gap:10px;margin-top:30px;max-width:220px}
.brands li{list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;height:78px;display:flex;align-items:center;justify-content:center;padding:12px}
.brands img{max-height:48px;max-width:100%;width:auto}

/* 流程 */
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.proc{border-top:2px solid var(--ink);padding-top:22px}
.proc .n{font-size:13px;font-weight:700;color:var(--accent);letter-spacing:.12em}
.proc h3{font-size:19px;margin:8px 0}
.proc p{font-size:15px;color:var(--muted)}

/* FAQ */
.faq{background:var(--paper)}
.faq .wrap{display:grid;grid-template-columns:1fr 1.6fr;gap:64px}
details{border-bottom:1px solid var(--line);padding:22px 0}
details:first-child{border-top:1px solid var(--line)}
summary{cursor:pointer;list-style:none;font-size:18px;font-weight:600;color:var(--ink);display:flex;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-weight:400;font-size:24px;line-height:1;color:var(--muted);transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details p{margin-top:12px;font-size:15px;max-width:640px}

/* 联络 */
.contact{background:var(--ink);color:#b8bbbf}
.contact .h2{color:#fff}
.contact .lede{color:#9a9da1}
.contact .wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:stretch}
.info{list-style:none;margin-top:34px;border-top:1px solid var(--line-dark)}
.info li{display:grid;grid-template-columns:28px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid var(--line-dark);font-size:15px}
.info svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.info b{display:block;color:#fff;font-weight:600;font-size:16px}
.info a{color:#fff}
.contact .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.socials{display:flex;gap:10px}
.socials a{width:48px;height:48px;border-radius:50%;border:1px solid #3a3d41;display:flex;align-items:center;justify-content:center;color:#fff}
.socials a:hover{border-color:#fff}
.socials svg{width:20px;height:20px;fill:#fff}
.map{border-radius:var(--radius);overflow:hidden;min-height:420px;background:#1c1f22;position:relative}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.25)}
footer{background:#0b0c0d;color:#74777b;font-size:14px;padding:40px 0 100px}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px}
footer img{height:34px;width:auto}
footer b{color:#c9cbce}

/* 浮动 WhatsApp */
.float-wa{position:fixed;right:20px;bottom:20px;z-index:50;width:60px;height:60px;border-radius:50%;background:var(--wa);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.28)}
.float-wa svg{width:32px;height:32px;fill:#fff}

/* 手机版 */
@media (max-width:1060px){
  .logo-wall{grid-template-columns:repeat(5,1fr)}
  .vgrid.four{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:960px){
  section{padding:76px 0}
  .nav-links{display:none}
  .hero{padding:56px 0 64px}
  .hero .wrap,.insider .wrap,.warranty .wrap,.faq .wrap,.science .wrap,.contact .wrap{grid-template-columns:1fr;gap:40px}
  .badge{left:12px;bottom:12px}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:0}
  .stat:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .services{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .process{grid-template-columns:1fr 1fr}
  .projects{grid-template-columns:1fr 1fr}
  .logo-wall{grid-template-columns:repeat(4,1fr)}
  .head{margin-bottom:40px}
  .map{min-height:320px}
}
@media (max-width:620px){
  .wrap{padding:0 16px}
  .brand img{height:30px}
  .nav .btn span{display:none}
  .nav .btn{padding:9px 12px}
  .services,.process,.projects{grid-template-columns:1fr}
  .logo-wall{grid-template-columns:repeat(3,1fr);gap:8px}
  .logo-wall li{height:72px;padding:10px}
  .logo-wall img{max-height:40px}
  .brands{grid-template-columns:repeat(2,1fr)}
  .stat{padding:26px 16px}
  .stat b{font-size:28px}
  .svc{padding:30px 24px 32px}
  .bar{height:48px}
  .bar .seg{font-size:12px;padding:0 8px}
  .lbl-long{display:none}
  .stack .seg{font-size:12px}
  .cost-callout{padding:24px}
  .hero .ctas .btn,.contact .ctas .btn{flex:1 1 100%}
  /* 影片在手机上横向滑动 */
  .vgrid.four,.vgrid.three{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin:0 -16px;padding:0 16px 8px;scroll-padding-inline:16px;scrollbar-width:none}
  .vgrid::-webkit-scrollbar{display:none}
  .vgrid>div{flex:0 0 76%;scroll-snap-align:start}
  .swipe-hint{display:block!important}
}
.swipe-hint{display:none;font-size:13px;color:var(--muted);margin:-8px 0 14px}

/* ===== 多页新增 ===== */
.nav .wrap{position:relative}
.nav-links a[aria-current="page"]{color:#fff;box-shadow:inset 0 -2px 0 var(--accent);padding-bottom:4px}
.menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;border:1px solid #3a3d41;background:none;cursor:pointer}
.menu-btn svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round}
@media (max-width:1060px){
  .nav-links{display:none}
  .menu-btn{display:flex}
  .nav-links.open{display:flex!important;position:absolute;top:68px;left:0;right:0;flex-direction:column;gap:0;background:var(--ink);padding:6px 24px 18px;border-bottom:1px solid var(--line-dark)}
  .nav-links.open a{display:block;padding:13px 0;border-bottom:1px solid var(--line-dark);font-size:16px}
  .nav-links.open a[aria-current="page"]{box-shadow:none;color:#fff}
}
.hero.sub{padding:64px 0 76px}
.hero.sub h1{font-size:clamp(32px,4.4vw,52px)}
.hero.sub .wrap.solo{grid-template-columns:1fr;max-width:var(--maxw)}
.hero.sub .wrap.solo p.sub{max-width:720px}
.hero-img{position:relative}
.hero-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.crumbs{font-size:13px;color:#8a8e93;margin-bottom:18px}
.crumbs a{color:#b8bbbf;text-decoration:none}
.crumbs a:hover{color:#fff}
a.svc{text-decoration:none;display:block;transition:background .2s}
a.svc:hover{background:#fbfaf8}
a.svc:hover h3{color:var(--accent)}
.svc-more{display:inline-block;margin-top:18px;font-weight:600;color:var(--ink);font-size:15px;border-bottom:1px solid var(--ink);padding-bottom:1px}
.cases{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.case{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px 28px 30px}
.case .tag{font-size:12px;font-weight:600;color:var(--accent);letter-spacing:.06em}
.case h3{font-size:19px;margin:6px 0 14px}
.case dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:14px;margin:0}
.case dt{color:var(--muted);white-space:nowrap}
.case dd{color:var(--ink);margin:0}
.case p{font-size:15px;margin-top:14px}
.cars{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.cars span{font-size:14px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 16px;color:var(--ink)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.two-col img{border-radius:12px;width:100%;aspect-ratio:3/2;object-fit:cover}
.note-box{margin-top:28px;padding:18px 20px;border-left:3px solid var(--accent);background:var(--paper);font-size:15px;color:var(--ink);border-radius:0 10px 10px 0}
.foot-links{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none}
footer a{color:#9a9da1;text-decoration:none}
footer a:hover{color:#fff}
footer .foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;width:100%}
@media (max-width:960px){
  .hero.sub{padding:48px 0 56px}
  .cases,.two-col{grid-template-columns:1fr;gap:28px}
}
@media (max-width:620px){
  .case{padding:22px}
}
