/* ==========================================================
   Anay Solar Solutions — site styles
   ========================================================== */

:root {
  --navy-950: #041033;
  --navy-900: #071a4a;
  --navy-800: #0b2463;
  --blue-700: #123a8f;
  --blue-600: #1747a6;
  --blue-500: #2a62cc;
  --blue-100: #e7eefb;
  --gold-600: #a8741e;
  --gold-500: #c8962e;
  --gold-400: #ddb04f;
  --gold-200: #f3e2b5;
  --gold-50:  #fbf6e9;
  --gold-grad: linear-gradient(135deg, #f6dc9a 0%, #d9a441 52%, #a8741e 100%);
  --navy-grad: linear-gradient(160deg, #0b2463 0%, #071a4a 55%, #041033 100%);
  /* Header photo with a navy tint — darker on the left so text stays readable */
  --hero-photo:
    linear-gradient(100deg, rgba(4, 16, 51, .92) 0%, rgba(7, 26, 74, .78) 45%, rgba(11, 36, 99, .5) 100%),
    url("../assets/images/hero-bg.webp") center 42% / cover no-repeat, #071a4a;

  --ink: #0e1b33;
  --ink-soft: #33415c;
  --muted: #64718a;
  --line: #e6e2d8;
  --line-soft: #efece4;
  --bg: #fbfaf6;
  --surface: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 74, .06), 0 2px 8px rgba(7, 26, 74, .05);
  --shadow: 0 10px 30px -12px rgba(7, 26, 74, .22), 0 2px 6px rgba(7, 26, 74, .05);
  --shadow-lg: 0 30px 60px -24px rgba(7, 26, 74, .35);

  --font-head: "Montserrat", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 78px;
}

html.lang-hi {
  --font-head: "Noto Sans Devanagari", "Montserrat", system-ui, sans-serif;
  --font-body: "Noto Sans Devanagari", "Inter", system-ui, sans-serif;
}

/* ---------- Language switching ---------- */
html:not(.lang-hi) .hi { display: none !important; }
html.lang-hi .en { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.lang-hi body { font-size: 17px; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
html.lang-hi h1, html.lang-hi h2, html.lang-hi h3 { line-height: 1.4; letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 650; }
p { margin: 0 0 1em; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #f4f1e8 0%, var(--bg) 100%); }
.section--white { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Montserrat", "Noto Sans Devanagari", sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 18px;
}
html.lang-hi .eyebrow { letter-spacing: .06em; font-size: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold-grad); }
.eyebrow--light { color: var(--gold-400); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }

.text-gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Montserrat", "Noto Sans Devanagari", sans-serif;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(200, 150, 46, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(200, 150, 46, .85); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-600);
  font-family: "Montserrat", "Noto Sans Devanagari", sans-serif; font-size: .92rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7,26,74,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 58px; height: 44px; flex: none;
  background: url("../assets/logo.webp") no-repeat;
  background-size: 101px 101px; background-position: -24px -15px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: .14em;
  color: var(--navy-800);
}
.brand-sub {
  font-family: "Montserrat", sans-serif; font-size: .58rem; font-weight: 600; letter-spacing: .32em;
  margin-top: 5px; color: var(--navy-800);
}
.brand-sub b { color: var(--gold-500); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: .92rem; white-space: nowrap; font-weight: 500; color: var(--ink-soft);
  border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--navy-800); background: rgba(11, 36, 99, .05); }
.nav a.active { color: var(--navy-800); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px;
  background: var(--gold-grad); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer; padding: 6px 12px; border-radius: 999px;
  font: 600 .8rem/1 "Montserrat", "Noto Sans Devanagari", sans-serif; color: var(--muted);
  transition: background .25s, color .25s;
}
.lang-toggle button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px; position: relative;
  transition: transform .3s, background .3s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 420px) {
  .brand-sub { letter-spacing: .2em; }
  .brand-name { font-size: 1.15rem; }
  .lang-toggle button { padding: 6px 9px; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg);
  padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s;
  overflow-y: auto;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 8px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--navy-900);
}
.mobile-nav a.m-link.active { color: var(--gold-600); }
.mobile-nav .btn { margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--hero-photo); overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 9vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(221, 176, 79, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(42, 98, 204, .35), transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }
.hero-points svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }

