@font-face { font-family: 'Unbounded'; src: url(fonts/unbounded-latin.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; src: url(fonts/unbounded-latin-ext.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; src: url(fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #12161b;
  --ink-2: #1a2027;
  --ink-3: #252d36;
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --white: #fbfaf7;
  --hot: #e0402d;
  --hot-2: #ff7a52;
  --cold: #1d6fe0;
  --cold-2: #5ea2ff;
  --copper: #c8743f;
  --steel: #8a949e;
  --wa: #1faa59;
  --txt: #12161b;
  --muted: #5b636c;
  --line-l: rgba(18, 22, 27, .12);
  --line-d: rgba(243, 241, 236, .12);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;
  --pad: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hot); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cold-2); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--paper); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--c); font: 600 16px/1 var(--body); text-decoration: none;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-hot { --b: var(--hot); --c: #fff; box-shadow: 0 10px 30px -10px rgba(224, 64, 45, .7); }
.btn-hot:hover { box-shadow: 0 14px 34px -8px rgba(224, 64, 45, .85); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(243, 241, 236, .35); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-line { background: transparent; color: var(--paper); border-color: var(--line-d); }
.btn-dark { --b: var(--ink); --c: var(--paper); }
.btn-line-dark { background: transparent; color: var(--ink); border-color: var(--line-l); }
.btn-wa { --b: var(--wa); --c: #fff; width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 12px var(--pad); transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(18, 22, 27, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line-d); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.logo svg path { fill: none; stroke-width: 7; stroke-linecap: round; }
.logo svg .h { stroke: var(--hot); }
.logo svg .c { stroke: var(--cold); }
.logo b { display: block; font: 800 19px/1 var(--display); letter-spacing: .02em; }
.logo small { display: block; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; color: var(--steel); margin-top: 5px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; color: rgba(243, 241, 236, .78); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--paper); background: rgba(243, 241, 236, .07); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.gauge { position: relative; width: 48px; height: 48px; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.g-ring { fill: var(--ink-2); stroke: rgba(243, 241, 236, .2); stroke-width: 1.5; }
.g-arc { fill: none; stroke: rgba(243, 241, 236, .18); stroke-width: 2.5; stroke-dasharray: 1 3.2; }
.g-cold { fill: none; stroke: var(--cold); stroke-width: 2.5; }
.g-hot { fill: none; stroke: var(--hot); stroke-width: 2.5; }
.g-needle { stroke: var(--paper); stroke-width: 2; stroke-linecap: round; }
#needle { transform-origin: 24px 24px; transform: rotate(-125deg); }
.g-hub { fill: var(--copper); }
.g-val { position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%); font: 600 8px/1 var(--mono); color: var(--steel); background: var(--ink); padding: 1px 3px; border-radius: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, #1d2630 0%, var(--ink) 55%); }
.pipes { position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: 48%; height: 100%; pointer-events: none; opacity: .92; }
@media (min-width: 1441px) { .pipes { width: calc(50% - 720px + 1240px * .48); } }
.p-body { fill: none; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.pipe-hot .p-body { stroke: url(#gHot); }
.pipe-cold .p-body { stroke: url(#gCold); }
.p-flow { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 34; animation: flow 1.6s linear infinite; }
.pipe-cold .p-flow { animation-duration: 2.2s; stroke: rgba(220, 236, 255, .6); }
@keyframes flow { to { stroke-dashoffset: -36; } }
.fittings rect { fill: #9aa3ad; stroke: #4c555f; stroke-width: 2; }

.hero-inner {
  position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 120px var(--pad) 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--steel); margin: 0 0 22px; padding: 7px 12px; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(18, 22, 27, .6); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 170, 89, .2); }
.h1 { font: 800 clamp(44px, 7.4vw, 104px)/.98 var(--display); letter-spacing: -.035em; margin: 0 0 26px; text-wrap: balance; }
.h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.h1 .line > span { display: inline-block; }
.h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--hot), var(--hot-2) 45%, var(--cold-2) 55%, var(--cold)); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(243, 241, 236, .78); max-width: 34em; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; color: rgba(243, 241, 236, .75); }
.rating b { color: var(--paper); font: 700 16px/1 var(--display); }
.stars { color: #ffb53d; letter-spacing: 2px; }

.hero-photo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border: 1px solid var(--line-d); aspect-ratio: 4 / 4.4; background: var(--ink-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.08); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 22, 27, .1) 40%, rgba(18, 22, 27, .85)); }
.hero-photo figcaption { position: absolute; left: 18px; right: 18px; top: 16px; z-index: 2; display: flex; justify-content: space-between; font-size: 11px; color: rgba(243, 241, 236, .85); }
.hero-photo figcaption span { background: rgba(18, 22, 27, .6); padding: 6px 9px; border-radius: 6px; backdrop-filter: blur(6px); }
.readout { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 6px; font-size: 13px; }
.readout div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(18, 22, 27, .7); border: 1px solid var(--line-d); border-radius: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.readout b { margin-left: auto; font-weight: 600; font-size: 16px; color: var(--paper); font-variant-numeric: tabular-nums; }
.readout i { width: 9px; height: 9px; border-radius: 50%; }
.readout i.hot { background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.readout i.cold { background: var(--cold); box-shadow: 0 0 10px var(--cold); }
.readout i.bar { background: var(--copper); }

.ticker { position: relative; z-index: 2; border-top: 1px solid var(--line-d); background: rgba(18, 22, 27, .75); overflow: hidden; font-size: 13px; color: rgba(243, 241, 236, .7); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { padding: 16px 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.ticker span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec.light { background: var(--paper); color: var(--txt); }
.sec.dark { background: var(--ink); color: var(--paper); }
.sec-head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 760px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head.row .sec-lead { max-width: 26em; margin: 0; }
.tag { display: flex; align-items: center; gap: 12px; font-size: 12px; margin: 0 0 20px; color: var(--copper); font-weight: 600; }
.tag span { display: inline-grid; place-items: center; height: 24px; min-width: 34px; padding: 0 8px; border-radius: 999px; border: 1px solid currentColor; font-size: 11px; }
.tag::after { content: ''; height: 2px; width: 60px; background: linear-gradient(90deg, var(--hot), var(--cold)); border-radius: 2px; }
.h2 { font: 700 clamp(32px, 4.6vw, 62px)/1.04 var(--display); letter-spacing: -.03em; margin: 0 0 22px; text-wrap: balance; }
.hot-t { font-style: normal; color: var(--hot); }
.cold-t { font-style: normal; color: var(--cold-2); }
.sec-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 38em; margin: 0; }
.dark .sec-lead { color: rgba(243, 241, 236, .7); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  --t: var(--cold); position: relative; padding: 30px 28px 32px; border-radius: 20px; background: var(--white);
  border: 1px solid var(--line-l); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.svc[data-t="hot"] { --t: var(--hot); }
.svc::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--t); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(18, 22, 27, .35); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc svg { width: 52px; height: 52px; fill: none; stroke: var(--t); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.svc h3 { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 10px; }
.svc p { margin: 0; color: var(--muted); font-size: 16px; }
.svc-n { position: absolute; right: 22px; top: 26px; font-size: 12px; color: rgba(18, 22, 27, .3); }

/* leak scanner */
.leak-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 2px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line-d); }
.steps li::before { content: '0' counter(s); font: 500 13px var(--mono); color: var(--cold-2); grid-row: span 2; }
.steps b { font: 600 18px/1.3 var(--display); }
.steps span { color: rgba(243, 241, 236, .65); font-size: 15px; }
.scanner { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 24px; padding: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.scan-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-size: 12px; color: rgba(243, 241, 236, .7); }
.scan-top > span { display: flex; align-items: center; gap: 8px; }
#scanTemp { font-size: 15px; font-weight: 600; color: var(--paper); font-variant-numeric: tabular-nums; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scan-area { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; cursor: none; touch-action: none; user-select: none; -webkit-user-select: none; background: #ddd; }
.scan-area canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; clip-path: circle(0px at 50% 50%); }
.tiles {
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, 1fr); gap: 3px; padding: 3px;
  background: #b9b3a8;
}
.lens { z-index: 3; }
.found { z-index: 4; }
.tiles i { background: linear-gradient(145deg, #f4f1ea, #e3ded4); border-radius: 2px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .04); }
.tiles i.stain { background: radial-gradient(circle at 50% 40%, #d8cfbd, #e3ded4 70%); }
.lens { position: absolute; left: 0; top: 0; width: var(--r2, 180px); height: var(--r2, 180px); margin: calc(var(--r2, 180px) / -2) 0 0 calc(var(--r2, 180px) / -2); border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35); pointer-events: none; opacity: 0; transition: opacity .25s, border-color .25s; }
.lens span::before, .lens span::after { content: ''; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, .85); transform: translate(-50%, -50%); }
.lens span::before { width: 18px; height: 1.5px; }
.lens span::after { width: 1.5px; height: 18px; }
.lens.on { opacity: 1; }
.lens.hit { border-color: var(--hot-2); box-shadow: 0 0 0 4px rgba(224, 64, 45, .35), 0 10px 30px rgba(0, 0, 0, .35); }
.found { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: var(--hot); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(224, 64, 45, .5); white-space: nowrap; }
.scan-bot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 6px 4px; }
.scan-bot p { margin: 0; font-size: 14px; color: rgba(243, 241, 236, .7); }

/* boiler */
.heat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.advice { margin-top: 30px; padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-l); border-left: 4px solid var(--adv, var(--copper)); transition: border-color .4s; }
.advice b { font: 700 17px/1.3 var(--display); display: block; margin-bottom: 6px; }
.advice p { margin: 0; color: var(--muted); font-size: 15.5px; }
.boiler-stage { --heat: .5; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; padding: 36px 30px 30px; border-radius: 28px; background: radial-gradient(90% 70% at 70% 60%, rgba(224, 64, 45, calc(var(--heat) * .22)), transparent 70%), radial-gradient(90% 70% at 20% 30%, rgba(29, 111, 224, calc((1 - var(--heat)) * .18)), transparent 70%), var(--paper-2); border: 1px solid var(--line-l); }
.boiler { position: relative; width: 210px; padding: 22px 20px 18px; border-radius: 18px; background: linear-gradient(160deg, #ffffff, #ecebe6); box-shadow: 0 30px 50px -24px rgba(18, 22, 27, .45), inset 0 1px 0 #fff; border: 1px solid rgba(18, 22, 27, .08); }
.b-brand { font-size: 10px; color: var(--steel); letter-spacing: .2em; margin-bottom: 14px; }
.lcd { position: relative; display: flex; align-items: baseline; gap: 4px; padding: 14px 14px 12px; border-radius: 10px; background: #0d1117; color: #7fd1ff; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6); margin-bottom: 20px; }
.lcd-ico { font-size: 14px; opacity: .7; margin-right: 6px; }
.lcd-val { font-size: 44px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--lcd, #7fd1ff); text-shadow: 0 0 12px var(--lcd, #7fd1ff); transition: color .3s; }
.lcd-unit { font-size: 15px; opacity: .8; }
.lcd-flame { position: absolute; right: 14px; top: 14px; width: 12px; height: 16px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #ffd36b, var(--hot) 70%); animation: flick .35s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flick { to { transform: scale(.85, 1.1) rotate(4deg); } }
.dial-wrap { position: relative; display: block; width: 110px; height: 110px; margin: 0 auto; }
.dial-wrap input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: grab; z-index: 2; margin: 0; }
.dial { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from -135deg, var(--cold) 0deg, var(--copper) 135deg, var(--hot) 270deg, transparent 270deg); padding: 8px; transition: transform .1s; }
.dial::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: linear-gradient(160deg, #fff, #dcdad4); box-shadow: 0 6px 14px rgba(18, 22, 27, .25), inset 0 1px 0 #fff; }
.dial-mark { position: absolute; left: 50%; top: 14px; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--ink); transform-origin: 2px 41px; transform: rotate(var(--rot, 0deg)); }
.dial-wrap input:focus-visible + .dial { outline: 2px solid var(--cold); outline-offset: 4px; }
.b-scale { display: flex; justify-content: space-between; font-size: 10px; color: var(--steel); margin: 8px 6px 0; }
.b-pipes { position: absolute; left: 30px; right: 30px; bottom: -34px; display: flex; justify-content: space-between; }
.b-pipes i { width: 8px; height: 34px; background: linear-gradient(90deg, #a8adb2, #e3e5e7, #9097a0); border-radius: 0 0 3px 3px; }
.b-pipes i:nth-child(2) { background: linear-gradient(90deg, #c45a26, #f1a06e, #b5501f); }
.radiator { display: flex; gap: 6px; height: 170px; padding: 0 10px; align-items: stretch; }
.radiator i { flex: 1; max-width: 26px; border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--hot) calc(var(--heat) * 100%), #cfd5db), color-mix(in srgb, var(--hot-2) calc(var(--heat) * 70%), #e7eaed)); box-shadow: inset -3px 0 0 rgba(0, 0, 0, .06), 0 0 calc(var(--heat) * 30px) rgba(224, 64, 45, calc(var(--heat) * .45)); transition: background .4s, box-shadow .4s; }
.room { position: absolute; right: 26px; top: 22px; margin: 0; font-size: 12px; color: var(--muted); }
.room b { font-size: 22px; color: var(--txt); font-weight: 600; font-variant-numeric: tabular-nums; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; padding: 0 var(--pad); max-width: 1440px; margin: 0 auto; }
.g { position: relative; margin: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--ink-2); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(18, 22, 27, .9)); display: grid; gap: 2px; }
.g figcaption b { font: 600 15px/1.2 var(--display); }
.g figcaption span { font-size: 13px; color: rgba(243, 241, 236, .7); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--txt); }
.stat { padding: 28px 24px 8px 0; border-right: 1px solid var(--line-l); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat > b { display: block; font: 800 clamp(48px, 6vw, 84px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 14px; background: linear-gradient(120deg, var(--hot), var(--copper) 50%, var(--cold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > svg { display: block; height: clamp(48px, 6vw, 84px); width: auto; margin-bottom: 14px; fill: none; stroke: url(#sg); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.stat span { font: 600 18px/1.3 var(--display); }
.stat small { display: block; font: 400 15px/1.5 var(--body); color: var(--muted); margin-top: 8px; }

/* reviews */
.big-rating { display: grid; justify-items: end; text-decoration: none; gap: 4px; }
.big-rating b { font: 800 clamp(56px, 7vw, 96px)/1 var(--display); letter-spacing: -.04em; }
.big-rating .stars { font-size: 22px; }
.big-rating small { font-size: 14px; color: rgba(243, 241, 236, .65); }
.quotes { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.quotes-track { display: flex; gap: 16px; width: max-content; padding: 0 var(--pad); animation: tick 60s linear infinite; }
.quotes:hover .quotes-track { animation-play-state: paused; }
blockquote { margin: 0; width: min(420px, 82vw); padding: 28px 26px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line-d); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
blockquote::before { content: '★★★★★'; color: #ffb53d; letter-spacing: 2px; font-size: 14px; }
blockquote p { margin: 0; font-size: 18px; line-height: 1.5; flex: 1; }
cite { font-style: normal; font: 500 13px var(--mono); color: var(--steel); letter-spacing: .04em; }
cite span { color: var(--cold-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.phone-big { display: inline-flex; flex-direction: column; gap: 6px; white-space: nowrap; text-decoration: none; font: 800 clamp(28px, 4.2vw, 54px)/1 var(--display); letter-spacing: -.03em; margin: 8px 0 34px; background: linear-gradient(90deg, var(--txt), var(--txt)) 0 100% / 0 3px no-repeat; padding-bottom: 8px; transition: background-size .5s var(--ease); }
.phone-big:hover { background-size: 100% 3px; }
.phone-big .mono { font-size: 12px; color: var(--hot); letter-spacing: .14em; }
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 30px; }
.info dt { font-size: 11px; color: var(--copper); margin-bottom: 8px; font-weight: 600; }
.info dd { margin: 0; font-size: 15.5px; }
.info small { color: var(--muted); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ask { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 30px 26px 24px; box-shadow: 0 40px 70px -40px rgba(18, 22, 27, .7); }
.ask-tag { font-size: 11px; color: var(--wa); margin: 0 0 8px; font-weight: 600; }
.ask h3 { font: 700 28px/1.1 var(--display); margin: 0 0 18px; letter-spacing: -.02em; }
.chips { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14.5px; transition: background .2s, border-color .2s, color .2s; }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--cold-2); outline-offset: 2px; }
.field { display: block; font-size: 13px; color: rgba(243, 241, 236, .7); margin-bottom: 14px; }
.field small { color: rgba(243, 241, 236, .45); }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-d); background: var(--ink-2); color: var(--paper); font: 16px/1.4 var(--body); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cold-2); }
.ask-note { margin: 12px 0 0; font-size: 12.5px; color: rgba(243, 241, 236, .5); text-align: center; }
.map { max-width: 1240px; margin: clamp(48px, 7vw, 90px) auto 0; padding: 0 var(--pad); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 22px; filter: grayscale(.4) contrast(1.05); background: var(--paper-2); }

/* footer */
.foot { background: var(--ink); padding: 80px 0 120px; border-top: 4px solid; border-image: linear-gradient(90deg, var(--hot) 50%, var(--cold) 50%) 1; }
.foot-in { display: grid; gap: 30px; }
.foot-logo b { font: 800 22px var(--display); margin-right: 12px; }
.foot-logo span { font-size: 11px; color: var(--steel); }
.foot-big { font: 700 clamp(28px, 4.4vw, 58px)/1.08 var(--display); letter-spacing: -.03em; margin: 0; color: rgba(243, 241, 236, .9); }
.foot-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 12.5px; color: var(--steel); }
.foot-meta a { text-decoration: none; color: var(--paper); }

/* mobile dock */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(18, 22, 27, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-d); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .45s var(--ease); }
.dock.show { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; text-decoration: none; font-weight: 600; color: #fff; }
.dock svg { width: 18px; height: 18px; fill: currentColor; }
.dock-call { background: var(--hot); }
.dock-wa { background: var(--wa); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 12, 15, .94); display: grid; place-items: center; padding: 60px 16px 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 12px; }
.lb-cap { margin: 14px 0 0; text-align: center; color: rgba(243, 241, 236, .75); font-size: 15px; }
.lb-close { position: absolute; right: 16px; top: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); background: var(--ink-2); color: var(--paper); font-size: 28px; line-height: 1; cursor: pointer; }

/* reveal (JS adds .js on html) */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-l); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 104px; gap: 36px; }
  .pipes { width: 100%; opacity: .16; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .leak-grid, .heat-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 10px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .g, .g-wide, .g-tall { flex: 0 0 72vw; height: 92vw; max-height: 520px; scroll-snap-align: center; }
  .dock { display: grid; }
  .foot { padding-bottom: 130px; }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { width: 42px; padding: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .logo small { display: none; }
  .services { grid-template-columns: 1fr; }
  .svc { padding: 24px 22px 26px; }
  .svc svg { margin-bottom: 18px; width: 44px; height: 44px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0 16px; border-right: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line-l); }
  .boiler-stage { grid-template-columns: 1fr; justify-items: center; padding: 56px 18px 24px; }
  .radiator { width: 100%; height: 110px; justify-content: center; margin-top: 30px; }
  .info { grid-template-columns: 1fr; gap: 16px; }
  .big-rating { justify-items: start; }
  .scan-bot { flex-direction: column; align-items: stretch; text-align: center; }
  .map iframe { height: 300px; }
  .readout { grid-template-columns: repeat(3, 1fr); left: 10px; right: 10px; bottom: 10px; font-size: 10px; }
  .readout div { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; }
  .readout b { margin-left: 0; font-size: 15px; }
  .readout i { display: none; }
  .hero-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
