/* Urjanex — rooftop solar installation and care
   Design system: "green energy, professionally". Deep charcoal and clean white
   surfaces, brand green as the accent, sunrise gold kept for sun/value details,
   and the bridge arch from the logo as the one recurring motif. */

:root {
  /* Core palette */
  --night: #12201a;          /* deep charcoal-green — primary dark surface */
  --night-2: #1a2d24;
  --night-3: #25403a;
  --abyss: #0b1511;          /* deepest surface — footer */
  --gold: #f7b844;           /* sunrise gold — primary accent */
  --gold-2: #ffd88a;
  --saffron: #e8912c;        /* warm secondary accent */
  --accent-ink: #11804c;     /* brand green text on light backgrounds (AA) */
  --brand: #15995a;          /* Urjanex green */
  --brand-2: #2cc47c;
  --brand-grad: linear-gradient(135deg, #34cf85 0%, #15995a 55%, #0f7a47 100%);
  --porcelain: #f5f7f6;      /* neutral light band */
  --ink: #14211b;
  --muted: #55635c;
  --on-dark: rgba(240, 246, 243, 0.74);
  --line: rgba(15, 90, 58, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --danger: #b42318;
  --sun: linear-gradient(135deg, #ffe39e 0%, #f7b844 45%, #e57a2c 100%);

  /* Legacy aliases — still used by diwali-offer.css */
  --navy: var(--night);
  --navy-2: var(--night-2);
  --navy-3: var(--night-3);
  --deep: var(--abyss);
  --orange: #ee8a2e;
  --orange-2: #ffb547;
  --orange-soft: #fff4e2;
  --teal: #2f8a6a;
  --teal-soft: #e7f4ee;
  --soft: var(--porcelain);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --radius: var(--r-sm);
  --header: 76px;
  --shadow: 0 1px 2px rgba(15, 90, 58, 0.06), 0 18px 40px -18px rgba(15, 90, 58, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(8, 52, 33, 0.45);

  --display: "Bricolage Grotesque", "Hanken Grotesk", "Noto Sans Devanagari", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Noto Sans Devanagari", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); color-scheme: light; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.04rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html:is([lang="hi"], [lang="mr"]) body { font-family: "Noto Sans Devanagari", var(--body); line-height: 1.78; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 0.8rem;
  text-wrap: balance;
}
html:is([lang="hi"], [lang="mr"]) h1,
html:is([lang="hi"], [lang="mr"]) h2,
html:is([lang="hi"], [lang="mr"]) h3 { font-family: "Noto Sans Devanagari", var(--body); letter-spacing: 0; line-height: 1.35; }

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
html:is([lang="hi"], [lang="mr"]) h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.3rem); }
html:is([lang="hi"], [lang="mr"]) h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.24rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }

p { margin: 0 0 0.8rem; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-sm);
}
.skip:focus { top: 0.7rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(1200px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Section label: sentence case, with the setu arch as its glyph */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent-ink);
}
.kicker::before {
  content: "";
  flex: none;
  width: 22px;
  height: 11px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: inset 0 -2px 0 -0px transparent;
  background: radial-gradient(circle at 50% 100%, currentColor 0 3.5px, transparent 4.5px);
}
html:is([lang="hi"], [lang="mr"]) .kicker { font-size: 1rem; }

.lede { font-size: 1.14rem; max-width: 44rem; color: var(--muted); }

.section { padding: 5.5rem 0; }
@media (min-width: 900px) { .section { padding: 7.5rem 0; } }
.band { background: var(--porcelain); }

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light, .btn-gold {
  background: linear-gradient(180deg, #ffd27a 0%, var(--gold) 55%, #f0a434 100%);
  color: var(--night);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 30px -12px rgba(232, 145, 44, 0.65);
}
.btn-light:hover, .btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 18px 34px -12px rgba(232, 145, 44, 0.8); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-3); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line-dark { background: transparent; color: var(--ink); border-color: rgba(15, 90, 58, 0.22); }
.btn-line-dark:hover { border-color: var(--night); }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* When both hero buttons show, the second reads as glass on the photo */
.hero .btn-row .btn-light:not([hidden]) + .btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.hero .btn-row .btn-light:not([hidden]) + .btn-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }

/* Top bar + header */

