/* HI TECH ENGINEERING INDUSTRY — Material 3 inspired */
@view-transition { navigation: auto; }

:root {
  --primary: #0B57D0;
  --on-primary: #FFFFFF;
  --primary-container: #D3E3FD;
  --on-primary-container: #041E49;
  --surface: #FFFFFF;
  --surface-bg: #F8FAFD;
  --sc: #F0F4F9;
  --sc-high: #E9EEF6;
  --sc-highest: #DDE3EA;
  --on-surface: #1F1F1F;
  --on-surface-2: #444746;
  --outline: #747775;
  --outline-2: #C4C7C5;
  --success: #146C2E;
  --success-container: #C4EED0;
  --error: #B3261E;
  --error-container: #F9DEDC;
  --accent: var(--primary);
  --r-s: 8px; --r-m: 12px; --r-l: 16px; --r-xl: 28px; --r-full: 999px;
  --e1: 0 1px 2px rgba(0,0,0,.3), 0 1px 3px 1px rgba(0,0,0,.15);
  --e2: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px 2px rgba(0,0,0,.15);
  --e3: 0 4px 8px 3px rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.3);
  --ease: cubic-bezier(.2, 0, 0, 1);
  --font: "Google Sans Flex", "Google Sans", var(--script-font, Roboto), Roboto, system-ui, sans-serif;
  --wrap: 1240px;
  --appbar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--appbar) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--on-surface); background: var(--surface-bg); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; font-weight: 500; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* Material Symbols */
.ms { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-smoothing: antialiased; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; flex: none;
  width: 1em; overflow: hidden; }
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.wa-ic { width: 22px; height: 22px; flex: none; }

