/* ==========================================================================
   HRJB SOLAR — Stylesheet
   Hindi-first, mobile-first, no framework.
   Sections: 1 Tokens · 2 Reset · 3 Typography · 4 Layout · 5 Components
             6 Header · 7 Hero · 8 Calculator · 9 Sections · 10 Footer
             11 Utilities · 12 Motion & a11y · 13 Print
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand ------------------------------------------------------------ */
  --navy:        #0B2545;
  --navy-2:      #13375E;
  --navy-3:      #1D4E89;
  --amber:       #F7A70A;
  --amber-dark:  #D98C00;
  --gold:        #FFC94A;
  --green:       #16A34A;
  --green-dark:  #12803A;
  --whatsapp:    #25D366;
  --red:         #DC2626;

  /* Neutrals --------------------------------------------------------- */
  --ink:         #0F172A;
  --body:        #334155;
  --muted:       #64748B;
  --faint:       #94A3B8;
  --border:      #E2E8F0;
  --border-soft: #EEF2F7;
  --surface:     #FFFFFF;
  --soft:        #F7F9FC;
  --soft-2:      #EFF4FA;
  --amber-tint:  #FFF8E8;
  --green-tint:  #ECFDF3;

  /* Type ------------------------------------------------------------- */
  --font: 'Mukta', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont,
          'Segoe UI', Roboto, system-ui, sans-serif;

  --fs-hero:  clamp(1.95rem, 1.25rem + 3.1vw, 3.6rem);
  --fs-h2:    clamp(1.55rem, 1.15rem + 1.7vw, 2.5rem);
  --fs-h3:    clamp(1.2rem,  1.05rem + 0.6vw, 1.5rem);
  --fs-lead:  clamp(1.02rem, 0.97rem + 0.3vw, 1.2rem);
  --fs-body:  1.0625rem;
  --fs-sm:    0.9375rem;
  --fs-xs:    0.8125rem;

  /* Devanagari needs more breathing room than Latin */
  --lh-tight: 1.3;
  --lh-body:  1.8;

  /* Space ------------------------------------------------------------ */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5rem;
  --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);

  /* Shape & depth ---------------------------------------------------- */
  --r-sm: 8px;  --r: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.06), 0 1px 3px rgba(11,37,69,.08);
  --shadow:    0 4px 6px -1px rgba(11,37,69,.07), 0 10px 20px -6px rgba(11,37,69,.10);
  --shadow-lg: 0 12px 28px -8px rgba(11,37,69,.16), 0 4px 10px -4px rgba(11,37,69,.08);
  --shadow-amber: 0 8px 24px -6px rgba(247,167,10,.42);

  --wrap: 1180px;
  --wrap-narrow: 820px;
  --header-h: 68px;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-inline-start: 1.15rem; }
table { border-collapse: collapse; width: 100%; }

/* Visible focus for everyone who tabs */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }
p  { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

.lead   { font-size: var(--fs-lead); color: var(--muted); }
.small  { font-size: var(--fs-sm); }
.tiny   { font-size: var(--fs-xs); }
strong  { font-weight: 700; color: var(--ink); }

/* Section intro block */
.section-head { max-width: 720px; margin: 0 auto var(--sp-8); text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: var(--amber-tint);
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}

/* Big money figure */
.money {
  font-weight: 800;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.money--lg { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.wrap { width: min(100% - 2.25rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.25rem, var(--wrap-narrow)); margin-inline: auto; }

section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #CBD9EA; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* --- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;                 /* comfortable tap target */
  padding: .7rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease,
              background-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary   { background: var(--amber); color: var(--navy); box-shadow: var(--shadow-amber); }
.btn--primary:hover { background: var(--gold); }

.btn--whatsapp  { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px -6px rgba(37,211,102,.45); }
.btn--whatsapp:hover { background: #1EBE5B; }

.btn--navy      { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }

.btn--ghost     { border-color: currentColor; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.btn--on-navy   { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--on-navy:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--sm  { min-height: 40px; padding: .4rem 1.05rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --- Cards ---------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #D5E0EE;
}
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--amber-tint);
  color: var(--amber-dark);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon--green { background: var(--green-tint); color: var(--green-dark); }
.card__icon--navy  { background: var(--soft-2);     color: var(--navy-3); }
.card h3 { margin-bottom: var(--sp-2); }
.card p  { color: var(--muted); font-size: var(--fs-sm); }

/* --- Chips / pills -------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.chip svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.chip--light { background: var(--soft-2); color: var(--navy); border-color: var(--border); }
.chip--light svg { color: var(--green); }

/* --- Tables --------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  min-width: 520px;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.table th, .table td { padding: .85rem 1rem; text-align: right; font-variant-numeric: tabular-nums; }
.table th:first-child, .table td:first-child { text-align: left; }
.table thead th {
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
}
.table tbody tr + tr { border-top: 1px solid var(--border-soft); }
.table tbody tr:nth-child(even) { background: var(--soft); }
.table td.is-total { font-weight: 800; color: var(--green); }
.table tr.is-highlight { background: var(--amber-tint) !important; }
.table tr.is-highlight td { font-weight: 700; }

/* --- Accordion (FAQ) ------------------------------------------------ */
.faq { display: grid; gap: var(--sp-3); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.05rem 1.25rem;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.5;
}
.faq__q:hover { background: var(--soft); }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--amber-dark); transition: transform .25s ease; }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: var(--fs-sm); }

/* --- Forms ---------------------------------------------------------- */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  margin-bottom: .35rem;
}
.field .req { color: var(--red); }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(247,167,10,.18);
}
.textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left .8rem center;
  background-size: 18px;
  padding-left: 2.4rem;
}
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--red); }
.field__error {
  display: none;
  color: var(--red);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: .3rem;
}
.field--error .field__error { display: block; }