.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.35)); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .85rem; line-height: 1.3; color: #fff; animation: float 6s ease-in-out infinite;
}
.float-chip small { display: block; color: rgba(255,255,255,.65); font-size: .74rem; }
.float-chip .chip-ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-grad); color: var(--navy-950);
}
.float-chip .chip-ic svg { width: 20px; height: 20px; }
.float-chip--a { left: -4%; bottom: 14%; }
.float-chip--b { right: -2%; top: 6%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.sun-rays { transform-origin: 430px 112px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.energy-flow { stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .float-chip--a { left: 0; }
  .float-chip--b { right: 0; }
}
@media (max-width: 480px) {
  .float-chip { font-size: .76rem; padding: 8px 12px 8px 8px; }
  .float-chip .chip-ic { width: 30px; height: 30px; }
  .float-chip small { display: none; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; background: var(--hero-photo); color: #fff; overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 360px at 90% 0%, rgba(221, 176, 79, .25), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.76); font-size: 1.12rem; max-width: 620px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-400); }
.page-hero-art { position: absolute; right: 4%; bottom: -10px; width: 300px; opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .page-hero-art { display: none; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.card h3 { margin-top: 18px; }
.card p { margin-bottom: 0; font-size: .97rem; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-100), #fff); border: 1px solid #dbe5f7; color: var(--blue-600);
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--gold { background: linear-gradient(145deg, var(--gold-50), #fff); border-color: var(--gold-200); color: var(--gold-600); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--gold-grad) center/12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071a4a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--gold-grad);
  background-size: 12px, cover; background-position: center; background-repeat: no-repeat;
}
.check-list strong { color: var(--navy-900); }

/* ---------- Image slots (replace with real photos) ---------- */
.img-slot {
  position: relative; aspect-ratio: var(--ar, 4 / 3); border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(11,36,99,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #eef2fa, #f7f3e8);
  border: 1.5px dashed #c8d2e6;
  display: grid; place-items: center; text-align: center;
}
.img-slot__inner { display: grid; justify-items: center; gap: 8px; padding: 20px; color: var(--muted); font-size: .88rem; }
.img-slot__inner svg { width: 40px; height: 40px; color: #9fb0cf; }
.img-slot__inner small { font-size: .74rem; letter-spacing: .08em; color: #9aa6bc; }
.img-slot > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
}
.img-slot:has(> img) { border-style: solid; border-color: transparent; }
.img-slot--tall { --ar: 4 / 5; }
.img-slot--wide { --ar: 16 / 9; }
.img-slot--square { --ar: 1 / 1; }

.img-frame { position: relative; }
.img-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--gold-400); z-index: 0;
}
.img-frame .img-slot { z-index: 1; box-shadow: var(--shadow-lg); }
@media (max-width: 600px) { .img-frame::before { inset: 12px -10px -12px 10px; } }

/* ---------- Brands strip ---------- */
.brands {
  display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); overflow: hidden;
}
.brand-cell { padding: 34px 24px; text-align: center; border-right: 1px solid var(--line); }
.brand-cell:last-child { border-right: 0; }
.brand-cell .wordmark { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--navy-800); letter-spacing: .04em; }
.brand-cell span { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) {
  .brands { grid-template-columns: 1fr; }
  .brand-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-cell:last-child { border-bottom: 0; }
}

/* ---------- System (package) cards ---------- */
.system-card {
  position: relative; border-radius: var(--radius-lg); padding: 40px; background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); overflow: hidden;
}
.system-card--featured { background: var(--navy-grad); color: #fff; border-color: transparent; }
.system-card--featured h3, .system-card.system-card--featured .kw { color: #fff; }
.system-card--featured p, .system-card--featured li { color: rgba(255,255,255,.8); }
.system-card .kw {
  font-family: "Montserrat", sans-serif; font-size: 3.6rem; font-weight: 700; color: var(--navy-800); line-height: 1;
}
.system-card .kw small { font-size: 1.2rem; font-weight: 600; margin-left: 4px; color: var(--gold-500); }
.system-card .tag {
  position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold-grad); color: var(--navy-950);
}
.system-card .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; padding: 22px 0; border-top: 1px solid rgba(127,140,170,.25); border-bottom: 1px solid rgba(127,140,170,.25); }
.system-card .meta small { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.system-card--featured .meta small { color: rgba(255,255,255,.55); }
.system-card .meta strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); }
.system-card--featured .meta strong { color: #fff; }
.system-card--featured .check-list li { color: rgba(255,255,255,.85); }
.system-card .price-hint { font-size: .9rem; margin: 22px 0 0; }
.system-card .price-hint b { font-family: var(--font-head); color: var(--gold-600); font-size: 1.1rem; }
.system-card--featured .price-hint b { color: var(--gold-400); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--gold-200); box-shadow: var(--shadow);
  color: var(--navy-800); position: relative;
}
.step-num svg { width: 28px; height: 28px; }
.step-num::after {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -6px; right: -8px; font: 700 .7rem/1 "Montserrat", sans-serif;
  background: var(--navy-800); color: #fff; padding: 5px 7px; border-radius: 999px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .94rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-grad); color: #fff;
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221,176,79,.45), transparent 65%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.75); position: relative; margin: 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; }
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-actions { justify-content: flex-start; }
}