/* State layer (hover / press feedback) */
.sl { position: relative; overflow: hidden; isolation: isolate; }
.sl::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .2s var(--ease); z-index: -1; pointer-events: none; }
.sl:hover::after { opacity: .08; }
.sl:active::after { opacity: .14; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: var(--r-full); font: 500 1rem var(--font); border: 0; cursor: pointer; white-space: nowrap; max-width: 100%;
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.btn .ms { font-size: 20px; }
.btn-filled { background: var(--primary); color: var(--on-primary); }
.btn-filled:hover { box-shadow: var(--e1); }
.btn-tonal { background: var(--primary-container); color: var(--on-primary-container); }
.btn-outlined { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1px var(--outline); }
.btn-text { background: transparent; color: var(--primary); padding: 0 14px; }
.btn-wa { background: #1E8E3E; color: #fff; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }

/* App bar */
.appbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  view-transition-name: appbar; transition: box-shadow .2s var(--ease); }
.appbar.scrolled { box-shadow: 0 1px 0 var(--outline-2); }
.appbar .wrap { height: var(--appbar); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 40px; height: 40px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand-txt small { font-size: .72rem; color: var(--on-surface-2); letter-spacing: .08em; font-weight: 500; }
.tabs { display: flex; gap: 4px; margin-left: 24px; }
.tabs a { height: 40px; padding: 0 16px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-surface-2); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.tabs a .ms { font-size: 20px; }
.tabs a[aria-current="page"] { background: var(--primary-container); color: var(--on-primary-container); }
.appbar .spacer { flex: 1; }
.lang { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 6px 0 12px; border-radius: var(--r-full);
  box-shadow: inset 0 0 0 1px var(--outline-2); color: var(--on-surface-2); }
.lang .ms { font-size: 20px; }
.lang select { border: 0; background: transparent; font: 500 .9rem var(--font); color: var(--on-surface); padding: 6px 2px; cursor: pointer; max-width: 110px; }
.appbar .btn { min-height: 40px; padding: 0 20px; }

/* Bottom navigation (phones) */
.botnav { display: none; }

/* Sections */
main { display: block; }
.sec { padding: 56px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head p { color: var(--on-surface-2); }

/* Hero */
.hero { padding: 16px 0 8px; }
.hero-card { background: var(--sc); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.greet { font-size: clamp(3rem, 9vw, 6.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; color: var(--primary);
  margin-bottom: 14px; animation: rise .7s var(--ease) both; overflow-wrap: anywhere; }
.hero-line { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--on-surface); max-width: 24ch; animation: rise .7s .08s var(--ease) both; }
.pick-label { margin: 28px 0 12px; color: var(--on-surface-2); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.ind-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ind-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--outline-2); cursor: pointer; font: 500 .95rem var(--font); color: var(--on-surface);
  text-align: left; min-height: 104px; min-width: 0; overflow-wrap: anywhere;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.ind-chip .ic { width: 44px; height: 44px; border-radius: var(--r-m); display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); transition: background-color .25s var(--ease), color .25s var(--ease); }
.ind-chip .ic .ms { font-size: 26px; }
.ind-chip[aria-pressed="true"] { background: var(--primary-container); border-color: var(--primary); }
.ind-chip[aria-pressed="true"] .ic { background: var(--c); color: #fff; }
.ind-chip:active { transform: scale(.97); }

.foryou { background: var(--surface); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--e1);
  display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.foryou .empty { flex: 1; display: grid; place-items: center; align-content: center; text-align: center; gap: 16px; color: var(--on-surface-2); padding: 12px; }
.foryou .empty svg { width: min(220px, 60%); margin: 0 auto; animation: spin-in 1.2s var(--ease) both; }
.fy-head { display: flex; align-items: center; gap: 12px; }
.fy-head .ic { width: 48px; height: 48px; border-radius: var(--r-l); display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.fy-head small { display: block; color: var(--on-surface-2); font-size: .8rem; }
.fy-head b { font-size: 1.25rem; font-weight: 500; }
.fy-list { display: grid; gap: 2px; }
.fy-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-l); }
.fy-item .ic { width: 40px; height: 40px; border-radius: var(--r-m); display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); }
.fy-item .nm { flex: 1; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.fy-item .chev { color: var(--outline); }
.fy-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.fy-anim { animation: rise .45s var(--ease) both; }

/* Tiles and cards */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { background: var(--surface); border-radius: var(--r-xl); padding: 20px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--outline-2); min-width: 0; transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.tile:hover { box-shadow: var(--e2); border-color: transparent; transform: translateY(-2px); }
.tile .ic { width: 56px; height: 56px; border-radius: var(--r-l); display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); }
.tile .ic .ms { font-size: 30px; }
.tile h3 { font-size: 1.05rem; }
.tile p { color: var(--on-surface-2); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .foot-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: var(--on-surface-2); font-size: .85rem; }
.tile .foot-row .ms { color: var(--c); }

.pcard { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--outline-2); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.pcard:hover { box-shadow: var(--e2); transform: translateY(-2px); }
.media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--c) 22%, white), color-mix(in srgb, var(--c) 7%, white)); color: var(--c); }
.media > .ms { font-size: clamp(56px, 9vw, 88px); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .soon { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px;
  border-radius: var(--r-s); background: rgba(255,255,255,.88); color: var(--on-surface-2); font-size: .75rem; font-weight: 500; }
.media .soon .ms { font-size: 16px; }
.pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.pcard p { color: var(--on-surface-2); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Calculator */
.calc { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--e1); padding: clamp(20px, 3vw, 32px); display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; }
.seg { display: inline-flex; border: 1px solid var(--outline); border-radius: var(--r-full); overflow: hidden; margin-bottom: 24px; max-width: 100%; }
.seg button { border: 0; background: transparent; font: 500 .92rem var(--font); color: var(--on-surface); padding: 0 18px; min-height: 44px;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; min-width: 0; }
.seg button + button { border-left: 1px solid var(--outline); }
.seg button[aria-selected="true"] { background: var(--primary-container); color: var(--on-primary-container); }
.seg button .ms { font-size: 18px; display: none; }
.seg button[aria-selected="true"] .ms { display: inline-block; }
.cpanel[hidden] { display: none; }
.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--on-surface-2); margin-bottom: 4px; }
.field output { font-weight: 500; color: var(--on-surface); font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type=range] { width: 100%; appearance: none; -webkit-appearance: none; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--primary) var(--p, 50%), var(--primary-container) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--primary-container); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--primary); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); margin-top: -8px; transition: box-shadow .2s var(--ease); }
input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(11,87,208,.18); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--primary); }
.result { background: var(--primary-container); color: var(--on-primary-container); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.result .big { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; overflow-wrap: anywhere; }
.result .yr { font-size: 1.15rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.result small { opacity: .8; }
.result .note { font-size: .8rem; opacity: .85; margin-top: 8px; }
.result .btn { margin-top: 14px; align-self: flex-start; }

/* Sago process line */
.line { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; scrollbar-width: thin; }
.step { scroll-snap-align: start; flex: 1 0 132px; width: 132px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer; font: 500 .85rem var(--font); color: var(--on-surface-2); text-align: center; position: relative; padding: 0 6px; isolation: isolate; }
.step::before { content: ""; position: absolute; top: 32px; left: 0; right: 0; height: 3px; background: var(--outline-2); z-index: -1; }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step.done::before, .step[aria-selected="true"]::before { background: var(--primary); }
.step .dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  border: 2px solid var(--outline-2); color: var(--on-surface-2); transition: all .3s var(--ease); }
.step .dot .ms { font-size: 30px; }
.step[aria-selected="true"] { color: var(--on-surface); }
.step[aria-selected="true"] .dot { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.08); box-shadow: var(--e2); }
.step.done .dot { border-color: var(--primary); color: var(--primary); }
.step-card { margin-top: 8px; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--e1); padding: 16px;
  display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.step-card .media { border-radius: var(--r-l); }
