:root {
  --ink: #102033;
  --muted: #607085;
  --line: #dbe5ef;
  --panel: #ffffff;
  --soft: #f4f8fb;
  --gold: #f7b525;
  --gold-dark: #c98500;
  --blue: #0c4778;
  --blue-dark: #073052;
  --green: #23835b;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfdff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 253, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--blue-dark);
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.mobile-nav-toggle {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-dropdown-toggle:hover {
  color: var(--blue);
}

.nav-links a[aria-current="page"],
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 11px 12px;
  border-radius: 6px;
}

.nav-dropdown-menu a:hover {
  background: var(--soft);
}

.nav-menu-label {
  margin: 8px 4px 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-call {
  padding: 12px 16px;
  border-radius: 6px;
  color: white;
  background: var(--blue);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(12, 71, 120, 0.18);
}

.header-carousel {
  position: relative;
  overflow: hidden;
  background: #061d36;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: clamp(460px, 46vw, 760px);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 520ms ease, transform 900ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  background: rgba(7, 48, 82, 0.72);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.carousel-control.prev {
  left: clamp(12px, 3vw, 34px);
}

.carousel-control.next {
  right: clamp(12px, 3vw, 34px);
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.carousel-dots button {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--gold);
}

.button,
.header-call,
.service-card,
.timeline div,
.results div,
details,
.application-form {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.header-call:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 6vw, 88px) 44px;
  background:
    linear-gradient(125deg, rgba(247, 181, 37, 0.12), rgba(12, 71, 120, 0.08) 45%, rgba(35, 131, 91, 0.09)),
    #fbfdff;
}

.is-animated .hero-copy {
  animation: riseIn 700ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: clamp(4rem, 14vw, 8.7rem);
  line-height: 0.86;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-lede,
.section-heading p,
.calculator-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-lede {
  max-width: 680px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #081d2f;
  background: var(--gold);
  box-shadow: 0 14px 26px rgba(247, 181, 37, 0.26);
}

.button.secondary {
  color: var(--blue-dark);
  background: white;
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats dt {
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 30%, rgba(247, 181, 37, 0.55), transparent 25%),
    linear-gradient(145deg, #eef7fa, #ffffff 48%, #e5eef6);
  box-shadow: var(--shadow);
  animation: floatCard 5.5s ease-in-out infinite;
}

.hero-visual > img {
  position: absolute;
  right: 24px;
  bottom: 28px;
  width: min(56%, 360px);
  border-radius: 8px;
  opacity: 0.95;
  filter: drop-shadow(0 10px 24px rgba(247, 181, 37, 0.2));
}

.roof-scene {
  position: absolute;
  inset: 0;
}

.sun {
  position: absolute;
  top: 70px;
  left: 62px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 54px rgba(247, 181, 37, 0.8);
  animation: sunPulse 3.4s ease-in-out infinite;
}

.energy-line {
  position: absolute;
  width: 116px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(247, 181, 37, 0.9), transparent);
  opacity: 0;
  transform: rotate(-18deg);
  animation: energyFlow 2.8s ease-in-out infinite;
}

.line-one {
  top: 218px;
  left: 170px;
}

.line-two {
  top: 284px;
  left: 210px;
  animation-delay: 700ms;
}

.line-three {
  top: 354px;
  left: 250px;
  animation-delay: 1.4s;
}

.panel {
  position: absolute;
  width: 200px;
  height: 112px;
  transform: skewX(-18deg) rotate(-4deg);
  border: 2px solid rgba(7, 48, 82, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.18) 50%, transparent 51%),
    linear-gradient(140deg, #0f5a92, #052b4b);
  box-shadow: 0 18px 34px rgba(7, 48, 82, 0.25);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-visual:hover .panel {
  box-shadow: 0 24px 44px rgba(7, 48, 82, 0.32);
}

.hero-visual:hover .panel-one {
  transform: skewX(-18deg) rotate(-4deg) translateY(-8px);
}

.hero-visual:hover .panel-two {
  transform: skewX(-18deg) rotate(-4deg) translate(-6px, -4px);
}

.hero-visual:hover .panel-three {
  transform: skewX(-18deg) rotate(-4deg) translate(6px, -4px);
}

.panel-one {
  right: 112px;
  top: 150px;
}

.panel-two {
  right: 210px;
  top: 288px;
}

.panel-three {
  right: 38px;
  top: 292px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--blue-dark);
  color: white;
}

.trust-strip span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-types {
  background: #fffaf0;
}

.authority-hub {
  background: white;
}

.city-price-intent {
  background: #f3f8fb;
}

.feature-card {
  min-height: 230px;
}

.service-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-card:hover,
.timeline div:hover,
.results div:hover,
details:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 71, 120, 0.28);
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.09);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold-dark);
  font-weight: 800;
}