/* ---------- Calculator ---------- */
.calc {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
}
.calc-form { padding: clamp(28px, 4vw, 48px); }
.calc-step + .calc-step { margin-top: 38px; }
.calc-label { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); margin-bottom: 16px; font-size: 1.02rem; }
.calc-label .n {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font: 700 .78rem/1 "Montserrat", sans-serif; background: var(--navy-800); color: #fff;
}
.opt-grid { display: grid; gap: 14px; }
.opt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .opt-grid--3 { grid-template-columns: 1fr; } }

.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-body {
  display: block; height: 100%; padding: 20px; border-radius: 16px; border: 1.5px solid var(--line);
  background: #fff; transition: border-color .25s, box-shadow .25s, background .25s;
}
.opt:hover .opt-body { border-color: #c9d3e8; }
.opt input:checked + .opt-body { border-color: var(--navy-800); background: linear-gradient(160deg, #f5f8fe, #fff); box-shadow: 0 0 0 4px rgba(23, 71, 166, .1); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.opt-title { display: block; font-family: "Montserrat", "Noto Sans Devanagari", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--navy-900); line-height: 1.1; }
.opt-title small { font-size: .9rem; color: var(--gold-500); margin-left: 2px; }
.opt-sub { display: block; font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.opt-check {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; transition: all .25s;
}
.opt input:checked + .opt-body .opt-check { background: var(--navy-800); border-color: var(--navy-800); box-shadow: inset 0 0 0 4px #fff; }
.opt--brand .opt-title { font-size: 1.05rem; }

.usage-box { padding: 20px; border-radius: 16px; background: var(--gold-50); border: 1px solid var(--gold-200); }
.usage-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: .92rem; color: var(--ink-soft); }
.usage-row output { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy-900); font-size: 1.1rem; white-space: nowrap; }
.usage-hint { font-size: .86rem; margin: 10px 0 0; color: var(--gold-600); font-weight: 500; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-500) var(--fill, 40%), #e9dfc5 var(--fill, 40%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-500); box-shadow: var(--shadow-sm); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-500); cursor: pointer; }

.calc-result {
  position: relative; padding: clamp(28px, 4vw, 48px); background: var(--navy-grad); color: #fff;
  display: flex; flex-direction: column; overflow: hidden;
}
.calc-result::before {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221,176,79,.4), transparent 65%);
}
.calc-result > * { position: relative; }
.calc-result .eyebrow { color: var(--gold-400); }
.res-config { font-size: .95rem; color: rgba(255,255,255,.7); margin: 0 0 6px; }
.res-price { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; color: #fff; margin: 4px 0 4px; transition: opacity .2s; }
.res-price .text-gold { display: inline; }
.res-note { font-size: .82rem; color: rgba(255,255,255,.55); margin: 0 0 26px; }
.res-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.res-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .92rem; color: rgba(255,255,255,.72); }
.res-list li b { color: #fff; font-weight: 600; text-align: right; }
.calc-result .btn { margin-top: auto; }
.disclaimer {
  margin-top: 18px; font-size: .78rem; line-height: 1.55; color: rgba(255,255,255,.55);
  padding: 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.price-table th { font-family: "Montserrat", "Noto Sans Devanagari", sans-serif; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #faf8f2; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 600; color: var(--navy-900); }
.price-table td.r { font-family: "Montserrat", sans-serif; font-weight: 600; color: var(--navy-800); white-space: nowrap; }
@media (max-width: 560px) {
  .price-table { min-width: 0; }
  .price-table th, .price-table td { padding: 14px 12px; font-size: .86rem; }
  .price-table td.r { white-space: normal; }
}

/* ---------- Gallery / projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer;
  padding: 10px 20px; border-radius: 999px; font: 500 .9rem var(--font-body); transition: all .25s;
}
.filter-bar button:hover { border-color: var(--navy-800); color: var(--navy-800); }
.filter-bar button.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { margin: 0; transition: opacity .35s, transform .35s; }
.gallery-item.hide { display: none; }
.gallery-item figcaption { padding: 14px 4px 0; }
.gallery-item figcaption strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; }
.gallery-item figcaption span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.info-card + .info-card { margin-top: 16px; }
.info-card h3 { margin: 0 0 4px; font-size: 1rem; }
.info-card p, .info-card a { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.info-card a.big { font-family: "Montserrat", sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--navy-800); }
.info-card a.big:hover { color: var(--gold-600); }

.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fdfcf9;
  font: 400 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(23,71,166,.1); }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 21 / 9; background: #e9edf4; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ---------- Owner / quote ---------- */
.quote-card { position: relative; padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.quote-card::before { content: "\201C"; position: absolute; top: 4px; left: 28px; font: 700 6rem/1 Georgia, serif; color: var(--gold-200); }
.quote-card blockquote { margin: 26px 0 22px; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.55; color: var(--navy-900); font-weight: 500; }
.quote-card .who strong { display: block; color: var(--navy-900); font-family: var(--font-head); }
.quote-card .who span { font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 80px 0 0; margin-top: 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 150px; border-radius: 16px; background: #fff; padding: 6px; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; font-family: "Montserrat", "Noto Sans Devanagari", sans-serif; }
html.lang-hi .site-footer h4 { letter-spacing: .04em; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer p { color: rgba(255,255,255,.6); font-size: .93rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.45); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ==========================================================
   Dynamic layer — motion, interaction, illustrations
   ========================================================== */

/* Page entrance */
body { animation: pageIn .6s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
  background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* Rotating headline word */
.rotator { display: inline-block; position: relative; white-space: nowrap; }
.rotator .rot-word { display: inline-block; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), filter .45s; }
.rotator .rot-word.out { opacity: 0; transform: translateY(-40%); filter: blur(4px); }
.rotator .rot-word.pre { opacity: 0; transform: translateY(40%); filter: blur(4px); transition: none; }

/* Hero parallax layers */
.hero-visual [data-depth] { transition: translate .4s cubic-bezier(.2,.7,.2,1); will-change: translate; }
.window-glow { animation: windowGlow 5s ease-in-out infinite; }
@keyframes windowGlow { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }
.spark { animation: spark 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.spark.s2 { animation-delay: .8s; } .spark.s3 { animation-delay: 1.6s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }

/* Stat strip */
.stat-strip {
  position: relative; z-index: 3; margin-top: -54px;
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); overflow: hidden;
}
.stat { padding: 30px 26px; border-right: 1px solid var(--line-soft); position: relative; }
.stat:last-child { border-right: 0; }
.stat-num { font: 700 2.5rem/1 "Montserrat", sans-serif; color: var(--navy-800); display: flex; align-items: baseline; gap: 2px; }
.stat-num small { font-size: 1.1rem; color: var(--gold-500); }
.stat p { margin: 10px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.stat::before { content: ""; position: absolute; left: 26px; top: 0; width: 34px; height: 3px; background: var(--gold-grad); border-radius: 0 0 3px 3px; }
@media (max-width: 860px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 420px) { .stat { padding: 24px 18px; } .stat::before { left: 18px; } .stat-num { font-size: 2rem; } }

/* Marquee */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee-group span {
  font: 600 1.05rem/1 "Montserrat", "Noto Sans Devanagari", sans-serif; letter-spacing: .08em; color: var(--navy-800);
  white-space: nowrap; text-transform: uppercase;
}
html.lang-hi .marquee-group span { text-transform: none; letter-spacing: .02em; }
.marquee-group i { width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Card spotlight (follows cursor) */
.card, .system-card, .info-card { --mx: 50%; --my: 50%; }
.info-card { position: relative; }
.card::after, .info-card::after, .system-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(221, 176, 79, .15), transparent 45%);
}
.card:hover::after, .info-card:hover::after, .system-card:hover::after { opacity: 1; }
.system-card { transition: transform .4s ease, box-shadow .4s ease; }
.system-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Steps line draw */
.steps.reveal { opacity: 1; transform: none; }
.steps::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s cubic-bezier(.2,.7,.2,1) .2s; }
.steps.in::before { transform: scaleX(1); }
.step-num { transition: transform .35s, box-shadow .35s, border-color .35s; }
.step:hover .step-num { transform: translateY(-4px) rotate(-4deg); border-color: var(--gold-400); box-shadow: 0 16px 30px -14px rgba(200,150,46,.6); }

/* ---------- Energy flow (interactive diagram) ---------- */
.flow { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } }
.flow-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-grad); box-shadow: var(--shadow-lg); }
.flow-stage svg { width: 100%; height: 100%; display: block; }
.flow-node { cursor: pointer; transition: opacity .4s; }
.flow-node .halo { opacity: 0; transition: opacity .4s; }
.flow-node.active .halo { opacity: 1; }
.flow.has-active .flow-node:not(.active) { opacity: .5; }
.flow-node:focus { outline: none; }
.flow-node:focus-visible .halo { opacity: 1; }
.flow-wire { stroke-dasharray: 8 10; animation: flow 1.2s linear infinite; }
.flow-label { font: 600 13px "Montserrat", "Noto Sans Devanagari", sans-serif; fill: #fff; letter-spacing: .06em; }

.flow-panel { display: flex; flex-direction: column; gap: 10px; }
.flow-step {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; width: 100%; cursor: pointer;
  padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  font: inherit; color: inherit; transition: border-color .3s, box-shadow .3s, transform .3s;
}
.flow-step:hover { border-color: #c9d3e8; }
.flow-step .n {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font: 700 .78rem/1 "Montserrat", sans-serif; background: var(--blue-100); color: var(--blue-600); transition: background .3s, color .3s;
}
.flow-step strong { display: block; font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; }
.flow-step .d { display: block; font-size: .9rem; color: var(--muted); line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s, margin .35s; }
.flow-step.active { border-color: var(--gold-400); box-shadow: 0 14px 30px -18px rgba(200,150,46,.7); transform: translateX(4px); }
.flow-step.active .n { background: var(--gold-grad); color: var(--navy-950); }
.flow-step.active .d { max-height: 140px; opacity: 1; margin-top: 6px; }
.flow-step .bar { display: block; height: 3px; border-radius: 3px; background: var(--line-soft); overflow: hidden; margin-top: 12px; max-height: 0; opacity: 0; }
.flow-step.active .bar { max-height: 3px; opacity: 1; }
.flow-step .bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); }
.flow-step.active.auto .bar i { animation: flowbar 4.5s linear forwards; }
@keyframes flowbar { to { width: 100%; } }

/* Brand illustration cards */
.brand-art { border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(160deg, #f3f6fc, #fbf6e9); }
.brand-art svg { width: 100%; height: auto; }
.brand-art .ba-panels { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .brand-art .ba-panels { transform: translateY(-5px); }

/* Illustration frame */
.illus-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-grad); }
.illus-frame svg { width: 100%; height: auto; display: block; }
.cloud { animation: drift 30s linear infinite; }
.cloud--b { animation-duration: 44s; animation-delay: -18s; }
@keyframes drift { from { transform: translateX(-160px); } to { transform: translateX(800px); } }
.bob { animation: float 4.5s ease-in-out infinite; }

.gallery--2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 560px) { .gallery--2 { grid-template-columns: 1fr; } }

/* ==========================================================
   Motion pack v2 — B2C/B2B switch, business panel, extra motion
   ========================================================== */

/* Gold shimmer on hero keyword */
.shimmer {
  background: linear-gradient(110deg, #c8962e 0%, #f6dc9a 25%, #d9a441 45%, #a8741e 60%, #f6dc9a 80%, #c8962e 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* ---------- Homes / Business switch ---------- */
.seg-wrap { scroll-margin-top: calc(var(--header-h) + 20px); }
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 6px; margin-bottom: 36px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.seg button {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  padding: 12px 22px; border: 0; border-radius: 15px; background: transparent; color: var(--ink-soft);
  font: 600 .98rem/1.2 var(--font-head); transition: color .35s;
}
.seg button svg { width: 24px; height: 24px; flex: none; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.seg button small { display: block; font: 500 .74rem/1.3 var(--font-body); color: var(--muted); margin-top: 3px; transition: color .35s; }
.seg button.active { color: #fff; }
.seg button.active small { color: var(--gold-200); }
.seg button.active svg { transform: scale(1.12) rotate(-6deg); color: var(--gold-400); }
.seg-pill {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 15px;
  background: var(--navy-grad); box-shadow: 0 10px 24px -12px rgba(7,26,74,.6);
  transition: transform .5s cubic-bezier(.6,.05,.25,1.15);
}
.seg[data-active="b2b"] .seg-pill { transform: translateX(100%); }
@media (max-width: 520px) {
  .seg { display: grid; width: 100%; }
  .seg button { padding: 10px 12px; gap: 8px; font-size: .9rem; }
  .seg button svg { width: 20px; height: 20px; }
}
.seg-pane[hidden] { display: none; }
.seg-pane.enter { animation: paneIn .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: none; } }

/* ---------- Business (B2B) panel ---------- */
.b2b {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; overflow: hidden;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--navy-grad); color: #fff; box-shadow: var(--shadow-lg);
}
.b2b::before {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221,176,79,.35), transparent 65%); animation: orb 9s ease-in-out infinite alternate;
}
.b2b > * { position: relative; }
.b2b h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 16px 0 12px; }
.b2b p { color: rgba(255,255,255,.75); }
.b2b .check-list li { color: rgba(255,255,255,.88); }
.b2b-badge {
  display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--gold-grad); color: var(--navy-950);
  font: 700 .74rem/1 "Montserrat", "Noto Sans Devanagari", sans-serif; letter-spacing: .1em; text-transform: uppercase;
}
.b2b-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.b2b-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
@media (max-width: 900px) { .b2b { grid-template-columns: 1fr; } .b2b-art { max-width: 460px; } }
@keyframes orb { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }

/* Calculator business option */
.calc-result.is-b2b .range-only, .calc-result:not(.is-b2b) .b2b-only { display: none; }
.calc-result.is-b2b .res-price { font-size: clamp(1.8rem, 3.4vw, 2.3rem); }
.opt--b2b .opt-body { background: linear-gradient(160deg, #fbf6e9, #fff); }
.opt input:checked + .opt-body { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(.96); } 100% { transform: scale(1); } }

/* ---------- Buttons: shine sweep + ripple ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
.btn--gold:hover::before { animation-duration: 1.1s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); opacity: .45;
  background: currentColor; animation: ripple .65s ease-out forwards; z-index: 0;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.opt-body { position: relative; overflow: hidden; }

/* ---------- Headings, eyebrows, staggered lists ---------- */
.section-head.reveal h2, .reveal > h2 { clip-path: inset(-20% -5% 100% -5%); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1) .12s; }
.section-head.reveal.in h2, .reveal.in > h2 { clip-path: inset(-20% -5% -30% -5%); }
.reveal .eyebrow::before { width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1) .3s; }
.reveal.in .eyebrow::before, .page-hero .eyebrow::before, .hero .eyebrow::before { width: 28px; }