.topbar { background: var(--abyss); color: var(--on-dark); font-size: 0.86rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar p { margin: 0; display: inline-flex; align-items: center; gap: 0.6rem; }
.topbar p::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 184, 68, 0.2); }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold-2); }
.topbar-links { display: flex; align-items: center; gap: 1.4rem; }
@media (max-width: 640px) { .topbar-mail, .topbar p { display: none; } .topbar-inner { justify-content: center; } .topbar { font-size: 0.8rem; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.header-bar { width: min(1200px, calc(100% - 2.5rem)); margin: 0 auto; min-height: var(--header); display: flex; align-items: center; gap: 0.8rem; }

/* Wordmark */
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--night); }
.logo svg, .logo img { width: 46px; height: 46px; flex: none; border-radius: 0; filter: drop-shadow(0 4px 8px rgba(5, 64, 44, 0.35)); }
.logo-text { display: grid; line-height: 1; }
.logo strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #0c6b45;
}
.logo strong span { color: #e8980f; }
.logo small {
  display: block;
  margin-top: 0.28rem;
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #0e7a4e;
}

.nav-links { display: none; align-items: center; gap: 1.7rem; margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-size: 0.97rem; font-weight: 600; color: var(--ink); padding: 0.4rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 14px; height: 7px; margin-left: -7px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 14px 14px 0 0; opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { opacity: 1; transform: none; }
.nav-links a[aria-current="page"] { color: var(--accent-ink); }

.header-tools { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.header-cta { display: inline-flex; white-space: nowrap; }
.header-cta .cta-short { display: none; }
.site-header .btn-gold { min-height: 46px; padding: 0.6rem 1.3rem; font-size: 0.95rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55); }
@media (max-width: 640px) {
  .header-cta .cta-full { display: none; }
  .header-cta .cta-short { display: inline; }
  .site-header .header-cta { min-height: 40px; padding: 0.45rem 0.85rem; font-size: 0.8rem; }
  .header-tools { gap: 0.4rem; }
}
@media (max-width: 480px) {
  .header-bar { width: calc(100% - 1.25rem); gap: 0.4rem; }
  .logo { gap: 0.45rem; }
  .logo svg, .logo img { width: 38px; height: 38px; }
  .logo strong { font-size: 0.96rem; letter-spacing: 0.035em; }
  .logo small { font-size: 0.62rem; }
  .header-tools { gap: 0.3rem; }
  .lang button { min-height: 30px; padding: 0.1rem 0.45rem; font-size: 0.75rem; }
  .site-header .header-cta { white-space: normal; text-align: center; line-height: 1.15; max-width: 6rem; padding: 0.35rem 0.6rem; font-size: 0.74rem; }
  .nav-toggle { width: 38px; height: 38px; flex: none; }
  .lang { padding: 0.15rem; }
}
@media (max-width: 400px) {
  .logo small { display: none; }
  .logo strong { letter-spacing: 0.02em; }
}
@media (max-width: 360px) {
  .header-bar { width: calc(100% - 1rem); gap: 0.35rem; }
  .logo svg, .logo img { width: 34px; height: 34px; }
  .logo strong { font-size: 0.9rem; }
  .logo small { display: none; }
  .nav-toggle { width: 36px; height: 36px; }
}

.lang { display: inline-flex; padding: 0.2rem; border: 1px solid var(--line); border-radius: 999px; background: var(--porcelain); }
.lang button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; min-height: 32px; padding: 0.15rem 0.7rem; font-size: 0.8rem; font-weight: 700; }
.lang button[aria-pressed="true"] { background: var(--night); color: #fff; }

.nav-toggle { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle .bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s ease; }
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .header-tools { margin-left: 1.2rem; }
}
@media (max-width: 1079px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.4rem 1.25rem 1.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(15, 90, 58, 0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.95rem 0; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
}

/* Dark surfaces */

.hero, .calc-hero, .process, .final, .site-footer { color: #fff; }
.hero .lede, .hero .hero-sub, .calc-hero .hero-sub, .process .lede, .final .lede { color: var(--on-dark); }
.hero .kicker, .calc-hero .kicker, .process .kicker, .final .kicker, .system-card .kicker { color: var(--gold); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 4rem 0 7rem;
  background: var(--night);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--night) url("../assets/video/hero-solar-poster.jpg") center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(98deg, rgba(8, 52, 33, 0.92) 0%, rgba(15, 90, 58, 0.78) 42%, rgba(22, 113, 74, 0.38) 100%),
    linear-gradient(0deg, rgba(8, 52, 33, 0.85) 0%, transparent 45%);
}

/* The setu: a bridge arch spanning the hero, with the sun rising behind it */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -38vmax;
  width: 90vmax;
  height: 90vmax;
  margin-left: -45vmax;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 196, 92, 0.55) 0%, rgba(232, 145, 44, 0.28) 28%, rgba(232, 145, 44, 0) 58%);
  pointer-events: none;
  animation: sunrise 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -12%;
  right: -12%;
  bottom: calc(6rem - 46vw);
  height: 46vw;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1.5px solid rgba(255, 216, 138, 0.55);
  box-shadow: 0 -1px 30px rgba(247, 184, 68, 0.18);
  pointer-events: none;
}
@keyframes sunrise { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero-grid, .final-grid, .subsidy-layout, .care-grid { position: relative; z-index: 1; display: grid; gap: 2.4rem; min-width: 0; }
.hero-grid > *, .final-grid > * { min-width: 0; }

.hero h1 { color: #fff; max-width: 15ch; }
html:is([lang="hi"], [lang="mr"]) .hero h1 { max-width: 20ch; }
.hero-sub { font-size: 1.16rem; max-width: 36rem; margin: 1.3rem 0 0; }

.points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 0.7rem 1.4rem; }
.points li { position: relative; padding-left: 1.9rem; font-weight: 600; font-size: 0.98rem; }
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--sun);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.points li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.48rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--night);
  border-bottom: 2px solid var(--night);
  transform: rotate(-45deg);
}
.hero .points li, .final .points li { color: #fff; }
@media (min-width: 560px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hero-panel {
  position: relative;
  align-self: center;
  max-width: 25rem;
  padding: 1.8rem;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(31, 138, 90, 0.62), rgba(8, 52, 33, 0.62));
  border: 1px solid rgba(255, 216, 138, 0.28);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.hero-panel-kicker { margin: 0; color: var(--gold-2); font-size: 0.9rem; font-weight: 600; }
.hero-panel-value {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-panel-label { margin: 0.55rem 0 0; color: var(--on-dark); font-size: 0.95rem; }
.hero-panel-rows { margin: 1.4rem 0 0; display: grid; gap: 0.4rem; }
.hero-panel-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.95rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.06); }
.hero-panel-rows dt { color: var(--on-dark); font-weight: 500; }
.hero-panel-rows dd { margin: 0; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-panel-rows .is-max { background: var(--sun); }
.hero-panel-rows .is-max dt, .hero-panel-rows .is-max dd { color: var(--night); font-weight: 700; }
.hero-panel-deadline { margin: 1.1rem 0 0; display: flex; align-items: center; gap: 0.55rem; font-weight: 700; color: #fff; font-size: 0.95rem; }
.hero-panel-deadline::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247, 184, 68, 0.25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(247, 184, 68, 0); } }
.hero-panel-link { display: inline-block; margin-top: 1.1rem; color: var(--gold-2); font-weight: 700; text-decoration: none; }
.hero-panel-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 980px) {
  .hero { padding: 6.5rem 0 10rem; min-height: min(calc(100vh - 116px), 820px); display: flex; flex-direction: column; justify-content: center; }
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 4.5rem; }
  .hero-panel { justify-self: end; width: 100%; }
}