.form-note { font-size: var(--fs-xs); color: var(--faint); }

.form-success {
  display: none;
  background: var(--green-tint);
  border: 1.5px solid #A7F3C4;
  border-radius: var(--r);
  padding: var(--sp-5);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--green-dark); }

/* --- Floating WhatsApp button --------------------------------------- */
.fab {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.07); }
.fab svg { width: 30px; height: 30px; }

/* --- Mobile sticky action bar --------------------------------------- */
.mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(11,37,69,.10);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: .5rem .25rem;
  min-height: 58px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
}
.mobile-bar a:hover { text-decoration: none; background: var(--soft); }
.mobile-bar svg { width: 21px; height: 21px; }
.mobile-bar a:nth-child(2) { color: var(--whatsapp); }
.mobile-bar a:nth-child(3) { color: var(--amber-dark); }

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.topbar {
  background: var(--navy);
  color: #B8CBE0;
  font-size: var(--fs-xs);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 38px;
  padding-block: .3rem;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar__contact { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.topbar__contact span { display: inline-flex; align-items: center; gap: .35rem; }
.topbar__contact svg { width: 14px; height: 14px; color: var(--gold); }
.topbar__alert { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold); font-weight: 600; }
.topbar__alert svg { width: 14px; height: 14px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow); }
.header .wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.logo { display: flex; align-items: center; flex: none; }
.logo:hover { text-decoration: none; }
.logo img, .logo svg { height: 46px; width: auto; }

.nav { margin-inline-start: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  margin: 0; padding: 0;
}
.nav a {
  display: block;
  padding: .5rem .75rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy);
}
.nav a:hover { background: var(--soft-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--amber-dark); background: var(--amber-tint); }

.header__actions { display: flex; align-items: center; gap: var(--sp-2); flex: none; }

/* Language toggle */
.lang {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  flex: none;
}
.lang button {
  padding: .35rem .7rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  min-height: 34px;
  transition: background-color .18s ease, color .18s ease;
}
.lang button:hover { background: var(--soft); }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--navy);
}
.nav-toggle:hover { background: var(--soft-2); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 1px) 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-4) 1.125rem var(--sp-5);
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: .8rem .9rem; font-size: var(--fs-body); border-radius: var(--r-sm); }
  .header__actions .btn { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 58px; }
  .fab { bottom: 74px; }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1A4470 100%);
  color: #C9D8E9;
  overflow: hidden;
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem);
}
/* Sun glow */
.hero::before {
  content: '';
  position: absolute;
  top: -22%; inset-inline-end: -12%;
  width: min(58vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,201,74,.30) 0%, rgba(247,167,10,.12) 42%, transparent 68%);
  pointer-events: none;
}
/* Faint panel grid */
.hero::after {
  content: '';
  position: absolute;
  inset-block-end: 0; inset-inline-start: 0;
  width: 100%; height: 45%;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to top, #000, transparent);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); }
}

.hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.hero h1 .hl {
  color: var(--gold);
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: #B3C7DC;
  margin-bottom: var(--sp-5);
  max-width: 46ch;
}
.hero .btn-row { margin-bottom: var(--sp-5); }
.hero .chips { margin-top: var(--sp-5); }