.service-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.62;
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--soft);
}

.application-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--soft);
}

.application-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.application-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.application-form label:has(textarea),
.application-form .full {
  grid-column: 1 / -1;
}

.application-form.is-sent {
  border-color: rgba(35, 131, 91, 0.45);
  box-shadow: 0 18px 46px rgba(35, 131, 91, 0.14);
}

.calculator {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.calculator label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #fbfdff;
}

.input-wrap:focus-within {
  border-color: rgba(247, 181, 37, 0.9);
  box-shadow: 0 0 0 4px rgba(247, 181, 37, 0.16);
}

input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

select,
textarea,
.application-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.application-form input,
select {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
  line-height: 1.55;
}

select:focus,
textarea:focus,
.application-form input:focus {
  border-color: rgba(247, 181, 37, 0.9);
  box-shadow: 0 0 0 4px rgba(247, 181, 37, 0.16);
}

.results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0;
}

.results div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: #f7fafc;
}

.results span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.results strong {
  color: var(--green);
  font-size: clamp(1.08rem, 2.3vw, 1.5rem);
}

.results.is-updating strong {
  animation: popValue 260ms ease both;
}

.process {
  background: white;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.timeline div {
  position: relative;
  padding: 24px 22px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.timeline div::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-weight: 800;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 6vw, 88px) clamp(42px, 6vw, 82px);
  padding: clamp(26px, 5vw, 48px);
  border-radius: 8px;
  color: white;
  background: linear-gradient(125deg, var(--blue-dark), #0d5f7a 68%, var(--green));
}

.faq-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fffaf0;
}

.faq-preview div {
  max-width: 760px;
}

.faq-preview p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(125deg, rgba(247, 181, 37, 0.16), rgba(12, 71, 120, 0.08) 55%, rgba(35, 131, 91, 0.12)),
    #fbfdff;
}

.offering-hero {
  min-height: 520px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(56px, 8vw, 118px) clamp(18px, 6vw, 88px) 52px;
  background:
    linear-gradient(125deg, rgba(247, 181, 37, 0.18), rgba(255, 255, 255, 0.82) 42%, rgba(35, 131, 91, 0.13)),
    #fbfdff;
}

.landing-copy h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
}

.landing-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
}

.landing-panel {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  animation: floatCard 5.5s ease-in-out infinite;
}

.landing-panel img {
  width: min(100%, 340px);
  margin: 0 auto;
  border-radius: 8px;
}

.landing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-metrics div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.landing-metrics strong {
  color: var(--blue-dark);
}

.landing-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.bhopal-benefits {
  background: white;
}

.local-seo-block,
.city-faq {
  background: white;
}

.city-process {
  background: var(--soft);
}

.city-keywords {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #fffaf0;
}

.city-keywords p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--blue-dark);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.blog-page {
  background: #fbfdff;
}

.blog-article,
.blog-page > .blog-hero,
.blog-page > .section {
  max-width: 1180px;
  margin: 0 auto;
}

.blog-hero {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 48px) clamp(36px, 6vw, 72px);
}

.blog-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.blog-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.75;
}

.blog-section {
  padding: clamp(32px, 5vw, 70px) clamp(18px, 6vw, 48px);
  border-top: 1px solid var(--line);
}