/* Stats strip — sits on the bridge deck */

.stats-strip { position: relative; z-index: 2; margin-top: -4.2rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat-item { position: relative; padding: 1.5rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-item:nth-child(2n) { border-right: 0; }
.stat-item strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: var(--night); }
html:is([lang="hi"], [lang="mr"]) .stat-item strong { font-family: "Noto Sans Devanagari", var(--body); letter-spacing: 0; }
.stat-item span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.92rem; font-weight: 500; line-height: 1.45; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 2rem 1.8rem; border-bottom: 0; }
  .stat-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat-item:last-child { border-right: 0; }
}

/* Lead form */

.lead-card {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-lg);
}
.lead-card::before {
  content: "";
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--sun);
}
@media (min-width: 600px) { .lead-card { padding: 2.4rem 2.2rem 2rem; } }
.lead-card .kicker { margin-bottom: 0.6rem; }
.lead-card h2, .lead-card h3 { font-size: 1.8rem; color: var(--ink); }
.free-note { color: var(--muted); font-size: 0.86rem; margin: 0.7rem 0 0; text-align: center; }

.form-body, .form-grid { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.4rem; font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea, .phone {
  width: 100%;
  border: 1.5px solid rgba(15, 90, 58, 0.14);
  background: #fafdfb;
  border-radius: var(--r-sm);
  min-height: 52px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input, .field select, .field textarea { padding: 0.75rem 0.95rem; font-weight: 500; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--night); box-shadow: 0 0 0 4px rgba(247, 184, 68, 0.28); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 23px, calc(100% - 12px) 23px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
.field [aria-invalid="true"] { border-color: var(--danger); }

.phone { display: flex; align-items: center; padding-left: 0.95rem; }
.phone span { color: var(--muted); font-weight: 700; }
.field .phone input { border: 0; min-height: 48px; padding: 0.7rem 0.75rem 0.7rem 0.45rem; width: 100%; background: transparent; box-shadow: none; }
.phone:focus-within { background: #fff; border-color: var(--night); box-shadow: 0 0 0 4px rgba(247, 184, 68, 0.28); }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; font-weight: 500; line-height: 1.45; color: var(--muted); }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--night); flex: none; }
.field-error { color: var(--danger); font-size: 0.82rem; font-weight: 600; margin: -0.25rem 0 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: 0.4rem 0 0; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); }
.success-actions { display: grid; gap: 0.55rem; margin-top: 1rem; }

@media (min-width: 800px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}

/* Offerings */

.offers { display: grid; gap: 1rem; margin-top: 3rem; }
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.7rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(247, 184, 68, 0.6); }
.offer:first-child {
  background:
    radial-gradient(120% 70% at 50% 120%, rgba(247, 184, 68, 0.35) 0%, transparent 60%),
    linear-gradient(170deg, var(--night-2), var(--night));
  color: #fff;
  border-color: var(--night);
}
.offer:first-child p { color: var(--on-dark); }
.offer:first-child .offer-icon { background: var(--sun); color: var(--night); }
.offer:first-child .offer-link { color: var(--gold-2); }
.offer h3 { font-size: 1.32rem; margin: 0.8rem 0 0; }
.offer p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.offer-icon, .why-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--porcelain); color: var(--night); }
.offer-icon svg, .why-icon svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.offer-link { margin-top: auto; padding-top: 1.1rem; font-weight: 700; color: var(--accent-ink); }

@media (min-width: 700px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .offers { grid-template-columns: repeat(4, 1fr); } }

/* Why */

.why-grid { display: grid; gap: 2.4rem 2rem; margin-top: 3.2rem; }
.why-card { position: relative; padding: 1.8rem 0 0; border-top: 1px solid rgba(15, 90, 58, 0.16); }
.why-card::before { content: ""; position: absolute; left: 0; top: -1px; width: 3rem; height: 2px; background: var(--sun); }
.why-icon { width: 2.9rem; height: 2.9rem; background: #fff; color: var(--accent-ink); box-shadow: 0 8px 18px -10px rgba(15, 90, 58, 0.4); }
.why-card h3 { font-size: 1.2rem; margin: 1.2rem 0 0.5rem; }
.why-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* Process — four piers of one bridge */

.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 120%, rgba(232, 145, 44, 0.32) 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.process h2 { color: #fff; max-width: 20ch; }
.process-grid { position: relative; list-style: none; padding: 0; display: grid; gap: 2.2rem; margin: 3.4rem 0 0; }
.step { position: relative; padding: 0 0 0 4.4rem; }
.step-no {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--night);
  background: var(--sun);
  box-shadow: 0 0 0 6px rgba(247, 184, 68, 0.14), 0 0 40px rgba(247, 184, 68, 0.35);
}
.step h3 { font-size: 1.2rem; color: #fff; margin-bottom: 0.5rem; }
.step p { color: var(--on-dark); margin: 0; font-size: 0.97rem; }
.process-grid::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 1.6rem;
  bottom: 1.6rem;
  border-left: 2px dashed rgba(255, 216, 138, 0.35);
}

@media (min-width: 1040px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 5rem; }
  .step { padding: 0; }
  .step-no { position: relative; margin-bottom: 1.6rem; }
  /* the arch connecting the four steps */
  .process-grid::before {
    left: 1.55rem;
    right: calc(25% - 1.55rem - 0.5rem);
    top: 0;
    bottom: auto;
    height: 6.6rem;
    border: 2px dashed rgba(255, 216, 138, 0.45);
    border-bottom: 0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  }
}

