/* Kranti Solar — main stylesheet
   Palette: solar-cell indigo, kesari saffron, morning sky, ink, leaf.
   Type: Baloo 2 (display) + Mukta (body) — both carry Latin and Devanagari. */

:root {
	--blue: #14245c;
	--blue-deep: #0c1740;
	--blue-mid: #23367e;
	--ink: #0e1630;
	--muted: #56617c;
	--sky: #eef3fb;
	--sky-2: #e2eaf7;
	--saffron: #f29d0c;
	--saffron-deep: #c97a00;
	--saffron-soft: #fff1d6;
	--leaf: #1e8e5a;
	--wa: #1fa855;
	--wa-deep: #178a45;
	--line: #dbe3ef;
	--white: #fff;
	--display: "Baloo 2", "Mukta", system-ui, sans-serif;
	--body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--shadow: 0 1px 2px rgba(12, 23, 64, .06), 0 8px 24px -12px rgba(12, 23, 64, .18);
	--shadow-lg: 0 30px 60px -30px rgba(12, 23, 64, .45);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.ks-lang-mr { font-size: 1.09rem; line-height: 1.7; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--saffron-deep); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); color: inherit; margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.01em; font-weight: 700; }
.ks-lang-mr h1, .ks-lang-mr h2, .ks-lang-mr h3 { line-height: 1.28; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--saffron); color: var(--ink); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
.ks-ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .72em 1.25em; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9em 1.55em; font-size: 1.06rem; }
.btn-sm { padding: .5em 1em; font-size: .94rem; }
.btn-block { width: 100%; }
.btn-sun { background: var(--saffron); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(242, 157, 12, .9); }
.btn-sun:hover { background: #ffb021; color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-mid); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--blue); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.link-arrow { display: inline-flex; align-items: center; gap: .25em; font-weight: 600; text-decoration: none; }
.link-arrow .ks-ic { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover .ks-ic { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--saffron); color: var(--ink); font-size: .95rem; position: relative; z-index: 60; }
.announce .wrap { position: relative; min-height: 40px; display: grid; }
.announce p { grid-area: 1 / 1; margin: 0; display: flex; align-items: center; justify-content: center; gap: .5em; padding: 8px 0; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.announce p.is-on { opacity: 1; transform: none; pointer-events: auto; }
.announce a, .announce span { color: var(--ink); font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce .ks-ic { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); color: #fff; background: var(--blue-deep); transition: background .3s, color .3s, box-shadow .3s; }
.site-head.is-solid { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 6px 24px -16px rgba(12, 23, 64, .35); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.head-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand-logo { height: 46px; width: auto; }
.brand-mark { width: 40px; height: 40px; }
.bm-sun { fill: var(--saffron); }
.bm-rays { stroke: var(--saffron); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.bm-panel { fill: currentColor; opacity: .92; }
.bm-grid { stroke: var(--blue-deep); stroke-width: 1.4; fill: none; }
.site-head.is-solid .bm-grid { stroke: #fff; }
.site-foot .bm-grid { stroke: var(--blue-deep); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font-family: var(--display); font-weight: 800; font-size: 1.42rem; letter-spacing: -.01em; }
.brand-txt small { font-size: .78rem; opacity: .75; margin-top: 2px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 10px 12px; color: inherit; text-decoration: none; font-weight: 500; border-radius: 8px; position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.dd-toggle { display: none; }
.dd { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.is-open > .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.dd a .ks-ic { color: var(--saffron-deep); }
.dd a:hover { background: var(--sky); color: var(--blue); }
.nav-foot { display: none; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid currentColor; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .9; }
.lang:hover { color: inherit; opacity: 1; background: rgba(242, 157, 12, .14); }
.lang .ks-ic { width: 1.05em; height: 1.05em; }
.site-head:not(.is-solid) .head-call { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: 10px; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn i:nth-child(1) { top: 15px; }
.menu-btn i:nth-child(2) { top: 21px; }
.menu-btn i:nth-child(3) { top: 27px; }
.nav-open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn i:nth-child(2) { opacity: 0; }
.nav-open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: sunrise over a rooftop array ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 120px; background: linear-gradient(180deg, var(--blue-deep) 0%, #15276a 46%, #2f3a87 70%, #8a5a6a 88%, #e09a4c 100%); isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sky::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,.55), transparent), radial-gradient(1.3px 1.3px at 44% 22%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,.6), transparent), radial-gradient(1.2px 1.2px at 86% 26%, rgba(255,255,255,.45), transparent), radial-gradient(1px 1px at 58% 4%, rgba(255,255,255,.5), transparent); animation: starsfade 3s 1s var(--ease) forwards; }
.hero-glow { position: absolute; right: 8%; bottom: -10%; width: 70vw; height: 60vw; max-width: 900px; max-height: 760px; background: radial-gradient(closest-side, rgba(255, 196, 92, .55), rgba(242, 157, 12, .18) 55%, transparent); filter: blur(6px); opacity: 0; animation: glowup 2.8s .2s var(--ease) forwards; }
@keyframes starsfade { to { opacity: .25; } }
@keyframes glowup { to { opacity: 1; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .35em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 34em; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .92); font-weight: 500; }
.hero-points .ks-ic { color: var(--saffron); width: 1.1em; height: 1.1em; stroke-width: 2.6; }
.hero-foot { position: relative; margin-top: 28px; font-size: .78rem; color: rgba(255, 255, 255, .62); }
.hero-photo img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scene-note { display: flex; align-items: center; gap: 10px; margin: 6px auto 0; width: fit-content; max-width: 100%; padding: 9px 16px; border-radius: 999px; background: rgba(12, 23, 64, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-size: .93rem; color: rgba(255, 255, 255, .92); opacity: 0; animation: fadein .8s 2.4s var(--ease) forwards; }
.scene-note .ks-ic { color: var(--saffron); }
@keyframes fadein { to { opacity: 1; } }

.scene { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / .92; perspective: 1500px; --rx: 0deg; --ry: 0deg; }
.scene-sun { position: absolute; inset: 0; transform-origin: 50% 100%; transform: rotate(-64deg); animation: sunrise 2.8s .15s var(--ease) forwards; }
.scene-sun i { position: absolute; left: calc(50% - 42px); top: 2%; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff4cc 0, #ffd36b 32%, var(--saffron) 70%); box-shadow: 0 0 40px 10px rgba(255, 196, 92, .55), 0 0 140px 50px rgba(242, 157, 12, .3); }
@keyframes sunrise { to { transform: rotate(22deg); } }
.scene-stage { position: absolute; inset: 14% 0 0; transform-style: preserve-3d; transform: rotateX(calc(57deg + var(--rx))) rotateZ(calc(-34deg + var(--ry))); transition: transform .6s var(--ease); }
.roof { position: absolute; left: 12%; top: 6%; width: 76%; height: 80%; transform-style: preserve-3d; }
.roof-face { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(135deg, #46549a, #2c3878); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .08), 0 40px 60px -10px rgba(0, 0, 0, .55); }
.roof-face::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px), repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px); }
.roof-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: #1b2457; transform-origin: bottom; transform: rotateX(-90deg); }
.array { position: absolute; inset: 12% 9% 16%; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 9% 4%; transform-style: preserve-3d; }
.pv { position: relative; transform-origin: 50% 100%; transform: rotateX(-24deg) translateZ(4px); border-radius: 3px; background: linear-gradient(160deg, #1d3c96 0%, #0f2366 55%, #0a1a4e 100%); box-shadow: 0 0 0 2px #c9d2e6, 0 14px 14px -6px rgba(0, 0, 0, .5); overflow: hidden; filter: brightness(.45) saturate(.7); animation: energise .9s calc(1.15s + var(--i) * .13s) var(--ease) forwards; }
.pv::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(190, 210, 255, .35) 0 1px, transparent 1px 16.66%), repeating-linear-gradient(0deg, rgba(190, 210, 255, .35) 0 1px, transparent 1px 10%); }
.pv b { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 236, 190, .75) 50%, transparent 60%); transform: translateX(-70%); animation: sheen 1.4s calc(1.4s + var(--i) * .13s) var(--ease) forwards; }
@keyframes energise { to { filter: brightness(1.08) saturate(1.1); box-shadow: 0 0 0 2px #e4e9f5, 0 14px 14px -6px rgba(0, 0, 0, .5), 0 0 18px rgba(255, 196, 92, .35); } }
@keyframes sheen { to { transform: translateX(70%); } }

/* ---------- Service chooser (overlaps hero) ---------- */
.chooser { position: relative; z-index: 2; margin-top: -84px; padding: 0 !important; }
.chooser-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chooser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; }
.tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 24px 28px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); transition: background .25s; }
.tile:last-child { border-right: 0; }
.tile:hover { background: var(--sky); color: var(--ink); }
.tile strong { font-family: var(--display); font-size: 1.2rem; font-weight: 700; }
.tile > span:not(.tile-ic) { color: var(--muted); font-size: .97rem; }
.tile-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--saffron-soft); color: var(--saffron-deep); margin-bottom: 8px; transition: transform .3s var(--ease); }
.tile:hover .tile-ic { transform: rotate(-8deg) scale(1.06); }
.tile-go { position: absolute; top: 26px; right: 22px; color: var(--blue); opacity: .35; transition: opacity .2s, transform .2s var(--ease); }
.tile:hover .tile-go { opacity: 1; transform: translateX(3px); }

/* ---------- Generic section rhythm ---------- */
main { overflow-x: clip; }
main > section, .feature, .cards-sec, .steps-sec, .warranty, .services-sec, .packages-sec, .projects-sec, .videos-sec, .testi-sec, .areas-sec, .faq-sec, .contact-sec, .facts-sec, .owner-sec, .legal, .svc-body, .brands-sec { padding: clamp(48px, 6vw, 84px) 0; }
/* Two white sections in a row: don't double the gap. */
.feature.tone-plain + .cards-sec, .cards-sec + .feature.tone-plain, .packages-sec + .warranty, .warranty + .feature.tone-plain, .projects-sec + .areas-sec, .areas-sec + .faq-sec, .svc-body + .services-sec, .stats + .feature.tone-plain, .feature.tone-plain + .stats { padding-top: 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head-row .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head-row > a, .sec-head-row > .car-nav { margin-bottom: clamp(24px, 3vw, 40px); flex: none; }
.small-print { font-size: .88rem; color: var(--muted); margin-top: 22px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--saffron-deep); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ks-ic { color: var(--leaf); stroke-width: 2.6; width: 1.15em; height: 1.15em; margin-top: .28em; }
.ticks-sm { font-size: .98rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--sky); font-size: .95rem; }

/* Images placed by the admin */
.img-block { margin: 0 auto; padding: 18px 0; }
.img-block img { width: 100%; border-radius: var(--r-lg); }
.img-wide { width: min(1200px, 100% - 40px); }
.img-narrow { width: min(760px, 100% - 40px); }
.img-full { width: 100%; }
.img-full img { border-radius: 0; }
.img-block figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ---------- Stats ---------- */
.stats { padding: clamp(40px, 5vw, 64px) 0; }
.ks-page-home .stats { padding-top: clamp(28px, 3vw, 40px); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-block: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; padding: 22px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat dt { color: var(--muted); font-size: 1rem; }
.stat dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; color: var(--blue); display: flex; align-items: baseline; gap: 2px; }
.stat dd small { font-size: .42em; color: var(--saffron-deep); font-weight: 700; }

/* ---------- Feature (text + image) ---------- */
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-grid.no-img { grid-template-columns: 1fr; }
.img-left .feature-copy { order: 2; }
.feature-img { margin: 0; }
.feature-img img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.tone-sky { background: var(--sky); }
.tone-dark { background: var(--blue); color: #fff; }
.tone-dark .prose, .tone-dark p { color: rgba(255, 255, 255, .86); }
.tone-dark strong { color: #fff; }
.tone-dark .ticks .ks-ic { color: var(--saffron); }
.tone-dark .feature-img img { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }

/* ---------- Icon cards ---------- */
.icards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.icards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.icards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.icard { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.icards.cols-3 .icard:not(:nth-child(3n + 1)), .icards.cols-2 .icard:nth-child(2n), .icards.cols-4 .icard:not(:nth-child(4n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.icard-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-deep); margin-bottom: 14px; }
.icard h3 { margin-bottom: .35em; }
.icard p { color: var(--muted); margin: 0; }
.icard .more { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }

/* ---------- Steps ---------- */
.steps-sec { background: var(--sky); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; left: 26px; right: 26px; height: 2px; background: linear-gradient(90deg, var(--saffron), var(--saffron) var(--p, 0%), var(--sky-2) var(--p, 0%)); transition: --p 1.6s; }
.steps.is-in::before { animation: linegrow 1.8s var(--ease) forwards; }
@property --p { syntax: "<percentage>"; initial-value: 0%; inherits: false; }
@keyframes linegrow { to { --p: 100%; } }
.step { position: relative; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--saffron); color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Facts ---------- */
.facts-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.facts { margin: 0; border-top: 2px solid var(--blue); }
.facts div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.facts-note { background: var(--saffron-soft); border-radius: var(--r-lg); padding: 28px; }
.facts-note > .ks-ic { width: 40px; height: 40px; color: var(--saffron-deep); margin-bottom: 12px; }
.facts-note p { font-size: .97rem; }

/* ---------- Warranty pair ---------- */
.w-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; }
.w-box { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.w-a { background: var(--sky); }
.w-b { background: var(--blue); color: #fff; }
.w-b p { color: rgba(255, 255, 255, .85); }
.w-by { font-size: .9rem; font-weight: 600; margin-bottom: 6px; color: var(--saffron-deep); }
.w-b .w-by { color: var(--saffron); }
.w-box h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.w-plus { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 -14px; z-index: 1; border-radius: 50%; background: var(--saffron); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.6rem; box-shadow: 0 0 0 6px #fff; }

/* ---------- Services ---------- */
.services-sec { background: #fff; }
.ks-page-home .services-sec, .ks-route-area .services-sec { background: var(--sky); }
.svc-group { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin: 8px 0 18px; }
.svc-group .ks-ic { color: var(--saffron-deep); }
.svc-group ~ .svc-group { margin-top: 44px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 24px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.svc:hover { color: var(--ink); border-color: transparent; box-shadow: var(--shadow-lg), 0 0 0 2px var(--blue); transform: translateY(-3px); }
.svc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue); color: var(--saffron); margin-bottom: 16px; }
.svc h3 { margin-bottom: .3em; }
.svc p { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-note { font-size: .85rem; color: var(--saffron-deep); font-weight: 600; margin-bottom: 8px; }
.svc-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--blue); }
.svc-go .ks-ic { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.svc:hover .svc-go .ks-ic, .area:hover .svc-go .ks-ic { transform: translateX(4px); }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; perspective: 1200px; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 30px 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; }
.pkg:hover { box-shadow: var(--shadow-lg); }
.pkg.is-pop { background: var(--blue); color: #fff; border-color: var(--blue); }
.pkg.is-pop .pkg-tag, .pkg.is-pop .pkg-dur, .pkg.is-pop .pkg-price span { color: rgba(255, 255, 255, .78); }
.pkg.is-pop .ticks .ks-ic { color: var(--saffron); }
.pkg-badge { position: absolute; top: -13px; left: 24px; background: var(--saffron); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.pkg h3 { font-size: 1.45rem; margin-bottom: .1em; }
.pkg-tag { color: var(--muted); font-size: .98rem; }
.pkg-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; flex-wrap: wrap; }
.pkg-price strong { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.pkg-price span, .pkg-price small { color: var(--muted); }
.pkg-quote { font-size: 1.6rem !important; }
.pkg-prov { display: inline-block; width: fit-content; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--saffron-soft); color: #7a4a00; margin: 8px 0 0; }
.pkg-dur { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; margin: 12px 0 16px; }
.pkg .ticks { flex: 1; font-size: .98rem; }
.pkg-terms { margin-top: 12px; font-size: .88rem; }
.pkg-terms summary { cursor: pointer; color: inherit; opacity: .75; }
.pkg-terms p { margin: 6px 0 0; opacity: .85; }

/* ---------- Projects ---------- */
.projects-sec { background: #fff; }
.tabs { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; padding: 4px; border-radius: 22px; background: var(--sky); margin-bottom: 22px; }
.tabs button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.proj > img, .ba { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.proj figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.proj figcaption strong { font-family: var(--display); font-size: 1.08rem; }
.proj figcaption span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .92rem; }
.proj figcaption span .ks-ic { width: 1em; height: 1em; color: var(--saffron-deep); }
.proj figcaption em { font-style: normal; color: var(--muted); font-size: .92rem; }
.proj[hidden] { display: none; }
.ba { position: relative; overflow: hidden; --pos: 50%; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(12, 23, 64, .7); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.ba-tag-b { left: 10px; }
.ba-tag-a { right: 10px; }

/* ---------- Videos ---------- */
.videos-sec { background: var(--blue-deep); color: #fff; }
.videos-sec .sec-head p { color: rgba(255, 255, 255, .75); }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.vid { margin: 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--saffron); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.yt-play .ks-ic { fill: currentColor; width: 26px; height: 26px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid figcaption { padding-top: 10px; display: grid; }
.vid figcaption span { color: rgba(255, 255, 255, .7); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.testi-sec { background: var(--sky); overflow: hidden; }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.car::-webkit-scrollbar { display: none; }
.car-nav { display: flex; gap: 8px; }
.car-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.car-btn:hover { border-color: var(--blue); }
.car-btn[data-car="-1"] .ks-ic { transform: rotate(180deg); }
.testi { position: relative; scroll-snap-align: start; margin: 0; padding: 30px 28px 24px; background: #fff; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.testi::before { content: "“"; position: absolute; top: 2px; right: 22px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--saffron); opacity: .35; }
.testi p { font-size: 1.06rem; flex: 1; }
.testi footer { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--saffron); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi cite { font-style: normal; display: grid; line-height: 1.3; }
.testi cite span { color: var(--muted); font-size: .92rem; }
.demo-chip { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #f1f1f4; color: #6b6f80; border: 1px dashed #b8bccb; margin-bottom: 10px; }
.stars { display: flex; gap: 2px; color: var(--saffron); margin-bottom: 10px; }
.stars .ks-ic { fill: currentColor; width: 18px; height: 18px; }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.area { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .25s, transform .25s var(--ease), border-color .2s; }
.area:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.area.is-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.area.is-primary p, .area.is-primary .svc-go { color: rgba(255, 255, 255, .85); }
.area-pin { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-deep); margin-bottom: 14px; }
.area.is-primary .area-pin { background: rgba(242, 157, 12, .2); color: var(--saffron); }
.area h3 { font-size: 1.5rem; margin-bottom: .2em; }
.area p { color: var(--muted); flex: 1; }

/* ---------- Brands ---------- */
.brands-sec { padding: 40px 0; border-block: 1px solid var(--line); }
.brands-row { display: grid; grid-template-columns: minmax(220px, 1fr) 2.2fr; gap: 28px; align-items: center; }
.brands-head { margin: 0; }
.brands-head h2 { font-size: 1.35rem; margin-bottom: .2em; }
.brands-head p { font-size: .98rem; }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.brands li span { font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: #7c869e; }
.brands li.is-main span { color: var(--blue); font-size: 1.3rem; }
.brands img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brands li.is-main img, .brands img:hover { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--head-h) + 24px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--sky); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--blue); transition: transform .25s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa .prose { padding: 0 0 20px; color: var(--muted); }

/* ---------- Owner ---------- */
.owner-sec { background: var(--sky); }
.owner { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 980px; }
.owner-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--blue); display: grid; place-items: center; color: var(--saffron); font-family: var(--display); font-size: 6rem; font-weight: 800; box-shadow: 0 0 0 10px #fff; }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; }
.owner blockquote { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }
.owner-name { display: grid; margin-top: 10px; }
.owner-name span { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: var(--saffron); padding: clamp(40px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .45), transparent); }
.cta-in { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin: 0; font-size: 1.08rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Promo ---------- */
.promo { padding: 32px 0; }
.promo-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--blue); color: #fff; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-copy { padding: clamp(24px, 4vw, 48px); }
.promo-copy p { color: rgba(255, 255, 255, .85); }
.promo-in:not(:has(.promo-img)) { grid-template-columns: 1fr; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; color: #fff; background: linear-gradient(160deg, var(--blue-deep), var(--blue) 70%, #2a3a8a); padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 110px); overflow: hidden; isolation: isolate; }
.phero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 157, 12, .35), transparent 70%); z-index: -1; }
.phero.has-img { min-height: 420px; }
.phero-bg { position: absolute; inset: 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12, 23, 64, .92) 30%, rgba(12, 23, 64, .55)); }
.phero h1 { max-width: 22ch; text-wrap: balance; }
.phero p { max-width: 60ch; font-size: 1.15rem; color: rgba(255, 255, 255, .85); }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.phero-arc { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 50px; fill: #fff; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; }
.crumbs li { color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: var(--saffron); }

/* ---------- Service / area page body ---------- */
.svc-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--head-h) + 24px); }
.aside-card { padding: 28px; border-radius: var(--r-lg); background: var(--sky); }
.aside-card h2 { font-size: 1.35rem; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-price { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--saffron-deep); font-size: .98rem; }
.aside-price .ks-ic { margin-top: .2em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.clist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 18px; }
.clist li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.clist li > .ks-ic { color: var(--saffron-deep); margin-top: 3px; }
.clist span { display: block; font-size: .88rem; color: var(--muted); }
.clist a { font-weight: 600; text-decoration: none; }
.clist address, .clist p { font-style: normal; margin: 0 0 4px; }
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.form-card h2 { font-size: 1.6rem; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--blue); transition: background .2s, color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ---------- Map (loads on click — keeps pages fast) ---------- */
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sky) url("../img/map-pattern.svg") center / cover; aspect-ratio: 16 / 7; margin-top: 28px; }
.map-lg { aspect-ratio: 16 / 6; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); }
.map-load .ks-ic { color: var(--saffron); }

/* ---------- Forms ---------- */
.enq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.fld { display: grid; gap: 5px; margin: 0; border: 0; padding: 0; min-width: 0; }
.fld[hidden] { display: none; }
.ks-page-contact .map-foot { display: none; }
.fld-full, .fld-system, .enq .btn, .form-note, .form-err, .form-ok { grid-column: 1 / -1; }
.fld label, .fld legend { font-weight: 600; font-size: .95rem; padding: 0; }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 36, 92, .1); }
.fld.has-err input, .fld.has-err select { border-color: #c62828; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 9px 6px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .95rem; transition: all .2s; }
.seg input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
[data-solar-only].is-off { display: none; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-err { color: #b71c1c; font-weight: 600; margin: 0; }
.form-ok { background: #e7f6ee; color: #11683a; border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0; }

/* ---------- Footer ---------- */
.site-foot { position: relative; background: var(--blue-deep); color: rgba(255, 255, 255, .8); padding-top: 70px; margin-top: 60px; }
main:has(> .cta:last-child) + .site-foot, main:has(> .img-block:last-child) + .site-foot { margin-top: 0; }
main:has(> .cta:last-child) + .site-foot .foot-arc { fill: var(--blue-deep); }
.foot-arc { position: absolute; left: 0; right: 0; top: -59px; width: 100%; height: 60px; fill: var(--blue-deep); }
.foot-ray { stroke: var(--saffron); stroke-width: 2; stroke-dasharray: 1600; stroke-dashoffset: 1600; opacity: .9; }
.site-foot.is-in .foot-ray { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr 1.4fr; gap: 32px; padding-bottom: 36px; }
.site-foot h2 { font-family: var(--display); font-size: 1.05rem; color: #fff; margin-bottom: 14px; font-weight: 700; }
.site-foot h2.mt { margin-top: 22px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot ul.inline { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-foot a { color: rgba(255, 255, 255, .82); text-decoration: none; background-image: linear-gradient(var(--saffron), var(--saffron)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease), color .2s; }
.site-foot a:hover { color: #fff; background-size: 100% 1.5px; }
.site-foot .btn, .site-foot .social a, .site-foot .brand { background-image: none; }
.brand-light { color: #fff; margin-bottom: 14px; }
.foot-brand p { font-size: .98rem; }
.foot-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.site-foot .social a { background: rgba(255, 255, 255, .08); color: #fff; }
.site-foot .social a:hover { background: var(--saffron); color: var(--ink); }
.foot-note { font-size: .86rem; color: rgba(255, 255, 255, .6); margin: 10px 0 0; }
.foot-contact .clist { gap: 14px; }
.foot-contact .clist span { color: rgba(255, 255, 255, .55); }
.foot-contact .clist a { color: #fff; }
.foot-contact .clist li > .ks-ic { color: var(--saffron); }
.map-foot { aspect-ratio: auto; height: 240px; margin: 0 0 32px; background-color: #0a133a; opacity: .95; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: .9rem; }
.foot-bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot-bottom-in p { margin: 0; }
.foot-small { font-size: .78rem; color: rgba(255, 255, 255, .45); margin-top: 10px; }

/* ---------- Dock + floating WhatsApp ---------- */
.dock { display: none; }
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .8); transition: transform .25s var(--ease); }
.fab-wa .ks-ic { width: 32px; height: 32px; }
.fab-wa:hover { transform: scale(1.07); color: #fff; }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s 3s var(--ease) 3; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 40, .62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); transform: translateY(18px) scale(.98); transition: transform .35s var(--ease); overscroll-behavior: contain; }
.modal.is-open .modal-card { transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sky); color: var(--ink); display: grid; place-items: center; z-index: 2; }
.modal-x:hover { background: var(--sky-2); }
.sel-card { overflow: hidden; padding-top: 44px; }
.sel-sun { position: absolute; top: -70px; right: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, #ffe3a0, var(--saffron) 60%, transparent 62%); opacity: .25; pointer-events: none; }
.sel-step { display: none; }
.sel-step.is-on { display: block; animation: stepin .35s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.sel-step h2 { font-size: 1.7rem; padding-right: 30px; }
.sel-sub { color: var(--muted); }
.sel-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 10px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 4px; padding: 20px 18px; border-radius: var(--r); border: 2px solid var(--line); background: #fff; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.choice:hover, .choice:focus-visible { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.choice strong { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.choice small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.choice-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: var(--saffron); margin-bottom: 8px; }
.sel-skip { display: block; margin: 8px auto 0; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sel-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--blue); font-weight: 600; padding: 0; margin-bottom: 10px; }
.sel-back .ks-ic { transform: rotate(180deg); width: 1em; height: 1em; }
.sel-actions { display: grid; gap: 10px; margin-top: 16px; }
.mini-pkgs { display: grid; gap: 10px; margin: 16px 0 6px; }
.mini-pkg { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.mini-pkg:hover { border-color: var(--wa); color: var(--ink); }
.mini-pkg.is-pop { border-color: var(--saffron); background: var(--saffron-soft); }
.mini-pkg strong { font-family: var(--display); font-size: 1.1rem; }
.mini-pkg span { font-weight: 700; color: var(--blue); text-align: right; }
.mini-pkg small { color: var(--muted); grid-column: 1; }
.mini-pkg em { grid-column: 2; grid-row: 2; font-style: normal; display: inline-flex; align-items: center; gap: 4px; color: var(--wa-deep); font-weight: 600; font-size: .9rem; justify-self: end; }
.mini-pkg em .ks-ic { width: 1em; height: 1em; }
.sel-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.sel-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--sky); color: var(--ink); text-decoration: none; font-weight: 600; }
.sel-list a .ks-ic { color: var(--saffron-deep); }
.sel-list a .go { margin-left: auto; color: var(--blue); }
.sel-list a:hover { background: var(--sky-2); }
.sel-charge { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.sel-charge .ks-ic { color: var(--saffron-deep); margin-top: 3px; }
.enq-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; padding-right: 30px; }
.enq-head h2 { font-size: 1.55rem; margin-bottom: .15em; }
.enq-head p { margin: 0; color: var(--muted); font-size: .98rem; }
.enq-ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--saffron); color: var(--ink); }
.modal-open { overflow: hidden; }

/* iOS install tip */
.ios-tip { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 90; display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.ios-tip p { margin: 0; font-size: .95rem; }
.ios-tip button { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ios-tip[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1520px) {
	.head-call span { display: none; }
	.head-call { padding: .5em; }
	.head-in { gap: 16px; }
}
@media (max-width: 1280px) {
	.brand-txt small { display: none; }
}
@media (max-width: 1100px) {
	.nav > ul > li > a { padding: 10px 9px; }
	.foot-grid { grid-template-columns: 1fr 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 1140px) {
	:root { --head-h: 64px; }
	.menu-btn { display: block; }
	.head-call, .head-quote { display: none; }
	.nav { position: fixed; inset: var(--nav-top, var(--head-h)) 0 0; margin: 0; background: #fff; color: var(--ink); padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .35s var(--ease), visibility .35s; display: flex; flex-direction: column; }
	.nav-open .nav { clip-path: inset(0); visibility: visible; }
	.nav-open .site-head { background: #fff; color: var(--ink); }
	.nav > ul { flex-direction: column; gap: 0; }
	.nav > ul > li { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; }
	.nav > ul > li > a { padding: 15px 2px; font-size: 1.12rem; font-weight: 600; }
	.nav > ul > li > a::after { display: none; }
	.dd-toggle { display: grid; place-items: center; width: 48px; border: 0; background: none; color: var(--blue); }
	.dd-toggle .ks-ic { transform: rotate(90deg); transition: transform .25s; }
	.has-dd.is-open .dd-toggle .ks-ic { transform: rotate(-90deg); }
	.dd { position: static; grid-column: 1 / -1; min-width: 0; box-shadow: none; padding: 0 0 10px; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-dd:hover > .dd { display: none; }
	.has-dd.is-open > .dd { display: block; }
	.nav-foot { display: grid; gap: 10px; margin-top: 22px; }
	.social-nav { justify-content: center; margin-top: 6px; }
	.brand-txt small { display: none; }
}

@media (max-width: 960px) {
	.hero { padding-bottom: 110px; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { order: -1; max-width: 420px; margin: -10px auto 0; width: 100%; }
	.scene { aspect-ratio: 1 / .78; }
	.chooser-grid { grid-template-columns: 1fr 1fr; }
	.tile:nth-child(2) { border-right: 0; }
	.tile:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
	.stats-row { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
	.feature-grid, .facts-grid, .faq-grid, .svc-layout, .contact-grid, .owner, .brands-row, .cta-in, .promo-in { grid-template-columns: 1fr; }
	.img-left .feature-copy { order: 0; }
	.faq-side, .svc-aside { position: static; }
	.icards, .icards.cols-4 { grid-template-columns: 1fr 1fr; }
	.icards .icard { padding-left: 0 !important; border-left: 0 !important; padding-right: 20px; }
	.icards .icard:nth-child(2n) { padding-left: 20px !important; border-left: 1px solid var(--line) !important; }
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps::before { top: 26px; bottom: 26px; left: 25px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--saffron), var(--saffron) var(--p, 0%), var(--sky-2) var(--p, 0%)); }
	.step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding-bottom: 22px; }
	.step-n { grid-row: span 2; margin: 0; }
	.w-pair { grid-template-columns: 1fr; }
	.w-plus { margin: -14px auto; }
	.proj-grid { grid-template-columns: 1fr 1fr; }
	.car { grid-auto-columns: minmax(280px, 82%); }
	.owner { justify-items: start; }
	.owner-photo { width: 160px; font-size: 4rem; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.fab-wa { display: none; }
	.map, .map-lg { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
	.wrap { width: min(1200px, 100% - 32px); }
	.lang span { display: none; }
	.lang { padding: 8px; border-width: 0; }
	.lang .ks-ic { width: 1.4em; height: 1.4em; }
	.ks-lang-en .lang::after { content: "म"; font-family: var(--display); font-weight: 800; margin-left: -2px; }
	.ks-lang-mr .lang::after { content: "EN"; font-weight: 700; font-size: .85rem; margin-left: -2px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.chooser { margin-top: -78px; }
	.tile { padding: 18px 16px 20px; }
	.tile > span:not(.tile-ic) { font-size: .9rem; }
	.tile-go { display: none; }
	.icards, .icards.cols-2, .icards.cols-4 { grid-template-columns: 1fr; }
	.icards .icard, .icards .icard:nth-child(2n) { padding: 22px 0 !important; border-left: 0 !important; }
	.proj-grid { grid-template-columns: 1fr; }
	.enq { grid-template-columns: 1fr; }
	.sel-choices { grid-template-columns: 1fr; }
	.choice { flex-direction: row; align-items: center; flex-wrap: wrap; column-gap: 12px; }
	.choice-ic { margin: 0; }
	.choice strong { flex: 1; }
	.choice small { flex-basis: 100%; padding-left: 58px; margin-top: -6px; }
	.modal { padding: 0; place-items: end center; }
	.modal-card { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92dvh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateY(40px); }
	.foot-grid { grid-template-columns: 1fr; }
	.foot-col { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }
	.cta-actions .btn { flex: 1 1 100%; }
	.facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* =====================================================================
   Mobile polish (phones & small tablets). Desktop layout is untouched.
   ===================================================================== */

/* Sticky action bar — slides up once the visitor scrolls a little. */
.dock { display: none; }
@media (max-width: 960px) {
	.dock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 6px; position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 20px; background: rgba(12, 23, 64, .94); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 18px 40px -14px rgba(8, 14, 40, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset; transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; transition: transform .38s var(--ease), opacity .25s, visibility .38s; max-width: 560px; margin-inline: auto; }
	.dock.is-shown { transform: none; opacity: 1; visibility: visible; }
	.modal-open .dock, .nav-open .dock, .dock.is-hushed { transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; }
	.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 6px 4px; border-radius: 15px; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; line-height: 1.1; text-align: center; transition: background .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
	.dock a:active { transform: scale(.96); }
	.dock a .ks-ic { width: 22px; height: 22px; }
	.dock a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.dock .dock-call .ks-ic { color: var(--saffron); }
	.dock .dock-wa { background: var(--wa); box-shadow: 0 8px 18px -8px rgba(31, 168, 85, .9); }
	.dock .dock-enq { background: var(--saffron); color: var(--ink); }
	body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
	/* Buttons never run off the screen: they wrap and stack. */
	.btn { white-space: normal; text-align: center; max-width: 100%; min-height: 48px; padding: .7em 1.1em; }
	.btn-lg { padding: .78em 1.2em; font-size: 1rem; }
	.hero-actions, .cta-actions, .phero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
	.hero-actions .btn, .cta-actions .btn, .phero-actions .btn { width: 100%; }
	.foot-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.foot-cta .btn { width: 100%; padding-inline: .6em; }
	.foot-cta .install-btn[hidden] { display: none; }
	.foot-cta:has(.install-btn[hidden]) { grid-template-columns: 1fr; }
	.feature-copy .btn, .facts-note .btn, .faq-side .btn { width: 100%; }
	.cta h2 { font-size: 1.6rem; }
	.hero { padding-top: 28px; }
	.hero-points { gap: 6px 14px; font-size: .95rem; }

	/* Header fits 320px screens */
	.head-in { gap: 8px; }
	.brand { gap: 8px; min-width: 0; }
	.brand-mark { width: 34px; height: 34px; }
	.brand-txt strong { font-size: 1.2rem; white-space: nowrap; }
	.brand-logo { height: 38px; }
	.head-actions { gap: 2px; margin-left: auto; }
	.menu-btn { width: 42px; }

	/* Enquiry popup: compact bottom sheet */
	.modal-card { padding: 22px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 90dvh; }
	.modal-card::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
	.modal-x { top: 10px; right: 10px; width: 36px; height: 36px; }
	.enq-card { padding-top: 26px; }
	.enq-head { gap: 10px; margin-bottom: 12px; padding-right: 36px; align-items: center; }
	.enq-ic { width: 38px; height: 38px; border-radius: 11px; }
	.enq-ic .ks-ic { width: 20px; height: 20px; }
	.enq-head h2 { font-size: 1.22rem; margin: 0; }
	.enq-head p { font-size: .86rem; line-height: 1.4; margin-top: 2px; }
	.enq { grid-template-columns: 1fr 1fr; gap: 10px; }
	.enq .fld { grid-column: 1 / -1; gap: 3px; }
	.enq .fld:nth-of-type(2), .enq .fld:nth-of-type(3) { grid-column: auto; }
	.fld label, .fld legend { font-size: .84rem; }
	.fld input, .fld select, .fld textarea { font-size: 16px; padding: 9px 11px; border-radius: 9px; min-height: 44px; }
	.fld textarea { min-height: 44px; height: 44px; }
	.seg { gap: 5px; }
	.seg span { padding: 8px 4px; font-size: .86rem; }
	.form-note { font-size: .78rem; }
	.modal .enq .btn[type=submit] { position: sticky; bottom: -1px; z-index: 2; box-shadow: 0 -10px 16px 6px #fff; }
	.form-card { padding: 20px 16px; }
	.form-card h2 { font-size: 1.35rem; }

	/* Service selector popup */
	.sel-card { padding-top: 30px; }
	.sel-step h2 { font-size: 1.35rem; }
	.choice { padding: 14px; }
	.choice-ic { width: 40px; height: 40px; }
	.choice small { padding-left: 52px; }
}

@media (max-width: 360px) {
	.brand-txt strong { font-size: 1.08rem; }
	.brand-mark { width: 30px; height: 30px; }
	.lang { padding: 6px; }
	.enq { grid-template-columns: 1fr; }
	.enq .fld:nth-of-type(2), .enq .fld:nth-of-type(3) { grid-column: 1 / -1; }
	.dock a { font-size: .74rem; }
	.foot-cta { grid-template-columns: 1fr; }
}

/* Small-screen safety: grids may shrink below their content width, long words wrap. */
@media (max-width: 960px) {
	.chooser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile strong, .tile > span, .stat dt, .svc h3, .area h3 { overflow-wrap: anywhere; }
	.map-foot { aspect-ratio: auto; height: 220px; }
	.map-load { max-width: calc(100% - 32px); white-space: normal; text-align: center; justify-content: center; }
	.stat { padding: 18px 14px; }
	.stat dd { font-size: clamp(2.1rem, 11vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.scene-sun { transform: rotate(22deg); }
	.pv { filter: none; }
}

@media print {
	.site-head, .announce, .dock, .fab-wa, .modal, .site-foot .map { display: none !important; }
}
