:root {
  --navy-0: #050D1C;
  --navy: #071226;
  --navy-2: #0C1D3A;
  --navy-3: #132A4F;
  --blue: #2563EB;
  --cyan: #22C55E;
  --text: #1B2638;
  --muted: #5A6B82;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --wa: #1FA855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 18, 38, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; font-size: 16.5px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: 12.5px; color: var(--blue); margin: 0 0 8px; }
.muted { color: var(--muted); font-size: 14.5px; }
.logo-print { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 10px; border: 0; font: 600 15.5px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(37, 99, 235, .5); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31, 168, 85, .3); }
.btn-outline { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline.dark { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }

/* top bar */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .3s, box-shadow .3s; }
.topbar.scrolled { background: rgba(7, 18, 38, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; font-family: "Sora", sans-serif; line-height: 1.05; }
.brand-text b { font-size: 16px; color: #fff; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.brand-text small { font-size: 10.5px; color: var(--cyan); text-transform: uppercase; letter-spacing: .22em; font-weight: 600; margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: #C9D4E5; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: radial-gradient(120% 90% at 70% 10%, #0E2A55 0%, var(--navy) 45%, var(--navy-0) 100%); color: #C9D4E5; overflow: hidden; padding: 110px 0 90px; }
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; inset: auto -10% -30% -10%; height: 60%; background: radial-gradient(50% 60% at 50% 100%, rgba(37,99,235,.25), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,28,.8) 0%, rgba(5,13,28,.25) 55%, rgba(5,13,28,0) 100%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; max-width: 1160px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .25); color: #DCFCE7; font-size: 13.5px; font-weight: 500; margin: 0 0 22px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 66px); font-weight: 800; max-width: 15em; letter-spacing: -.02em; }
.grad { background: linear-gradient(90deg, #93C5FD, #4ADE80 55%, #93C5FD); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.lead { font-size: 18.5px; max-width: 36em; color: #AFC0D8; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 40px; justify-content: start; }
.stats div { padding-left: 14px; border-left: 2px solid rgba(34,197,94,.5); }
.stats b { display: block; font: 700 30px/1.1 "Sora", sans-serif; color: #fff; }
.stats span { font-size: 13px; color: #8EA3C0; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* marquee */
.marquee { background: var(--navy-2); border-block: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 700 22px "Sora", sans-serif; color: #5F7598; letter-spacing: .04em; text-transform: uppercase; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #AFC0D8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--cyan); }
.head { margin-bottom: 36px; }
.grid { display: grid; gap: 22px; }

/* about */
.about-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; margin: 0; }
.about-photo img { border-radius: 20px; aspect-ratio: 4/4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 20px; border: 2px solid var(--blue); opacity: .35; z-index: -1; }
.badge-float { position: absolute; right: -18px; bottom: 28px; background: var(--navy); color: #C9D4E5; padding: 16px 20px; border-radius: 14px; font-size: 13.5px; max-width: 190px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.badge-float b { display: block; font: 800 30px/1 "Sora", sans-serif; color: var(--cyan); margin-bottom: 4px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: rgba(37,99,235,.12); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* service cards */
.cards { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; transform-style: preserve-3d; will-change: transform; }
.card:hover { border-color: rgba(34,197,94,.35); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,29,58,0) 40%, var(--navy-2)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: saturate(.85); }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 4px 24px 26px; position: relative; }
.card .num { font: 700 13px "Sora", sans-serif; color: var(--cyan); letter-spacing: .12em; display: block; margin-bottom: 8px; }
.card p { margin: 0; color: #9DB0CB; font-size: 15px; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline li { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 0 rgba(7,18,38,.02); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .6s .2s; }
.timeline li.in::before { transform: scaleX(1); }
.timeline li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.timeline i { font: 800 normal 15px "Sora", sans-serif; color: #fff; background: linear-gradient(135deg, #16A34A, #0B7A3E); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.timeline b { display: block; font: 600 17px "Sora", sans-serif; color: var(--navy); margin-bottom: 4px; }
.timeline span { color: var(--muted); font-size: 14.5px; }

/* brands */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brands div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; transition: transform .25s, border-color .25s, box-shadow .25s; }
.brands div:hover { transform: translateY(-3px); border-color: rgba(37,99,235,.45); box-shadow: var(--shadow); }
.brands b { display: block; font: 700 19px "Sora", sans-serif; color: var(--navy); margin-bottom: 4px; }
.brands span { font-size: 14px; color: var(--muted); }
.brands .more { background: transparent; border-style: dashed; }
.brands .more b { color: var(--blue); }

/* projects */
.projects { grid-template-columns: repeat(3, 1fr); }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-img { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-2); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover .project-img img { transform: scale(1.06); }
.project-body { padding: 20px 22px 24px; }
.project-body p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.project-meta { color: var(--blue) !important; font-weight: 600; font-size: 12.5px !important; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px !important; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy-3); font-weight: 500; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #1D4ED8, #2563EB 45%, #16A34A); color: #E6F1FF; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 60px); mask: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; }
.cta-band .cta-row { margin: 0; }

/* contact */
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 10px 0 22px; }
.contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact-list address { font-style: normal; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e8edf4; }
.map iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(.3); }
.enquiry { background: #fff; border-radius: 18px; padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 13px; }
.enquiry h3 { margin: 0; font-size: 22px; }
.enquiry p { margin: 0 0 4px; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy-3); }
.enquiry input, .enquiry textarea { font: 15.5px "Inter", sans-serif; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); transition: border-color .2s, box-shadow .2s, background .2s; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); background: #fff; }
.form-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* footer */
.footer { background: var(--navy-0); color: #8EA3C0; padding: 40px 0 96px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.footer p { margin: 0; font-size: 14.5px; }

/* floating buttons */
.fab { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 12px; z-index: 50; }
.fab-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .2s; position: relative; }
.fab-btn:hover { transform: scale(1.08); }
.fab-btn svg { width: 26px; height: 26px; fill: #fff; }
.fab-btn.wa { background: var(--wa); }
.fab-btn.wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab-btn.call { background: var(--blue); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1020px) {
  .nav { gap: 18px; }
  .stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 960px) {
  .cards, .projects, .timeline { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
  .about-in { gap: 48px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 100px 0 80px; }
  .hero::after { background: linear-gradient(180deg, rgba(5,13,28,.25), rgba(5,13,28,.7)); }
  .about-in, .contact-in { grid-template-columns: 1fr; }
  .about-photo { margin-right: 18px; }
  .cards, .projects, .timeline, .checks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .section { padding: 68px 0; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .scroll-cue { display: none; }
}
@media (max-width: 380px) {
  .btn-sm span { display: none; }
  .brand-text b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== hero layout with animated scenes ===== */
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.grad.sun { background: linear-gradient(90deg, #FFC24B, #FF9F1C 55%, #FFD98A); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; }
.showcase { display: grid; gap: 16px; }
.scene { margin: 0; border-radius: 18px; padding: 14px 16px 16px; background: linear-gradient(160deg, rgba(19,42,79,.75), rgba(7,18,38,.6)); border: 1px solid rgba(34,197,94,.18); backdrop-filter: blur(8px); box-shadow: 0 20px 50px rgba(0,0,0,.35); transition: transform .4s, border-color .4s; }
.scene:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.45); }
.scene svg { width: 100%; height: auto; display: block; }
.scene figcaption { display: flex; flex-direction: column; margin-top: 6px; }
.scene figcaption b { color: #fff; font: 600 16px "Sora", sans-serif; }
.scene figcaption span { color: #8EA3C0; font-size: 13px; }
.scene .lcd { font: 700 9px "Inter", sans-serif; fill: #22C55E; letter-spacing: .08em; animation: blink 2.4s steps(2) infinite; }
.flow { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 7; animation: dash .7s linear infinite; }
.flow.dc { stroke: #FFC24B; }
.flow.ac { stroke: #22C55E; }
.flow.water { stroke: #4FC3FF; stroke-width: 3.5; animation-duration: .5s; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.rays { transform-origin: 34px 32px; animation: spin 14s linear infinite; }
.sun circle { filter: drop-shadow(0 0 8px rgba(255,194,75,.8)); animation: pulse 3s ease-in-out infinite; transform-origin: 34px 32px; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.glint { opacity: 0; animation: glint 4s ease-in-out infinite; }
@keyframes glint { 0%, 60%, 100% { opacity: 0; } 75% { opacity: 1; } }
.spin { animation: spin 1.2s linear infinite; }
.spin.fast { animation-duration: .6s; }
@keyframes spin { to { transform: rotate(360deg); } }
.led { animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.wave { stroke-dasharray: 40; animation: wave 1.2s linear infinite; }
@keyframes wave { to { stroke-dashoffset: -80; } }
.drops circle { animation: drop 1.1s ease-in infinite; }
.drops circle:nth-child(2) { animation-delay: .35s; }
.drops circle:nth-child(3) { animation-delay: .7s; }
@keyframes drop { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

/* email in the top-right corner */
.top-mail { display: inline-flex; align-items: center; gap: 8px; color: #C9D4E5; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); transition: background .2s, color .2s; }
.top-mail svg { width: 17px; height: 17px; fill: currentColor; }
.top-mail:hover { background: rgba(255,255,255,.08); color: #fff; }
.fab-btn.mail { background: #082E19; border: 1px solid rgba(34,197,94,.4); }

/* featured solar service card spans the full row */
.card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; border-color: rgba(255,194,75,.35); }
.card.featured .card-img { aspect-ratio: auto; height: 100%; min-height: 220px; }
.card.featured .card-img::after { background: linear-gradient(90deg, rgba(12,29,58,0) 50%, var(--navy-2)); }
.card.featured .num { color: #FFC24B; }
.card.featured h3 { font-size: 24px; }
.card.featured .card-body { padding: 28px 32px; }

@media (max-width: 1120px) { .top-mail span { display: none; } }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .showcase { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .showcase { grid-template-columns: 1fr; }
  .card.featured { grid-template-columns: 1fr; }
  .card.featured .card-img { min-height: 0; aspect-ratio: 16/9; }
  .card.featured .card-img::after { background: linear-gradient(180deg, rgba(12,29,58,0) 40%, var(--navy-2)); }
  .top-mail { padding: 8px; }
}
@media print { .showcase, .top-mail { display: none !important; } .hero-in { grid-template-columns: 1fr; } }

/* ===== PRINT: clean on a black & white printer ===== */
@media print {
  @page { margin: 14mm; }
  * { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; animation: none !important; }
  body { font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .logo-anim { display: none !important; }
  .logo-print { display: block !important; }
  .topbar { position: static; border-bottom: 2px solid #000; }
  .nav, .btn, .fab, .map, .enquiry, #hero3d, .hero-glow, .scroll-cue, .marquee, .cta-band, .card-img, .about-photo, .chip .live { display: none !important; }
  .hero { min-height: 0; padding: 16pt 0; border-bottom: 1px solid #000; }
  .hero::after { display: none; }
  .grad { -webkit-text-fill-color: #000; }
  .stats div { border-color: #000 !important; }
  .about-in, .contact-in { grid-template-columns: 1fr; gap: 10pt; }
  .section { padding: 14pt 0; }
  .card, .brands div, .timeline li, .project { border: 1px solid #000 !important; break-inside: avoid; }
  .timeline i { border: 1.5px solid #000; }
  .checks li::before { border: 1.5px solid #000; }
  .checks li::after { border-color: #000 !important; }
  .project-img img { filter: grayscale(1); }
  .cards, .projects, .timeline, .brands { grid-template-columns: repeat(3, 1fr); }
  .footer { padding: 10pt 0; border-top: 2px solid #000; }
  a { text-decoration: none; }
}

.stats b { white-space: nowrap; font-size: clamp(24px, 2.4vw, 30px); }


/* ===== layout fixes (03-Dec) ===== */
.fab-label { display: none; }
.fab-btn { width: 52px; height: 52px; }
.hero h1 { text-wrap: balance; }
@media (min-width: 420px) { .hero h1 .grad { white-space: nowrap; } }

@media (max-width: 760px) {
  /* phone: one tidy action bar at the bottom instead of three floating circles */
  .fab { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(7, 18, 38, .96); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.08); }
  .fab-btn { flex: 1 1 0; width: auto; height: 46px; border-radius: 10px; box-shadow: none;
    display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
  .fab-btn svg { width: 19px; height: 19px; }
  .fab-btn:hover { transform: none; }
  .fab-btn.wa::after { display: none; }
  .fab-label { display: inline; color: #fff; font: 600 14px "Inter", sans-serif; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .footer { padding-bottom: 32px; }

  /* shorter About photo, badge kept inside the screen */
  .about-photo { margin-right: 0; }
  .about-photo::before { display: none; }
  .about-photo img { aspect-ratio: 16 / 10; }
  .badge-float { right: 12px; bottom: 12px; padding: 12px 14px; }
  .badge-float b { font-size: 24px; }

  /* hero: less empty height, compact scenes */
  .hero { min-height: 0; padding: 96px 0 56px; }
  .scene { padding: 10px 12px 12px; }
}
@media print { .fab { display: none !important; } body { padding-bottom: 0; } }
@media (max-width: 960px) {
  .about-in { grid-template-columns: 1fr; gap: 36px; }
  .about-photo img { aspect-ratio: 16 / 9; }
}
@media (max-width: 960px) { .badge-float { right: 12px; } .about-photo::before { display: none; } }
.brands .featured-brand { grid-column: span 2; border-color: rgba(34,197,94,.45); background: linear-gradient(135deg, rgba(34,197,94,.08), rgba(37,99,235,.06)); }
.brands .featured-brand em { font: 600 12px "Inter", sans-serif; font-style: normal; color: #0B7A3E; background: rgba(34,197,94,.14); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
@media (max-width: 760px) { .brands .featured-brand { grid-column: auto; } }
.brands .more { grid-column: span 3; }
@media (max-width: 960px) { .brands .more { grid-column: auto; } }
@media (min-width: 1101px) { .projects { grid-template-columns: repeat(4, 1fr); } .project-body h3 { font-size: 17px; } }
.head .muted { margin: -4px 0 0; }
/* brand strip: names as tidy chips */
.marquee { padding: 16px 0; }
.marquee-track { gap: 14px; animation-duration: 40s; }
.marquee span { font: 800 17px "Sora", sans-serif; letter-spacing: .08em; color: #DCE5F2; padding: 10px 22px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); white-space: nowrap; }
.marquee span:nth-child(12n+1) { color: #4ADE80; border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
.map-dir { margin: 10px 0 0; } .map-dir a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* ===== mobile optimisation (03-Dec) ===== */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .head { margin-bottom: 22px; }
  h2 { font-size: 28px; }

  /* services: compact side-by-side cards (photo left, text right) */
  .cards { gap: 12px; }
  .card:not(.featured) { display: grid; grid-template-columns: 112px 1fr; align-items: stretch; }
  .card:not(.featured) .card-img { aspect-ratio: auto; height: 100%; min-height: 132px; }
  .card:not(.featured) .card-img::after { background: linear-gradient(90deg, rgba(12,29,58,0) 55%, var(--navy-2)); }
  .card:not(.featured) .card-body { padding: 14px 14px 14px 12px; }
  .card:not(.featured) h3 { font-size: 16px; margin-bottom: 4px; }
  .card:not(.featured) p { font-size: 13.5px; line-height: 1.45; }
  .card .num { margin-bottom: 4px; font-size: 11px; }
  .card.featured .card-body { padding: 18px 18px 20px; }
  .card.featured h3 { font-size: 21px; }

  /* projects: swipe left/right instead of a very long column */
  .projects { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 2px 2px 14px;
    margin: 0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 84%; scroll-snap-align: start; }
  .project:hover { transform: none; }
  .swipe-hint { display: flex; }

  /* process: tighter steps */
  .timeline { gap: 10px; }
  .timeline li { padding: 16px; gap: 12px; }
  .timeline i { width: 38px; height: 38px; font-size: 13px; }
  .timeline b { font-size: 16px; }

  /* brands: two columns, model lists kept short */
  .brands { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brands .featured-brand { grid-column: 1 / -1; }
  .brands div { padding: 14px; }
  .brands b { font-size: 17px; }
  .brands span { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .brands .featured-brand span, .brands .more span { -webkit-line-clamp: unset; display: block; }
  .brands .more { grid-column: 1 / -1; }

  /* contact: bigger tap targets */
  .contact-list li { grid-template-columns: 82px 1fr; padding: 6px 0; align-items: center; }
  .contact-list a { display: inline-block; padding: 9px 0; }
  .map-dir a { display: inline-block; padding: 10px 0; }
  .map iframe { height: 220px; }
  .enquiry { padding: 20px; }
  .form-btns .btn { flex: 1 1 100%; justify-content: center; }

  .cta-band { padding: 40px 0; }
  .cta-band h2 { font-size: 24px; }
  .marquee span { font-size: 14px; padding: 8px 16px; }
}
.swipe-hint { display: none; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: -8px 0 12px; }
@media (max-width: 760px) { .swipe-hint { display: flex; } }
@media (max-width: 360px) { .fab { gap: 6px; } .fab-btn { gap: 5px; } .fab-btn svg { width: 16px; height: 16px; } .fab-label { font-size: 13px; } }

/* hero scenes: always side by side and compact (03-Dec) */
.hero-in { grid-template-columns: 1fr !important; gap: 28px; }
.showcase { grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; }
.scene { padding: 10px 14px 12px; }
.scene svg { max-height: 150px; }
.scene figcaption b { font-size: 15px; }
.scene figcaption span { font-size: 12.5px; }
@media (max-width: 760px) {
  .showcase { gap: 8px; }
  .scene { padding: 6px 8px 8px; border-radius: 12px; }
  .scene svg { max-height: 92px; }
  .scene figcaption { margin-top: 2px; }
  .scene figcaption b { font-size: 12.5px; line-height: 1.25; }
  .scene figcaption span { display: none; }
}
@media (min-width: 761px) {
  .hero { padding: 92px 0 44px; }
  .hero h1 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: .35em; }
  .chip { margin-bottom: 16px; }
  .lead { margin: 0; }
  .cta-row { margin: 22px 0 26px; }
  .scene svg { max-height: 128px; }
  .scroll-cue { display: none; }
}

/* ===== Process: connected flow with animated icons (03-Dec) ===== */
.flow { position: relative; margin-top: 8px; }
.flow-track { position: absolute; left: 10%; right: 10%; top: 31px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(37,99,235,.25), rgba(34,197,94,.35)); overflow: hidden; }
.flow-pulse { position: absolute; top: 0; left: -20%; width: 20%; height: 100%;
  background: linear-gradient(90deg, transparent, #22C55E, #2563EB, transparent); animation: flowrun 3.2s linear infinite; }
@keyframes flowrun { to { left: 100%; } }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.flow-steps > li { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 4px; }
.node { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; position: relative;
  border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #2563EB, #22C55E);
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 8px 20px rgba(37,99,235,.14); margin-bottom: 8px;
  transition: transform .3s; }
.flow-steps > li:hover .node { transform: translateY(-4px) scale(1.04); }
.flow-steps em { font: 700 normal 12px "Sora", sans-serif; letter-spacing: .14em; color: var(--blue); }
.flow-steps b { font: 600 17px "Sora", sans-serif; color: var(--navy); }
.flow-steps > li > span { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 22ch; }

/* RTP branch hanging from the Estimate step */
.has-branch { position: relative; }
.branch { position: relative; margin-top: 18px; padding: 12px 14px; border: 1.5px dashed rgba(37,99,235,.45); border-radius: 12px;
  background: rgba(37,99,235,.04); text-align: left; max-width: 240px; }
.branch::before { content: ""; position: absolute; left: 50%; top: -19px; height: 18px; border-left: 1.5px dashed rgba(37,99,235,.45); }
.branch strong { display: block; font: 600 13px "Sora", sans-serif; color: #B45309; margin-bottom: 2px; }
.branch p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.branch p b { font: 600 13px "Inter", sans-serif; color: var(--navy); }

/* animated icons */
.ic { width: 28px; height: 28px; fill: none; stroke: #2563EB; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ic-card .ln { stroke: #22C55E; stroke-dasharray: 8; stroke-dashoffset: 8; animation: write 3s ease-in-out infinite; }
.ic-card .l2 { animation-delay: .35s; } .ic-card .l3 { animation-delay: .7s; }
@keyframes write { 0% { stroke-dashoffset: 8; } 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 8; } }
.ic-search .glass { animation: scan 3.4s ease-in-out infinite; }
.ic-search .spark { stroke: #22C55E; opacity: 0; animation: found 3.4s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform: translate(0,0); } 25% { transform: translate(2px,-1.5px); } 50% { transform: translate(-1.5px,1.5px); } 75% { transform: translate(1.5px,1.5px); } }
@keyframes found { 0%, 55%, 100% { opacity: 0; } 65%, 85% { opacity: 1; } }
.ic-rupee .coin { transform-box: fill-box; transform-origin: 50% 50%; animation: flip 3s ease-in-out infinite; }
@keyframes flip { 0%, 60%, 100% { transform: scaleX(1); } 70% { transform: scaleX(-1); } 80% { transform: scaleX(1); } }
.ic-wrench .tool { transform-box: view-box; transform-origin: 12px 12px; animation: turn 2.4s ease-in-out infinite; }
.ic-wrench .bolt { stroke: #F59E0B; opacity: 0; animation: zapb 2.4s ease-in-out infinite; }
@keyframes turn { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-28deg); } 55% { transform: rotate(8deg); } }
@keyframes zapb { 0%, 25%, 70%, 100% { opacity: 0; } 35%, 55% { opacity: 1; } }
.ic-truck .truck { animation: drive 1.6s ease-in-out infinite; }
.ic-truck .speed { stroke: #22C55E; animation: wind 1.6s linear infinite; }
.ic-truck .s2 { animation-delay: .4s; }
@keyframes drive { 0%, 100% { transform: translate(0,0); } 25% { transform: translate(1px,-.8px); } 50% { transform: translate(2px,0); } 75% { transform: translate(1px,-.5px); } }
@keyframes wind { 0% { transform: translateX(3px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-3px); opacity: 0; } }

@media (max-width: 960px) {
  .flow-track { left: 31px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto;
    background: linear-gradient(180deg, rgba(37,99,235,.25), rgba(34,197,94,.35)); }
  .flow-pulse { left: 0; top: -20%; width: 100%; height: 20%; background: linear-gradient(180deg, transparent, #22C55E, #2563EB, transparent); animation: flowdown 3.2s linear infinite; }
  @keyframes flowdown { to { top: 100%; } }
  .flow-steps { grid-template-columns: 1fr; gap: 16px; }
  .flow-steps > li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; align-items: start; padding: 0; }
  .flow-steps > li .node { grid-row: 1 / span 4; margin: 0; }
  .flow-steps > li > span { max-width: none; }
  .branch { grid-column: 2; max-width: none; margin-top: 10px; }
  .branch::before { left: -26px; top: 50%; height: 0; width: 24px; border-left: 0; border-top: 1.5px dashed rgba(37,99,235,.45); }
}
@media print { .flow-track { display: none; } .node { box-shadow: none; border: 1.5px solid #000 !important; background: #fff !important; } .ic { stroke: #000 !important; } }
.ic { width: 32px; height: 32px; stroke-width: 2; } .node { width: 70px; height: 70px; } .flow-track { top: 34px; } @media (max-width: 960px) { .flow-steps > li { grid-template-columns: 70px 1fr; } .flow-track { left: 34px; } .node { width: 64px; height: 64px; } .flow-steps > li { grid-template-columns: 64px 1fr; } .flow-track { left: 31px; } }

/* hero background: real drive boards (left) + solar field (right), tinted (03-Dec) */
.hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.hero-bg > div { background-size: cover; background-position: center; opacity: .22; filter: saturate(.6) contrast(1.05); }
.hb-vfd { background-image: url("https://thumb.wikimedia.org/wikipedia/commons/thumb/1/1b/IGBT_2441.JPG/960px-IGBT_2441.JPG");
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 100%); mask-image: linear-gradient(90deg, #000 30%, transparent 100%); }
.hb-solar { background-image: url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1400&q=60");
  -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent 100%); mask-image: linear-gradient(270deg, #000 30%, transparent 100%); }
.hero::after { background: linear-gradient(180deg, rgba(5,13,28,.55) 0%, rgba(5,13,28,.35) 45%, rgba(5,13,28,.85) 100%) !important; }

/* informative chips under the intro */
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; max-width: 760px; }
.hero-tags li { font: 500 13px "Inter", sans-serif; color: #DCE5F2; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.hero-tags li:nth-child(1) { border-color: rgba(96,165,250,.55); color: #BFDBFE; }
.hero-tags li:nth-child(2) { border-color: rgba(251,191,36,.55); color: #FDE68A; }
@media (max-width: 760px) {
  .hero-bg { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hb-vfd { -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
  .hb-solar { -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 100%); mask-image: linear-gradient(0deg, #000 30%, transparent 100%); }
  .hero-tags { gap: 6px; margin-top: 14px; }
  .hero-tags li { font-size: 12px; padding: 5px 10px; }
}
@media print { .hero-bg { display: none; } }
.hero-bg > div { opacity: .38; }
.hero::after { background: linear-gradient(180deg, rgba(5,13,28,.45) 0%, rgba(5,13,28,.25) 45%, rgba(5,13,28,.8) 100%) !important; }
@media (min-width: 761px) { .hero h1 { font-size: clamp(32px, 3.9vw, 50px); } .scene svg { max-height: 112px; } .hero-tags { margin-top: 14px; } .cta-row { margin: 18px 0 22px; } }
.hero .lead, .hero h1, .stats { text-shadow: 0 2px 12px rgba(5,13,28,.85); }

/* ===== hero: clean animated circuit background + crisp text (03-Dec) ===== */
.hero-bg { display: none !important; }
.circuit-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.circuit-bg .tr { fill: none; stroke: rgba(96,165,250,.13); stroke-width: 2; stroke-linejoin: round; }
.circuit-bg .pad { fill: #071226; stroke: rgba(96,165,250,.28); stroke-width: 2; }
.circuit-bg .pl { fill: none; stroke-width: 2.4; stroke-linecap: round; opacity: .75;
  stroke-dasharray: 46 var(--len); stroke-dashoffset: 46; animation: current linear infinite; }
@keyframes current { to { stroke-dashoffset: calc(-1 * var(--len)); } }
#hero3d { opacity: .45; }
.hero::after { background: radial-gradient(70% 70% at 30% 40%, rgba(5,13,28,.55), rgba(5,13,28,.2) 70%), linear-gradient(180deg, rgba(5,13,28,0) 60%, rgba(5,13,28,.7)) !important; }

/* crisp, slightly smaller text */
.hero h1, .hero .lead, .stats { text-shadow: none !important; }
.hero h1 { font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.12; color: #fff; }
.hero .grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: #7DD3FC; animation: none; }
.hero .grad.sun { color: #FCD34D; }
.hero .lead { font-size: 16px; color: #D6E0EE; max-width: 40em; }
.chip { font-size: 12.5px; padding: 6px 12px; }
.hero-tags li { font-size: 12.5px; color: #E5ECF6; background: rgba(12,29,58,.75); }
@media (max-width: 760px) {
  .hero h1 { font-size: 30px !important; }
  .hero .lead { font-size: 15px; }
  .circuit-bg .pl { stroke-width: 2; }
}
@media (prefers-reduced-motion: reduce) { .circuit-bg .pl { display: none; } }
@media print { .circuit-bg { display: none; } }
.circuit-bg .pl { stroke-dasharray: 9 100; stroke-dashoffset: 9; animation-name: current2; }
@keyframes current2 { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -100; } }

/* CTA strip right after the hero: compact one-line band (03-Dec) */
.cta-band { padding: 22px 0; background: linear-gradient(100deg, #1D4ED8 0%, #2563EB 55%, #16A34A 100%); }
.cta-band::before { display: none; }
.cta-band-in { gap: 16px 28px; }
.cta-band h2 { font-size: clamp(19px, 2vw, 24px); margin: 0 0 2px; }
.cta-band p { font-size: 14.5px; color: #E0E9FF; }
.cta-band .btn { padding: 11px 18px; font-size: 15px; }
.cta-band .btn-wa { box-shadow: none; background: #16A34A; }
@media (max-width: 760px) {
  .cta-band { padding: 16px 0; }
  .cta-band-in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-band h2 { font-size: 18px; }
  .cta-band p { font-size: 13.5px; }
  .cta-band .cta-row { width: 100%; gap: 8px; }
  .cta-band .btn { flex: 1 1 0; padding: 10px 12px; font-size: 14px; }
}
.hero .stats { margin-top: 24px; } @media (max-width: 760px) { .hero .stats { margin-top: 20px; } }