/* Subsidy */

.portal { font-weight: 600; margin-top: 1.2rem; }
.portal a { color: var(--accent-ink); }

.deadline {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: var(--r-md);
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(232, 145, 44, 0.35) 0%, transparent 60%),
    var(--night);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.deadline > svg { flex: none; width: 2.7rem; height: 2.7rem; padding: 0.6rem; border-radius: 50%; background: var(--sun); fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deadline-title { margin: 0; font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
html:is([lang="hi"], [lang="mr"]) .deadline-title { font-family: "Noto Sans Devanagari", var(--body); letter-spacing: 0; }
.deadline-body { margin: 0.5rem 0 1.1rem; color: var(--on-dark); font-size: 0.95rem; }

.sub-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sub-table th, .sub-table td { padding: 1.1rem 1.4rem; text-align: left; border-top: 1px solid var(--line); }
.sub-table th { border-top: 0; background: var(--night); color: var(--gold-2); font-weight: 600; font-size: 0.92rem; }
.sub-table td:last-child, .sub-table th:last-child { text-align: right; }
.sub-table td:last-child { font-family: var(--display); font-weight: 700; color: var(--night); white-space: nowrap; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.sub-table .sub-max td { background: #fff3dc; }
.sub-table .sub-max td:first-child { font-weight: 700; }
.sub-table .sub-max td:last-child { color: var(--accent-ink); font-size: 1.45rem; }
.sub-note { color: var(--muted); font-size: 0.92rem; margin: 1.1rem 0 1.4rem; }
.sub-extra { padding: 1.4rem 1.6rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); margin-bottom: 1rem; }
.sub-extra h3 { font-size: 1.14rem; margin-bottom: 0.35rem; }
.sub-extra p { color: var(--muted); margin: 0; font-size: 0.96rem; }

.warning { margin-top: 1rem; background: #fff7ec; border: 1px solid rgba(232, 145, 44, 0.3); border-radius: var(--r-md); padding: 1.3rem 1.5rem; }
.warning p:last-child { margin-bottom: 0; }
.warning a { color: var(--accent-ink); font-weight: 700; }

@media (min-width: 900px) { .subsidy-layout { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; } }

/* System types */

.modes { margin-top: 2.2rem; }
.mode-tabs { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.3rem; background: var(--porcelain); border-radius: 999px; border: 1px solid var(--line); }
.mode-tab { position: relative; border-radius: 999px; min-height: 46px; padding: 0.5rem 1.4rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; color: var(--muted); transition: background 0.2s ease, color 0.2s ease; }
.mode-tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode-tab:has(input:checked) { background: var(--night); color: #fff; box-shadow: 0 10px 22px -10px rgba(15, 90, 58, 0.6); }
.mode-tab:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.mode { display: none; margin-top: 1.3rem; background: #fff; border-radius: var(--r-md); padding: 2.2rem 2rem; border: 1px solid var(--line); max-width: 54rem; box-shadow: var(--shadow); }
.mode h3 { font-size: 1.55rem; }
.mode > p { color: var(--muted); font-size: 1.05rem; }
.mode ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.mode li { position: relative; padding-left: 1.7rem; }
.mode li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--sun); }
.modes:has(#plant-on:checked) .mode-on,
.modes:has(#plant-hy:checked) .mode-hy,
.modes:has(#plant-off:checked) .mode-off { display: block; animation: reveal 0.3s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Care */

.care { background: var(--porcelain); }
.care-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.care-list li { position: relative; padding: 1.5rem 1.6rem 1.5rem 4.4rem; border-top: 1px solid var(--line); }
.care-list li:first-child { border-top: 0; }
.care-list li::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.6rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230f5a3a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat,
    var(--sun);
}
.care-list h3 { font-size: 1.16rem; margin-bottom: 0.3rem; }
.care-list p { color: var(--muted); margin: 0; }

@media (min-width: 900px) {
  .care-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; align-items: start; }
  .care-sticky { position: sticky; top: calc(var(--header) + 2rem); }
}

/* Cities + FAQ */

.cities-note { color: var(--muted); margin: 1.8rem 0 0.9rem; font-weight: 600; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.pills li { background: #fff; border: 1px solid rgba(15, 90, 58, 0.14); border-radius: 999px; padding: 0.5rem 1.05rem; font-size: 0.94rem; font-weight: 600; transition: border-color 0.15s ease, background 0.15s ease; }
.pills li:hover { border-color: var(--gold); background: #fff8ea; }

.faq-list { display: grid; gap: 0; max-width: 880px; margin-top: 2.4rem; border-top: 1px solid rgba(15, 90, 58, 0.14); }
.faq-list details { padding: 1.3rem 0.2rem; border-bottom: 1px solid rgba(15, 90, 58, 0.14); }
.faq-list summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
html:is([lang="hi"], [lang="mr"]) .faq-list summary { font-family: "Noto Sans Devanagari", var(--body); letter-spacing: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(15, 90, 58, 0.18); font-family: var(--body); font-size: 1.3rem; font-weight: 500; color: var(--night); line-height: 1; transition: transform 0.25s ease, background 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--sun); border-color: transparent; }
.faq-list summary:hover::after { border-color: var(--night); }
.faq-list details p { color: var(--muted); margin: 0.9rem 3.2rem 0.2rem 0; max-width: 46rem; }

/* Final CTA + footer */

.final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 15% 110%, rgba(232, 145, 44, 0.38) 0%, transparent 60%),
    radial-gradient(40% 50% at 100% 0%, rgba(31, 138, 90, 0.9) 0%, transparent 70%),
    var(--night);
}
.final h2 { color: #fff; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; align-items: center; } }

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--abyss);
  padding: 5rem 0 3rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -540px;
  width: 1100px;
  height: 700px;
  margin-left: -550px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 216, 138, 0.12);
  pointer-events: none;
}
.site-footer .logo strong { color: #ffffff; }
.site-footer .logo strong span { color: #ffc93a; }
.site-footer .logo small { color: #a8e45a; }
.footer-grid { position: relative; display: grid; gap: 2.2rem; }
.footer-blurb { color: var(--on-dark); max-width: 22rem; margin: 1.1rem 0 0; font-size: 0.96rem; }
.footer-label { margin: 0 0 1rem; font-size: 0.95rem; color: var(--gold-2); font-weight: 600; }
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: rgba(238, 252, 243, 0.82); width: fit-content; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.footer-base { position: relative; margin-top: 3.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.disclaimer, .rights { color: rgba(238, 252, 243, 0.52); font-size: 0.86rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Calculator page */

.calc-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 7rem;
  background:
    radial-gradient(70% 90% at 50% 140%, rgba(247, 184, 68, 0.45) 0%, rgba(232, 145, 44, 0.18) 35%, transparent 65%),
    linear-gradient(180deg, var(--abyss) 0%, var(--night) 100%);
}
.calc-hero::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: calc(4.5rem - 46vw);
  height: 46vw;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border-top: 1.5px solid rgba(255, 216, 138, 0.45);
  pointer-events: none;
}
.calc-hero .container { position: relative; }
.calc-hero h1 { color: #fff; max-width: 18ch; }
.calc-hero .hero-sub { max-width: 44rem; }

.calc-badges { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.calc-badges li { padding: 0.5rem 1.05rem 0.5rem 2.1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark); font-size: 0.92rem; font-weight: 600; position: relative; }
.calc-badges li::before { content: ""; position: absolute; left: 0.9rem; top: 50%; width: 0.55rem; height: 0.55rem; margin-top: -0.275rem; border-radius: 50%; background: var(--gold); }
.calc-badges .badge-deadline { background: var(--sun); border-color: transparent; color: var(--night); }
.calc-badges .badge-deadline::before { background: var(--night); }

.calc-app { padding: 0 0 5.5rem; background: var(--porcelain); }
.calc-shell { position: relative; z-index: 2; margin-top: -4rem; display: grid; gap: 1.4rem; align-items: start; }
.calc-shell > * { min-width: 0; }

.calc-inputs { position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 0.6rem 1.6rem; }
.calc-inputs::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--sun); }
.calc-step { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.calc-step:first-child { border-top: 0; }
.calc-step-head { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.9rem; font-weight: 700; font-size: 1.1rem; }
.calc-step-head em { margin-left: auto; font-style: normal; font-size: 0.76rem; color: var(--muted); font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--porcelain); }
.calc-step-no { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--night); color: var(--gold-2); font-size: 0.92rem; flex: none; }

.slider-block, .field-inline { display: grid; gap: 0.4rem; margin-top: 0.9rem; font-weight: 600; font-size: 0.92rem; }
.slider-top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.slider-top strong { font-family: var(--display); font-size: 1.85rem; font-weight: 700; letter-spacing: -0.03em; color: var(--night); white-space: nowrap; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--saffron) 50%, var(--night)); margin: 0.9rem 0 0.4rem; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 0 0 1px rgba(15, 90, 58, 0.2), 0 6px 14px rgba(232, 145, 44, 0.45); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 0 0 1px rgba(15, 90, 58, 0.2), 0 6px 14px rgba(232, 145, 44, 0.45); cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
.chips button { border: 1px solid rgba(15, 90, 58, 0.16); background: #fff; border-radius: 999px; padding: 0.45rem 0.95rem; font-size: 0.88rem; font-weight: 700; color: var(--ink); transition: background 0.15s ease, border-color 0.15s ease; }
.chips button:hover { border-color: var(--night); }
.chips button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }

.input-unit { display: flex; align-items: center; min-height: 52px; border-radius: var(--r-sm); border: 1.5px solid rgba(15, 90, 58, 0.14); background: #fff; overflow: hidden; }
.input-unit:focus-within { border-color: var(--night); box-shadow: 0 0 0 4px rgba(247, 184, 68, 0.28); }
.input-unit > span { padding: 0 0.95rem; color: var(--muted); font-weight: 600; background: var(--porcelain); align-self: stretch; display: grid; place-items: center; }
.input-unit input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0.7rem 0.95rem; font-weight: 600; background: transparent; }

.help { color: var(--muted); font-size: 0.88rem; font-weight: 400; margin: 0.55rem 0 0; }

.seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.seg-grid button { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1rem; border-radius: var(--r-sm); border: 1px solid rgba(15, 90, 58, 0.14); background: #fff; color: var(--ink); font-weight: 700; text-align: left; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.seg-grid button:hover { border-color: var(--night); transform: translateY(-2px); }
.seg-grid svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--accent-ink); }
.seg-grid button[aria-checked="true"] { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 14px 26px -12px rgba(15, 90, 58, 0.6); }
.seg-grid button[aria-checked="true"] svg { color: var(--gold); }
@media (min-width: 560px) and (max-width: 999px), (min-width: 1200px) { .seg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.check-line { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.check-line input { margin-top: 0.2rem; accent-color: var(--night); width: 1.1rem; height: 1.1rem; flex: none; }

.calc-results { display: grid; gap: 1rem; }

.system-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem 1.6rem;
  color: #fff;
  background:
    radial-gradient(90% 70% at 50% 130%, rgba(247, 184, 68, 0.5) 0%, rgba(232, 145, 44, 0.2) 40%, transparent 70%),
    linear-gradient(170deg, var(--night-3) 0%, var(--night) 100%);
  box-shadow: var(--shadow-lg);
}
.result-kw { font-family: var(--display); font-weight: 700; font-size: clamp(3.8rem, 8vw, 5.6rem); line-height: 0.95; letter-spacing: -0.05em; margin: 0.1rem 0 0.4rem; }
.result-kw small { font-size: 0.34em; letter-spacing: 0; margin-left: 0.2rem; opacity: 0.85; }
.result-roof { margin: 0; color: var(--on-dark); font-size: 0.98rem; }

.panel-sky { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 1.4rem; transform: perspective(500px) rotateX(18deg); transform-origin: center top; }
.panel-sky span { height: 24px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); transition: background 0.3s ease; }
.panel-sky span.lit {
  background:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, #2f9b66, #0d4a2f);
  background-size: 100% 6px, 12px 100%, auto;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 216, 138, 0.4);
}

.calc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.stat { display: grid; gap: 0.3rem; padding: 1.15rem 1.2rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); }
.stat span { color: var(--muted); font-size: 0.84rem; font-weight: 600; }
.stat strong { font-family: var(--display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; color: var(--night); }
.stat-hero { background: var(--sun); border-color: transparent; }
.stat-hero span { color: rgba(15, 90, 58, 0.75); }
.stat-hero strong { color: var(--night); font-size: 1.65rem; }
@media (min-width: 560px) { .calc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.calc-card { background: #fff; border-radius: var(--r-md); padding: 1.5rem 1.6rem; border: 1px solid var(--line); }
.calc-card-title { font-size: 1.12rem; margin: 0 0 1rem; letter-spacing: -0.01em; }

.compare { display: grid; gap: 0.9rem; }
.compare-row { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 0.8rem; align-items: center; font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.compare-row strong { color: var(--ink); font-size: 1.08rem; text-align: right; line-height: 1.2; }
.compare-row strong small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.compare-note { display: flex; justify-content: space-between; gap: 0.8rem; margin: 1rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.compare-note strong { color: var(--ink); font-size: 1.08rem; white-space: nowrap; }
.compare-bar { grid-column: 1 / -1; grid-row: 2; height: 12px; border-radius: 99px; background: var(--porcelain); overflow: hidden; }
.compare-bar span { display: block; height: 100%; border-radius: inherit; transition: width 0.4s ease; }
.bar-before { background: var(--night); }
.bar-after { background: var(--sun); }

.cost-list { margin: 0; display: grid; }
.cost-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.cost-list div:last-child { border-bottom: 0; }
.cost-list dt { color: var(--muted); font-weight: 500; }
.cost-list dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cost-list .sub-row dd { color: var(--teal); }
.cost-list .net-row dd { color: var(--night); font-size: 1.18rem; }
.biz-note { color: var(--muted); font-size: 0.92rem; margin: 0.5rem 0 0; }
.cap-note { margin: 0; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); background: #fff7ec; border: 1px solid rgba(232, 145, 44, 0.3); color: var(--ink); font-size: 0.92rem; }

.chart svg { display: block; width: 100%; height: 210px; overflow: visible; }
.chart .bar-save { fill: #cde8d6; }
.chart .bar-paid { fill: var(--night); }
.chart .cost-line { stroke: var(--saffron); stroke-width: 2.5; stroke-dasharray: 7 5; }
.chart .axis { stroke: rgba(15, 90, 58, 0.15); }
.chart text { font: 600 12px "Hanken Grotesk", sans-serif; fill: var(--muted); }
.chart .chart-top { font-weight: 700; fill: var(--night); font-size: 14px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; margin-top: 0.8rem; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.chart-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.lg-save::before { content: ""; width: 0.85rem; height: 0.85rem; border-radius: 3px; background: linear-gradient(90deg, #cde8d6 50%, var(--night) 50%); }
.lg-cost::before { content: ""; width: 1.2rem; border-top: 2.5px dashed var(--saffron); }
.breakeven { margin: 0.8rem 0 0; padding: 0.75rem 1rem; border-radius: var(--r-sm); background: var(--teal-soft); font-weight: 700; color: var(--teal); }

.calc-disclaimer { margin: -0.3rem 0 0; text-align: center; color: var(--muted); font-size: 0.84rem; }

.method-grid { display: grid; gap: 2rem; margin-top: 2.8rem; }
.method-card { position: relative; padding: 1.6rem 0 0; border-top: 1px solid rgba(15, 90, 58, 0.16); }
.method-card::before { content: ""; position: absolute; left: 0; top: -1px; width: 3rem; height: 2px; background: var(--sun); }
.method-card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.method-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.method-note { margin-top: 1.8rem; color: var(--muted); font-size: 0.9rem; max-width: 56rem; }
@media (min-width: 700px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 1000px) {
  .calc-hero { padding: 5rem 0 8rem; }
  .calc-shell { grid-template-columns: 0.95fr 1.05fr; gap: 2rem; }
}

/* Floating actions */

.float-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}
.float-wa:hover { transform: scale(1.05); }
.float-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.float-wa svg { width: 27px; height: 27px; fill: currentColor; }

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  gap: 0.55rem;
}
.dock a { text-decoration: none; text-align: center; border-radius: 999px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.dock a:first-child { background: var(--night); color: #fff; }
.dock a:last-child { background: linear-gradient(180deg, #ffd27a, var(--gold)); color: var(--night); }

@media (min-width: 721px) { .lead-card .btn-block { padding-right: 3.6rem; } }
@media (min-width: 721px) and (max-width: 1280px) { .calc-results .btn-lg { padding-right: 4.4rem; } }
@media (max-width: 720px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr; }
  .float-wa { right: 0.9rem; bottom: calc(5.4rem + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .site-footer { padding-bottom: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .offer:hover, .seg-grid button:hover { transform: none; }
  .hero-video { display: none; }
}

@media print {
  .topbar, .site-header, .dock, .float-wa, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .hero, .calc-hero, .process, .final, .site-footer, .system-card { background: #fff; color: #000; }
}

/* ==========================================================================
   Professional balance — green as the brand accent, not the whole page
   ========================================================================== */

/* Primary actions in brand green; gold stays for sun and value highlights */
.btn-light, .btn-gold {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 30px -14px rgba(21, 153, 90, 0.75);
}
.btn-light:hover, .btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 34px -12px rgba(21, 153, 90, 0.85); }
.site-header .btn-gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.dock a:last-child { background: var(--brand-grad); color: #fff; }
::selection { background: var(--brand-2); color: #fff; }
:focus-visible { outline-color: var(--brand-2); }

/* Labels on dark surfaces: soft green instead of gold */
.hero .kicker, .calc-hero .kicker, .final .kicker, .system-card .kicker { color: #7fe0ad; }
.hero-panel-kicker { color: #7fe0ad; }
.hero-panel-link { color: #9ff0c4; }
.hero-panel { border-color: rgba(127, 224, 173, 0.24); }
.topbar p::before { background: var(--brand-2); box-shadow: 0 0 0 4px rgba(44, 196, 124, 0.22); }
.hero-panel-deadline::before { background: var(--brand-2); box-shadow: 0 0 0 4px rgba(44, 196, 124, 0.25); }
.footer-label { color: #7fe0ad; }
.sub-table th { color: #9ff0c4; }
.calc-step-no { color: #9ff0c4; }

/* Check marks in brand green */
.points li::before { background: var(--brand-grad); }
.points li::after { border-color: #fff; }
.care-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat,
    var(--brand-grad);
}
.mode li::before { background: var(--brand-grad); }
.why-card::before, .method-card::before { background: var(--brand-grad); }
.lead-card::before, .calc-inputs::before { background: linear-gradient(90deg, var(--brand), var(--gold)); }
.offer:hover { border-color: rgba(21, 153, 90, 0.45); }
.offer:first-child {
  background:
    radial-gradient(120% 70% at 50% 125%, rgba(44, 196, 124, 0.38) 0%, transparent 60%),
    linear-gradient(170deg, var(--night-2), var(--night));
}
.offer:first-child .offer-icon { background: var(--brand-grad); color: #fff; }
.offer:first-child .offer-link { color: #9ff0c4; }
.offer-icon { background: #eef7f1; color: var(--brand); }
.why-icon { color: var(--brand); }
.pills li:hover { border-color: var(--brand); background: #f0faf4; }
.faq-list details[open] summary::after { background: var(--brand-grad); color: #fff; }
.mode-tab:has(input:checked) { background: var(--night); }

/* Hero: charcoal over the photo with a soft green-gold dawn */
.hero-media::after {
  background:
    linear-gradient(98deg, rgba(11, 21, 17, 0.94) 0%, rgba(18, 32, 26, 0.8) 44%, rgba(18, 32, 26, 0.4) 100%),
    linear-gradient(0deg, rgba(11, 21, 17, 0.85) 0%, transparent 45%);
}
.hero::before {
  background: radial-gradient(circle at 50% 50%, rgba(255, 205, 110, 0.42) 0%, rgba(44, 196, 124, 0.18) 30%, rgba(44, 196, 124, 0) 58%);
}
.hero::after { border-top-color: rgba(127, 224, 173, 0.5); box-shadow: 0 -1px 30px rgba(44, 196, 124, 0.16); }

/* Process becomes a light section — fewer heavy blocks */
.process {
  color: var(--ink);
  background:
    radial-gradient(60% 50% at 50% 115%, rgba(44, 196, 124, 0.12) 0%, transparent 70%),
    #fff;
}
.process h2 { color: var(--ink); }
.process .lede { color: var(--muted); }
.process .kicker { color: var(--accent-ink); }
.step h3 { color: var(--ink); }
.step p { color: var(--muted); }
.step-no { color: #fff; background: var(--brand-grad); box-shadow: 0 0 0 6px rgba(21, 153, 90, 0.12), 0 12px 30px -10px rgba(21, 153, 90, 0.6); }
.process-grid::before { border-color: rgba(21, 153, 90, 0.4); }

/* Subsidy deadline card and final section — charcoal with a green glow */
.deadline { background: radial-gradient(80% 90% at 100% 100%, rgba(44, 196, 124, 0.28) 0%, transparent 60%), var(--night); }
.deadline > svg { background: var(--brand-grad); stroke: #fff; }
.final {
  background:
    radial-gradient(60% 70% at 10% 110%, rgba(44, 196, 124, 0.28) 0%, transparent 60%),
    radial-gradient(40% 50% at 100% 0%, rgba(247, 184, 68, 0.12) 0%, transparent 70%),
    var(--night);
}
.calc-hero {
  background:
    radial-gradient(70% 90% at 50% 140%, rgba(44, 196, 124, 0.35) 0%, rgba(247, 184, 68, 0.12) 35%, transparent 65%),
    linear-gradient(180deg, var(--abyss) 0%, var(--night) 100%);
}
.calc-hero::before { border-top-color: rgba(127, 224, 173, 0.45); }
.calc-badges li::before { background: var(--brand-2); }
.system-card {
  background:
    radial-gradient(90% 70% at 50% 130%, rgba(44, 196, 124, 0.45) 0%, rgba(247, 184, 68, 0.12) 40%, transparent 70%),
    linear-gradient(170deg, var(--night-3) 0%, var(--night) 100%);
}
.site-footer::before { border-color: rgba(127, 224, 173, 0.1); }
.footer-links a:hover { text-decoration-color: var(--brand-2); }

/* Header gains depth once the page scrolls */
.site-header { transition: box-shadow 0.3s ease, background 0.3s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 30px -18px rgba(11, 21, 17, 0.35); }

/* ==========================================================================
   Scroll motion — only when JS is on and the visitor hasn't asked for less
   ========================================================================== */

.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 70;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 60%, var(--gold));
  pointer-events: none;
}

html.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.65, 0.25, 1) var(--d, 0s),
    transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1) var(--d, 0s);
  will-change: opacity, transform;
}
html.motion .reveal.reveal-left { transform: translate3d(-36px, 0, 0); }
html.motion .reveal.reveal-right { transform: translate3d(36px, 0, 0); }
html.motion .reveal.reveal-zoom { transform: scale(0.94); }
html.motion .reveal.is-in { opacity: 1; transform: none; }

/* Process arch draws itself as the section scrolls into view */
html.motion .process-grid::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.2s; }
@media (max-width: 1039px) { html.motion .process-grid::before { clip-path: inset(0 0 100% 0); } }
html.motion .process-grid.is-in::before { clip-path: inset(0 0 0 0); }

/* Hero photo drifts slower than the page (parallax) */
.hero-media { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html.motion .reveal { opacity: 1; transform: none; transition: none; }
  html.motion .process-grid::before { clip-path: none; }
  .scroll-progress { display: none; }
}

/* Glass panels and the form label read neutral */
.hero-panel { background: linear-gradient(160deg, rgba(37, 64, 58, 0.55), rgba(11, 21, 17, 0.7)); }
.final .lead-card .kicker { color: var(--accent-ink); }

/* ==========================================================================
   Language switch — three languages, compact labels on small phones
   ========================================================================== */
.lang .l-short { display: none; }
@media (max-width: 520px) {
  .lang .l-full { display: none; }
  .lang .l-short { display: inline; }
  .lang button { padding: 0.1rem 0.5rem; }
  /* the bottom dock already offers "Free assessment" on phones */
  .site-header .header-cta { display: none; }
}

/* ==========================================================================
   Quick enquiry form in the hero
   ========================================================================== */
.hero-form {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 27rem;
  padding: 1.7rem 1.5rem 1.4rem;
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.hero-form::before {
  content: "";
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}
.hero-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border-radius: 999px;
  background: #fff6e2;
  color: #7a4a06;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}
.hero-form-badge span:first-child {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--night);
  font-weight: 800;
  white-space: nowrap;
}
.hero-form-title { margin: 0; font-size: 1.55rem; color: var(--ink); }
.hero-form-sub { margin: 0.4rem 0 1.1rem; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.hero-form .form-body { gap: 0.7rem; }
.hero-form .field input, .hero-form .phone { min-height: 48px; }
.hero-form .field .phone input { min-height: 44px; }
.hero-form .btn-block { margin-top: 0.3rem; }
.hero-form .form-success h3 { font-size: 1.3rem; }
@media (min-width: 980px) { .hero-form { justify-self: end; padding: 1.9rem 1.8rem 1.5rem; } }

/* ==========================================================================
   Brands strip
   ========================================================================== */
.brands { padding: 3.4rem 0 0; }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; }
.brands-label { margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.brands-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2.4rem; align-items: center; }
.brands-list li {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #9aa69f;
  transition: color 0.2s ease;
}
.brands-list li:hover { color: var(--ink); }
@media (max-width: 700px) { .brands-list { gap: 0.5rem 1.4rem; } .brands-list li { font-size: 1.08rem; } }

/* ==========================================================================
   Rooftop gallery
   ========================================================================== */
.gallery-grid { display: grid; gap: 1rem; margin-top: 2.8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--porcelain); aspect-ratio: 3 / 4; isolation: isolate; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(11, 21, 17, 0.88) 0%, rgba(11, 21, 17, 0.25) 42%, transparent 62%);
  pointer-events: none;
}
.g-item figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; color: #fff; display: grid; gap: 0.2rem; }
.g-item figcaption strong { font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
html:is([lang="hi"], [lang="mr"]) .g-item figcaption strong { font-family: "Noto Sans Devanagari", var(--body); letter-spacing: 0; }
.g-item figcaption span { color: rgba(240, 246, 243, 0.82); font-size: 0.88rem; line-height: 1.45; }
.g-feature { grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.82rem; }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: min(78vh, 700px); }
  .g-item { aspect-ratio: auto; }
  .g-feature { grid-column: auto; grid-row: span 2; }
}

/* Side-slide reveals become vertical on phones; nothing may cause sideways scroll */
main { overflow-x: clip; }
@media (max-width: 720px) {
  html.motion .reveal.reveal-left,
  html.motion .reveal.reveal-right { transform: translate3d(0, 24px, 0); }
  html.motion .reveal.reveal-left.is-in,
  html.motion .reveal.reveal-right.is-in { transform: none; }
}

/* Gallery — real site photos (landscape), laid out as a mosaic */
.gallery-grid { grid-template-columns: 1fr; height: auto; }
.g-item, .g-feature { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
.g-item.g-wide { aspect-ratio: 16 / 9; }
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-item.g-wide { grid-column: span 2; aspect-ratio: 21 / 9; }
}
@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: clamp(240px, 26vw, 340px); height: auto; }
  .g-item, .g-item.g-wide { aspect-ratio: auto; }
  .g-item.g-wide { grid-column: span 2; }
}