.blog-section h2,
.blog-cta h2 {
  max-width: 880px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.blog-section p,
.blog-section li {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

.blog-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.solar-guru-best {
  margin: 0 clamp(18px, 6vw, 48px);
  border: 1px solid rgba(247, 181, 37, 0.45);
  border-radius: 8px;
  background: #fffaf0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: white;
  background: var(--blue-dark);
  font-size: 0.92rem;
}

td {
  color: var(--muted);
  line-height: 1.5;
}

tr:last-child td {
  border-bottom: 0;
}

.blog-faq .faq-list {
  max-width: 920px;
}

.blog-cta {
  margin: clamp(32px, 5vw, 70px) clamp(18px, 6vw, 48px) clamp(48px, 8vw, 100px);
  padding: clamp(24px, 5vw, 46px);
  border-radius: 8px;
  color: white;
  background: linear-gradient(125deg, var(--blue-dark), #0d5f7a 68%, var(--green));
}

.blog-cta h2,
.blog-cta p {
  color: white;
}

.blog-cta p {
  max-width: 760px;
  opacity: 0.9;
  line-height: 1.7;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 104px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.faq-side h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.faq-side p {
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 20px 22px;
  color: var(--blue-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: #fff3d4;
  font-size: 1.25rem;
  transition: transform 180ms ease, background 180ms ease;
}

details[open] summary::after {
  content: "-";
  background: var(--gold);
  transform: rotate(180deg);
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.72;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sunPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes energyFlow {
  0% {
    opacity: 0;
    transform: translateX(-22px) rotate(-18deg);
  }
  35%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120px) rotate(-18deg);
  }
}

@keyframes popValue {
  0% {
    transform: scale(0.96);
  }
  60% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.contact h2,
.contact p,
.contact .eyebrow {
  color: white;
}

.contact p {
  opacity: 0.86;
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand,
.footer-cities > span {
  color: var(--blue-dark);
  font-weight: 800;
}

.footer-main p {
  margin: 8px 0 0;
}

.footer-contact {
  display: grid;
  gap: 8px;
  text-align: right;
  font-weight: 700;
}

.footer-contact a:hover,
.footer-cities a:hover {
  color: var(--blue);
}

.footer-cities {
  display: grid;
  gap: 14px;
}

.footer-cities div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 14px;
}

.footer-cities a {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero,
  .landing-hero,
  .calculator-section,
  .application-section,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .service-grid,
  .service-grid.three,
  .service-grid.two,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .faq-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-side {
    position: static;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    cursor: pointer;
  }

  .mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue-dark);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-call {
    display: none;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    text-align: center;
  }

  .site-header.is-menu-open .header-call {
    display: inline-flex;
  }

  .nav-links {
    display: grid;
    width: 100%;
    max-height: 0;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 240ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open .nav-links {
    max-height: 1100px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links > a,
  .nav-dropdown-toggle {
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    max-height: 0;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 0 10px;
    border-width: 0;
    opacity: 1;
    overflow: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 760px;
    padding: 10px;
    border-width: 1px;
    pointer-events: auto;
  }

  .carousel-track {
    height: clamp(260px, 76vw, 430px);
  }

  .carousel-slide img {
    object-fit: cover;
    object-position: center;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }

  .carousel-dots {
    bottom: 10px;
  }

  .carousel-dots button {
    width: 24px;
  }

  .hero,
  .landing-hero {
    gap: 26px;
    padding: 34px 16px 30px;
  }

  .section,
  .page-hero {
    padding: 44px 16px;
  }

  .contact {
    margin: 0 16px 34px;
    padding: 24px 18px;
  }

  h1,
  .landing-copy h1,
  .page-hero h1 {
    font-size: clamp(2.85rem, 15vw, 4.25rem);
    line-height: 0.96;
  }

  h2,
  .faq-side h2 {
    font-size: clamp(1.85rem, 10vw, 2.7rem);
    line-height: 1.05;
  }

  .hero-lede,
  .section-heading p,
  .calculator-copy p,
  .application-copy p,
  .landing-copy p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .contact p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .button,
  .contact-actions .button,
  .page-hero .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
    padding: 12px 16px;
  }

  .hero-stats,
  .service-grid,
  .service-grid.three,
  .service-grid.two,
  .landing-metrics,
  .results,
  .timeline,
  .application-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .landing-panel {
    gap: 16px;
    padding: 18px;
  }

  .landing-panel img {
    width: min(100%, 260px);
  }

  .calculator,
  .application-form,
  .faq-side {
    padding: 18px;
  }

  .results div,
  .service-card,
  .timeline div {
    padding: 18px;
  }

  summary {
    min-height: 64px;
    padding: 18px;
  }

  details p {
    padding: 0 18px 18px;
  }

  .hero-visual > img {
    width: 62%;
    right: 14px;
    bottom: 16px;
  }

  .sun {
    top: 48px;
    left: 34px;
    width: 92px;
    height: 92px;
  }

  .panel {
    width: 136px;
    height: 82px;
  }

  .panel-one {
    right: 70px;
    top: 126px;
  }

  .panel-two {
    right: 136px;
    top: 226px;
  }

  .panel-three {
    right: 24px;
    top: 230px;
  }

  .energy-line {
    width: 74px;
  }

  .line-one {
    top: 178px;
    left: 108px;
  }

  .line-two {
    top: 230px;
    left: 124px;
  }

  .line-three {
    top: 278px;
    left: 140px;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-cities div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
  }

  .footer-cities a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  h1,
  .landing-copy h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 14vw, 3.4rem);
  }

  .hero-visual {
    min-height: 300px;
  }

  .panel {
    width: 118px;
    height: 72px;
  }

  .panel-one {
    right: 56px;
    top: 118px;
  }

  .panel-two {
    right: 118px;
    top: 205px;
  }

  .panel-three {
    right: 18px;
    top: 208px;
  }

  .footer-cities div {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