.stagger > * { opacity: 0; transform: translateX(-14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.stagger.in > * { opacity: 1; transform: none; }

/* ---------- Hero / page-hero particles ---------- */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particles span {
  position: absolute; bottom: -10px; width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%;
  background: radial-gradient(circle, #ffe7a8, rgba(221,176,79,0)); opacity: 0;
  animation: rise var(--d, 9s) linear infinite; animation-delay: var(--delay, 0s);
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate(var(--x, 20px), -110vh); opacity: 0; }
}
.page-hero h1 { animation: heroText .9s cubic-bezier(.2,.7,.2,1) both .1s; }
.page-hero p { animation: heroText .9s cubic-bezier(.2,.7,.2,1) both .25s; }
.page-hero .eyebrow, .page-hero .crumbs { animation: heroText .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero-art { animation: artIn 1.2s cubic-bezier(.2,.7,.2,1) both .3s; }
@keyframes heroText { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes artIn { from { opacity: 0; transform: translateY(30px) scale(.95); } to { opacity: .9; transform: none; } }

/* ---------- Header hide/show on scroll ---------- */
.site-header { transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; }
.site-header.hide { transform: translateY(-100%); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); box-shadow: var(--shadow); color: var(--navy-800); display: grid; place-items: center;
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg.ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top svg.arrow { width: 18px; height: 18px; }
@media (max-width: 600px) { .to-top { right: 18px; bottom: 80px; width: 44px; height: 44px; } .to-top svg.ring { width: 44px; height: 44px; } }

/* ---------- Card tilt, icon motion, image zoom ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .25s ease-out, box-shadow .35s; }
.icon-badge { transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .35s; }
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); }
.card:hover .icon-badge svg { animation: wiggle .7s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
.img-slot > img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.img-slot:hover > img { transform: scale(1.05); }
.gallery-item .img-slot { cursor: zoom-in; }
.info-card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(4, 16, 51, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; transform: scale(.94); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.lightbox.open figure { transform: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox p { color: rgba(255,255,255,.8); text-align: center; margin: 14px 0 0; font-size: .95rem; }
.lightbox button {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Tinted sections get a slow drifting glow */
.section--tint { overflow: hidden; }
.section--tint::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: -120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(221,176,79,.16), transparent 65%); animation: orb 14s ease-in-out infinite alternate;
}
.section--tint > .container { position: relative; }

/* Footer: moving gold line + wordmark hover */
.site-footer::before { background-size: 200% 100%; animation: shimmer 6s linear infinite; background-image: linear-gradient(90deg, #a8741e, #f6dc9a, #d9a441, #a8741e, #f6dc9a); }
.footer-logo { transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.footer-logo:hover { transform: rotate(-3deg) scale(1.04); }

/* WhatsApp: gentle nudge every few seconds */
.wa-float { animation: nudge 6s ease-in-out infinite 3s; }
@keyframes nudge { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-12deg) scale(1.08); } 94% { transform: rotate(10deg) scale(1.08); } 97% { transform: rotate(-6deg); } }

@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; }
  .section-head.reveal h2, .reveal > h2 { clip-path: none; }
  .particles { display: none; }
  .site-header.hide { transform: none; }
}

/* Ripple containment: keep ripples inside their host and behind its text */
.flow-step, .seg button { position: relative; overflow: hidden; isolation: isolate; }
.opt-body { isolation: isolate; }
.btn .ripple, .flow-step .ripple, .seg button .ripple, .opt-body .ripple { z-index: -1; }
.seg button .ripple { opacity: .25; }
.price-table tr.b2b-row td { background: var(--gold-50); }
.price-table tr.b2b-row a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Three system cards: Homes · Homes · Business ---------- */
.sys-grid { align-items: stretch; }
.sys-grid .system-card { padding: 34px; display: flex; flex-direction: column; }
.sys-grid .system-card .link-arrow { margin-top: auto !important; padding-top: 18px; }
.sys-label {
  display: inline-flex; align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
  font: 600 .72rem/1 "Montserrat", "Noto Sans Devanagari", sans-serif; letter-spacing: .12em; text-transform: uppercase;
  background: var(--blue-100); color: var(--blue-600);
}
html.lang-hi .sys-label { letter-spacing: .04em; font-size: .82rem; }
.system-card--featured .sys-label { background: rgba(255,255,255,.12); color: #fff; }
.system-card--biz { background: linear-gradient(165deg, #fbf6e9 0%, #fff 55%); border: 1.5px solid var(--gold-200); }
.system-card--biz .sys-label { background: var(--gold-grad); color: var(--navy-950); }
.system-card--biz .kw { font-size: clamp(2.3rem, 3.6vw, 3rem); white-space: nowrap; }
.biz-phones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.biz-phones a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--navy-800); color: #fff; font: 600 .86rem/1 "Montserrat", sans-serif; transition: background .25s, transform .25s;
}
.biz-phones a::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ic-phone) center / contain no-repeat; mask: var(--ic-phone) center / contain no-repeat; }
.biz-phones a:hover { background: var(--blue-600); transform: translateY(-2px); }
:root { --ic-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
@media (max-width: 980px) { .sys-grid .system-card--biz { grid-column: 1 / -1; } }
.b2b-block { margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Header: both numbers ---------- */
.call-stack {
  display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 14px; border-radius: 16px;
  background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px -12px rgba(7,26,74,.7);
}
.call-stack > svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }
.call-stack span { display: flex; flex-direction: column; }
.call-stack a { font: 700 .82rem/1.45 "Montserrat", sans-serif; color: #fff; letter-spacing: .02em; white-space: nowrap; transition: color .2s; }
.call-stack a:hover { color: var(--gold-400); }
@media (max-width: 1120px) { .call-stack { display: none; } }
