/* LivEnergy components. Compose pages only from these patterns (see README.md). */

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: var(--r);
  border: 1.5px solid transparent; font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform var(--t-fast) ease, background-color var(--t-fast) ease, box-shadow var(--t-fast) ease, border-color var(--t-fast) ease; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--go { background: var(--sun); color: var(--ink); }
.btn--go:hover { background: var(--sun-h); box-shadow: 0 10px 22px -10px rgba(255, 164, 0, .9); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-h); }
.btn--line { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--line svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #0e2575; }
@media (max-width: 599px) { .btn { white-space: normal; } }

/* ---------- Header + navigation ---------- */
.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.bar { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 40px; }
.brand .wm { font: 700 22px/1 var(--font-logo); letter-spacing: -.01em; color: #090909; }
.nav { display: flex; gap: 22px; font-size: 15.5px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); opacity: .78; padding: 6px 0; border-bottom: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--sun); }
.end { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 15.5px; font-weight: 500; }
.lang, .call { text-decoration: none; white-space: nowrap; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: var(--r-sm); }
.lang:hover { background: rgba(255, 255, 255, .6); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .75); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.menu { display: none; }
@media (max-width: 1139px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .menu { position: absolute; left: 12px; right: 12px; top: 74px; z-index: 40; background: #fff; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .6);
    padding: 10px; border: 1px solid var(--rule); }
  .menu.open { display: block; animation: drop .25s var(--ease-out); }
  .menu a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
  .menu a[aria-current="page"] { background: var(--pale); }
  .menu .btn { width: 100%; margin-top: 8px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 759px) { .call, .end > .btn { display: none; } .bar { gap: 12px; } }

/* ---------- Home / factory hero: sky + calculator + street elevation ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--dawn-1) 0%, var(--dawn-2) 55%, var(--dawn-3) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%); opacity: 0; transition: opacity 2.6s ease; }
.hero.day::before { opacity: 1; }
.hero > * { position: relative; }
.hero > .wrap { z-index: 2; }
.copy { padding-top: 118px; max-width: 800px; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; min-width: 0; }
.top .st-b { align-self: end; }
.st-a, .st-b { transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med); }
.st-b { opacity: 0; visibility: hidden; transform: translateY(12px); }
.has-result .st-a { opacity: 0; visibility: hidden; transform: translateY(-12px); }
.has-result .st-b { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.06; max-width: 640px; }
.hero .lead { font-size: 18.5px; color: var(--muted); margin: 18px 0 0; max-width: 33em; }
.rk { margin: 0; font: 500 17px var(--font-disp); color: var(--muted); letter-spacing: -.01em; }
.save { margin: 4px 0 0; font: 600 var(--fs-hero)/1.06 var(--font-disp); letter-spacing: -.025em; color: var(--leaf-d); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 18px 0 0; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, auto); justify-content: start; } .stats dd { white-space: nowrap; } }
.stats dt { font-size: 13.5px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font: 600 17px/1.3 var(--font-disp); letter-spacing: -.01em; }
.mid { margin-top: 30px; }
.calc > label, .lead-form .ask { display: block; font: 600 15px var(--font-body); letter-spacing: 0; margin: 0 0 10px; }
.bar-in { display: flex; gap: 8px; background: #fff; border: 1px solid #cddbea; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-bar); transition: border-color .2s, box-shadow .2s; }
.bar-in:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px var(--focus-soft), var(--shadow-bar); }
.calc .bar-in { max-width: 640px; }
.field { flex: 1; min-width: 0; display: flex; align-items: center; }
.field span { padding-left: 14px; font: 600 15px var(--font-disp); color: var(--muted); }
.field input { flex: 1; width: 100%; min-width: 0; border: 0; outline: none; background: none; font: 500 26px var(--font-disp); padding: 0 10px; min-height: 58px; letter-spacing: -.01em; }
.bar-in .btn { min-height: 58px; border-radius: 11px; padding: 0 26px; font-size: 16.5px; flex: none; }
@media (max-width: 599px) { .bar-in { flex-direction: column; } .bar-in .btn { width: 100%; } }
.fi { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 2px 14px; border-right: 1px solid var(--rule); }
.fi:nth-child(3) { border-right: 0; }
.fi label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0; }
.fi input { border: 0; outline: none; background: none; padding: 0; min-height: 30px; font: 500 17px var(--font-body); width: 100%; }
.fi .err { position: absolute; left: 14px; top: calc(100% + 18px); white-space: nowrap; z-index: 3; font-size: 13.5px; }
.fi.bad label { color: var(--bad); }
.lead-form .ok { display: none; }
.lead-form.sent .ok { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 12px 20px; border: 1px solid #cddbea; min-height: 76px; box-shadow: var(--shadow-bar); }
.lead-form .ok svg { width: 38px; height: 38px; flex: none; }
.lead-form .ok h3 { font: 600 18px var(--font-disp); margin: 0; letter-spacing: -.01em; }
.lead-form .ok p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.low { margin: 10px 4px 0; font-size: 14.5px; color: var(--muted); }
.hint { margin: 0; }
.hint.warn { color: var(--bad); }
.after { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.after a, .after button { display: inline-flex; align-items: center; gap: 7px; font: 600 14.5px var(--font-body); color: var(--ink); text-decoration: underline;
  text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; min-height: 44px; }
.after a svg { width: 18px; height: 18px; color: var(--wa); }
.copy:has(.bad) .after { visibility: hidden; }
@media (max-width: 759px) {
  .mid > * { grid-area: auto; }
  .lead-form { display: none; }
  .has-result .lead-form { display: block; }
  .has-result .calc { display: none; }
  .lead-form .bar-in { flex-direction: column; }
  .fi { border-right: 0; border-bottom: 1px solid var(--rule); padding: 8px 8px 6px; }
  .fi .err { position: static; white-space: normal; margin-top: 2px; }
  .lead-form .bar-in .btn { width: 100%; margin-top: 4px; }
  .lead-form.sent .ok { display: block; }
  .lead-form .ok h3 { margin-top: 8px; }
}

.pano { margin-top: -170px; pointer-events: none; }
.pano-svg { width: 100%; height: auto; }
.side { position: absolute; z-index: 3; top: 112px; right: max(20px, calc((100% - var(--wrap)) / 2 + 20px)); width: 320px; display: flex; flex-direction: column; gap: 14px; }
.ro { background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(6px); border-radius: 16px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 18px 40px -26px rgba(11, 37, 69, .5); }
.ro small { display: block; font-size: 13.5px; color: var(--muted); }
.ro .kw { font: 500 15px var(--font-disp); margin: 4px 0 6px; }
.ro .kw b { font: 600 36px/1 var(--font-disp); letter-spacing: -.02em; margin-right: 4px; font-variant-numeric: tabular-nums; }
.ro .yr { display: block; color: var(--leaf-d); font-weight: 600; font-size: 15.5px; }
.flowbox { width: 100%; }
.chips { list-style: none; margin: 0; padding: 4px; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px); border-radius: 999px; border: 1px solid #fff; box-shadow: var(--shadow-soft); }
.chips li { position: relative; font: 600 12.5px var(--font-body); color: var(--muted); padding: 6px 9px; border-radius: 999px; white-space: nowrap; transition: background .35s, color .35s; }
.chips li.on { background: var(--sun); color: var(--ink); }
.chips li + li { margin-left: 12px; }
.chips li + li::before { content: ""; position: absolute; left: -10px; top: 50%; width: 5px; height: 5px; border-top: 1.6px solid #9aabbf; border-right: 1.6px solid #9aabbf; transform: translateY(-50%) rotate(45deg); }
.fcap { margin: 9px 8px 0; font: 500 14.5px/1.4 var(--font-body); color: var(--ink); min-height: 1.4em; }
.fcap.in { animation: capin .45s ease; }
@keyframes capin { from { opacity: 0; transform: translateY(5px); } }
@media (max-width: 999px) {
  .hero { display: flex; flex-direction: column; }
  .side { display: contents; }
  .pano { order: 1; margin-top: 72px; }
  .pano-svg { height: auto; }
  .flowbox { order: 2; width: auto; margin: -54px 16px 0; }
  .chips { justify-content: center; }
  .fcap { text-align: center; }
  .hero > .wrap { order: 3; }
  .copy { padding-top: 20px; }
  .ro { order: 4; width: auto; margin: 22px 20px 28px; background: #fff; }
  .pano .tags { display: none; }
}
@media (min-width: 600px) and (max-width: 999px) { .pano-svg { height: 400px; } }
@media (max-width: 599px) { .pano .veh { display: none; } .l2 { display: none; } .hero .lead { font-size: 17px; } }

/* ---------- Drawing styles (street, house, project minis) ---------- */
.far { fill: #d4e7c0; stroke: #afcd92; stroke-width: 1.2; }
.farb { fill: #e3ecf5; stroke: #c7d5e3; stroke-width: 1; }
.bw { fill: #fbfcfe; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.roofm { fill: #e3e9f1; }
.glass { stroke: #9cc4e8; stroke-width: 5; }
.win { fill: #cde1f4; stroke: var(--ink); stroke-width: 1.1; }
.shut { fill: #e8ecf1; stroke: var(--ink); stroke-width: 1.3; }
.shutl { stroke: #9aa7b8; stroke-width: 1; }
.par { fill: #eef2f6; stroke: var(--ink); stroke-width: 1.3; }
.slab { stroke: var(--ink); stroke-width: 1.1; }
.mull { stroke: #8fb0cf; stroke-width: 1; }
.door { fill: #cde1f4; stroke: var(--ink); stroke-width: 1.2; }
.tank { fill: #f2f5f8; stroke: var(--ink); stroke-width: 1.3; }
.leg { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.pvs { fill: #46557a; stroke: var(--ink); stroke-width: .9; stroke-linejoin: round; transition: filter .4s; }
.day .pvs { animation: lit 1s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(.9s + var(--i) * 45ms); }
@keyframes lit { 0% { fill: #46557a; } 55% { fill: #8aa5f5; } 100% { fill: #133093; } }
.sun .disc { fill: var(--sun-bar); }
.sun .halo { fill: #ffd36e; opacity: .35; }
.sun .halo2 { fill: #ffe29a; opacity: .22; }
.wire-far { fill: none; stroke: var(--ink); stroke-width: 1.2; transition: stroke .3s, stroke-width .3s; }
.pole { stroke: #8a94a3; stroke-width: 8; stroke-linecap: round; }
.pole2 { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.xfmr { fill: #d9dee5; stroke: var(--ink); stroke-width: 1.3; }
.inv, .mtr { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.batt { fill: #e9f4dc; stroke: var(--ink); stroke-width: 1.4; }
.battl { stroke: var(--leaf-d); stroke-width: 3; stroke-linecap: round; }
.led { stroke: var(--leaf); stroke-width: 3; stroke-linecap: round; }
.dial { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.cond { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.flow { fill: none; stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 6 12; opacity: 0; transition: opacity .6s 2.3s, stroke-width .3s; animation: flow 1s linear infinite; }
.day .flow { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.wall { fill: #fff; stroke: var(--ink); stroke-width: 1.3; }
.pil { fill: #eef1f5; stroke: var(--ink); stroke-width: 1.2; }
.trunk { stroke: #7a5a3a; stroke-width: 4; fill: none; stroke-linecap: round; }
.can { fill: #9fce6c; stroke: #4c8a2a; stroke-width: 1.4; }
.frond { fill: none; stroke: #4c8a2a; stroke-width: 3.2; stroke-linecap: round; }
.grass { fill: #d6e9bb; }
.road { fill: #ebe7e0; }
.lane { stroke: #fff; stroke-width: 3; stroke-dasharray: 26 22; }
.gl { stroke: var(--ink); stroke-width: 1.4; }
.cargo { fill: #f4b63c; stroke: var(--ink); stroke-width: 1.4; }
.cab { fill: #3a7fc1; stroke: var(--ink); stroke-width: 1.4; }
.glassv { fill: #d7ebfb; stroke: var(--ink); stroke-width: 1; }
.whl { fill: #2a2f38; stroke: #fff; stroke-width: 2; }
.cngb { fill: #1f9d55; stroke: var(--ink); stroke-width: 1.4; }
.cngr { fill: #2b2f36; stroke: var(--ink); stroke-width: 1.2; }
.day .veh:last-of-type { animation: drive 3.4s cubic-bezier(.2, .7, .3, 1) .4s both; }
@keyframes drive { from { transform: translateX(-360px); } }
.tags path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.tags text { font: 600 17px var(--font-body); fill: var(--ink); }
.day .tags { animation: fadein .6s 2.4s both; }
@keyframes fadein { from { opacity: 0; } }
/* energy flow loop: sun -> panels -> factory -> grid */
.rays { opacity: 0; transition: opacity .8s; }
.day .rays { opacity: 1; transition-delay: 2.4s; }
.ray { fill: none; stroke: var(--sun-bar); stroke-width: 2.2; stroke-dasharray: 3 9; stroke-linecap: round; opacity: .4; transition: opacity .4s; }
.fs-0 .ray { opacity: 1; }
.ph { fill: #ffcf4d; }
.pks { opacity: 0; transition: opacity .6s; }
.day .pks { opacity: 1; transition-delay: 2.9s; }
.pk { fill: var(--sun); stroke: #fff; stroke-width: 1.6; }
.fs-1 .pvs { filter: brightness(1.8); }
.bwin, .swin, .hwin { transition: fill .6s; transition-delay: calc(var(--f) * 90ms); }
.used .bwin, .used .swin, .used .hwin { fill: #ffeab0; }
.fs-2 .bwin, .fs-2 .swin, .fs-2 .hwin { fill: #ffd166; }
.fs-3 .fg { stroke-width: 5.5; }
.fs-3 .wire-far { stroke: var(--sun-h); stroke-width: 2.2; }
.tags > g { transition: opacity .4s; }
svg[class*="fs-"] .tags > g { opacity: .45; }
.fs-0 .t-0, .fs-1 .t-1, .fs-2 .t-2, .fs-3 .t-3 { opacity: 1 !important; }
.t-0 { opacity: 0; }

/* ---------- Inner page hero (sky band + art) ---------- */
.phero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 60%, var(--sky-3) 100%); }
.phero__in { display: grid; gap: 24px; padding-top: 118px; padding-bottom: 40px; }
@media (min-width: 1000px) { .phero__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 48px; padding-bottom: 56px; } }
.phero h1 { font-size: var(--fs-h1); line-height: 1.08; }
.phero .lead { font-size: 18.5px; color: var(--muted); margin: 16px 0 0; max-width: 36em; }
.phero .acts { margin-top: 26px; }
.phero__art { position: relative; }
.phero__art svg { width: 100%; height: auto; border-radius: var(--r-xl); }
.house-svg .msky2 { fill: #e2f0fb; }
.strip { display: block; margin-top: -10px; }
.strip .pano-svg { height: 200px; width: 100%; }
@media (max-width: 999px) { .phero__in { padding-top: 96px; } .strip .pano-svg { height: 150px; } }

/* ---------- Sections ---------- */
section.s { padding: var(--section-y) 0; }
.s--pale { background: var(--pale); }
.s--tight { padding-top: 0 !important; }
.sh { display: grid; gap: 12px; margin-bottom: 36px; max-width: 740px; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
.sub { margin: 0; color: var(--muted); font-size: 18px; }
.fine { font-size: 14px; color: var(--muted); margin: 20px 0 0; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .acts .btn { flex: 1 1 100%; } }

/* facts */
.facts { padding: 52px 0 44px; border-bottom: 1px solid var(--rule); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
@media (min-width: 900px) { .fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact b { display: block; font: 500 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--font-disp); letter-spacing: -.025em; color: var(--navy); }
html[lang="bn"] .fact b { letter-spacing: 0; font-weight: 600; }
.fact span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 17em; }
.brands { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 30px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--rule); }
.brands small { font-size: 14px; color: var(--muted); width: 100%; }
@media (min-width: 760px) { .brands small { width: auto; margin-right: 8px; } }
.brands span { font: 600 21px var(--font-disp); color: #7c8ba0; letter-spacing: -.01em; }

/* cost of waiting chart */
.chart { background: #fff; border-radius: var(--r-xl); padding: 30px 28px 24px; border: 1px solid var(--rule); }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; align-items: end; height: 310px; }
.m { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.m b { order: 1; font: 600 12.5px/1.25 var(--font-disp); margin-bottom: 8px; letter-spacing: -.01em; }
.m::before { content: ""; order: 2; height: calc(var(--h) * .7); background: var(--sun-bar); border-radius: 7px 7px 2px 2px; transform-origin: bottom; }
.m small { order: 3; font-size: 12.5px; color: var(--muted); margin-top: 9px; white-space: nowrap; }
.js .chart:not(.in) .m::before { transform: scaleY(0); }
.chart.in .m::before { animation: growy .9s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes growy { from { transform: scaleY(0); } }
@media (max-width: 899px) {
  .months { grid-template-columns: minmax(0, 1fr); height: auto; gap: 0; }
  .m { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 8px 0; text-align: left; border-bottom: 1px solid #edf2f7; }
  .m small { grid-column: 1; grid-row: 1; margin: 0; }
  .m::before { grid-column: 2; grid-row: 1; height: 12px; width: var(--h); border-radius: 2px 7px 7px 2px; transform-origin: left; }
  .m b { grid-column: 3; grid-row: 1; margin: 0; font-size: 14px; white-space: nowrap; }
  .js .chart:not(.in) .m::before { transform: scaleX(0); }
  .chart.in .m::before { animation-name: growx; }
}
@keyframes growx { from { transform: scaleX(0); } }
.tot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.tot span { font-size: 17px; }
.tot b { font: 600 clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem)/1.1 var(--font-disp); letter-spacing: -.02em; color: var(--loss); }
.note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* project cards */
.projects { display: grid; gap: 22px; }
@media (min-width: 900px) { .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proj { border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--rule); transition: transform .3s var(--ease-out), box-shadow .3s; }
.proj:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(11, 37, 69, .45); }
.proj svg { width: 100%; height: auto; }
.proj .msky { fill: #e2f0fb; }
.proj .msun { fill: var(--sun-bar); }
.proj .pvs { fill: var(--navy); }
.proj .pm { padding: 18px 22px 24px; }
.kwp { font: 600 40px/1 var(--font-disp); letter-spacing: -.025em; }
.kwp small { font: 500 15px var(--font-disp); color: var(--muted); margin-left: 6px; }
.proj h3, .card h3 { margin: 10px 0 4px; font: 600 18px/1.3 var(--font-body); letter-spacing: 0; }
.proj p, .card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; position: relative; }
.steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--sun) 0 10px, transparent 10px 22px); animation: dashy 1.2s linear infinite; }
@keyframes dashy { to { background-position: 0 22px; } }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .steps::before { left: 32px; right: 15%; top: 31px; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(90deg, var(--sun) 0 10px, transparent 10px 22px); animation-name: dashx; }
}
@keyframes dashx { to { background-position: 22px 0; } }
.steps li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-content: start; }
@media (min-width: 900px) { .steps li { grid-template-columns: 1fr; gap: 14px; padding-right: 10px; } }
.ib { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid #cfe0f0; display: grid; place-items: center; transition: border-color .25s, transform .25s; }
.steps li:hover .ib { border-color: var(--sun); transform: translateY(-3px); }
.ic { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font: 600 18px var(--font-disp); letter-spacing: -.01em; margin: 6px 0; }
@media (min-width: 900px) { .steps h3 { margin: 0 0 4px; } }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.free { display: inline-block; font: 600 12.5px var(--font-body); background: var(--sun); color: var(--ink); border-radius: 6px; padding: 1px 8px; margin-left: 6px; vertical-align: 3px; }

/* survey CTA */
.cta { background: linear-gradient(180deg, #e3f0fb, #f3f9fd); }
.cgrid { display: grid; gap: 40px; }
@media (min-width: 960px) { .cgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 72px; align-items: start; } }
.gets, .ticks { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 10px; }
.gets li, .ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ck { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--leaf-d); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cta .acts { margin-bottom: 22px; }
.dl { display: flex; gap: 10px; align-items: center; }
.dl svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dl button { background: none; border: 0; padding: 0; min-height: 44px; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

/* forms (survey, home enquiry, contact, profile dialog) */
.form-card { background: #fff; border-radius: var(--r-xl); padding: 28px; box-shadow: 0 30px 60px -36px rgba(11, 37, 69, .55); }
.form-card .ask { font: 500 24px/1.2 var(--font-disp); margin: 0; }
.form-card .intro { color: var(--muted); margin: 6px 0 16px; font-size: 15.5px; }
label { display: block; font-size: 14.5px; font-weight: 600; margin: 0 0 6px; }
.f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid #c3d1df; border-radius: var(--r); background: #fff; font-size: 16px; }
.f textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px var(--focus-soft); }
.fi input:focus { box-shadow: none; }
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 600px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.err { display: none; color: var(--bad); font-size: 13.5px; margin-top: 5px; }
.bad .err { display: block; }
.bad input { border-color: var(--bad); }
.f .btn { justify-self: start; }
.ok { display: none; }
.sent > .f, .sent > .ask, .sent > .intro { display: none; }
.sent .ok { display: block; animation: okin .5s var(--ease-out); }
.ok svg { width: 44px; height: 44px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ok svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick .6s .2s forwards; }
.ok h3 { font: 500 24px var(--font-disp); margin: 10px 0 4px; }
.ok p { margin: 0; color: var(--muted); }
.form-err { display: none; color: var(--bad); font-weight: 600; margin: 10px 0 0; }
.failed .form-err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes okin { from { opacity: 0; transform: translateY(8px); } }

/* cards + grids (packages, options, promises, founders) */
.grid3 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid4 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-xl); padding: 24px; }
.card .ib { margin-bottom: 14px; }
.card h3:first-child { margin-top: 0; }
.s--pale .card { border-color: #fff; }

.pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-xl); padding: 26px; }
.pkg--featured { border: 2px solid var(--sun); box-shadow: var(--shadow-card); }
.pkg h3 { font: 600 20px/1.3 var(--font-disp); letter-spacing: -.01em; margin: 0; }
.pkg__price { font: 600 36px/1.1 var(--font-disp); letter-spacing: -.02em; margin: 10px 0 2px; }
.pkg__price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.pkg ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; font-size: 15.5px; }
.pkg li { display: flex; gap: 10px; align-items: flex-start; }
.pkg .note { margin: 0 0 18px; }
.pkg .acts { margin-top: auto; }
.pkg--custom { background: var(--pale); border-style: dashed; }

.parts { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--rule); }
.parts th { font-size: 13.5px; color: var(--muted); text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); background: var(--pale); font-weight: 600; }
.parts td { padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.parts tr:last-child td { border-bottom: 0; }
.parts td:first-child { font-weight: 600; white-space: nowrap; }
.parts td:nth-child(2) { color: var(--muted); }
.parts td:nth-child(3) { font-weight: 500; }
.parts .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); font: 600 13.5px var(--font-disp); margin-right: 10px; }
@media (max-width: 759px) {
  .parts thead { display: none; }
  .parts, .parts tbody { display: block; }
  .parts tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
  .parts tr:last-child { border-bottom: 0; }
  .parts td { display: block; padding: 2px 0; border: 0; }
  .parts td:first-child { white-space: normal; }
}

.split { display: grid; gap: 36px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.prose p { color: var(--muted); font-size: 17.5px; }
.prose p:last-child { margin-bottom: 0; }

.nsteps { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 16px; }
.nsteps li { counter-increment: n; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.nsteps li::before { content: counter(n); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--sun); font: 600 16px var(--font-disp); }
html[lang="bn"] .nsteps li::before { content: counter(n, bengali); }
.nsteps h3 { font: 600 18px/1.3 var(--font-body); margin: 6px 0 2px; letter-spacing: 0; }
.nsteps p { margin: 0; color: var(--muted); }

.founder { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-xl); overflow: hidden; }
.founder__ph { aspect-ratio: 1 / 1; background: linear-gradient(180deg, var(--sky-1), var(--sky-3)); display: grid; place-items: end center; overflow: hidden; }
.founder__ph img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.founder__ph svg { width: 46%; height: auto; }
.founder__ph .hd { fill: rgba(255, 255, 255, .7); stroke: #8aa0b8; stroke-width: 2; }
.founder__body { padding: 20px 22px 24px; }
.founder h3 { font: 600 20px/1.3 var(--font-disp); letter-spacing: -.01em; margin: 0; }
html[lang="bn"] .founder h3 { letter-spacing: 0; }
.founder .role { display: block; color: var(--navy); font-weight: 600; margin: 4px 0 10px; }
.founder p { margin: 0; color: var(--muted); font-size: 15.5px; }

.ccards { display: grid; gap: 16px; }
@media (min-width: 700px) { .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ccard { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-xl); padding: 20px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.ccard:hover { border-color: var(--navy); transform: translateY(-2px); }
.ccard svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard small { display: block; color: var(--muted); font-size: 13.5px; }
.ccard b { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.map { margin-top: 22px; border-radius: var(--r-xl); overflow: hidden; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* home package teaser + FAQ */
.more { display: grid; gap: 56px; }
@media (min-width: 960px) { .more { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 16px 34px 16px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--muted); }
.faq h2 { margin-bottom: 12px; }

/* ---------- Footer ---------- */
.foot { background: var(--pale); border-top: 1px solid var(--rule); padding: 52px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
@media (min-width: 960px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; } }
.foot__brand { grid-column: 1 / -1; }
@media (min-width: 960px) { .foot__brand { grid-column: auto; } }
.foot__brand p { margin: 12px 0 0; color: var(--muted); font-size: 15px; max-width: 26em; }
.foot small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- Phone quick-contact bar + dialog ---------- */
.dock { display: none; }
@media (max-width: 759px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 -6px 20px rgba(10, 30, 60, .08);
    transition: transform .35s var(--ease-out); }
  .dock .btn { min-height: 46px; padding: 0 8px; font-size: 15px; gap: 6px; }
  .calc-on .dock { transform: translateY(115%); }
  body { padding-bottom: 76px; }
}
dialog { border: 0; border-radius: 16px; padding: 28px; width: min(440px, calc(100vw - 32px)); background: #fff; color: inherit; }
dialog::backdrop { background: rgba(15, 25, 45, .45); }
dialog .x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 8px; }
dialog .x svg { width: 20px; height: 20px; margin: auto; stroke: currentColor; stroke-width: 2; fill: none; }
dialog .ask { font: 500 24px/1.2 var(--font-disp); margin: 0; }
dialog .intro { color: var(--muted); margin: 6px 0 16px; font-size: 15.5px; }

/* ---------- Thank-you / 404 ---------- */
.msg-page .phero__in { padding-bottom: 72px; }
.msg-page .ok-icon { width: 56px; height: 56px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

/* ---------- Inner-page art box ---------- */
.artbox { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, #d6eafb 0%, #eef6fd 70%, #f7fbfe 100%); box-shadow: var(--shadow-card); }
.artbox svg { width: 100%; height: 100%; border-radius: 0; }
.artbox .tags text { font-size: 22px; }
.lead-form.sent .bar-in, .lead-form.sent .ask { display: none; }

/* ---------- Readability guard: button labels always win ---------- */
.btn--go, a.btn--go { color: var(--ink); }
.btn--wa, a.btn--wa, .btn--navy, a.btn--navy { color: #fff; }
.btn--line, a.btn--line { color: var(--ink); }