/* Stat strip under hero */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: calc(var(--sp-7) * -1);
  position: relative;
  z-index: 2;
}
.stat-strip__item { background: var(--surface); padding: var(--sp-5) var(--sp-4); text-align: center; }
.stat-strip__num {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat-strip__num span { color: var(--amber); }
.stat-strip__label { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }

/* ==========================================================================
   8. CALCULATOR
   ========================================================================== */
.calc {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 860px) { .calc { grid-template-columns: 1fr 1.06fr; gap: 0; } }

.calc__input  { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.calc__output {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #C9D8E9;
}
.calc__output h3 { color: #fff; }

/* Range slider */
.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: .5rem;
}
.range-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  height: 34px;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--soft-2);
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 26px; height: 26px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(247,167,10,.55);
}
input[type="range"]::-moz-range-track {
  height: 8px; border-radius: var(--r-pill); background: var(--soft-2);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(247,167,10,.55);
}
.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* Segmented control (property type) */
.segmented { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem;
  min-height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  margin: 0;
  transition: all .18s ease;
}
.segmented label:hover { border-color: var(--amber); color: var(--navy); }
.segmented input:checked + label {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.segmented input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Result rows */
.calc__headline { text-align: center; padding-bottom: var(--sp-4); border-bottom: 1px dashed rgba(255,255,255,.22); }
.calc__kw {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.calc__kw small { font-size: .4em; font-weight: 700; color: #B3C7DC; }
.calc__kw-label { font-size: var(--fs-sm); color: #B3C7DC; }

.calc__rows { margin: var(--sp-4) 0; }
.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: .55rem 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.calc__row:last-child { border-bottom: 0; }
.calc__row dt { color: #A9BFD6; margin: 0; }
.calc__row dd { margin: 0; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__row dd.is-subsidy { color: var(--green); }
.calc__row--net {
  margin-top: var(--sp-3);
  padding: var(--sp-4);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,201,74,.35);
  border-radius: var(--r);
  border-bottom: 1px solid rgba(255,201,74,.35);
}
.calc__row--net dt { color: #fff; font-weight: 700; font-size: var(--fs-body); }
.calc__row--net dd { font-size: 1.5rem; color: var(--gold); }

/* Cost / subsidy split bar */
.split-bar {
  display: flex;
  height: 12px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: rgba(255,255,255,.12);
  margin: var(--sp-3) 0 .5rem;
}
.split-bar__seg { height: 100%; transition: width .45s cubic-bezier(.4,0,.2,1); }
.split-bar__seg--subsidy { background: var(--green); }
.split-bar__seg--net     { background: var(--gold); }
.split-legend { display: flex; gap: var(--sp-4); font-size: var(--fs-xs); color: #A9BFD6; flex-wrap: wrap; }
.split-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.split-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Payback / savings mini-cards */
.calc__mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}
.calc__mini div {
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  padding: .8rem;
  text-align: center;
}
.calc__mini b {
  display: block;
  font-size: 1.15rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
/* Only the label after the figure — not spans nested inside <b>, which hold
   the numbers the calculator writes into. */
.calc__mini b + span { font-size: var(--fs-xs); color: #A9BFD6; }

.calc__disclaimer {
  font-size: var(--fs-xs);
  color: #92A9C2;
  margin-top: var(--sp-3);
  line-height: 1.6;
}

/* Commercial routing notice, shown when the system exceeds 10 kW */
.calc__notice {
  display: none;
  background: rgba(255,201,74,.14);
  border: 1px solid rgba(255,201,74,.4);
  border-radius: var(--r-sm);
  padding: .8rem 1rem;
  font-size: var(--fs-sm);
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.calc__notice.is-visible { display: block; }

/* ==========================================================================
   9. CONTENT SECTIONS
   ========================================================================== */

/* --- Process timeline ----------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  padding-top: var(--sp-6);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; inset-inline-start: var(--sp-5);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-amber);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.step p  { font-size: var(--fs-sm); color: var(--muted); }
.step__meta {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: .25rem .65rem;
  border-radius: var(--r-pill);
}

/* --- Feature list with ticks ---------------------------------------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); }
.ticks svg { width: 21px; height: 21px; flex: none; color: var(--green); margin-top: .28em; }

/* --- Projects gallery ------------------------------------------------ */
.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.project {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--soft-2);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project:hover img { transform: scale(1.05); }
.project__meta {
  position: absolute;
  inset-inline: 0; bottom: 0;
  padding: 2.5rem .95rem .85rem;
  background: linear-gradient(to top, rgba(11,37,69,.92), transparent);
  color: #fff;
}
.project__meta b { display: block; font-size: var(--fs-sm); }
.project__meta span { font-size: var(--fs-xs); color: #C9D8E9; }
.project__tag {
  position: absolute;
  top: .7rem; inset-inline-start: .7rem;
  background: var(--amber);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: .22rem .6rem;
  border-radius: var(--r-pill);
}

/* --- Testimonials ---------------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: var(--r);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: var(--fs-sm); color: var(--body); font-style: italic; }
.quote__who { display: flex; align-items: center; gap: .75rem; margin-top: var(--sp-4); }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  flex: none;
}
.quote__who b { display: block; font-size: var(--fs-sm); color: var(--ink); }
.quote__who span { font-size: var(--fs-xs); color: var(--muted); }
.stars { color: var(--amber); font-size: var(--fs-sm); letter-spacing: .1em; }

/* --- CTA band -------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--amber) 0%, var(--gold) 100%);
  color: var(--navy);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--navy); }
.cta-band p { color: #4A3A10; font-size: var(--fs-lead); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-5); }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: #93A9C2;
  font-size: var(--fs-sm);
  padding-top: var(--section-y);
}
.footer h4 { color: #fff; font-size: var(--fs-body); margin-bottom: var(--sp-4); }
.footer a { color: #B8CBE0; }
.footer a:hover { color: var(--gold); text-decoration: none; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  padding-bottom: var(--sp-7);
}
.footer__brand p { max-width: 34ch; line-height: 1.75; }
.footer__logo { margin-bottom: var(--sp-4); }
.footer__logo img, .footer__logo svg { height: 52px; width: auto; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: .35em; }
/* --- Offices + service areas band ------------------------------------
   Full-width strip between the link columns and the legal line.
   Offices sit side by side so no single column towers over the rest. */
.footer__band {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-block: var(--sp-6);
}
.footer__band > h4 { margin-bottom: var(--sp-4); }

.footer__offices {
  display: grid;
  /* 300px floor → exactly 3-up on desktop, 2-up on tablets, stacked on phones */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-4);
}
.footer__office {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-sm);
  padding: .7rem .9rem;
  font-size: var(--fs-xs);
  line-height: 1.65;
}
.footer__office b { display: block; color: var(--gold); margin-bottom: .15rem; }
.footer__office span { display: block; color: #B8CBE0; }

/* Service areas: heading and chips share one compact row, wrapping on mobile */
.footer__areas-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-5);
}
.footer__areas-row h4 { margin: 0; font-size: var(--fs-sm); flex: none; }
.footer__areas-row .footer__areas { flex: 1 1 320px; }

.footer__areas { display: flex; flex-wrap: wrap; gap: .4rem; }
.footer__areas span {
  font-size: var(--fs-xs);
  background: rgba(255,255,255,.07);
  border-radius: var(--r-pill);
  padding: .18rem .6rem;
}
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: #7C93AD;
}
.footer__social { display: flex; gap: var(--sp-2); }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.footer__social a:hover { background: var(--amber); color: var(--navy); }
.footer__social svg { width: 19px; height: 19px; }

/* Disclaimer strip about government scheme */
.footer__disclaimer {
  background: rgba(0,0,0,.22);
  padding-block: var(--sp-4);
  font-size: var(--fs-xs);
  color: #7C93AD;
  line-height: 1.7;
}

/* ==========================================================================
   11. UTILITIES
   ========================================================================== */
.center      { text-align: center; }
@media (max-width: 620px) { .hide-sm { display: none !important; } }
.mt-0 { margin-top: 0; }        .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }  .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }  .mb-5 { margin-bottom: var(--sp-5); }
.text-amber  { color: var(--amber-dark); }
.text-green  { color: var(--green); }
.text-white  { color: #fff; }
.nowrap      { white-space: nowrap; }

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

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); text-decoration: none; }

/* Government scheme disclaimer note */
.gov-note {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  background: var(--soft-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.7;
}
.gov-note svg { width: 19px; height: 19px; color: var(--navy-3); flex: none; margin-top: .2em; }

/* ==========================================================================
   12. MOTION & ACCESSIBILITY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Respect users who force high contrast */
@media (forced-colors: active) {
  .btn { border: 2px solid currentColor; }
}

/* ==========================================================================
   13. PRINT
   ========================================================================== */
@media print {
  .header, .topbar, .fab, .mobile-bar, .btn, .nav { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .hero, .calc__output, .footer { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
