/* Exact — System Map design (D-010). Shared by every page generated by build.mjs. */
:root{--bg:#071226;--bg-2:#0C1B36;--bg-3:#122545;--line:#1E3358;--text:#EAF0FA;--muted:#8DA0C2;--blue:#3D8BFF;--cyan:#5CC8FF;--warm:#FF8A5C;--warn:#FFB86B;--silver:#C3CEDF;
  --f:"Sora",system-ui,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{background:var(--bg);color:var(--text);font-family:var(--f);line-height:1.6}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.wrap{max-width:1280px;margin:0 auto;padding:0 36px}
.ph{display:inline-block;font-size:11px;font-weight:500;letter-spacing:.05em;color:var(--cyan);background:rgba(92,200,255,.08);border:1px solid rgba(92,200,255,.3);border-radius:6px;padding:2px 8px}
.k{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--cyan)}
.skip{position:fixed;top:-100px;left:12px;z-index:100;background:#fff;color:var(--bg);padding:10px 14px;border-radius:8px}
.skip:focus{top:12px}

/* header */
header.top{position:sticky;top:0;z-index:30;background:rgba(7,18,38,.88);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;height:112px;gap:16px}
.brand img{height:92px;width:auto;display:block}
.nav{display:flex;gap:24px;align-items:center}
.nav a{text-decoration:none;font-size:14px;color:var(--muted)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text)}
.nav .q{background:var(--blue);color:#fff;padding:10px 18px;border-radius:10px;font-weight:600;font-size:13px;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 8px 24px -8px rgba(61,139,255,.7)}
.burger{display:none;background:var(--bg-3);border:1px solid var(--line);color:var(--text);border-radius:10px;padding:9px 14px;font-size:13px;cursor:pointer}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;padding:13px 20px;border-radius:10px;font-weight:600;font-size:14px;border:1px solid var(--line);background:none;cursor:pointer}
.btn.p{background:var(--blue);border-color:var(--blue);color:#fff}
.btn:not(.p):hover{border-color:var(--blue)}
.link{background:none;border:0;padding:0;color:var(--cyan);font-weight:600;font-size:14px;text-decoration:none;cursor:pointer}
.link:hover{text-decoration:underline}

/* hero + map */
.hero{padding:22px 0 80px;background:radial-gradient(900px 500px at 70% 30%,rgba(61,139,255,.16),transparent 70%)}
.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap;margin-bottom:24px}
.intro h1{font-weight:300;font-size:clamp(38px,5.4vw,70px);line-height:1.02;letter-spacing:-.03em;max-width:760px;margin-top:12px}
.intro h1 b{font-weight:600;background:linear-gradient(90deg,var(--blue),var(--cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
.intro p{color:var(--muted);max-width:360px}
.map{display:grid;grid-template-columns:1.55fr 1fr;gap:20px}
.stage{background:var(--bg-2);border:1px solid var(--line);border-radius:22px;padding:18px;position:relative}
.stage svg{width:100%;height:auto;display:block}
.stage .cap{font-size:11px;color:var(--muted)}
.stage-foot{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:12px 6px 2px}
.legend{display:flex;flex-wrap:wrap;gap:6px 14px;list-style:none;font-size:11px;color:var(--muted)}
.legend li{display:flex;align-items:center;gap:6px}
.legend i{width:16px;height:3px;border-radius:2px;background:var(--c)}
.replay{position:absolute;top:28px;right:28px;z-index:2;background:rgba(7,18,38,.75);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:6px 11px;font-size:12px;cursor:pointer;backdrop-filter:blur(6px)}
.replay:hover{border-color:var(--blue)}
.sys-label{position:absolute;left:34px;top:30px;z-index:2;pointer-events:none;background:rgba(7,18,38,.78);border:1px solid var(--line);border-left:3px solid var(--cyan);border-radius:10px;padding:10px 18px;backdrop-filter:blur(8px);opacity:0;transform:translateY(-8px);transition:opacity .6s ease,transform .6s ease}
.sys-label.show{opacity:1;transform:none}
.sys-label strong{font-weight:500;font-size:clamp(20px,2.4vw,30px);letter-spacing:-.02em;color:#fff}
.pipe{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.hotp{stroke:#FF5C5C;opacity:.55}.heat{stroke:#FF9F5C;opacity:.55}.cold{stroke:var(--blue);opacity:.55}.gasl{stroke:#E8C547;opacity:.55}.refr{stroke:#B983FF;opacity:.55}
.flow{stroke-dasharray:4 10;animation:f 1.4s linear infinite;opacity:1}
@keyframes f{to{stroke-dashoffset:-28}}
@keyframes p{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.6);opacity:0}}
/* house reveal: site.js clips the exterior photo away, then flow overlays + hotspots fade in */
.house .scan{opacity:0}
.house.scanning .scan{opacity:1}
.house .fl{fill:none;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:18 30;animation:f2 1.3s linear infinite;opacity:0;transition:opacity .9s}
.house.flowing .fl{opacity:.1}
.house.flowing .fl.on{opacity:.95}
.house .flows{filter:drop-shadow(0 0 6px rgba(255,255,255,.55))}
.fl.hot{stroke:#FF6B5C}.fl.cold{stroke:#4C9BFF}.fl.heat{stroke:#FFA25C}.fl.gas{stroke:#F2CF4F}.fl.refr{stroke:#C08CFF}
@keyframes f2{to{stroke-dashoffset:-48}}
@media (prefers-reduced-motion:reduce){.house .fl{animation:none}}
@media (prefers-reduced-motion:reduce){.flow{animation:none}html{scroll-behavior:auto}}
.panel{background:var(--bg-2);border:1px solid var(--line);border-radius:22px;padding:32px;display:flex;flex-direction:column}
.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:26px}
.tabs button{background:var(--bg-3);border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:7px 12px;font-size:12px;cursor:pointer}
.tabs button[aria-selected="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.panel h2{font-size:30px;font-weight:500;letter-spacing:-.02em;margin:10px 0}
.panel p{color:var(--muted)}
.ticks{list-style:none;margin:20px 0 28px}
.ticks li{padding:11px 0;border-top:1px solid var(--line);font-size:14px;display:flex;gap:10px}
.ticks li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--cyan);margin-top:8px;flex:none}
.panel .go{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap;align-items:center}

/* sections */
section{padding:96px 0;border-top:1px solid var(--line)}
.alt{background:linear-gradient(180deg,var(--bg-2),var(--bg) 80%)}
.sh{margin-bottom:40px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.sh h2{font-weight:300;font-size:clamp(32px,4vw,52px);letter-spacing:-.025em;line-height:1.08;margin-top:10px}
.sh p{color:var(--muted);max-width:420px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cards.three{grid-template-columns:repeat(3,1fr)}
.cards.two{grid-template-columns:repeat(2,1fr)}
.card{background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:24px;min-height:200px;display:flex;flex-direction:column;gap:10px}
.card h3{font-weight:500;font-size:19px}
.card p{color:var(--muted);font-size:14px}
.card .grow{flex:1}
.card .link{align-self:flex-start;text-align:left}
.card .num{font-size:12px;font-weight:600;letter-spacing:.12em;color:var(--cyan)}
.card .ticks{margin:6px 0 10px}
.card h4{font-size:13px;font-weight:600;color:var(--silver);margin-top:6px}
.shot{aspect-ratio:4/3;border-radius:12px;border:1px dashed #2C4672;background:linear-gradient(135deg,rgba(61,139,255,.08),transparent);display:grid;place-items:center;font-size:12px;color:var(--muted);text-align:center;padding:10px}
.wide{grid-column:span 2}
.note{color:var(--muted);font-size:13px;margin-top:22px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.chips button,.chips a{background:var(--bg-2);border:1px solid var(--line);color:var(--muted);border-radius:99px;padding:9px 16px;font-size:13px;cursor:pointer;text-decoration:none}
.chips button:hover,.chips a:hover{border-color:var(--blue);color:var(--text)}
.chips [aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.chips .warn{border-color:rgba(255,184,107,.5);color:var(--warn)}
.flowsteps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.flowsteps div{padding:24px;border-radius:18px;background:var(--bg-2);border:1px solid var(--line)}
.flowsteps b{font-size:40px;font-weight:300;color:var(--blue);display:block;line-height:1}
.flowsteps h3{font-weight:500;font-size:18px;margin:14px 0 6px}
.flowsteps p{color:var(--muted);font-size:14px}

/* problem selector */
.problem{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;align-items:start}
.problem .chips{margin:0}
.answer{background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:28px;min-height:220px}
.answer h3{font-weight:500;font-size:22px;margin-bottom:8px}
.answer p{color:var(--muted)}
.answer ol{margin:16px 0 20px 20px;font-size:14px}
.answer ol li{margin:6px 0}
.answer.warn{border-color:rgba(255,184,107,.55);background:linear-gradient(135deg,rgba(255,184,107,.08),var(--bg-2))}
.answer.warn h3{color:var(--warn)}

/* faq */
.faq{display:grid;grid-template-columns:1fr 1.4fr;gap:40px}
.faq details{border-top:1px solid var(--line);padding:18px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;font-weight:500}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--cyan);font-size:20px;line-height:1}
.faq details[open] summary::after{content:"−"}
.faq details p{color:var(--muted);font-size:14px;margin-top:12px;max-width:640px}

/* quote form */
.quote{display:grid;grid-template-columns:1fr 1.35fr;gap:32px;align-items:start}
.qform{background:var(--bg-2);border:1px solid var(--line);border-radius:22px;padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.qform label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:var(--silver)}
.qform .full{grid-column:1/-1}
.qform input,.qform select,.qform textarea{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px;font-size:15px;color:var(--text)}
.qform select option{background:var(--bg)}
.qform textarea{min-height:110px;resize:vertical}
.qform input:focus,.qform select:focus,.qform textarea:focus{border-color:var(--blue);outline:none}
.drop{border:2px dashed #2C4672;border-radius:12px;padding:20px;text-align:center;color:var(--muted);font-size:14px}
.status{grid-column:1/-1;font-size:14px;padding:12px 14px;border-radius:10px;background:rgba(92,200,255,.08);border:1px solid rgba(92,200,255,.3)}
.status[hidden]{display:none}

/* emergency */
.emer{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border:1px solid rgba(255,184,107,.4);border-radius:18px;padding:26px 30px;background:linear-gradient(135deg,rgba(255,184,107,.07),transparent)}
.emer h2{font-weight:400;font-size:24px}
.emer p{color:var(--muted);font-size:14px;max-width:640px}

/* contact */
.cta{background:linear-gradient(135deg,#0F3A80,#071226 70%);border-radius:28px;padding:56px;display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;border:1px solid var(--line)}
.cta h2{font-weight:300;font-size:clamp(32px,4vw,52px);letter-spacing:-.025em;line-height:1.05}
.cta .opts{display:flex;flex-direction:column;gap:10px}
.cta .opts a,.cta .opts button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);text-decoration:none;font-weight:500;cursor:pointer;text-align:left;width:100%}
.cta .opts a:hover,.cta .opts button:hover{background:rgba(255,255,255,.12)}
.cta .opts .p{background:var(--blue);border-color:var(--blue)}

/* service pages */
.svc-hero{padding:22px 0 28px;background:radial-gradient(800px 420px at 80% 20%,rgba(61,139,255,.16),transparent 70%)}
.svc-hero + section{padding-top:40px;border-top:0}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:18px}
.crumbs a{color:var(--cyan);text-decoration:none}
.svc-hero h1{font-weight:300;font-size:clamp(38px,5vw,64px);letter-spacing:-.03em;line-height:1.05}
.svc-hero .lead{color:var(--muted);font-size:18px;max-width:640px;margin:18px 0 28px}
.svc-hero .go{display:flex;gap:10px;flex-wrap:wrap}
.other{display:flex;flex-wrap:wrap;gap:8px}

/* footer */
footer{padding:44px 0 32px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}
footer .fmain{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:22px}
footer .fmain img{height:110px;width:auto;display:block}
footer .flinks{display:flex;flex-wrap:wrap;gap:8px 20px}
footer .flinks a{text-decoration:none}
footer .flinks a:hover{color:var(--text)}
footer .fbottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* chat */
.chat-launcher{position:fixed;right:22px;bottom:22px;z-index:40;display:flex;align-items:center;gap:12px;background:var(--bg-2);border:1px solid #2C4672;border-radius:16px;padding:12px 16px;color:var(--text);cursor:pointer;box-shadow:0 18px 40px -16px rgba(0,0,0,.7)}
.chat-launcher:hover{border-color:var(--blue)}
.chat-launcher svg{width:30px;height:30px;color:var(--cyan)}
.chat-launcher strong{display:block;font-size:14px;font-weight:600;text-align:left}
.chat-launcher small{display:block;font-size:11px;color:var(--muted);text-align:left}
dialog.chat{margin:auto 22px 22px auto;width:min(400px,calc(100% - 24px));max-height:min(640px,calc(100dvh - 44px));background:var(--bg-2);color:var(--text);border:1px solid #2C4672;border-radius:20px;padding:0;overflow:hidden}
dialog.chat[open]{display:flex;flex-direction:column}
dialog.chat::backdrop{background:rgba(3,10,24,.55)}
.chat-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}
.chat-head h2{font-size:16px;font-weight:600}
.chat-head p{font-size:12px;color:var(--muted)}
.chat-close{background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:var(--muted)}
.chat-disc{font-size:11px;color:var(--muted);padding:10px 18px;background:rgba(92,200,255,.06);border-bottom:1px solid var(--line)}
.chat-log{flex:1;overflow:auto;padding:16px 18px;display:flex;flex-direction:column;gap:10px;min-height:180px}
.msg{font-size:14px;padding:9px 13px;border-radius:12px;background:var(--bg-3);max-width:88%;white-space:pre-wrap;overflow-wrap:anywhere}
.msg.me{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:4px}
.msg.staff{border-bottom-left-radius:4px}
.msg.note{align-self:center;max-width:94%;background:none;border:1px dashed var(--line);font-size:12px;color:var(--muted);text-align:center}
.msg.pending{opacity:.6}
.msg.failed{background:#7a2433}
.msg-name{display:block;font-size:11px;font-weight:600;color:var(--cyan);margin-bottom:2px}
.chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 12px}
.chat-quick button{background:var(--bg-3);border:1px solid var(--line);border-radius:99px;padding:6px 11px;font-size:12px;cursor:pointer}
.chat-quick button:hover{border-color:var(--blue)}
.chat-req{margin:0 18px 14px;background:none;border:1px solid var(--line);border-radius:10px;padding:10px;font-size:13px;font-weight:600;cursor:pointer}
.chat-req:hover{border-color:var(--blue)}
.chat-form{display:flex;flex-direction:column;gap:8px;padding:12px 18px 10px;border-top:1px solid var(--line)}
.chat-id{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chat-id[hidden]{display:none}
.chat-id label span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}
.chat-id em{font-style:normal;opacity:.75}
.chat-form input,.chat-form textarea{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:9px 11px;font:inherit;font-size:14px;color:var(--text)}
.chat-form textarea{resize:none;min-height:42px;max-height:120px;field-sizing:content}
.chat-form .hp{position:absolute;left:-9999px;width:1px;height:1px}
.chat-row{display:flex;gap:8px;align-items:flex-end}
.chat-row button{background:var(--blue);border:0;border-radius:10px;height:42px;padding:0 15px;color:#fff;cursor:pointer;flex:none}
.chat-fine{font-size:11px;color:var(--muted)}
.chat-fine[hidden]{display:none}
.chat-who{display:flex;gap:11px;align-items:center}
.chat-av{position:relative;width:36px;height:36px;border-radius:50%;background:var(--blue);display:grid;place-items:center;font-weight:700;color:#fff}
.chat-av::after{content:"";position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;background:#2fd17a;border:2px solid var(--bg-2)}
.chat-human{font-weight:600;color:#7fe0a8}
.chat-dot{position:absolute;top:-4px;right:-4px;width:14px;height:14px;border-radius:50%;background:#2fd17a;border:2px solid var(--bg)}
.chat-dot[hidden]{display:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:1060px){
  .nav{display:none;position:absolute;top:112px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;padding:12px 36px 24px;gap:16px}
  .nav.open{display:flex}
  .burger{display:block}
  .map,.cta,.problem,.faq,.quote{grid-template-columns:1fr}
  .cards,.flowsteps,.cards.three{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .wrap{padding:0 16px}
  .nav{padding:12px 16px 24px}
  html{scroll-padding-top:84px}
  header.top .wrap{height:84px}
  .nav{top:84px}
  .brand img{height:66px}
  .cards,.cards.three,.cards.two,.flowsteps,.qform{grid-template-columns:1fr}
  .wide{grid-column:auto}
  .stage{padding:8px;border-radius:16px}
  .replay{top:16px;right:16px}
  .sys-label{left:16px;top:14px;padding:7px 12px 9px}
  .panel,.qform{padding:22px}
  .cta{padding:28px}
  section{padding:64px 0}
  footer .fmain img{height:80px}
  .chat-launcher{right:12px;bottom:12px;padding:10px 12px}
  .chat-launcher small{display:none}
  dialog.chat{margin:auto 12px 12px auto}
}
/* launch (2026-11-13): chat fallback panel, phone link in nav */
dialog.chat [hidden]{display:none!important}
.chat-off{display:flex;flex-direction:column;gap:10px;padding:18px}
.chat-off p{font-size:14px;color:var(--muted)}
.chat-off .btn{justify-content:center;text-align:center}
.nav .tel{font-weight:600;color:var(--text)}
