/* Solarverse Solutions — site stylesheet (source: Build/website_src/site.css) */

@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); }

:root {
  --navy: #0c1f3f; --navy-2: #13284d; --navy-3: #1c3a6b;
  --blue: #1a52a5; --blue-2: #2e61c3; --sky: #eaf1fb;
  --orange: #ea7a27; --orange-2: #cf6316; --tint: #fff5ec; --tint-line: #f7dcc4;
  --waaree: #1d9a3b; --waaree-soft: #ecf8ef;
  --ink: #14203a; --text: #3a4558; --muted: #687387; --line: #e2e7ef; --soft: #f4f7fb;
  --radius: 18px; --radius-sm: 11px;
  --shadow: 0 10px 30px rgba(12, 31, 63, .08);
  --shadow-lg: 0 26px 60px rgba(12, 31, 63, .18);
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.65; color: var(--text); background: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange-2); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
b, strong { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.nowrap { white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #c7d3e6; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ffc38f; }
.topbar .sep { flex: 1; }
.topbar .wa-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; margin-right: 6px; vertical-align: 1px; }
.topbar .wa-both { white-space: nowrap; }
.topbar .wa-both a { font-weight: 700; margin-left: 4px; }
.topbar .dotsep { margin: 0 4px; color: #6f83a6; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(12, 31, 63, .07); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand img.sv { height: 38px; width: auto; }
.brand .x { width: 1px; height: 30px; background: var(--line); }
.brand img.wa { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--ink); padding: 9px 12px; border-radius: 9px; white-space: nowrap; }
.nav-links a:hover { background: var(--soft); color: var(--blue); }
.nav-links a.active { color: var(--orange-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s, top .2s, opacity .2s; }
.burger span { top: 21px; }
.burger span::before { top: -7px; left: 0; right: 0; }
.burger span::after { top: 7px; left: 0; right: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--head); font-weight: 700; font-size: .95rem; line-height: 1; padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 11px 18px; font-size: .86rem; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(234, 122, 39, .32); }
.btn-primary:hover { background: var(--orange-2); color: #fff; }
.btn-dark { background: var(--navy-2); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy-2); color: var(--navy-2); background: transparent; }
.btn-outline:hover { background: var(--navy-2); color: #fff; }
.btn-wa { background: #1faa59; color: #fff; }
.btn-wa:hover { background: #178a48; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(9, 24, 50, .96) 0%, rgba(12, 31, 63, .88) 42%, rgba(12, 31, 63, .45) 75%, rgba(12, 31, 63, .25) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 56px; align-items: center; padding: 64px 0 150px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .o { color: #ffa45c; }
.hero p.sub { font-size: 1.15rem; color: #d3ddee; max-width: 36em; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .02em; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #eaf0fa; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #ffa45c; }
.hero .btn-row { margin-top: 30px; }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 22px; padding: 28px 28px 24px; box-shadow: var(--shadow-lg); }
.hero-card .pair { display: flex; align-items: center; justify-content: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero-card .pair img.sv { height: 40px; width: auto; }
.hero-card .pair img.wa { height: 36px; width: auto; }
.hero-card .pair .plus { font-family: var(--head); font-weight: 700; color: var(--muted); font-size: 1.3rem; }
.hero-card .kicker { text-align: center; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 14px 0 12px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-card li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .94rem; line-height: 1.45; }
.hero-card li .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.hero-card li .ic.g { background: var(--waaree-soft); color: var(--waaree); }
.hero-card li .ic svg { width: 18px; height: 18px; }
.hero-card li b { display: block; font-family: var(--head); font-size: .92rem; }

/* ---------- proof strip ---------- */
.proof-wrap { position: relative; z-index: 2; margin-top: -84px; }
.proof { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.proof > div { padding: 24px 22px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof b { display: block; font-family: var(--head); font-size: 1.75rem; color: var(--navy-2); line-height: 1.1; }
.proof b .u { font-size: 1rem; color: var(--orange-2); margin-left: 3px; }
.proof > div > span { display: block; font-size: .84rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.proof-src { font-size: .76rem; color: var(--muted); margin: 10px 4px 0; }
.est-top { position: relative; z-index: 3; margin-top: -112px; scroll-margin-top: 90px; }
.est-top ~ .proof-wrap { margin-top: 56px; }
.est .est-h { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 8px; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section--soft { background: var(--soft); }
.section--tint { background: var(--tint); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, #1f4783 0%, transparent 60%), var(--navy); color: #c9d5e8; }
.section--navy h2, .section--navy h3, .section--navy b { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 14px; }
.section--navy .eyebrow { color: #ffa45c; }
.rule { width: 64px; height: 4px; border-radius: 4px; background: var(--orange); margin: 4px 0 22px; }
.section-head.center .rule { margin-inline: auto; }
.lede { font-size: 1.12rem; color: var(--text); }
.section--navy .lede { color: #c2cfe4; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.grid > *, .split > *, .duo > *, .est > *, .contact-grid > * { min-width: 0; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 rgba(12, 31, 63, .03); transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d6deea; }
.card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 18px; }
.card .ic svg { width: 25px; height: 25px; }
.card .ic.o { background: var(--tint); color: var(--orange-2); }
.card .ic.g { background: var(--waaree-soft); color: var(--waaree); }
.card p:last-child { margin-bottom: 0; }
.card .k { font-family: var(--head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.section--navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #c9d5e8; }
.section--navy .card .ic { background: rgba(255, 255, 255, .1); color: #ffb57a; }

/* ---------- partnership duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.duo .panel { padding: 34px 36px; }
.duo .panel.sv { background: #fff; }
.duo .panel.wa { background: linear-gradient(160deg, #0f2a52 0%, #0c1f3f 100%); color: #c9d5e8; }
.duo .panel.wa h3, .duo .panel.wa b { color: #fff; }
.duo .logo { height: 42px; width: auto; margin-bottom: 22px; }
.duo .logo-chip { display: inline-block; background: #fff; border-radius: 12px; padding: 9px 14px; margin-bottom: 22px; }
.duo .logo-chip img { height: 30px; width: auto; }
.duo .role { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 8px; }
.duo .panel.wa .role { color: #7fd497; }
.duo h3 { font-size: 1.45rem; margin-bottom: 14px; }
.duo-foot { text-align: center; margin-top: 26px; color: var(--muted); font-size: .95rem; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 30px; line-height: 1.5; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--waaree-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d9a3b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel.wa ul.ticks li::before, .section--navy ul.ticks li::before { background-color: rgba(127, 212, 151, .16); }
ul.ticks.o li::before { background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf6316' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- segment cards ---------- */
.seg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; color: var(--text); }
.seg:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.seg .ph { aspect-ratio: 16/10; background: var(--soft) center/cover no-repeat; position: relative; }
.seg .tag { position: absolute; left: 14px; bottom: 14px; background: rgba(12, 31, 63, .86); color: #fff; font-family: var(--head); font-weight: 700; font-size: .76rem; padding: 6px 11px; border-radius: 999px; }
.seg .bd { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.seg .bd p { font-size: .95rem; }
.seg .more { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: .86rem; color: var(--blue); }
.seg .more::after { content: " \2192"; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .media { order: 2; }
.media { min-height: 360px; border-radius: 24px; background: var(--soft) center/cover no-repeat; box-shadow: var(--shadow); }
.media.contain { background-size: contain; background-color: #fff; border: 1px solid var(--line); }

/* ---------- comparison table ---------- */
.tablewrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
table.cmp th { background: var(--navy-2); color: #fff; text-align: left; font-family: var(--head); font-weight: 700; font-size: .86rem; padding: 15px 18px; }
table.cmp td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.cmp tr:nth-child(even) td { background: #fafbfd; }
table.cmp td.a { font-weight: 600; color: var(--ink); }
table.cmp td.u { color: var(--muted); }
.pill { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill.in { background: var(--waaree-soft); color: #137a2c; }
.pill.out { background: var(--tint); color: var(--orange-2); }
.pill.sep { background: var(--sky); color: var(--blue); }

/* ---------- scope of supply ---------- */
.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scope .it { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.scope .ic { width: 54px; height: 54px; border-radius: 13px; background: var(--sky); display: grid; place-items: center; color: var(--blue); }
.scope .ic svg { width: 30px; height: 30px; }
.scope .tx b { display: block; font-family: var(--head); font-size: .98rem; }
.scope .tx span { display: block; font-size: .87rem; color: var(--muted); line-height: 1.4; }
.scope .mk { display: flex; gap: 8px; align-items: center; }
.scope .mk img { height: 22px; width: auto; max-width: 84px; object-fit: contain; }
.scope .mk .nb { font-size: .74rem; font-family: var(--head); font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px 24px; }
.steps li::before { content: counter(st, decimal-leading-zero); font-family: var(--head); font-weight: 700; font-size: 2.1rem; color: var(--orange); opacity: .9; display: block; margin-bottom: 8px; line-height: 1; }
.steps li h3 { font-size: 1.05rem; }
.steps li p { font-size: .93rem; margin: 0; }
.steps li .who { display: inline-block; margin-top: 12px; font-size: .74rem; font-family: var(--head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: 4px 10px; border-radius: 999px; }
.steps li .who.g { color: #137a2c; background: var(--waaree-soft); }

/* ---------- estimator ---------- */
.est { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.est-in { padding: 40px; }
.est-out { padding: 40px; background: linear-gradient(160deg, #13284d 0%, #0c1f3f 100%); color: #c9d5e8; display: flex; flex-direction: column; }
.est h3 { font-size: 1.3rem; }
.field { margin-bottom: 22px; }
.field > label, .field > .lbl, fieldset.field legend { display: block; font-family: var(--head); font-weight: 700; font-size: .86rem; color: var(--ink); margin-bottom: 9px; padding: 0; }
.field .hint { font-weight: 500; color: var(--muted); font-family: var(--body); }
fieldset.field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.units-row { display: flex; gap: 14px; align-items: center; }
.units-row input[type=range] { flex: 1; accent-color: var(--orange); height: 28px; }
.units-row .num { width: 158px; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 10px; background: #fff; }
.units-row .num input { width: 100%; border: 0; font: 700 1rem var(--head); color: var(--ink); padding: 11px 4px; background: transparent; }
.units-row .num input:focus { outline: none; }
.units-row .num span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: .86rem; padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--text); transition: all .15s; }
.choices input:checked + label { border-color: var(--orange); background: var(--tint); color: var(--orange-2); }
.choices input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.est .tint-box { background: var(--soft); border-radius: 14px; padding: 16px 18px; font-size: .9rem; }
.est .tint-box b { display: block; margin-bottom: 4px; }
.est .survey { margin-top: 18px; font-size: .9rem; }
.est .survey b { display: block; font-family: var(--head); margin-bottom: 8px; }
.est .survey ul.ticks { gap: 6px; margin: 0; }
.est-out .eyebrow { color: #ffa45c; }
.res-main { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 6px; }
.res-main .kw { font-family: var(--head); font-weight: 700; font-size: 4rem; color: #fff; line-height: 1; }
.res-main .kw small { font-size: 1.3rem; margin-left: 4px; color: #ffa45c; }
.res-sub { color: #aebcd3; font-size: .95rem; margin-bottom: 24px; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.res-grid > div { background: #102650; padding: 16px 18px; }
.res-grid b { display: block; font-family: var(--head); font-size: 1.25rem; color: #fff; }
.res-grid b.g { color: #7fd497; }
.res-grid span { font-size: .8rem; color: #9fb0cc; }
.res-flag { font-size: .88rem; background: rgba(255, 164, 92, .12); border: 1px solid rgba(255, 164, 92, .35); color: #ffd3ad; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.res-flag[hidden] { display: none; }
.res-warn { margin: -10px 0 18px; padding: 10px 14px; border: 1px solid #f2c487; border-radius: 12px; background: #fff3e2; color: #7a4a12; font-size: .88rem; font-weight: 600; line-height: 1.45; }
.res-warn[hidden] { display: none; }
.res-math { margin: 0 0 20px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-size: .88rem; line-height: 1.5; }
.res-math:empty { display: none; }
.res-sub:not([hidden]) + .res-math { margin-top: -12px; }
.res-math + .res-math { margin-top: -12px; color: var(--muted); }
.est-out .foot { margin-top: auto; }
.est-out .foot p { font-size: .78rem; color: #8ea1c1; margin: 14px 0 0; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; color: var(--ink); padding: 19px 36px 19px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--orange); font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange) 0%, #f0913f 100%); color: #fff; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff3e8; font-size: 1.08rem; max-width: 640px; margin-inline: auto; }
.cta-band .btn-dark { background: var(--navy); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .8); }
.cta-band .btn-ghost:hover { color: var(--orange-2); }

/* ---------- inner page head ---------- */
.pagehead { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; padding: 64px 0 58px; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(9, 24, 50, .96) 0%, rgba(12, 31, 63, .86) 55%, rgba(12, 31, 63, .55) 100%); }
.pagehead h1 { color: #fff; max-width: 17em; font-size: clamp(2rem, 4vw, 3.05rem); }
.pagehead p { color: #cfd9ea; font-size: 1.12rem; max-width: 40em; margin: 0; }
.crumbs { font-size: .84rem; color: #9fb0cc; margin-bottom: 16px; }
.crumbs a { color: #dbe4f2; }
.pagehead .btn-row { margin-top: 28px; }

/* ---------- Waaree page ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; overflow: hidden; }
.facts > div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--waaree); }
.facts b { display: block; font-family: var(--head); font-size: 1.95rem; color: var(--navy-2); line-height: 1.1; }
.facts span { display: block; font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.facts.plan > div::before { background: #b6c2d4; }
.chain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.chain > div { padding: 18px 12px; text-align: center; font-family: var(--head); font-weight: 700; font-size: .86rem; color: var(--muted); background: #fff; border-right: 1px solid var(--line); position: relative; }
.chain > div:last-child { border-right: 0; }
.chain > div.on { background: var(--waaree-soft); color: #137a2c; }
.chain > div small { display: block; font-weight: 600; font-size: .72rem; margin-top: 4px; color: inherit; opacity: .8; }
.bars { display: grid; gap: 12px; }
.bars .row { display: grid; grid-template-columns: 170px 1fr 54px; gap: 14px; align-items: center; font-size: .93rem; }
.bars .row .nm { font-family: var(--head); font-weight: 600; color: var(--ink); }
.bars .bar { height: 16px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.bars .bar i { display: block; height: 100%; border-radius: 999px; background: #b9c4d6; }
.bars .row.top .bar i { background: linear-gradient(90deg, var(--waaree), #39b85a); }
.bars .row.top .nm, .bars .row.top .pc { color: #137a2c; }
.bars .pc { font-family: var(--head); font-weight: 700; text-align: right; }
.section--navy .bars .row.top .nm, .section--navy .bars .row.top .pc { color: #7fd497; }
.ladder { display: grid; gap: 8px; }
.ladder .rw { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.ladder .bd { font-family: var(--head); font-weight: 700; text-align: center; border-radius: 8px; padding: 6px 0; color: #fff; background: #9aa8bd; }
.ladder .rw.w { border-color: #9fd8ae; background: var(--waaree-soft); }
.ladder .rw.w .bd { background: var(--waaree); }
.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.awards .aw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.awards .aw .t { font-family: var(--head); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.awards .aw p { font-size: .92rem; margin: 0; }
.awards .aw .by { font-size: .78rem; font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--waaree); margin-bottom: 8px; }
.wcurve { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 220px; padding: 10px 0 0; }
.wcurve > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.wcurve i { display: block; flex: none; width: 100%; max-width: 64px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #39b85a, var(--waaree)); }
.wcurve b { font-family: var(--head); font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.wcurve span { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.refs .rf { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.refs .rf b { display: block; font-family: var(--head); font-size: 1.45rem; color: var(--navy-2); }
.refs .rf .nm { font-family: var(--head); font-weight: 700; color: var(--ink); margin: 6px 0 4px; }
.refs .rf p { font-size: .88rem; margin: 0; color: var(--muted); }
.note-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.note-box h3 { font-size: 1.05rem; }
.note-box ul { margin: 0; }
.note-box li { margin-bottom: 6px; font-size: .95rem; }
.sources { font-size: .82rem; color: var(--muted); margin-top: 28px; line-height: 1.6; }
.sources b { color: var(--text); }
.sources ol { padding-left: 1.3em; margin: 6px 0 0; }

/* ---------- callouts ---------- */
.kb { background: #f2f6fd; border-left: 4px solid var(--blue-2); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 18px 0; font-size: .96rem; color: #284270; }
.kb b { color: var(--navy-2); }
.kb.o { background: var(--tint); border-left-color: var(--orange); color: #6d3a12; }
.kb.g { background: var(--waaree-soft); border-left-color: var(--waaree); color: #1d4f2a; }
.kb p:last-child { margin-bottom: 0; }

/* ---------- products ---------- */
.range-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.rc .im { aspect-ratio: 4/3; background: #f6f8fb center/contain no-repeat; border-bottom: 1px solid var(--line); background-origin: content-box; padding: 18px; }
.rc .bd { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.rc .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.chip { font-family: var(--head); font-weight: 700; font-size: .72rem; padding: 4px 9px; border-radius: 999px; background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.chip.g { background: var(--waaree-soft); color: #137a2c; border-color: #cdebd5; }
.chip.o { background: var(--tint); color: var(--orange-2); border-color: var(--tint-line); }
.chip.b { background: var(--sky); color: var(--blue); border-color: #d3e1f5; }
.rc .bd p { font-size: .94rem; }
.rc .go { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: .88rem; }
.cat-tools { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; position: sticky; top: 86px; z-index: 5; box-shadow: var(--shadow); }
.cat-tools input[type=search], .cat-tools select { width: 100%; font: 500 .95rem var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px; background: #fff; }
.cat-tools .tg { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-family: var(--head); font-weight: 600; white-space: nowrap; cursor: pointer; }
.cat-tools .tg input { width: 18px; height: 18px; accent-color: var(--orange); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.cat-tabs button { font-family: var(--head); font-weight: 700; font-size: .86rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.cat-tabs button[aria-pressed="true"] { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.cat-count { font-size: .9rem; color: var(--muted); margin: 6px 0 18px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .pimg { aspect-ratio: 4/3; background: #f6f8fb center/contain no-repeat; background-origin: content-box; padding: 18px; position: relative; }
.pcard .pimg .st { position: absolute; top: 10px; left: 10px; }
.pcard .pbd { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard .pbd .cap { font-family: var(--head); font-weight: 700; color: var(--orange-2); font-size: 1.05rem; }
.pcard .pbd h3 { font-size: .95rem; line-height: 1.35; margin: 4px 0 6px; }
.pcard .pbd p { font-size: .82rem; color: var(--muted); margin: 0 0 10px; line-height: 1.45; }
.pcard .sku { font-size: .74rem; color: var(--muted); font-family: ui-monospace, Consolas, monospace; margin-bottom: 12px; word-break: break-all; }
.pcard .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.pcard .enq { margin-top: auto; }
.pcard .enq a { display: flex; justify-content: center; align-items: center; gap: 7px; font-family: var(--head); font-weight: 700; font-size: .84rem; padding: 10px; border-radius: 10px; background: var(--soft); color: var(--navy-2); }
.pcard .enq a:hover { background: #1faa59; color: #fff; }
.pcard .enq svg { width: 16px; height: 16px; flex-shrink: 0; }
.cat-empty { text-align: center; padding: 48px 20px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 16px; }
.cat-more { text-align: center; margin-top: 26px; }
.lights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lights .lt { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-align: center; }
.lights .lt .im { aspect-ratio: 1/1; background: #fff center/contain no-repeat; background-origin: content-box; padding: 14px; }
.lights .lt b { display: block; font-family: var(--head); font-size: .92rem; padding: 0 10px 14px; }

/* ---------- guide ---------- */
.guide { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; background: var(--soft); border-radius: 16px; padding: 22px; }
.toc b { display: block; font-family: var(--head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .92rem; }
.toc a { color: var(--text); }
.toc a.on { color: var(--orange-2); font-weight: 700; }
.art { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.art:last-child { border-bottom: 0; margin-bottom: 0; }
.art h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.art .num { font-family: var(--head); font-weight: 700; color: var(--orange); font-size: .86rem; letter-spacing: .1em; display: block; margin-bottom: 8px; }
.art table.cmp { min-width: 0; }
.myth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.myth > div { padding: 16px 18px; font-size: .94rem; }
.myth .m { background: #fbf3f2; }
.myth .f { background: #fff; }
.myth .lb { display: block; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; margin-bottom: 4px; }
.myth .m .lb { color: #b4382c; }
.myth .f .lb { color: #137a2c; }
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.blocks > div { border-radius: 12px; padding: 14px 16px; font-size: .9rem; border: 1px solid var(--line); }
.blocks .pk { background: #fdf0ef; }
.blocks .nm { background: #fff8ea; }
.blocks .op { background: #eef4fc; }
.blocks b { display: block; font-family: var(--head); }

/* ---------- about ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 340px)); justify-content: center; gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.person .av { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy-2)); }
.person:nth-child(2) .av { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.person b { display: block; font-family: var(--head); font-size: 1.05rem; }
.person .role { color: var(--muted); font-size: .88rem; margin: 2px 0 10px; }
.person a { font-family: var(--head); font-weight: 700; font-size: .92rem; }
.house { display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.house svg { width: 230px; height: auto; flex: 0 0 auto; }
.house .lb { font-family: var(--head); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.house .nm { font-family: var(--head); font-weight: 700; color: var(--navy-2); margin-top: 4px; }
.cover { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 36px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card input[type=text], .form-card input[type=tel], .form-card input[type=email], .form-card select, .form-card textarea { width: 100%; font: 500 .98rem var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px; background: #fff; transition: border-color .15s; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blue-2); outline: none; box-shadow: 0 0 0 4px rgba(46, 97, 195, .12); }
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card .req { color: var(--orange-2); }
.form-card .err { display: none; color: #b4382c; font-size: .82rem; margin-top: 5px; }
.form-card .invalid input, .form-card .invalid select { border-color: #d3655a; }
.form-card .invalid .err { display: block; }
.form-ok { display: none; background: var(--waaree-soft); border: 1px solid #bfe5c9; color: #1d4f2a; border-radius: 12px; padding: 14px 16px; margin-top: 16px; font-size: .94rem; }
.form-ok.show { display: block; }
.form-fine { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.info { display: grid; gap: 14px; }
.info .blk { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.info .blk h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info .blk p { margin: 0; }
.info .blk .ln { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; flex-wrap: wrap; }
.info .blk .ln a { font-family: var(--head); font-weight: 700; }
.map { border: 0; width: 100%; height: 320px; border-radius: 16px; display: block; background: var(--soft); }

/* ---------- footer ---------- */
.site-footer { background: #091a35; color: #9fb0cc; padding: 72px 0 0; font-size: .93rem; }
.site-footer a { color: #d6e0ef; }
.site-footer a:hover { color: #ffa45c; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.f-brand .lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.f-brand .lockup img { height: 34px; width: auto; }
.f-brand .lockup .chip-w { background: #fff; border-radius: 9px; padding: 6px 10px; }
.f-brand .lockup .chip-w img { height: 22px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.f-social a:hover { background: var(--orange); color: #fff; }
.f-social svg { width: 19px; height: 19px; }
.f-bot { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: .82rem; }
.f-legal { font-size: .76rem; color: #7487a6; padding-bottom: 30px; line-height: 1.6; }

/* ---------- quick survey bar ---------- */
.quick { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 12px; align-items: center; margin-top: 28px; background: var(--navy-2); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.quick .q-t b { display: block; color: #fff; font-family: var(--head); font-size: 1.05rem; }
.quick .q-t span { color: #a9b8d0; font-size: .85rem; line-height: 1.4; display: block; }
.quick .field { margin: 0; }
.quick input { width: 100%; font: 500 .95rem var(--body); border: 1.5px solid transparent; border-radius: 11px; padding: 13px 14px; background: #fff; color: var(--ink); }
.quick .invalid input { border-color: #ff8f7f; box-shadow: 0 0 0 3px rgba(255, 143, 127, .25); }
.quick .btn { white-space: nowrap; }

/* ---------- ongoing installations ---------- */
.wip-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.wip-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--orange-2); margin: 14px 0 14px; }
.wip-card .ic svg { width: 24px; height: 24px; }
.wip-card h3 { margin-bottom: 4px; }
.wip-card .loc { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--blue); margin: 0 0 8px; }
.wip-card .loc svg { width: 15px; height: 15px; }
.wip-card p { font-size: .92rem; margin: 0; }
.pill.live { background: var(--waaree-soft); color: #137a2c; display: inline-flex; align-items: center; gap: 7px; }
.pill.live i { width: 8px; height: 8px; border-radius: 50%; background: #1fb34a; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 179, 74, .55); } 70% { box-shadow: 0 0 0 9px rgba(31, 179, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 179, 74, 0); } }

/* ---------- fact box ---------- */
.glance { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.glance h3 { font-size: 1.1rem; margin-bottom: 12px; }
.glance table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.glance th { text-align: left; font-family: var(--head); font-weight: 700; color: var(--ink); padding: 9px 18px 9px 0; width: 220px; vertical-align: top; border-top: 1px solid var(--line); }
.glance td { padding: 9px 0; border-top: 1px solid var(--line); }
.glance tr:first-child th, .glance tr:first-child td { border-top: 0; }

/* ---------- photo pair ---------- */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.photo-pair figure { margin: 0; }
.photo-pair .im { aspect-ratio: 16/10; border-radius: var(--radius); background: var(--soft) center/cover no-repeat; box-shadow: var(--shadow); }
.photo-pair figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* ---------- people lines ---------- */
.person .lines { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.person .lines a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; font-size: .9rem; padding: 9px 14px; border-radius: 999px; background: var(--soft); color: var(--navy-2); }
.person .lines a.w { background: #1faa59; color: #fff; }
.person .lines svg { width: 16px; height: 16px; }
.info .blk .acts { display: inline-flex; align-items: center; gap: 10px; }
.info .blk .acts a.w { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1faa59; color: #fff; }
.info .blk .acts a.w svg { width: 18px; height: 18px; }
.rc.photo .im { background-size: cover; padding: 0; }
.units-row .num .pre { font-family: var(--head); font-weight: 700; color: var(--muted); margin-right: 2px; }
.est .num.rate { width: 220px; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 10px; background: #fff; }
.est .num.rate input { width: 100%; border: 0; font: 700 1rem var(--head); color: var(--ink); padding: 11px 4px; background: transparent; }
.est .num.rate input:focus { outline: none; }
.est .num.rate span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.est .num.rate .pre { font-family: var(--head); font-weight: 700; font-size: .95rem; }

/* ---------- DCR checker ---------- */
.dcrtool { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.dcrtool .dq { padding: 34px; }
.dcrtool .da { padding: 34px; background: linear-gradient(160deg, #13284d 0%, #0c1f3f 100%); color: #c9d5e8; }
.dcrtool .da h3 { color: #fff; font-size: 2rem; margin: 4px 0 10px; }
.dcrtool .da h3.nd { color: #8fb7ff; }
.dcrtool .da h3.dc { color: #ffa45c; }
.dcrtool .da h3.ei { color: #7fd497; }
.dcrtool output { font: 700 1rem var(--head); color: var(--ink); padding: 11px 4px; width: 100%; }

/* ---------- blog ---------- */
.post { max-width: 760px; margin-inline: auto; overflow-wrap: break-word; }
.post p, .post li { font-size: 1.06rem; line-height: 1.78; }
.post .lead { font-size: 1.22rem; color: var(--ink); line-height: 1.6; }
.post h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin: 1.9em 0 .6em; }
.post ul { padding-left: 1.3em; }
.post li { margin-bottom: .45em; }
.post table.cmp { min-width: 0; margin: 8px 0 18px; border: 1px solid var(--line); }
.post .tablewrap { margin: 8px 0 18px; }
.post .tablewrap table.cmp { margin: 0; border: 0; min-width: 0; }
.post .faq { margin-top: 10px; }
.post-head h1 { max-width: 22em; }
.pagehead .post-meta { margin-top: 6px; font-size: .95rem; color: #b9c7dc; }
.post-meta b { color: #fff; }
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.post-card .ph { aspect-ratio: 16/9; background: var(--soft) center/cover no-repeat; }
.post-card .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .pm { font-size: .8rem; color: var(--muted); font-family: var(--head); font-weight: 600; }
.post-card h3 { font-size: 1.08rem; margin: 8px 0 8px; line-height: 1.3; }
.post-card p { font-size: .93rem; }
.post-card .more { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: .86rem; color: var(--blue); }
.post-card .more::after { content: " \2192"; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 44px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.author-box .av { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy-2)); }
.author-box b { font-family: var(--head); font-size: 1.05rem; }
.author-box p { margin: 4px 0 0; font-size: .95rem; }

/* ---------- tabs ---------- */
.pair-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 6px; }
.pair-lists > div > b { display: block; font-family: var(--head); font-size: 1.02rem; margin-bottom: 10px; }
.pair-lists ul.ticks { gap: 8px; font-size: .95rem; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; justify-content: center; }
.tablist [role=tab] { font-family: var(--head); font-weight: 700; font-size: .9rem; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tablist [role=tab]:hover { border-color: var(--navy-2); color: var(--navy-2); }
.tablist [role=tab][aria-selected=true] { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.tabpanel { display: none; }
.tabpanel.on { display: block; animation: tabin .25s ease; }
@keyframes tabin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.tp-im { min-height: 340px; border-radius: 16px; background: var(--soft) center/cover no-repeat; }
.tp-im.contain { background-size: contain; background-origin: content-box; padding: 26px; background-color: #f6f8fb; }
.tp-tx { padding: 14px 18px 14px 0; align-self: center; }
.tp-tx h3 { font-size: 1.5rem; margin-bottom: 8px; }
.tp-tx ul.ticks { margin: 14px 0 20px; }
.promise .card { padding: 22px; }
.promise .card .ic { width: 44px; height: 44px; margin-bottom: 12px; }
.steps.compact li { padding: 18px 20px; }
.steps.compact li::before { font-size: 1.45rem; margin-bottom: 4px; }

/* ---------- sticky sub-nav ---------- */
.subnav { position: sticky; top: 77px; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; font-family: var(--head); font-weight: 600; font-size: .86rem; padding: 8px 14px; border-radius: 999px; color: var(--text); background: var(--soft); }
.subnav a:hover { background: var(--navy-2); color: #fff; }

/* ---------- estimator detail: charts, share, print ---------- */
.est-viz { grid-column: 1 / -1; position: relative; padding: 24px 40px 28px; border-top: 1px solid var(--line); background: #fbfcfe; }
.ev-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.est-viz .tablist { margin: 0; justify-content: flex-start; }
.ev-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.chart svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: #e3e9f1; stroke-width: 1; }
.chart .ax { font: 600 11px var(--head); fill: #7a879b; }
.chart .b-use { fill: #1d9a3b; }
.chart .b-bank { fill: #93d9a6; }
.chart .use { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 7 5; }
.chart .bd.op { fill: #e9f1fc; }
.chart .bd.nm { fill: #fff6e5; }
.chart .bd.pk { fill: #fde9e7; }
.chart .bd.nt { fill: #eef1f7; }
.chart .bd.dy { fill: #fffaee; }
.chart .bl { font: 700 11px var(--head); }
.chart .bl.op { fill: #2e61c3; }
.chart .bl.nm, .chart .bl.dy { fill: #a8670f; }
.chart .bl.pk { fill: #c0392b; }
.chart .bl.nt { fill: #687387; }
.chart .sol { fill: rgba(29, 154, 59, .2); stroke: #1d9a3b; stroke-width: 2.5; stroke-linejoin: round; }
.chart .draw { stroke: var(--navy-2); stroke-width: 2; stroke-dasharray: 6 5; }
.chart .lg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.chart .lg span { display: inline-flex; align-items: center; gap: 7px; }
.chart .lg i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }
.chart .lg .k-use { background: #1d9a3b; }
.chart .lg .k-bank { background: #93d9a6; }
.chart .lg .k-sol { background: rgba(29, 154, 59, .25); border: 2px solid #1d9a3b; }
.chart .lg .k-line, .chart .lg .k-draw { width: 20px; height: 0; border-radius: 0; border-top: 2.5px dashed var(--orange); }
.chart .lg .k-draw { border-top-color: var(--navy-2); }
.ev-note { font-size: .86rem; color: var(--muted); margin: 10px 0 0; max-width: 1000px; }
.ev-toast { position: absolute; right: 40px; top: -20px; margin: 0; background: var(--navy-2); color: #fff; font-size: .86rem; padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.ev-toast.show { opacity: 1; transform: none; }
.print-head { display: none; }

/* ---------- free tools ---------- */
.tools-strip { padding: 44px 0; }
.ts-h { margin: 0 0 14px; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.ts-h span { margin-left: 8px; font-size: .9rem; font-weight: 400; color: var(--muted); }
.ts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ts { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--soft); color: var(--ink); transition: background .2s; }
.ts:hover { background: #ebebf0; color: var(--ink); }
.ts-t b { display: block; font-size: .98rem; font-weight: 600; }
.ts-t span { font-size: .84rem; color: var(--blue); }
.t-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: #fff; color: var(--orange-2); }
.ts:nth-child(2) .t-ic { color: var(--waaree); }
.ts:nth-child(3) .t-ic { color: var(--blue); }
.t-ic svg { width: 23px; height: 23px; }

/* ---------- quotation checker ---------- */
.qc { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
.qc > * { min-width: 0; }
.qc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.qc-top p { margin: 0; color: var(--muted); font-size: .95rem; }
.qc-g { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.qc-g legend { font-family: var(--head); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 10px; padding: 0; }
.qc-i { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 14px 16px; margin-bottom: 8px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.qc-i:hover { border-color: #c4cfdf; }
.qc-i input { position: absolute; opacity: 0; pointer-events: none; }
.qc-i .bx { width: 28px; height: 28px; border-radius: 8px; border: 2px solid #c4cfdf; display: grid; place-items: center; color: transparent; background: #fff; transition: background .15s, border-color .15s; }
.qc-i .bx svg { width: 18px; height: 18px; stroke-width: 3; }
.qc-i input:focus-visible + .bx { outline: 3px solid var(--orange); outline-offset: 2px; }
.qc-i.on { border-color: #9fd8ae; background: var(--waaree-soft); }
.qc-i.on .bx { background: var(--waaree); border-color: var(--waaree); color: #fff; }
.qc-i .tx b { display: block; font-family: var(--head); font-size: .98rem; color: var(--ink); line-height: 1.35; }
.qc-i .tx b em { font-style: normal; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #b4382c; background: #fbecea; padding: 3px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.qc-i .tx > span { display: block; font-size: .88rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.qc-out { position: sticky; top: 96px; background: linear-gradient(160deg, #16305c 0%, #0c1f3f 100%); color: #c9d5e8; border-radius: 22px; padding: 28px 26px; box-shadow: var(--shadow-lg); text-align: center; }
.qc-out .eyebrow { color: #ffa45c; }
.qc-ring { position: relative; width: 164px; height: 164px; margin: 2px auto 14px; }
.qc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qc-ring circle { fill: none; stroke-width: 10; }
.qc-ring .bg { stroke: rgba(255, 255, 255, .1); }
.qc-ring .fg { stroke: #ffa45c; stroke-linecap: round; transition: stroke-dashoffset .5s ease, stroke .3s; }
.qc-ring .fg.ok { stroke: #3ddc84; }
.qc-ring .fg.bad { stroke: #ff8f7f; }
.qc-ring .rv { position: absolute; inset: 0; display: grid; place-content: center; }
.qc-ring .rv b { font-family: var(--head); font-size: 2.4rem; color: #fff; line-height: 1; }
.qc-ring .rv span { font-size: .8rem; color: #9fb0cc; margin-top: 6px; }
.qc-out h3 { color: #fff; font-size: 1.5rem; margin: 0 0 6px; }
.qc-out h3.ok { color: #7fe0a6; }
.qc-out h3.mid { color: #ffc38f; }
.qc-out h3.bad { color: #ff9d8f; }
.qc-out p { font-size: .94rem; color: #c9d5e8; }
.qc-miss { text-align: left; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 16px; margin: 6px 0 16px; max-height: 250px; overflow: auto; }
.qc-miss[hidden] { display: none; }
.qc-miss b { display: block; font-family: var(--head); color: #fff; font-size: .9rem; margin-bottom: 8px; }
.qc-miss ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: .88rem; }
.qc-miss li.c { color: #ffb3a7; font-weight: 600; }
.qc-out .btn { width: 100%; margin-top: 8px; }
.qc-out .qc-fine { font-size: .8rem; color: #8ea1c1; margin: 14px 0 0; }
.qc-mini { display: none; }

/* ---------- article reading progress ---------- */
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; pointer-events: none; }
.readbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffb066); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- on site now ---------- */
.onsite { position: relative; margin-top: 28px; padding: 30px 32px 32px; border-radius: 24px; color: #c9d5e8; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 0%, rgba(234, 122, 39, .28) 0%, rgba(234, 122, 39, 0) 46%), linear-gradient(150deg, #16305c 0%, #0c1f3f 70%); box-shadow: var(--shadow-lg); }
.onsite::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background: url("../img/photos/t/panels-sunrise.webp") center/cover no-repeat; }
.os-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.os-head h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 14px 0 6px; }
.os-head p { margin: 0; color: #aebcd3; font-size: .95rem; }
.onsite .pill.live { background: rgba(61, 220, 132, .14); color: #7fe0a6; font-size: .8rem; padding: 6px 13px; }
.onsite .pill.live i { background: #3ddc84; }
.os-count { display: flex; align-items: center; gap: 12px; flex: none; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.os-count b { font-family: var(--head); font-size: 2.6rem; line-height: 1; color: #ffa45c; }
.os-count span { font-family: var(--head); font-weight: 600; font-size: .82rem; line-height: 1.3; color: #dbe4f2; }
.os-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.os-card { position: relative; padding: 20px 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: transform .2s, background .2s, border-color .2s; }
.os-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); border-color: rgba(255, 164, 92, .45); }
.os-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.os-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f0913f, var(--orange-2)); box-shadow: 0 8px 18px rgba(234, 122, 39, .35); }
.os-card.b .os-ic { background: linear-gradient(135deg, #3f7be0, var(--blue)); box-shadow: 0 8px 18px rgba(46, 97, 195, .35); }
.os-ic svg { width: 23px; height: 23px; }
.os-kind { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb0cc; text-align: right; }
.os-card h4 { color: #fff; font-size: 1.12rem; margin: 16px 0 4px; }
.os-loc { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: .9rem; color: #ffc38f; }
.os-loc svg { width: 15px; height: 15px; flex: none; }
.os-st { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .78rem; color: #7fe0a6; }
.os-st i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: pulse 1.8s infinite; }
.os-bar { height: 4px; margin-top: 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.os-bar span { display: block; width: 38%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 164, 92, 0), #ffa45c, rgba(255, 164, 92, 0)); animation: sweep 2.6s ease-in-out infinite; }
.os-card:nth-child(2) .os-bar span { animation-delay: .5s; }
.os-card:nth-child(3) .os-bar span { animation-delay: 1s; }
.os-card:nth-child(4) .os-bar span { animation-delay: 1.5s; }
@keyframes sweep { from { transform: translateX(-110%); } to { transform: translateX(280%); } }

/* ---------- back to top ---------- */
.totop { position: fixed; right: 24px; bottom: 92px; z-index: 55; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy-2); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: var(--shadow); }
.totop svg { width: 20px; height: 20px; }
.totop.show { opacity: 1; pointer-events: auto; }

/* ---------- booking CTA ---------- */
.cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; text-align: left; }
.cta-band .cta-grid p { margin: 0; max-width: none; }
.cta-band .quick { grid-template-columns: 1fr 1fr; margin: 0; }
.cta-band .quick .q-t, .cta-band .quick .btn { grid-column: 1 / -1; }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }

/* ---------- WhatsApp FAB ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1faa59; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(31, 170, 89, .45); transition: transform .2s; }
.fab:hover { transform: scale(1.07); color: #fff; }
.fab svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .seg, .pcard { transition: none; }
  .os-bar span, .os-st i, .pill.live i { animation: none; }
  .mb-bar i, .sim .bar { transition: none; transform: none; }
}

/* ================= Apple-style layer: system type, light surfaces, one accent ================= */
:root {
  --ink: #1d1d1f; --text: #1d1d1f; --muted: #6e6e73; --line: #e5e5ea; --soft: #f5f5f7;
  --blue: #0066cc; --blue-2: #0071e3;
  --navy: #0b1424; --navy-2: #16233b; --navy-3: #22324f;
  --radius: 22px; --radius-sm: 12px;
  --shadow: 0 4px 18px rgba(0, 0, 0, .06);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .1);
  --head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hd: 64px; --stick: calc(var(--hd) + 49px);
}
body { font-size: 17px; line-height: 1.5; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.022em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.07; font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
a:hover { color: var(--blue-2); }
p a:hover, li a:hover, td a:hover { text-decoration: underline; }

.topbar { background: var(--soft); color: var(--muted); font-size: .9rem; }
.topbar .container { min-height: 42px; }
.topbar a { color: var(--blue); }
.topbar a:hover { color: var(--blue-2); }
.topbar b { color: var(--ink); }
.topbar .dotsep { color: #a1a1a6; }

.site-header { background: rgba(251, 251, 253, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.site-header.scrolled { box-shadow: none; border-color: rgba(0, 0, 0, .1); }
.nav { min-height: var(--hd); gap: 20px; }
.brand img.sv { height: 32px; }
.brand img.wa { height: 22px; }
.brand .x { height: 26px; }
.nav-links { flex: 1; justify-content: center; gap: 2px; margin-left: 0; }
.nav-links a { font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--ink); opacity: .86; padding: 8px 10px; }
.nav-links a:hover { background: none; color: var(--ink); opacity: 1; }
.nav-links a.active { color: var(--ink); opacity: 1; font-weight: 600; }
.burger { border: 0; background: transparent; }

.btn { font-family: var(--body); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; padding: 13px 24px; border-width: 1px; }
.btn:hover { transform: none; }
.btn-sm { padding: 8px 16px; font-size: .84rem; }
.btn-primary { box-shadow: none; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }

.hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .34) 46%, rgba(0, 0, 0, .62) 100%); }
.hero-in { max-width: 980px; text-align: center; padding: 92px 0 188px; }
.hero-kicker { font-size: 1.05rem; font-weight: 600; color: #ffb37a; margin: 0 0 14px; }
.hero h1 { margin-bottom: .32em; }
.hero h1 .o { background: linear-gradient(90deg, #ffc18a 0%, #f0913f 55%, #ea7a27 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(1.1rem, 1.8vw, 1.38rem); line-height: 1.42; color: rgba(255, 255, 255, .88); max-width: 34em; margin: 0 auto; }
.hero .btn-row { margin-top: 32px; }
.est-top { margin-top: -124px; scroll-margin-top: calc(var(--hd) + 14px); }
.est { border-radius: 28px; }
.onsite-wrap .onsite { margin-top: 48px; }

.section { padding: 76px 0; }
.section-head { max-width: 840px; margin-bottom: 38px; }
.eyebrow { font-family: var(--body); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; margin-bottom: 8px; }
.rule { display: none; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.42; color: var(--muted); margin-top: 12px; }
.section--navy { background: radial-gradient(1000px 420px at 85% -10%, rgba(234, 122, 39, .16), transparent 60%), #0a0a0c; color: #a1a1a6; }

.card, .steps li, .scope .it, .awards .aw, .refs .rf, .facts > div, .person, .info .blk, .qc-i, .note-box, .house { background: var(--soft); border-color: transparent; box-shadow: none; }
.section--soft .card, .section--soft .steps li, .section--soft .scope .it, .section--soft .awards .aw, .section--soft .refs .rf,
.section--soft .facts > div, .section--soft .person, .section--soft .note-box, .section--soft .house { background: #fff; }
.card:hover { box-shadow: none; transform: none; border-color: transparent; }
.section--navy .card { background: rgba(255, 255, 255, .06); border-color: transparent; }
.faq details { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
.faq details[open] { box-shadow: none; }
.faq summary { font-family: var(--body); font-weight: 600; font-size: 1.08rem; }
.faq summary::after { color: var(--muted); font-weight: 300; }
table.cmp th { background: var(--soft); color: var(--ink); font-family: var(--body); font-weight: 600; }
.tablewrap { border-color: var(--line); }

.pagehead { padding: 64px 0 0; background: #fff; color: var(--ink); text-align: center; isolation: auto; }
.pagehead::before { display: none; }
.pagehead h1 { color: var(--ink); max-width: 16em; margin-inline: auto; font-size: clamp(2.3rem, 5vw, 3.9rem); }
.pagehead p { color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.42; max-width: 36em; margin: 0 auto; }
.pagehead .crumbs { color: var(--muted); margin-bottom: 14px; }
.pagehead .crumbs a { color: var(--blue); }
.pagehead .post-meta { color: var(--muted); }
.pagehead .post-meta b { color: var(--ink); }
.pagehead .btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.pagehead .btn-ghost:hover { background: var(--blue); color: #fff; }
.ph-img { aspect-ratio: 21 / 8; margin-top: 40px; border-radius: 28px; background: var(--soft) center/cover no-repeat; }
.post-head h1 { max-width: 20em; }

.topbar .wa-both svg { display: inline-block; width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: #1faa59; }
.tb-ig { display: inline-flex; align-items: center; gap: 6px; }
.tb-ig svg { width: 17px; height: 17px; color: #d6249f; }
.topbar .langs { display: inline-flex; align-items: center; white-space: nowrap; }
.topbar .langs svg { width: 16px; height: 16px; margin-right: 6px; color: var(--muted); }
.topbar .langs a, .topbar .langs b { padding: 2px 2px; }
.topbar .langs b { color: var(--ink); font-weight: 700; }
.langs-m { display: none; }
.langs-f { display: inline-flex; align-items: center; white-space: nowrap; }
.langs-f svg { width: 15px; height: 15px; margin-right: 6px; }
.langs-f a, .langs-f b { padding: 6px 3px; }
.langs-f b { font-weight: 700; }
.langs-h { display: none; position: relative; }
.langs-h summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 11px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap; }
.langs-h summary::-webkit-details-marker { display: none; }
.langs-h summary svg { width: 16px; height: 16px; color: var(--muted); }
.langs-h .dd { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; display: flex; flex-direction: column; min-width: 150px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(12, 31, 63, .14); }
.langs-h .dd a { padding: 11px 14px; border-radius: 9px; color: var(--ink); font-weight: 600; text-decoration: none; }
.langs-h .dd a[aria-current] { background: var(--soft); }
.hd-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; transition: transform .2s; }
.hd-ic:hover { color: #fff; transform: scale(1.08); }
.hd-ic svg { width: 19px; height: 19px; }
.hd-ic.wa { background: #25d366; }
.hd-ic.igc { border-radius: 10px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 92%); }
.hd-ic.igc svg { width: 20px; height: 20px; }
.nav-cta { gap: 8px; }

.tablist { width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 4px; gap: 2px; border-radius: 999px; background: #e8e8ed; }
.tablist [role=tab] { border: 0; background: transparent; color: var(--ink); font-family: var(--body); font-weight: 500; font-size: .9rem; padding: 9px 18px; }
.tablist [role=tab]:hover { color: var(--ink); background: rgba(255, 255, 255, .55); }
.tablist [role=tab][aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }

.est-out { background: var(--soft); color: var(--text); }
.est-out .eyebrow { color: var(--orange-2); }
.res-main .kw { color: var(--ink); }
.res-main .kw small { color: var(--orange-2); }
.res-sub { color: var(--muted); }
.res-grid { background: transparent; gap: 8px; }
.res-grid > div { background: #fff; border-radius: 14px; }
.res-grid b { color: var(--ink); }
.res-grid b.g { color: #137a2c; }
.res-grid span { color: var(--muted); }
.res-flag { background: #fff8ef; border-color: #f7dcc4; color: #7a4a12; }
.est-out .foot p { color: var(--muted); }
.est-viz { background: #fff; }

.card .k, .duo .role, .awards .aw .by, .toc b, .info .blk h3, .house .lb, .qc-g legend, .steps li .who { font-family: var(--body); text-transform: none; letter-spacing: 0; }
.info .blk h3, .toc b { font-size: .9rem; font-weight: 600; color: var(--ink); }
.qc-g legend { font-size: 1rem; font-weight: 600; }
.card .ic { width: auto; height: auto; margin-bottom: 14px; background: none; color: var(--blue); }
.card .ic.o { background: none; color: var(--orange-2); }
.card .ic.g { background: none; color: var(--waaree); }
.card .ic svg { width: 32px; height: 32px; }
.subnav { background: rgba(251, 251, 253, .85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(0, 0, 0, .08); }
.subnav .container { gap: 4px; padding: 6px 0; justify-content: center; }
.subnav a { font-family: var(--body); font-weight: 400; font-size: .84rem; padding: 7px 12px; background: transparent; color: var(--ink); }
.subnav a:hover { background: transparent; color: var(--blue); }

.cta-band { background: var(--soft); color: var(--text); padding: 84px 0; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); font-size: 1.2rem; }
.cta-visit { margin: 24px auto 0 !important; font-size: .98rem !important; }
.wa-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.wa-card { display: flex; align-items: center; gap: 14px; min-width: 320px; padding: 16px 18px; border-radius: 20px; background: #fff; color: var(--ink); text-align: left; transition: box-shadow .25s, transform .25s; }
.wa-card:hover { color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.wa-card .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-weight: 600; background: linear-gradient(135deg, #f0913f, var(--orange-2)); }
.wa-card:nth-child(2) .av { background: linear-gradient(135deg, #3f7be0, #1a52a5); }
.wa-card .who { flex: 1; }
.wa-card .who b { display: block; font-size: 1.05rem; }
.wa-card .who span { font-size: .86rem; color: var(--muted); }
.wa-card .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #1faa59; color: #fff; }
.wa-card .go svg { width: 23px; height: 23px; }

/* home: engineering chapters */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ch { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 530px; padding: 40px 40px 0; border-radius: 30px; background: var(--soft); }
.ch.dk { background: radial-gradient(700px 360px at 80% 0%, rgba(46, 97, 195, .3), transparent 60%), #0a0a0c; color: #a1a1a6; }
.ch-n { font-size: .9rem; font-weight: 600; color: var(--orange-2); }
.ch.dk .ch-n { color: #ffb37a; }
.ch h3 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); line-height: 1; font-weight: 700; letter-spacing: -.045em; margin: 8px 0 12px; }
.ch.dk h3 { color: #fff; }
.ch .ch-s { font-size: 1.28rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); margin: 0 0 8px; }
.ch.dk .ch-s { color: #f5f5f7; }
.ch-tx p:last-child { max-width: 34em; font-size: 1rem; color: var(--muted); }
.ch.dk .ch-tx p:last-child { color: #a1a1a6; }
.ch-vis { display: flex; align-items: flex-end; justify-content: center; margin-top: auto; padding-top: 24px; }
.mk-bill { width: 100%; max-width: 440px; padding: 22px 22px 18px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -10px 40px rgba(0, 0, 0, .08); font-size: .86rem; }
.mb-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.mb-top em { font-style: normal; font-size: .72rem; font-weight: 600; color: #137a2c; background: var(--waaree-soft); padding: 4px 9px; border-radius: 999px; }
.mb-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l b" "bar bar"; gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.mb-l { grid-area: l; color: var(--ink); }
.mb-row b { grid-area: b; font-size: .76rem; font-weight: 600; text-align: right; }
.mb-bar { grid-area: bar; height: 8px; border-radius: 99px; background: #eef0f4; overflow: hidden; }
.mb-bar i { display: block; height: 100%; border-radius: 99px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
.ch.in .mb-bar i, .no-js .mb-bar i { transform: scaleX(1); }
.mb-bar i.nm { background: linear-gradient(90deg, #f0b54a, #ea7a27); }
.mb-bar i.op { background: #4f86e0; }
.mb-bar i.pk { background: #e5534b; }
.mb-bar i.fx { background: #b8bec9; }
.mb-row b.nm { color: #b8640f; }
.mb-row b.op { color: #2e61c3; }
.mb-row b.pk { color: #c0392b; }
.mb-row b.fx { color: var(--muted); }
.mb-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.mb-foot b { font-size: 2rem; letter-spacing: -.03em; color: #137a2c; }
.iso { width: 100%; max-width: 520px; height: auto; margin-bottom: 14px; }
.iso .slab-t { fill: #2b2e36; }
.iso .slab-l { fill: #1c1e24; }
.iso .slab-r { fill: #15171c; }
.iso .shade { fill: rgba(0, 0, 0, .5); }
.iso .pv { fill: #2b58a3; stroke: #9cc0ff; stroke-width: .6; }
.iso .pv-l { stroke: rgba(160, 195, 255, .35); stroke-width: .5; }
.iso .tank-t { fill: #d9dde4; }
.iso .tank-l { fill: #aab1bd; }
.iso .tank-r { fill: #8c94a2; }
.iso .arc { fill: none; stroke: rgba(255, 179, 122, .5); stroke-width: 1.5; stroke-dasharray: 4 6; }
.iso .sun { fill: #ffb37a; }
.iso .sun-g { fill: rgba(255, 179, 122, .18); }
.iso .lead { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.iso .lbl { fill: #f5f5f7; font: 600 11.5px var(--body); }
.sim { width: 100%; max-width: 520px; height: auto; margin-bottom: 28px; }
.sim .bar { fill: #34c46a; transform-box: fill-box; transform-origin: bottom; transform: scaleY(.04); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ch.in .sim .bar, .no-js .sim .bar { transform: scaleY(1); }
.sim .mo { fill: #8e8e93; font: 600 11px var(--body); text-anchor: middle; }
.sim .avg { stroke: #ffb37a; stroke-width: 1.5; stroke-dasharray: 5 5; }
.sim .avg-t { fill: #ffb37a; font: 600 12px var(--body); }
.phone { width: 252px; padding: 12px 12px 0; border-radius: 44px 44px 0 0; background: #1d1d1f; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18), inset 0 0 0 2px #3a3a3c; }
.ph-scr { min-height: 362px; padding: 14px 16px 22px; border-radius: 34px 34px 0 0; background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%); }
.ph-bar { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: .72rem; font-weight: 600; color: var(--ink); }
.ph-dots { display: inline-flex; align-items: center; gap: 3px; }
.ph-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.ph-h { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.ph-h span { font-size: .85rem; font-weight: 500; color: var(--muted); }
.ph-big { margin: 10px 0 4px; }
.ph-big b { font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.ph-big span { display: block; font-size: .8rem; color: var(--muted); }
.ph-curve { width: 100%; height: auto; margin: 6px 0 10px; }
.ph-curve .all { fill: none; stroke: #d1d1d6; stroke-width: 1.5; stroke-dasharray: 3 3; }
.ph-curve .fill { fill: rgba(52, 196, 106, .18); }
.ph-curve .now { fill: none; stroke: #1d9a3b; stroke-width: 2.4; stroke-linejoin: round; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-tiles div { padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ph-tiles b { display: block; font-size: 1rem; color: var(--ink); }
.ph-tiles span { font-size: .75rem; color: var(--muted); }
.ph-ok { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .78rem; font-weight: 600; color: #137a2c; }
.ph-ok i { width: 8px; height: 8px; border-radius: 50%; background: #34c46a; animation: pulse 1.8s infinite; }

/* home: hardware */
.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hw-c { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 28px; border-radius: 28px; background: #fff; color: var(--ink); transition: transform .35s ease, box-shadow .35s; }
.hw-grid .hw-c:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.hw-im { display: flex; align-items: center; justify-content: center; height: 220px; margin-bottom: 18px; }
.hw-im img { width: auto; max-width: 100%; max-height: 220px; object-fit: contain; }
.hw-c h3 { font-size: 1.45rem; margin-bottom: 10px; }
.hw-c ul { list-style: none; display: grid; gap: 4px; margin: 0 0 16px; padding: 0; font-size: .98rem; color: var(--muted); }
.hw-c .go { margin-top: auto; font-weight: 500; color: var(--blue); }
.hw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.hw-stats > div { padding: 26px 24px; border-radius: 24px; background: #fff; }
.hw-stats b { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; background: linear-gradient(90deg, #f0913f, #cf6316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-stats b small { margin-left: 2px; font-size: .45em; letter-spacing: 0; }
.hw-stats span { display: block; margin-top: 10px; font-size: .9rem; line-height: 1.4; color: var(--muted); }

/* home: lineup */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lu { display: flex; flex-direction: column; }
.lu-im { aspect-ratio: 4/3; margin-bottom: 18px; border-radius: 22px; background: var(--soft) center/cover no-repeat; }
.lu h3 { font-size: 1.35rem; margin-bottom: 2px; }
.lu-k { margin: 0 0 12px; font-size: .95rem; color: var(--muted); }
.lu ul { list-style: none; display: grid; gap: 8px; margin: 0 0 16px; padding: 0; font-size: .95rem; }
.lu li { padding-top: 8px; border-top: 1px solid var(--line); }
.lu-a { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: auto 0 0; font-weight: 500; }
.lu-a a.w { color: #178a48; }

.cta-band.cta-wa { background: radial-gradient(900px 420px at 50% -10%, rgba(31, 170, 89, .22), transparent 60%), #0a0a0c; }
.cta-wa h2 { color: #fff; }
.cta-wa p { color: #a1a1a6; }
.cta-wa .cta-visit a { color: #6cb2ff; }
.cta-wa .wa-card { background: rgba(255, 255, 255, .08); color: #fff; }
.cta-wa .wa-card:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.cta-wa .wa-card .who b { color: #fff; }
.cta-wa .wa-card .who span { color: #a1a1a6; }
.ig { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 62%, #285aeb 92%); }
.ig svg { width: 28px; height: 28px; }
.proof-src.center { text-align: center; margin-top: 18px; }

.wa-start h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.intents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 24px; }
.intent { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--soft); color: var(--ink); transition: background .2s, transform .2s; }
.intent:hover { background: #ebebf0; color: var(--ink); transform: translateY(-1px); }
.intent .ii { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fff; color: var(--orange-2); }
.intent .ii svg { width: 22px; height: 22px; }
.intent .it { flex: 1; min-width: 0; }
.intent .it b { display: block; font-size: .98rem; font-weight: 600; }
.intent .it span { display: block; font-size: .82rem; line-height: 1.35; color: var(--muted); }
.intent .iw { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #1faa59; color: #fff; }
.intent .iw svg { width: 18px; height: 18px; }
.send-list { background: var(--soft); border-radius: 18px; padding: 20px 22px; }
.send-list b { display: block; margin-bottom: 10px; }
.send-list ul.ticks { margin: 0; font-size: .95rem; }
a.ig-blk { display: flex; align-items: center; gap: 14px; color: var(--ink); }
a.ig-blk:hover { color: var(--ink); }
.ig-blk .ig { width: 46px; height: 46px; border-radius: 13px; }
.ig-blk .ig svg { width: 25px; height: 25px; }
.ig-blk b { display: block; }
.ig-blk span span { font-size: .86rem; color: var(--muted); }

.site-footer { background: var(--soft); color: var(--muted); font-size: .82rem; padding: 56px 0 0; border-top: 1px solid var(--line); }
.site-footer a { color: #424245; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer h4, .site-footer .f-h { color: var(--ink); font-family: var(--body); font-size: .82rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; margin: 0 0 12px; }
.site-footer ul { gap: 8px; }
.f-brand .lockup .chip-w { background: transparent; padding: 0; }
.f-social a { background: #e8e8ed; color: var(--ink); }
.f-social a:hover { background: var(--ink); color: #fff; text-decoration: none; }
.f-bot { margin-top: 40px; border-top-color: #d2d2d7; }
.f-legal { color: #86868b; }

.subnav { top: var(--hd); }
.localnav ~ .subnav { top: var(--stick); }

/* ---------- drop-down menus ---------- */
.nv { position: relative; display: flex; align-items: center; }
.nv-tg { display: grid; place-items: center; width: 20px; height: 28px; margin-left: -6px; padding: 0; border: 0; background: none; color: var(--ink); opacity: .5; cursor: pointer; }
.nv-tg svg { width: 13px; height: 13px; transition: transform .2s; }
.nv:hover .nv-tg, .nv.open .nv-tg { opacity: 1; }
.nv.open .nv-tg svg { transform: rotate(180deg); }
.nv-dd { position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 330px; padding-top: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nv:hover .nv-dd, .nv:focus-within .nv-dd, .nv.open .nv-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nv-dd-in { padding: 8px; border-radius: 18px; border: 1px solid rgba(0, 0, 0, .06); background: rgba(255, 255, 255, .98); box-shadow: 0 24px 60px rgba(0, 0, 0, .14); }
.nav-links .nv-dd a { display: block; padding: 11px 15px; border-radius: 12px; font-size: 1rem; white-space: normal; opacity: 1; }
.nav-links .nv-dd a:hover { background: var(--soft); }
.nv-dd a b { display: block; font-weight: 600; color: var(--ink); }
.nv-dd a span { display: block; margin-top: 1px; font-size: .86rem; font-weight: 400; color: var(--muted); }
.nav-links .nv-dd a.active { background: var(--soft); }
.nv.cur > .nv-top { font-weight: 600; opacity: 1; }

/* ---------- local menu on every page of a section ---------- */
.localnav { position: sticky; top: var(--hd); z-index: 45; background: rgba(251, 251, 253, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.localnav .container { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.ln-t { font-size: 1.2rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ln-t:hover { color: var(--ink); }
.ln-l { display: flex; gap: 4px; min-width: 0; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.ln-l::-webkit-scrollbar { display: none; }
.ln-l a { padding: 6px 12px; border-radius: 999px; font-size: .9rem; white-space: nowrap; color: var(--ink); opacity: .86; }
.ln-l a:hover { color: var(--ink); opacity: 1; }
.ln-l a[aria-current=page] { background: var(--ink); color: #fff; opacity: 1; }

/* ---------- solution, guide and chapter pages ---------- */
.sol-pt { max-width: 760px; margin: 0 auto; }
.sol-pt.has-shot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; max-width: none; }
.sol-pt h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.sol-pt ul.ticks { gap: 12px; font-size: 1.05rem; }
.sol-shot { display: grid; place-items: center; padding: 36px; border-radius: 28px; background: var(--soft); }
.sol-shot img { width: auto; max-height: 340px; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sol-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--soft); color: var(--ink); transition: transform .3s, box-shadow .3s; }
.sol-grid .sol-card:hover, .guide-grid .sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.sc-im { aspect-ratio: 16 / 10; background: var(--soft) center/cover no-repeat; }
.sc-tx { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.sc-tx b { font-size: 1.1rem; font-weight: 600; }
.sc-tx > span { font-size: .9rem; color: var(--muted); }
.sc-tx em { margin-top: auto; padding-top: 8px; font-size: .92rem; font-style: normal; font-weight: 500; color: var(--blue); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card .sc-tx { padding: 28px; }
.sc-tx .gc-n { font-size: .85rem; font-weight: 600; color: var(--orange-2); }
.guide-card b { font-size: 1.45rem; letter-spacing: -.02em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pager a { display: block; padding: 16px 18px; border-radius: 16px; background: var(--soft); font-weight: 600; color: var(--ink); }
.pager a:hover { background: #ebebf0; color: var(--ink); }
.pager a span { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }
.pager .nx { text-align: right; }
.cat-tools { top: calc(var(--stick) + 10px); }
.toc { top: calc(var(--hd) + 20px); }
.art { scroll-margin-top: calc(var(--hd) + 20px); }
.qc-out { top: calc(var(--stick) + 16px); }

/* ---------- home: light hero with the globe ---------- */
.hero2 { position: relative; overflow: hidden; background: radial-gradient(760px 540px at 76% 40%, rgba(255, 179, 122, .22), transparent 62%), radial-gradient(700px 500px at 6% 0%, rgba(0, 102, 204, .07), transparent 60%), linear-gradient(180deg, #fbfbfd 0%, #f2f5fa 100%); }
.hero2-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: center; padding: 36px 0 0; }
.hero2 .hero-kicker { color: var(--orange-2); }
.hero2 h1 { font-size: clamp(2.5rem, 4.3vw, 4.4rem); margin-bottom: .3em; }
.hero2 h1 .o { background: linear-gradient(90deg, #f0913f 0%, #ea7a27 50%, #cf6316 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .sub { max-width: 24em; margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.4; color: var(--muted); }
.hero2 .btn-row { margin-top: 30px; }
.globe { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin: 0 auto; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.globe.drag { cursor: grabbing; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease; }
.globe::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e3eaf4); transition: opacity .5s; }
.globe.live canvas { opacity: 1; }
.globe.live::before { opacity: 0; }
.globe-cap { margin-top: -18px; text-align: center; }
.globe-live { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 14px rgba(0, 0, 0, .07); font-size: .9rem; color: var(--muted); }
.globe-live b { color: var(--ink); font-weight: 600; }
.globe-live span b { color: #137a2c; }
.globe-live i { width: 10px; height: 10px; border-radius: 50%; }
.globe-live .gs { background: #ffb347; box-shadow: 0 0 0 4px rgba(255, 179, 71, .25); }
.globe-live .gm { background: #2c3e68; box-shadow: 0 0 0 4px rgba(44, 62, 104, .15); }
.globe-key { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin: 12px 0 0; font-size: .84rem; color: var(--muted); }
.globe-key i { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; }
.globe-key .k1 { background: #ea7a27; box-shadow: 0 0 0 3px rgba(234, 122, 39, .2); }
.globe-key .k2 { background: #0066cc; }
.globe-key .k3 { background: #ffb347; box-shadow: 0 0 0 3px rgba(255, 179, 71, .3); }
.globe-play { padding: 6px 14px; border: 1px solid var(--blue); border-radius: 999px; background: transparent; color: var(--blue); font: 500 .84rem var(--body); cursor: pointer; }
.globe-play:hover, .globe-play[aria-pressed=true] { background: var(--blue); color: #fff; }
.hstats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; padding: 26px 0 44px; border-top: 1px solid rgba(0, 0, 0, .08); }
.hstats > div { display: flex; align-items: center; gap: 14px; padding: 0 22px; border-left: 1px solid rgba(0, 0, 0, .08); }
.hstats > div:first-child { padding-left: 0; border-left: 0; }
.hstats .hi { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--orange-2); box-shadow: 0 2px 12px rgba(0, 0, 0, .07); }
.hstats .hi svg { width: 24px; height: 24px; }
.hstats b { display: block; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; color: var(--ink); }
.hstats span span { display: block; font-size: .9rem; line-height: 1.35; color: var(--muted); }

/* ---------- home: six steps on an orbit ---------- */
.orbit { position: relative; width: min(700px, 100%); aspect-ratio: 1; margin: 0 auto 70px; }
.orbit .ring, .orbit .spark { position: absolute; inset: 8%; border-radius: 50%; }
.orbit .ring { border: 1.5px dashed rgba(0, 0, 0, .14); }
.orbit .spark { animation: spin 12s linear infinite; }
.orbit .spark::before { content: ""; position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: #f0913f; box-shadow: 0 0 0 7px rgba(240, 145, 63, .16), 0 0 28px 6px rgba(240, 145, 63, .5); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .core { position: absolute; inset: 27%; display: grid; place-items: center; padding: 20px; overflow: hidden; border-radius: 50%; color: #fff; text-align: center; background: var(--navy) center/cover no-repeat; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); isolation: isolate; }
.orbit .core::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(0, 0, 0, .5), rgba(0, 0, 0, .72)); }
.orbit .core b { display: block; font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.03em; color: #fff; }
.orbit .core span { display: block; max-width: 13em; margin: 6px auto 0; font-size: .95rem; line-height: 1.4; color: rgba(255, 255, 255, .86); }
.node { position: absolute; width: 170px; transform: translate(-50%, -33px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.node .ni { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background-color: #fff; color: var(--orange-2); box-shadow: 0 6px 24px rgba(0, 0, 0, .1); animation: node 12s linear infinite; animation-delay: var(--d); }
.node .ni svg { width: 28px; height: 28px; }
.node .nn { margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--orange-2); }
.node b { font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.node .nd { font-size: .84rem; line-height: 1.35; color: var(--muted); }
@keyframes node { 0%, 9% { background-color: #ea7a27; color: #fff; transform: scale(1.1); } 16%, 100% { background-color: #fff; color: var(--orange-2); transform: none; } }

/* ---------- home: what we build ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 22px 22px 20px; overflow: hidden; border-radius: 26px; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; transition: transform .35s ease, box-shadow .35s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .75) 100%); }
.tile:hover { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile .t-k { font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.tile h3 { margin: 2px 0 8px; font-size: 1.6rem; color: #fff; }
.tile .t-go { font-size: .95rem; font-weight: 500; color: #ffc897; }
.chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.chips-row a { padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .92rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.chips-row a:hover { color: var(--blue); }
.makes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; margin-top: 28px; }
.makes > span { font-size: .9rem; color: var(--muted); }
.makes > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; }
.makes img { width: auto; height: 30px; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.makes img:hover { filter: none; opacity: 1; }

/* ---------- home: quick estimate ---------- */
.est-lite { grid-template-columns: 1.15fr .85fr; }
.est-lite .res-grid > .x, .est-lite .res-flag { display: none !important; }
.est-out .foot .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.est-page { padding-top: 40px; }
#onsite .onsite { margin-top: 0; }
.method .ch { min-height: 470px; padding-top: 34px; }

@media (max-width: 1020px) {
  .hero2-in { grid-template-columns: 1fr; padding-top: 32px; text-align: center; }
  .hero2 .sub { margin: 0 auto; }
  .hero2 .btn-row { justify-content: center; }
  .globe { max-width: 500px; }
  .hstats { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .hstats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .method .ch { min-height: 0; }
}
@media (max-width: 720px) {
  .hstats > div { gap: 10px; padding: 0 0 0 12px; text-align: left; }
  .hstats .hi { width: 38px; height: 38px; border-radius: 11px; }
  .hstats .hi svg { width: 20px; height: 20px; }
  .hstats b { font-size: 1.2rem; }
  .hstats span span { font-size: .8rem; }
  .orbit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; aspect-ratio: auto; margin-bottom: 0; }
  .orbit .ring, .orbit .spark { display: none; }
  .orbit .core { position: relative; inset: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 24px; }
  .node { position: static; width: auto; transform: none; }
  .tile { aspect-ratio: 4 / 5; padding: 16px; border-radius: 20px; }
  .tile h3 { font-size: 1.22rem; }
  .makes img { height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit .spark, .node .ni { animation: none; }
}

/* ---------- inner pages: icon points in place of paragraphs ---------- */
.pts { display: grid; gap: 16px; margin-top: 24px; }
.pts > div { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; }
.pts span { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--soft); color: var(--orange-2); }
.pts span svg { width: 22px; height: 22px; }
.pts b { font-weight: 600; color: var(--ink); }
.pts small { font-size: .93rem; line-height: 1.4; color: var(--muted); }

/* ---------- roof planner ---------- */
.rp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
/* own box so the sticky drawing stops above the results instead of sliding over them */
.rp-top { display: grid; grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); grid-template-areas: "ctl stage"; gap: 24px; align-items: start; }
.rp [hidden] { display: none !important; }
.rp-stage { grid-area: stage; position: sticky; top: calc(var(--stick, 113px) + 14px); }
.rp-canvas { position: relative; border-radius: 22px; overflow: hidden; background: #f5f7fa; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rp-canvas canvas { display: block; width: 100%; height: 420px; touch-action: none; }
.rp-canvas canvas:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.rp-canvas canvas.dragging { cursor: grabbing !important; }
.rp-sunchip { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 92px); margin: 0; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); font-size: .8rem; line-height: 1.35; color: var(--ink); }
.rp-time { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.rp-sum { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; font-size: .9rem; color: var(--muted); }
.rp-sum b { font-family: var(--head); font-size: 1.05rem; color: var(--ink); margin-right: 4px; }
.rp-sum b.k { color: var(--orange-2); }
.rp-time select { font: 600 .92rem var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 11px; padding: 8px 10px; background: #fff; }
.rp-time input[type=range] { flex: 1; min-width: 100px; accent-color: var(--orange); height: 28px; }
#rp-clock { font-family: var(--head); font-weight: 700; color: var(--ink); min-width: 64px; }
.rp-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 4px; font-size: .82rem; color: var(--muted); }
.rp-key i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.rp-key .k-ok { background: #1d3a73; }
.rp-key .k-some { background: #1d3a73; box-shadow: inset 0 0 0 2px #f39a45; }
.rp-key .k-now { background: #3a4152; }
.rp-key .k-out { border: 1.5px dashed #8d97a9; }
.rp-hint { margin: 4px 0 0; }
.rp-ctl { grid-area: ctl; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 26px; }
.rp-step { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.rp-step h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.08rem; }
.rp-step h2 span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-2); color: #fff; font-size: .85rem; }
.rp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rp-row select { flex: 1; min-width: 150px; width: auto; }
.rp-loc { margin: 8px 0 0; }
.rp-search { display: flex; gap: 8px; margin-bottom: 10px; }
.rp-search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 11px; font: 500 .95rem var(--body); color: var(--ink); }
.rp-search input:focus { outline: none; border-color: var(--orange); }
.rp-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; margin-bottom: 12px; }
.rp-chip { cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 500 .76rem var(--body); color: var(--muted); text-align: left; }
.rp-chip b { font: 700 .86rem var(--head); color: var(--ink); }
.rp-chip:hover { border-color: #c9ced8; }
.rp-chip[aria-pressed=true] { border-color: var(--orange); background: var(--tint); }
.rp-chip:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.rp-or { margin: 10px 0 0; }
.rp-link { cursor: pointer; padding: 0; border: 0; background: none; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.rp-has { gap: 8px; }
.rp-has label { font-size: .84rem; padding: 9px 13px; }
.rp-has label::before { content: "+ "; color: var(--muted); }
.rp-has input:checked + label::before { content: "\2713  "; color: var(--orange-2); }
.rp-step .rp-hint { margin: 8px 0 0; }
.rp-more { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.rp-more summary { cursor: pointer; list-style: none; position: relative; padding: 14px 24px 14px 0; font: 600 .92rem var(--head); color: var(--ink); }
.rp-more summary::-webkit-details-marker { display: none; }
.rp-more summary::after { content: "+"; position: absolute; right: 0; top: 9px; font-size: 1.4rem; color: var(--orange-2); }
.rp-more[open] summary::after { content: "\2212"; }
.rp-more[open] { padding-bottom: 16px; }
.rp-views { display: flex; width: fit-content; gap: 2px; margin: 0 0 10px; padding: 4px; border-radius: 999px; background: #e8e8ed; }
.rp-views button { cursor: pointer; padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; font: 500 .88rem var(--body); color: var(--ink); }
.rp-views button[aria-pressed=true] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.rp-mapbox { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rp-map { width: 100%; height: clamp(320px, 52vw, 560px); background: #dfe5ee; }
.rp-maptip { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); max-width: calc(100% - 24px); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(12, 20, 36, .86); color: #fff; font-size: .86rem; font-weight: 600; text-align: center; pointer-events: none; }
.rp-h { font-size: 1.25rem; margin: 0 0 16px; }
.rp-ctl .field { margin-bottom: 18px; }
.rp-ctl select { width: 100%; font: 600 .95rem var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fff; }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-two label { display: block; font-family: var(--head); font-weight: 700; font-size: .8rem; color: var(--ink); margin-bottom: 7px; }
.rp-in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; padding: 0 10px; }
.rp-in:focus-within { border-color: var(--orange); }
.rp-in input { width: 100%; min-width: 0; border: 0; padding: 10px 4px; font: 700 1rem var(--head); color: var(--ink); background: transparent; }
.rp-in input:focus { outline: none; }
.rp-in span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
#rp-r { width: 100%; accent-color: var(--orange); height: 28px; }
.rp-r-out { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.rp-add { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-add button { cursor: pointer; padding: 7px 12px; border: 1.5px dashed #c9ced8; border-radius: 999px; background: #fff; font: 600 .82rem var(--body); color: var(--ink); }
.rp-add button:hover, .rp-add button:focus-visible { border-color: var(--orange); color: var(--orange-2); }
.rp-obs { list-style: none; display: grid; gap: 8px; margin: 12px 0 0; padding: 0; }
.rp-obs li { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.rp-obs li.on { border-color: var(--orange); background: var(--tint); }
.rp-pick { flex: 1 0 calc(100% - 40px); order: -2; cursor: pointer; padding: 0; border: 0; background: none; text-align: left; font: 700 .9rem var(--head); color: var(--ink); }
.rp-del { order: -1; cursor: pointer; padding: 0 4px; border: 0; background: none; font-size: 1.35rem; line-height: 1; color: var(--muted); }
.rp-del:hover { color: #b42318; }
.rp-obs label { flex: 1 1 74px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 4px; font-size: .72rem; color: var(--muted); }
.rp-obs label > span:first-child { grid-column: 1 / -1; margin-bottom: 3px; }
.rp-obs label input { width: 100%; min-width: 0; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; font: 600 .9rem var(--body); color: var(--ink); }
.rp-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px 36px; padding: 30px; border-radius: 22px; background: var(--soft); }
.rp-out .res-grid { margin-bottom: 18px; }
.rp-out .res-sub { margin-bottom: 18px; }
.rp-out .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-h3 { font-size: 1rem; margin: 0 0 10px; }
.rp-chart { margin-bottom: 18px; }
.rp-chart svg { display: block; max-width: 100%; height: auto; }
.rp-chart .gl { stroke: #e2e4ea; }
.rp-chart .ax { font-size: 11px; fill: var(--muted); }
.rp-chart .b { fill: var(--orange); }
.rp-notes { display: grid; gap: 7px; margin: 0; padding-left: 18px; font-size: .92rem; }
.rp-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* ---------- town pages: local facts table + NASA POWER sunshine chart ---------- */
.town-lede { max-width: 860px; margin: 0 auto 30px; text-align: center; }
.town-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.glance h2.h3, .ghi-fig h2.h3 { font-size: 1.1rem; margin: 0 0 12px; }
.ghi-fig { margin: 0; padding: 24px 24px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ghi { display: block; width: 100%; height: auto; }
.ghi .bar { fill: var(--orange); }
.ghi .v { fill: var(--ink); font: 600 10px var(--body); text-anchor: middle; }
.ghi .mo { fill: var(--muted); font: 600 11px var(--body); text-anchor: middle; }
.ghi .avg { stroke: var(--navy-2); stroke-width: 1.2; stroke-dasharray: 4 4; }
.ghi-fig figcaption { margin-top: 10px; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.nearby { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.nearby a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; color: var(--ink); }
.nearby a:hover, .nearby a:focus-visible { border-color: var(--orange); color: var(--orange-2); }
.narrow-copy { max-width: 860px; }
@media (max-width: 900px) {
  .town-grid { grid-template-columns: minmax(0, 1fr); }
}
/* the five-step value chain graphic in the manufacturing article */
.vchain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 30px 0 34px; counter-reset: vc; }
.vchain > div { position: relative; display: flex; flex-direction: column; padding: 20px 14px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.vchain > div::before { counter-increment: vc; content: counter(vc); position: absolute; top: -12px; left: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .78rem/24px var(--head); text-align: center; }
.vchain > div:not(:last-child)::after { content: "\203A"; position: absolute; right: -12px; top: 38%; font-size: 1.5rem; line-height: 1; color: #9aa4b5; }
.vchain b { font-family: var(--head); font-size: 1rem; color: var(--ink); }
.vchain small { display: block; margin: 6px 0 12px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.vchain .st { margin-top: auto; align-self: flex-start; padding: 4px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.3; }
.vchain .s0 { background: #fdecea; color: #9f2a1d; }
.vchain .s1 { background: #fff1e0; color: #8a4b0b; }
.vchain .s2 { background: #fff7d1; color: #6e5200; }
.vchain .s3 { background: #e7f6ec; color: #137a2c; }
@media (max-width: 760px) {
  .vchain { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .vchain > div:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -19px; font-size: 1.1rem; }
}
@media (max-width: 1180px) {
  .rp input, .rp select, .rp-time select, .rp-ctl select, .rp-in input, .rp-obs label input { font-size: 16px; }
}
@media (max-width: 980px) {
  .rp-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "ctl"; }
  .rp-stage { position: static; }
  .rp-out { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .rp-how { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .rp-sunchip { position: static; max-width: none; margin: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .rp-ctl { padding: 20px 16px; }
}

/* ---------- accessibility: WCAG 2.1 AA contrast and links that do not rely on colour alone ---------- */
:root { --orange-2: #b3510b; --waaree: #137a2c; }
.btn-primary { background: #c2560c; }
.btn-primary:hover { background: #a84a0a; }
.btn-wa, .person .lines a.w, .pcard .enq a:hover, body .mbar a.w { background: #15803d; }
.btn-wa:hover { background: #116b33; }
.f-legal { color: #636366; }
.ladder .bd { background: #68778f; }
.chain > div small { color: #6e6e73; opacity: 1; }
.chain > div.on small { color: #137a2c; }
.mb-row b.nm { color: #a8560a; }
p a:not(.btn), li a:not(.btn), td a:not(.btn), .crumbs a, .f-bot a, .kb a, .proof-src a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.site-footer li a, .nv-dd a, .ln-l a, .lu-a a, .tools-strip a, .chips-row a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }

/* ---------- download form (name + mobile before any PDF) ---------- */
html.lead-open { overflow: hidden; }
.lead-bg { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(8, 18, 36, .55); }
.lead-bg[hidden] { display: none; }
.lead { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 28px 26px 22px; border-radius: 20px;
  background: #fff; box-shadow: 0 30px 80px rgba(8, 18, 36, .35); display: flex; flex-direction: column; }
.lead h2 { font-size: 1.35rem; margin: 0 0 6px; }
.lead > p { font-size: .95rem; margin: 0 0 14px; }
.lead label, .qc-who label { font-weight: 600; font-size: .9rem; color: var(--ink); margin: 10px 0 5px; }
.lead input:not(.hp), .qc-who input { width: 100%; padding: 12px 14px; border: 1px solid #c9d1dd; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.lead input:focus, .qc-who input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(234, 122, 39, .18); }
.lead .btn { margin-top: 16px; justify-content: center; }
.lead-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.lead-x:hover { background: var(--soft); color: var(--ink); }
.lead-e { margin: 10px 0 0; color: #b42318; font-size: .9rem; font-weight: 600; }
.lead-fine { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- quotation upload ---------- */
.qc-up { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px 32px; align-items: start; padding: 30px 32px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: 0 10px 40px rgba(12, 31, 63, .06); }
.qc-up-h h2 { font-size: 1.5rem; margin: 0 0 8px; }
.qc-up-h p { margin: 0; }
.qc-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.qc-drop { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 2px dashed #c9d1dd; border-radius: 16px; background: var(--soft); cursor: pointer; transition: border-color .2s, background .2s; }
.qc-drop:hover, .qc-file:focus-visible + .qc-drop { border-color: var(--orange); background: var(--tint); }
.qc-drop svg { width: 30px; height: 30px; flex: none; color: var(--orange-2); }
.qc-drop b { display: block; color: var(--ink); word-break: break-all; }
.qc-drop .hint { font-size: .85rem; color: var(--muted); }
.qc-up.has-file .qc-drop { border-style: solid; border-color: #15803d; background: #effaf3; }
.qc-who { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.qc-who > div { display: flex; flex-direction: column; }
.qc-up .lead-e { grid-column: 1 / -1; margin: 0; }
.qc-go { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.qc-foot { padding: 22px 0 26px; }
.qc-foot p { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.qc-st { grid-column: 1 / -1; }
.qc-st p { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--soft); font-weight: 600; color: var(--ink); }
.qc-st p.ok { background: #effaf3; color: #116b33; }
.qc-st p.bad { background: #fdecea; color: #b42318; }
.qc-ev { display: block; margin-top: 6px; padding: 6px 10px; border-left: 3px solid #15803d; background: #effaf3; border-radius: 0 8px 8px 0; font-size: .82rem; color: #1d3b2a; font-style: italic; }
@media (max-width: 900px) {
  .qc-up { grid-template-columns: 1fr; padding: 24px 20px; }
  .qc-who { grid-template-columns: 1fr; }
}

/* ---------- admin ---------- */
.ad h1 { font-size: 1.8rem; }
.ad h2 { font-size: 1.2rem; margin: 34px 0 12px; display: flex; align-items: center; gap: 10px; }
.ad-login { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 520px; }
.ad-login label { width: 100%; font-weight: 600; }
.ad-login input { flex: 1; padding: 12px 14px; border: 1px solid #c9d1dd; border-radius: 12px; font-size: 16px; }
.ad-bar { display: flex; gap: 10px; }
.ad-t td, .ad-t th { font-size: .86rem; vertical-align: top; white-space: nowrap; }
.ad-t td:nth-child(7) { white-space: normal; min-width: 260px; }
.ad-wa { margin-left: 8px; color: #15803d; font-weight: 600; }

/* ---------- header on laptop widths: the larger menu needs room ---------- */
.topbar .container, .site-header .container { width: min(1280px, 100% - 40px); }
@media (max-width: 1360px) {
  .nav { gap: 16px; }
  .nav-links a { padding: 8px 7px; }
  .brand { gap: 12px; }
  .brand img.sv { height: 30px; }
  .brand img.wa { height: 20px; }
  .brand .x { height: 24px; }
}
@media (max-width: 1240px) {
  .nav { gap: 12px; }
  .nav-links a { font-size: .9rem; }
  .nav-cta .btn-sm { padding: 8px 13px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .langs-h { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 10px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(12, 31, 63, .12); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.3rem; font-weight: 600; opacity: 1; }
  .nv { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-links .nv-top { flex: 1; border-bottom: 0; }
  .nv-tg { width: 44px; height: 44px; margin: 0; opacity: .7; }
  .nv-tg svg { width: 18px; height: 18px; }
  .nv-dd { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nv:hover .nv-dd, .nv:focus-within .nv-dd { display: none; transform: none; }
  .nv.open .nv-dd { display: block; }
  .nv-dd-in { padding: 6px; border: 0; background: var(--soft); box-shadow: none; }
  .nav-links .nv-dd a { padding: 10px 12px; border-bottom: 0; font-size: 1rem; font-weight: 400; }
  .nv-dd a span { display: none; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; }
  /* with the menu behind the burger, the language switch moves from the top bar into the menu */
  .topbar .langs { display: none; }
  .nav-links .langs-m { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 16px 6px 4px; font-size: 1.05rem; }
  .nav-links .langs-m svg { width: 18px; height: 18px; margin-right: 6px; color: var(--muted); }
  .nav-links .langs-m a, .nav-links .langs-m b { padding: 10px 10px; border-bottom: 0; font-size: 1.05rem; font-weight: 600; }
  .nav-links .langs-m b { color: var(--ink); background: var(--soft); border-radius: 999px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .os-grid { grid-template-columns: repeat(3, 1fr); }
  /* iOS/iPadOS Safari zooms into any field under 16px; keep every input at 16px on touch-size screens */
  input, select, textarea, .quick input, .cat-tools input[type=search], .cat-tools select,
  .form-card input[type=text], .form-card input[type=tel], .form-card input[type=email], .form-card select, .form-card textarea,
  .units-row .num input, .est .num.rate input { font-size: 16px; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 72px 0 130px; }
  .hero-card { max-width: 560px; }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof > div:nth-child(3) { border-right: 0; }
  .proof > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .g4, .facts { grid-template-columns: repeat(2, 1fr); }
  .g3, .awards, .refs, .range-cards, .cover { grid-template-columns: repeat(2, 1fr); }
  .duo, .est, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .media { min-height: 300px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .scope { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cat-tools { grid-template-columns: 1fr 1fr; position: static; }
  .cat-tools .search { grid-column: 1 / -1; }
  .chain { grid-template-columns: repeat(3, 1fr); }
  .chain > div:nth-child(3) { border-right: 0; }
  .chain > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .lights { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick .q-t { grid-column: 1 / -1; }
  .post-cards { grid-template-columns: repeat(2, 1fr); }
  .dcrtool { grid-template-columns: 1fr; }
  .tp { grid-template-columns: 1fr; gap: 16px; }
  .tp-im { min-height: 240px; }
  .tp-tx { padding: 4px 8px 10px; }
  .cta-grid { grid-template-columns: 1fr; }
  .os-grid { grid-template-columns: repeat(2, 1fr); }
  .os-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ts-row { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; }
  .ch { min-height: 0; }
  .hw-grid { grid-template-columns: 1fr 1fr; }
  .hw-grid .hw-c:last-child { grid-column: 1 / -1; }
  .hw-stats { grid-template-columns: repeat(2, 1fr); }
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .qc { grid-template-columns: 1fr; }
  .qc-out { position: static; }
  .qc-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; bottom: 12px; z-index: 20; margin-top: 8px; padding: 12px 16px; border-radius: 14px; background: var(--navy-2); color: #fff; font-family: var(--head); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); }
  .qc-mini:hover { color: #fff; }
  .qc-mini span { color: #ffc38f; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --hd: 56px; }
  .topbar { font-size: .84rem; }
  .topbar .hide-sm { display: none; }
  .nav { gap: 12px; }
  .brand { gap: 10px; }
  .nav-cta { gap: 6px; }
  .hd-ic.igc { display: none; }
  .langs-h summary { height: 32px; padding: 0 9px; }
  .brand img.sv { height: 26px; }
  .brand img.wa { height: 17px; }
  .brand .x { height: 20px; }
  .nav-cta .btn { display: none; }
  .section { padding: 54px 0; }
  .pair-lists { grid-template-columns: 1fr; }
  .tablist { justify-content: flex-start; gap: 6px; }
  .tablist [role=tab] { padding: 9px 13px; font-size: .82rem; }
  .subnav { position: static; }
  .subnav .container { flex-wrap: wrap; }
  .totop { bottom: 78px; right: 14px; }
  .wip-strip .ws-n { margin-left: 0; }
  .onsite { padding: 24px 18px 20px; border-radius: 20px; }
  .os-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
  .os-count { padding: 8px 14px; }
  .os-count b { font-size: 2rem; }
  .os-grid { gap: 10px; grid-template-columns: 1fr; }
  .os-card { padding: 14px 16px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; }
  .os-top { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .os-card h4, .os-loc, .os-st { grid-column: 2; }
  .os-ic { width: 42px; height: 42px; border-radius: 12px; }
  .os-ic svg { width: 20px; height: 20px; }
  .os-kind { display: none; }
  .os-card h4 { font-size: 1rem; margin: 0 0 2px; }
  .os-loc { font-size: .84rem; margin-bottom: 6px; }
  .os-st { font-size: .76rem; }
  .os-bar { grid-column: 1 / -1; margin-top: 10px; }
  .est-viz { padding: 20px 18px 22px; }
  .ev-acts { width: 100%; }
  .ev-acts .btn { flex: 1; padding: 11px 10px; }
  .ev-toast { right: 18px; }
  .ts-row { grid-template-columns: 1fr; gap: 8px; }
  .ts-h span { display: block; margin: 4px 0 0; }
  .hero-in { padding: 64px 0 168px; }
  .pagehead { padding: 40px 0 0; }
  .ph-img { aspect-ratio: 16 / 10; margin-top: 28px; border-radius: 20px; }
  .tablist { border-radius: 16px; justify-content: center; }
  .hd-ic { width: 32px; height: 32px; }
  .hero-kicker { font-size: .92rem; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .pagehead { padding: 56px 0 48px; }
  .ch { padding: 28px 22px 0; border-radius: 24px; }
  .ch h3 { font-size: 2.5rem; }
  .ch .ch-s { font-size: 1.12rem; }
  .phone { width: 230px; }
  .ph-scr { min-height: 330px; }
  .hw-grid { grid-template-columns: 1fr; }
  .hw-c { padding: 24px 20px; }
  .hw-im { height: 160px; }
  .hw-im img { max-height: 160px; }
  .hw-stats { gap: 10px; }
  .hw-stats > div { padding: 20px 16px; }
  .lineup { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .lineup::-webkit-scrollbar { display: none; }
  .lu { scroll-snap-align: start; }
  .wa-card { min-width: 0; width: 100%; }
  .cta-band { padding: 64px 0; }
  .intents { grid-template-columns: 1fr; }
  .localnav .container { gap: 10px; min-height: 44px; }
  .ln-t { font-size: .98rem; }
  .sol-pt.has-shot, .guide-grid, .pager { grid-template-columns: 1fr; gap: 16px; }
  .sol-shot { padding: 22px; }
  .sol-shot img { max-height: 220px; }
  .ts { padding: 12px 14px; }
  .qc-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .qc-i { padding: 12px 13px; gap: 12px; }
  .qc-mini { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); }
  .proof > div:nth-child(-n+2) { border-top: 0; }
  .proof > div:nth-child(2n) { border-right: 0 !important; }
  .proof > div:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .g2, .g3, .g4, .facts, .awards, .refs, .range-cards, .cover, .steps, .blocks { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lights { grid-template-columns: repeat(2, 1fr); }
  .duo .panel, .est-in, .est-out, .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .scope .it { grid-template-columns: 46px 1fr; }
  .scope .ic { width: 46px; height: 46px; }
  .scope .mk { grid-column: 2; }
  .bars .row { grid-template-columns: 110px 1fr 46px; font-size: .86rem; }
  .myth { grid-template-columns: 1fr; }
  .house { flex-direction: column; text-align: center; }
  .f-grid { grid-template-columns: 1fr; }
  .units-row { flex-wrap: wrap; }
  .units-row .num { width: 100%; }
  .res-main .kw { font-size: 3.2rem; }
  .quick { grid-template-columns: 1fr; }
  .quick .btn { width: 100%; }
  .post-cards, .photo-pair { grid-template-columns: 1fr; }
  .glance th { width: auto; display: block; padding-bottom: 0; }
  .glance td { display: block; border-top: 0; padding-top: 2px; }
  .dcrtool .dq, .dcrtool .da { padding: 26px 20px; }
  .topbar .container { gap: 10px; justify-content: center; }
  .topbar .sep { display: none; }
  .fab { display: none; }
  body { padding-bottom: 64px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(12, 31, 63, .1); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 6px; font-family: var(--head); font-weight: 700; font-size: .88rem; color: var(--navy-2); border-right: 1px solid var(--line); }
  .mbar a:last-child { border-right: 0; }
  .mbar a.w { background: #1faa59; color: #fff; }
  .mbar svg { width: 18px; height: 18px; }
  .hero-card { padding: 22px 18px 20px; }
  .hero-card .pair { gap: 10px; }
  .hero-card .pair img.sv { height: 28px; }
  .hero-card .pair img.wa { height: 26px; }
  .wcurve { gap: 6px; grid-template-columns: repeat(5, 1fr); }
  .wcurve > div:nth-child(2), .wcurve > div:nth-child(4) { display: none; }
  .wcurve b { font-size: .8rem; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mbar { padding-bottom: env(safe-area-inset-bottom); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .mbar a { min-height: 52px; }
  .topbar .wa-both a { display: inline-block; padding: 8px 2px; }
  .topbar .container { min-height: 40px; }
  .pagehead { padding: 46px 0 42px; }
  .pagehead p { font-size: 1.02rem; }
  .post p, .post li { font-size: 1.02rem; line-height: 1.72; }
  .post .lead { font-size: 1.1rem; }
  .map { height: 260px; }
}
@media (max-width: 430px) {
  /* বাংলা / हिन्दी are wider than EN: globe only on phones (the full names are in the menu it opens) */
  html:not([lang^=en]) .langs-h summary { width: 34px; padding: 0; justify-content: center; }
  html:not([lang^=en]) .langs-h summary span { display: none; }
}
@media (max-width: 380px) {
  .hd-ic.igc { display: none; }
  .nav-cta .hd-ic.wa { display: none; } /* the bottom contact bar carries WhatsApp on phones */
  .langs-h summary { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .langs-h summary span { display: none; }
  .topbar .wa-w { display: none; }
  .brand { gap: 8px; }
  .brand img.sv { height: 22px; }
  .brand img.wa { height: 15px; }
  .hd-ic { width: 30px; height: 30px; }
  .nav-cta { gap: 6px; }
  .burger { width: 40px; height: 40px; }
  .burger span { top: 19px; left: 10px; right: 10px; }
  .container { width: calc(100% - 28px); }
  .nav { gap: 8px; }
  .topbar { font-size: .8rem; }
  .mbar a { gap: 5px; font-size: .82rem; padding: 12px 4px; }
  .tablist [role=tab] { padding: 8px 11px; font-size: .8rem; }
  .res-main .kw { font-size: 2.8rem; }
  .cat-grid { gap: 10px; }
  .pcard .pimg { padding: 12px; }
  .pcard .pbd { padding: 12px 11px 14px; }
  .pcard .pbd h3 { font-size: .86rem; }
  .pcard .enq a { font-size: .78rem; padding: 10px 6px; gap: 5px; white-space: nowrap; }
  .post table.cmp th, .post table.cmp td { padding-left: 12px; padding-right: 12px; }
}
@media print {
  @page { margin: 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar, .site-header, .fab, .mbar, .totop, .cta-band, .site-footer, .readbar, .np, .skip, .qc-mini { display: none !important; }
  body { padding: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .pagehead { padding: 22px 0; }
  body.print-est main > *:not(#estimate) { display: none !important; }
  body.print-est .est-top { margin: 0; }
  body.print-est .print-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 12px; margin-bottom: 14px; border-bottom: 2px solid var(--orange); }
  .ph-logos { display: flex; align-items: center; gap: 14px; }
  .ph-logos img { height: 28px; width: auto; }
  .ph-tx { display: grid; text-align: right; font-size: 11px; color: #555; line-height: 1.5; }
  .ph-tx b { font-family: var(--head); font-size: 14px; color: var(--ink); }
  body.print-est .est { box-shadow: none; border: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
  body.print-est .est-in, body.print-est .est-out { padding: 22px; }
  body.print-est .est-viz { padding: 16px 22px; }
  body.print-est .est-viz .tabpanel { display: block !important; margin-bottom: 12px; break-inside: avoid; }
  body.print-est .ev-bar, body.print-est .units-row input[type=range], body.print-est .tint-box { display: none !important; }
  .ph-tx a { color: #178a48; font-weight: 600; text-decoration: none; }
  .qc { grid-template-columns: 1.4fr 1fr; }
  .qc-out { position: static; box-shadow: none; }
  #qc-print, .qc-top .btn, .qc-out .qc-fine { display: none !important; }
  .qc-i { break-inside: avoid; }
}

/* Private skills pack (skills.html, not linked or indexed) */
.vault .container { max-width: 860px; }
.vault-form { margin: 26px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.vault-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.vault-row { display: flex; flex-wrap: wrap; gap: 10px; }
.vault-row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #c9d2df; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.vault-msg { min-height: 1.5em; margin: 10px 0 0; font-size: .95rem; color: var(--text); }
.vault-msg.err, .vault-file .vf-st.err { color: #b42318; }
.vault-meta { color: var(--muted); font-size: .95rem; margin-top: 18px; }
.vault-grp { margin-top: 30px; }
.vault-grp .vg-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vault-grp h2 { font-size: 1.25rem; margin: 0; }
.vault-grp .vg-d { color: var(--muted); font-size: .95rem; margin: 6px 0 10px; }
.vault-file { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.vault-file .vf-n { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; color: var(--ink); }
.vault-file .vf-s { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.vault-file .vf-st { color: var(--muted); font-size: .88rem; min-width: 4.5em; text-align: right; }
.vault-file .vf-st.ok { color: #15803d; }
.vault-steps { margin-top: 30px; padding: 18px 22px; border-radius: var(--radius); background: var(--soft); }
.vault-steps ol { margin: 8px 0 0; }