.step-card .media > .ms { font-size: 56px; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.step-card p { color: var(--on-surface-2); }

/* Why + brands */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.why div { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--surface); min-width: 0; }
.why .ms { width: 44px; height: 44px; font-size: 24px; border-radius: var(--r-m); display: grid; place-items: center; background: var(--sc-high); color: var(--primary); }
.why b { font-weight: 500; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-s);
  border: 1px solid var(--outline-2); background: var(--surface); font-weight: 500; font-size: .9rem; color: var(--on-surface-2); max-width: 100%; }
a.chip:hover { background: var(--sc); }
.chip .ms { font-size: 18px; color: var(--c, var(--primary)); }
.chip.brand-chip { font-weight: 700; letter-spacing: .04em; min-height: 48px; padding: 0 22px; color: var(--on-surface); }

/* Visit + callback */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.panel { border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.panel.tonal { background: var(--primary-container); color: var(--on-primary-container); }
.panel.plain { background: var(--surface); box-shadow: var(--e1); }
.panel .ms.big { font-size: 40px; }
.panel p { opacity: .85; }
.cb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; margin-top: 4px; }
.tf { position: relative; min-width: 0; }
.tf input, .tf textarea { width: 100%; min-height: 56px; padding: 22px 16px 8px; border-radius: var(--r-s) var(--r-s) 0 0; border: 0;
  border-bottom: 1px solid var(--outline); background: var(--sc-high); font: 1rem var(--font); color: var(--on-surface); }
.tf textarea { min-height: 120px; resize: vertical; }
.tf label { position: absolute; left: 16px; right: 8px; top: 17px; color: var(--on-surface-2); font-size: 1rem; pointer-events: none;
  transition: all .15s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf input:focus, .tf textarea:focus { outline: none; border-bottom: 2px solid var(--primary); }
.tf input:focus + label, .tf input:not(:placeholder-shown) + label, .tf textarea:focus + label, .tf textarea:not(:placeholder-shown) + label { top: 6px; font-size: .75rem; color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.status { display: none; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-m); font-weight: 500; }
.status.ok { display: flex; background: var(--success-container); color: var(--success); }
.status.err { display: flex; background: var(--error-container); color: var(--error); }

/* Inner page header */
.phead { padding: 16px 0 0; }
.phead-card { border-radius: var(--r-xl); padding: clamp(20px, 4vw, 40px); background: color-mix(in srgb, var(--accent) 12%, var(--sc));
  display: flex; align-items: center; gap: 20px; }
.phead-card > div { min-width: 0; }
.phead-card .ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.phead-card .ic .ms { font-size: 38px; }
.phead-card p { color: var(--on-surface-2); margin-top: 6px; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-bottom: 10px; font-size: .85rem; color: var(--on-surface-2); }
.crumbs a { padding: 4px 8px; border-radius: var(--r-s); }
.crumbs a:hover { background: rgba(0,0,0,.05); }
.crumbs .ms { font-size: 16px; }

/* Product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pd .media { border-radius: var(--r-xl); }
.pd .media > .ms { font-size: 120px; }
.pd h1 { margin: 12px 0 8px; }
.pd .lead { font-size: 1.15rem; color: var(--on-surface-2); }
.pd .acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.foryou-chip { display: none !important; }
.foryou-chip.on { display: inline-flex !important; background: var(--success-container); color: var(--success); border-color: transparent; }
.specs { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--outline-2); }
.specs h2 { font-size: 1.1rem; padding: 16px 20px; background: var(--sc); display: flex; align-items: center; gap: 8px; }
.specs dl { margin: 0; }
.specs .row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 14px 20px; border-top: 1px solid var(--sc-high); }
.specs dt { color: var(--on-surface-2); overflow-wrap: anywhere; }
.specs dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.note { color: var(--on-surface-2); font-size: .82rem; margin-top: 10px; display: flex; gap: 6px; align-items: flex-start; }
.note .ms { font-size: 18px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.info-list { display: grid; gap: 4px; }
.info-list > * { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-l); min-width: 0; overflow-wrap: anywhere; }
.info-list .ms { color: var(--primary); }
.info-list small { display: block; color: var(--on-surface-2); font-size: .78rem; }
form.enq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
form.enq .full { grid-column: 1 / -1; }
.privacy { font-size: .8rem; color: var(--on-surface-2); }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--r-l); margin-top: 8px; }

/* Brand sheet */
.logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.logo-grid figure { margin: 0; background: var(--surface); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 12px; border: 1px solid var(--outline-2); }
.logo-grid figure.dark { background: #1F1F1F; }
.logo-grid figure img { width: 100%; height: 110px; object-fit: contain; }
.logo-grid figcaption { font-size: .85rem; color: var(--on-surface-2); }
.logo-grid figure.dark figcaption { color: #C4C7C5; }
.marks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.marks figure { margin: 0; text-align: center; font-size: .75rem; color: var(--on-surface-2); display: grid; gap: 8px; }

/* Footer */
.foot { margin-top: 56px; background: var(--sc); padding: 40px 0 24px; color: var(--on-surface-2); font-size: .92rem; }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--on-surface); font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--primary); }
.foot .logo { width: 280px; margin-bottom: 12px; }
.foot .legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--outline-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }

/* FAB (desktop) */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; gap: 12px; align-items: center; view-transition-name: fab; }
.fab a { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px; border-radius: var(--r-l);
  background: var(--primary-container); color: var(--on-primary-container); font-weight: 500; box-shadow: var(--e3); }
.fab a.wa { background: #1E8E3E; color: #fff; width: 56px; padding: 0; justify-content: center; }

/* Language chooser */
.chooser { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--sc); }
.chooser .box { text-align: center; max-width: 620px; width: 100%; }
.chooser .box > img { width: min(420px, 90%); margin: 0 auto; }
.chooser .langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.chooser .langs a { min-height: 64px; display: grid; place-items: center; border-radius: var(--r-l); background: var(--surface); font-size: 1.2rem; font-weight: 500; border: 1px solid var(--outline-2); }
.chooser .langs a:hover { background: var(--primary-container); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-60deg) scale(.85); } to { opacity: 1; transform: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }

/* Responsive */
@media (max-width: 1180px) {
  .tabs a .ms { display: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .tabs, .appbar .btn.quote { display: none; }
  .hero-card, .calc, .pd, .contact { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .fab { display: none; }
  body { padding-bottom: 80px; }
  .botnav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: 80px; background: var(--sc); box-shadow: 0 -1px 0 var(--outline-2); view-transition-name: botnav; padding-bottom: env(safe-area-inset-bottom); }
  .botnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .72rem; font-weight: 500; color: var(--on-surface-2); min-width: 0; }
  .botnav a > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .botnav .pill { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; transition: background-color .25s var(--ease); }
  .botnav a[aria-current="page"] { color: var(--on-surface); }
  .botnav a[aria-current="page"] .pill { background: var(--primary-container); color: var(--on-primary-container); }
  .botnav a[aria-current="page"] .ms { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
  .wa-float { position: fixed; right: 16px; bottom: 96px; z-index: 30; width: 56px; height: 56px; border-radius: var(--r-l); display: grid; place-items: center; background: #1E8E3E; color: #fff; box-shadow: var(--e3); }
  .marks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 961px) { .wa-float { display: none; } }
@media (max-width: 640px) {
  .sec { padding: 40px 0; }
  .wrap { padding: 0 16px; }
  .hero-card { padding: 22px 18px; border-radius: 24px; }
  .ind-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-chips .ind-chip:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 72px; }
  .brand-txt small { display: none; }
  .brand-txt b { font-size: 1rem; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .cb, form.enq { grid-template-columns: minmax(0, 1fr); }
  .step-card { grid-template-columns: minmax(0, 1fr); }
  .step-card .media { display: none; }
  .phead-card { flex-direction: column; align-items: flex-start; }
  .phead-card .ic { width: 56px; height: 56px; border-radius: 18px; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .foot .logo { width: 240px; }
  .chooser .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang select { max-width: 84px; }
  .seg button { padding: 0 12px; font-size: .85rem; }
  .specs .row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 380px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 14px; border-radius: 20px; }
  .brand-txt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Long tab labels (Tamil, Malayalam) scroll sideways inside the bar instead of pushing the page */
.tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }

/* ---- v3: focus divisions, grouped industries, new launch, turnkey ---- */
.badge-new { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; border-radius: var(--r-full);
  background: #E8710A; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .02em; width: max-content; }
.badge-new .ms { font-size: 16px; font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
.badge-new[hidden] { display: none; }
.media .badge-new { position: absolute; top: 12px; left: 12px; }

.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.focus { position: relative; border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  background: color-mix(in srgb, var(--c) 13%, white); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.focus:hover { box-shadow: var(--e2); transform: translateY(-2px); }
.focus .ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--c); color: #fff; }
.focus .ic .ms { font-size: 40px; }
.focus h3 { font-size: 1.45rem; }
.focus p { color: var(--on-surface-2); }
.focus .chips .chip { background: rgba(255,255,255,.75); border-color: transparent; --c: currentColor; }
.focus .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--c); padding-top: 6px; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile .chips .chip { min-height: 30px; font-size: .82rem; padding: 0 10px; }

.ind-groups { display: grid; gap: 14px; }
.ind-group .grp { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--on-surface-2); margin-bottom: 8px; }
.ind-group .grp .ms { font-size: 18px; }
.ind-group .ind-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ind-group.single .ind-chips { grid-template-columns: minmax(0, 1fr); }
.ind-group.single .ind-chip { flex-direction: row; align-items: center; min-height: 72px; }
.ind-chip { min-height: 96px; }

.strip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-l); background: #FFF0E3; color: #5F2B00; min-width: 0; }
.strip b { font-weight: 700; white-space: nowrap; }
.strip .d { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }

.turnkey { border-radius: var(--r-xl); background: #0B57D0; color: #fff; padding: clamp(24px, 4vw, 48px); display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; overflow: hidden; }
.tk-visual { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tk-visual > div { width: 132px; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center; align-content: center; gap: 8px;
  background: rgba(255,255,255,.12); text-align: center; padding: 8px; }
.tk-visual > div .ms { font-size: 56px; }
.tk-visual > div.ready { background: #fff; color: #0B57D0; }
.tk-visual small { font-size: .85rem; font-weight: 500; }
.tk-visual .arrow { font-size: 36px; opacity: .8; animation: nudge 1.8s var(--ease) infinite; }
.tk-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.tk-text p { opacity: .85; margin: 8px 0 16px; font-size: 1.05rem; }
.tk-text ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.tk-text li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.tk-text li .ms { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.turnkey .btn-filled { background: #fff; color: #0B57D0; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.step-card { --c: var(--primary); }
.step-card .badge-new { margin-bottom: 6px; }
.step-card .chip.mach { margin-top: 10px; }
.step-card .chip.mach[hidden] { display: none; }

dialog.promo { border: 0; padding: 0; border-radius: var(--r-xl); width: min(560px, calc(100vw - 32px)); background: var(--surface);
  color: var(--on-surface); box-shadow: var(--e3); overflow: hidden; }
dialog.promo::backdrop { background: rgba(0,0,0,.4); }
dialog.promo[open] { animation: pop .35s var(--ease) both; }
dialog.promo .media { aspect-ratio: 16 / 7; }
dialog.promo .media > .ms { font-size: 88px; }
.promo-body { padding: 24px; display: grid; gap: 10px; }
.promo-body h2 { font-size: 1.6rem; }
.promo-body p { color: var(--on-surface-2); }
.promo-body .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
dialog.promo .close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--on-surface); display: grid; place-items: center; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .focus-grid, .turnkey { grid-template-columns: minmax(0, 1fr); }
  .tiles-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tiles-2 { grid-template-columns: minmax(0, 1fr); }
  .strip .d { display: none; }
  .tk-visual > div { width: 108px; border-radius: 26px; }
  .tk-visual > div .ms { font-size: 44px; }
  .focus { padding: 22px; }
}

/* ---- biopower.htei.in ---- */
html.bp { --primary: #146C2E; --primary-container: #C4EED0; --on-primary-container: #002106; }
html.bp .greet { color: #146C2E; }
.bp-sub { color: #1E8E3E !important; letter-spacing: .2em !important; }
.appbar .mainlink { min-height: 40px; padding: 0 16px; }
.bp-hero { align-items: center; }
.bp-mark { justify-self: center; width: min(320px, 70vw); animation: spin-in 1.2s var(--ease) both; }
.bp-strip { background: #E6F4EA; color: #0D652D; }
.bp-strip > .ms:first-child { color: #1E8E3E; }
.flow { display: flex; align-items: stretch; gap: 8px; }
.flow-step { flex: 1; min-width: 0; background: var(--surface); border-radius: var(--r-xl); padding: 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--e1); }
.flow-step .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-container); color: var(--primary); margin-bottom: 6px; }
.flow-step .ic .ms { font-size: 30px; }
.flow-step b { font-weight: 500; font-size: 1.1rem; overflow-wrap: anywhere; }
.flow-step small { color: var(--on-surface-2); font-size: .88rem; }
.flow-arrow { align-self: center; color: var(--primary); }
.engines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.engine { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--outline-2); display: flex; flex-direction: column; min-width: 0; }
.engine .media { aspect-ratio: 16 / 8; }
.engine .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.engine h3 { font-size: 1.35rem; }
.engine p { color: var(--on-surface-2); }
.engine ul { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; }
.engine li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.engine li .ms { color: var(--primary); font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.engine .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.cmp-wrap { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--outline-2); overflow: hidden; }
table.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--sc-high); overflow-wrap: anywhere; vertical-align: top; }
table.cmp thead th { background: var(--sc); border-top: 0; font-weight: 500; font-size: 1.05rem; }
table.cmp tbody th { color: var(--on-surface-2); font-weight: 400; width: 32%; }
table.cmp td { font-weight: 500; }
table.cmp td .ms { color: var(--outline); }
@media (max-width: 960px) {
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .engines { grid-template-columns: minmax(0, 1fr); }
  .bp-mark { display: none; }
  .appbar .mainlink { display: none; }
}
@media (max-width: 640px) { table.cmp th, table.cmp td { padding: 12px 10px; font-size: .9rem; } }

.kvas { display: flex; gap: 8px; flex-wrap: wrap; }
.kva { min-width: 92px; padding: 10px 14px; border-radius: var(--r-l); background: var(--primary-container); color: var(--on-primary-container);
  display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 4px; }
.kva b { font-size: 1.9rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.kva span { font-size: .85rem; font-weight: 500; }
.kva small { grid-column: 1 / -1; font-size: .78rem; opacity: .8; margin-top: 4px; }

/* animated biogas scene */
.scene-card { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--e1); }
#bp-scene { width: 100%; height: auto; display: block; }
#bp-scene .lbl { font-family: var(--font); font-size: 16px; font-weight: 500; fill: #3C4043; }
#bp-scene .lbl.c { text-anchor: middle; }
#bp-scene .lbl.sm { font-size: 14px; }
#bp-scene .win { fill: #5F6368; }
#bp-scene .mgear { fill: none; stroke: #3C4043; stroke-width: 4; stroke-dasharray: 3 3; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--sc-high); }
.stage { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; font-weight: 500; font-size: .92rem;
  color: var(--on-surface-2); text-align: center; transition: background-color .3s var(--ease), color .3s var(--ease); min-width: 0; overflow-wrap: anywhere; }
.stage + .stage { border-left: 1px solid var(--sc-high); }
.stage .ms { color: var(--outline); transition: color .3s var(--ease); }
.stage.done .ms { color: var(--primary); }
.stage.on { background: var(--primary-container); color: var(--on-primary-container); }
.stage.on .ms { color: var(--primary); font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
@media (max-width: 640px) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(3) { border-left: 0; }
  .stage:nth-child(n+3) { border-top: 1px solid var(--sc-high); }
  .stage { font-size: .82rem; padding: 10px 6px; }
}
@media (max-width: 640px) { #bp-scene .lbl { font-size: 24px; } #bp-scene .lbl.sm { font-size: 20px; } }

/* biogas hero: title row + animation in the first screen */
.bp-stage { background: var(--sc); border-radius: var(--r-xl); padding: clamp(16px, 2.6vw, 28px); display: grid; gap: 16px; }
.bp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bp-top > div:first-child { min-width: 0; }
.bp-title { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--primary); letter-spacing: -.02em; animation: rise .6s var(--ease) both; }
.bp-top .hero-line { font-size: clamp(1.02rem, 1.8vw, 1.25rem); max-width: none; margin-top: 4px; color: var(--on-surface-2); }
.bp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
#bp-scene .msym { font-family: "Material Symbols Rounded"; font-size: 28px; }
#bp-scene .lbl.wl { font-size: 14px; }
@media (max-width: 640px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage { border-left: 1px solid var(--sc-high); border-top: 0; }
  .stage:nth-child(3n+1) { border-left: 0; }
  .stage:nth-child(n+4) { border-top: 1px solid var(--sc-high); }
  #bp-scene .lbl.wl { font-size: 18px; }
  .bp-acts .btn { flex: 1 1 auto; }
}
html.bp .fab { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
html.bp.past-hero .fab { opacity: 1; pointer-events: auto; transform: none; }
.bp-stage { grid-template-columns: minmax(0, 1fr); }
.bp-acts { min-width: 0; max-width: 100%; }
.bp-acts .btn { white-space: normal; text-align: center; min-width: 0; }
.bp-stage { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title acts" "scene scene"; align-items: end; }
.bp-top { grid-area: title; display: block; }
.bp-acts { grid-area: acts; justify-content: flex-end; }
.bp-stage .scene-card { grid-area: scene; }
@media (max-width: 960px) {
  .bp-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "scene" "acts"; }
  .bp-acts { justify-content: stretch; }
}
.bp-title { font-size: clamp(1.7rem, 3.3vw, 2.7rem); }
@media (min-width: 961px) {
  .bp-acts { max-width: 420px; }
  .bp-stage .scene-card { width: 100%; max-width: max(640px, calc((100svh - 330px) * 2.8)); justify-self: center; }
}
/* biogas hero without buttons: title, then the animation */
.bp-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "scene"; }

/* real photos */
.media.has-photo { background: #B3B3B3; }
.media img.fit-contain { object-fit: contain; background: #B3B3B3; }
.media img.fit-cover { object-fit: cover; }
.media.has-photo .soon { background: rgba(255,255,255,.9); }
.pd-media { display: grid; gap: 10px; min-width: 0; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { width: 84px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #B3B3B3; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { border-color: var(--primary); }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photo-grid figure { margin: 0; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--outline-2); }
.photo-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid figcaption { padding: 12px 16px; font-weight: 500; font-size: .92rem; }
.step-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.step-card .media img[hidden] { display: none; }
@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.media img.fit-portrait { object-fit: contain; background: #E3E8EE; }
.media.has-photo:has(img.fit-portrait) { background: #E3E8EE; }
.thumb img.fit-portrait, .thumb img { object-fit: contain; }

/* products page: filter + search */
.pfilter { display: grid; gap: 12px; margin-bottom: 20px; }
.psearch { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: var(--r-full); background: var(--sc-high); max-width: 520px; }
.psearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: 1rem var(--font); color: var(--on-surface); outline: none; }
.psearch:focus-within { box-shadow: inset 0 0 0 2px var(--primary); }
.fchip { cursor: pointer; font-family: var(--font); }
.fchip.on { background: var(--primary-container); border-color: transparent; color: var(--on-primary-container); }
.pcard[hidden] { display: none; }
.pnone { color: var(--on-surface-2); padding: 24px 0; }

/* bottom bar adapts to the number of items */
@media (max-width: 960px) { .botnav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }

/* on-screen guide */
.guide { position: fixed; left: 20px; bottom: 20px; z-index: 45; }
.guide[hidden], .g-pill[hidden], .g-bubble[hidden] { display: none !important; }
.g-avatar { width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; box-shadow: var(--e3); display: block; }
.g-avatar svg, .g-pill svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
.g-bubble { position: absolute; left: 0; bottom: 92px; width: min(330px, calc(100vw - 40px)); background: var(--surface); color: var(--on-surface);
  border-radius: 20px 20px 20px 6px; box-shadow: var(--e3); padding: 18px 18px 14px; animation: g-pop .35s var(--ease) both; }
.g-bubble::after { content: ""; position: absolute; left: 26px; bottom: -9px; width: 18px; height: 18px; background: var(--surface); transform: rotate(45deg); border-radius: 0 0 4px 0; }
.g-text { font-size: 1.02rem; line-height: 1.5; min-height: 3em; padding-right: 26px; }
.g-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.g-acts button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--r-full); border: 0; cursor: pointer; font: 500 .92rem var(--font); }
.g-next { background: var(--primary); color: var(--on-primary); }
.g-listen { background: var(--sc-high); color: var(--on-surface); }
.g-listen.on { background: var(--primary-container); color: var(--on-primary-container); }
.g-listen .ms { font-size: 20px; }
.g-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--on-surface-2); cursor: pointer; display: grid; place-items: center; }
.g-x:hover { background: var(--sc); }
.g-pill { position: fixed; left: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 4px;
  border-radius: var(--r-full); border: 0; background: var(--surface); box-shadow: var(--e2); cursor: pointer; font: 500 .92rem var(--font); color: var(--on-surface); }
.g-pill svg { width: 40px; height: 40px; }
.g-mouth { opacity: 0; }
.guide.talking .g-mouth { animation: g-talk .22s steps(1) infinite; }
.guide.talking .g-smile { animation: g-talk .22s steps(1) infinite reverse; }
.g-eyes { transform-origin: 60px 58px; animation: g-blink 4.2s infinite; }
.guide.wave .g-hand { transform-origin: 98px 120px; animation: g-wave 1.4s var(--ease) 2; }
.g-spot { outline: 3px solid var(--primary); outline-offset: 6px; border-radius: 16px; animation: g-spot 1.3s var(--ease) 2; }
@keyframes g-talk { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes g-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes g-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(10deg); } }
@keyframes g-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes g-spot { 0%, 100% { outline-color: var(--primary); } 50% { outline-color: transparent; } }
@media (max-width: 960px) {
  .guide, .g-pill { left: 12px; bottom: 92px; }
  .g-avatar { width: 58px; height: 58px; }
  .g-bubble { bottom: 70px; }
  .wa-float { bottom: 160px; }
}
@media (prefers-reduced-motion: reduce) { .g-eyes, .guide.wave .g-hand, .g-spot { animation: none !important; } }

/* biogas division pop-up */
.bp-dialog { --primary: #146C2E; --primary-container: #C4EED0; --on-primary-container: #002106; }
.bp-dialog .media { aspect-ratio: 16 / 7; }
.bp-dialog .bp-badge { background: #1E8E3E; }
.bp-dialog .kvas { margin-top: 4px; }
.bp-dialog .kva { min-width: 76px; padding: 8px 12px; }
.bp-dialog .kva b { font-size: 1.5rem; }
.bp-perks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.bp-perks li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.bp-perks .ms { color: #1E8E3E; font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.bp-dialog .acts form { display: contents; }
dialog.promo { max-height: calc(100dvh - 32px); overflow-y: auto; }

.media img.fit-white { object-fit: contain; background: #fff; padding: 6%; }
.media.has-photo:has(img.fit-white) { background: #fff; }
.photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- hitechelectriks.htei.in (HI TECH ELECTRIKS) ---- */
html.ax { --primary: #0B57D0; --primary-container: #D3E3FD; --on-primary-container: #041E49; }
.ax-sub { color: #1A73E8 !important; letter-spacing: .2em !important; }
.ax-strip { background: #E8F0FE; color: #0842A0; }
.ax-strip > .ms:first-child { color: #1A73E8; }
.ax-card { background: #F4F8FE; }
#ax-scene { width: 100%; height: auto; display: block; }
#ax-scene .grid path { stroke: #E3EBF8; stroke-width: 1; }
#ax-scene .wire { fill: none; stroke: #5F6368; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
#ax-scene .wire.bus { stroke: #202124; stroke-width: 7; }
#ax-scene .wire.thin { stroke-width: 3; }
#ax-scene .wire.dashed { stroke: #1A73E8; stroke-width: 3; stroke-dasharray: 6 8; }
#ax-scene .vdot { fill: #1A73E8; }
#ax-scene .node rect { fill: #fff; stroke: #C4C7C5; stroke-width: 2; transition: fill .2s, stroke .2s; }
#ax-scene .node.src rect { fill: #E8F0FE; stroke: #8AB4F8; }
#ax-scene .node[data-go] { cursor: pointer; }
#ax-scene .node[data-go]:hover rect, #ax-scene .node[data-go]:focus rect { fill: #D3E3FD; stroke: #0B57D0; }
#ax-scene .node:focus { outline: none; }
#ax-scene .msym { font-family: "Material Symbols Rounded"; font-size: 24px; fill: #0B57D0; }
#ax-scene .lbl { font-family: var(--font); font-size: 16px; font-weight: 500; fill: #202124; }
#ax-scene .lbl.c { text-anchor: middle; }
#ax-scene .lbl.sm { font-size: 13px; }
#ax-scene .cap { fill: #8AB4F8; stroke: #1A73E8; stroke-width: 2; }
#ax-scene .meter { fill: #fff; stroke: #5F6368; stroke-width: 2; }
#ax-scene .motor { fill: #1A73E8; }
#ax-scene .boiler { fill: #D93025; }
#ax-scene .coil { stroke: #F9AB00; }
#ax-scene .pump { fill: #12A4AF; }
#ax-scene .pipe { fill: none; stroke: #12A4AF; stroke-width: 6; stroke-linecap: round; }
#ax-scene .phone-body { fill: #202124; }
#ax-scene .phone-screen { fill: #fff; }
#ax-scene .live { fill: #1E8E3E; }
#ax-scene .node.phone:hover .phone-body { fill: #0B57D0; }
.ax-media { background: radial-gradient(120% 90% at 30% 20%, #D3E3FD, #EEF3FD); color: #0B57D0; }
.ax-pcard { scroll-margin-top: 100px; }
.ax-pcard .ax-q { margin-top: 10px; align-self: flex-start; min-height: 40px; padding: 0 16px; font-size: .9rem; }
.ax-view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  background: var(--sc); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 48px); }
.ax-view h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ax-feats { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.ax-feats li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.05rem; }
.ax-feats .ms { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-container); color: var(--primary); }
.ax-view .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.vm-phone { justify-self: center; width: min(280px, 80vw); aspect-ratio: 9 / 17; background: #202124; border-radius: 36px; padding: 14px; box-shadow: var(--e3); }
.vm-screen { background: #fff; border-radius: 24px; height: 100%; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vm-top { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #1E8E3E; }
.vm-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--sc); font-size: .9rem; }
.vm-row b { flex: 1; font-weight: 500; }
.vm-kw { color: var(--on-surface-2); font-variant-numeric: tabular-nums; }
.vm-dot { width: 10px; height: 10px; border-radius: 50%; background: #9AA0A6; flex: none; }
.vm-dot.on { background: #1E8E3E; animation: g-talk 1.6s steps(1) infinite; }
.vm-dot.alarm { background: #D93025; }
.vm-btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vm-btns span { text-align: center; padding: 10px 0; border-radius: 999px; font-weight: 700; font-size: .85rem; color: #fff; }
.vm-start { background: #1E8E3E; }
.vm-stop { background: #D93025; }
@media (max-width: 960px) { .ax-view { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { #ax-scene .lbl { font-size: 20px; } #ax-scene .lbl.sm { font-size: 17px; } #ax-scene .msym { font-size: 28px; } }
html.ax .fab { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
html.ax.past-hero .fab { opacity: 1; pointer-events: auto; transform: none; }
