:root {
  --green: #116b43;
  --bright: #27b36a;
  --deep: #082018;
  --ink: #14221b;
  --muted: #5f7067;
  --line: rgba(20, 34, 27, 0.13);
  --soft: #eef7f1;
  --mint: #dbeee4;
  --copper: #c28b32;
  --sun: #f0b642;
  --paper: #f7faf5;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(10, 39, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 107, 67, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 107, 67, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f5faf4 0%, #ffffff 44%, #eef5f0 100%);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding: 9px clamp(18px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.84);
  background: var(--deep);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topbar span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 0;
  background: var(--sun);
}

.topbar div {
  display: flex;
  gap: 22px;
}

.header {
  position: sticky;
  top: 40px;
  z-index: 19;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(247, 250, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 900;
}

.brand img {
  width: clamp(146px, 15vw, 210px);
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(10, 39, 28, 0.07);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header nav a {
  position: relative;
  padding: 12px 14px;
  color: #31473d;
}

.header nav a::before {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.header nav a:hover::before,
.header nav a:focus-visible::before {
  transform: scaleX(1);
}

.quote-button,
.primary-cta,
.icon-button,
.soft-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  padding: 13px 24px;
  font-weight: 900;
}

.quote-button,
.primary-cta {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 24px rgba(17, 107, 67, 0.24);
}

.icon-button {
  width: 52px;
  padding: 0;
  color: var(--white);
  background: var(--deep);
}

.soft-cta {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.soft-cta.dark {
  background: #edf6f2;
}

.wide {
  width: 100%;
}

.hero,
.calculator-section,
.subsidy-section,
.about-section,
.services-section,
.why-section,
.install-video-section,
.case-section,
.commercial-section,
.reviews-section,
.faq-section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.subsidy-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 247, 241, 0.82)),
    var(--paper);
}

.subsidy-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.subsidy-intro,
.subsidy-table-wrap,
.subsidy-cards article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(10, 39, 28, 0.08);
}

.subsidy-intro {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
}

.subsidy-intro h3,
.subsidy-cards h3 {
  margin: 0;
  font-size: 1.45rem;
}

.subsidy-intro p,
.subsidy-cards p,
.table-note {
  margin: 0;
  color: var(--muted);
}

.eligibility-list {
  display: grid;
  gap: 9px;
}

.eligibility-list span {
  padding: 10px 12px;
  border-left: 4px solid var(--green);
  background: var(--soft);
  font-weight: 800;
}

.subsidy-table-wrap {
  overflow: hidden;
}

.subsidy-table {
  width: 100%;
  border-collapse: collapse;
}

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

.subsidy-table th {
  color: var(--white);
  background: var(--deep);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.subsidy-table td:first-child {
  color: var(--green);
  font-weight: 900;
}

.table-note {
  padding: 16px;
  font-size: 0.92rem;
}

.subsidy-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 18px auto 0;
}

.subsidy-cards article {
  padding: 24px;
}

.subsidy-cards ul,
.subsidy-cards ol {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.subsidy-cards li + li {
  margin-top: 8px;
}

.install-video-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(238, 247, 241, 0.54)),
    var(--paper);
}

.video-copy h2 {
  margin: 18px 0 0;
  line-height: 1.06;
  font-size: clamp(2.1rem, 4vw, 3.9rem);
}

.video-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.video-panel {
  display: grid;
  gap: 16px;
}

.video-frame {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 107, 67, 0.2);
  background:
    linear-gradient(135deg, rgba(8, 32, 24, 0.36), rgba(17, 107, 67, 0.12)),
    repeating-linear-gradient(112deg, #153846 0 26px, #1d5666 26px 30px, #0c2934 30px 58px);
  box-shadow: var(--shadow);
}

.video-frame span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(8, 32, 24, 0.82);
  font-weight: 900;
}

.play-button {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: var(--deep);
  background: var(--sun);
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.video-panel ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  counter-reset: install-step;
  list-style: none;
}

.video-panel li {
  min-height: 92px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  border-left: 4px solid var(--green);
  box-shadow: 0 10px 24px rgba(10, 39, 28, 0.07);
  font-weight: 800;
}

.video-panel li::before {
  counter-increment: install-step;
  content: counter(install-step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.78rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section h2 {
  margin: 18px 0 0;
  line-height: 1.08;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.about-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
  min-height: calc(100vh - 132px);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.72), rgba(238, 247, 241, 0.48)),
    radial-gradient(circle at 72% 48%, rgba(39, 179, 106, 0.14), transparent 33%);
}

.hero-banner {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: end;
  min-height: 250px;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-banner::after {
  position: absolute;
  inset: auto -10% -45% auto;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(22deg);
}

.hero-banner.banner-1 {
  background-position: center;
}

.hero-banner.banner-2 {
  background-position: center right;
}

.hero-banner.banner-3 {
  background-position: center right;
}

.hero-banner .pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-left-color: var(--sun);
}

.hero-banner h2 {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
}

.hero-banner p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
}

.banner-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.banner-metrics span {
  display: block;
  padding: 14px 16px;
  border-left: 4px solid var(--sun);
  background: rgba(255, 255, 255, 0.12);
}

.banner-metrics b {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 12px;
  border-left: 4px solid var(--copper);
  border-radius: 0;
  color: var(--green);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero h1,
.section-title h2,
.case-section h2,
.commercial-section h2,
.quote-modal h2 {
  margin: 20px 0 0;
  color: #141716;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.9rem, 5.4vw, 5.25rem);
}

.hero h1::first-line {
  color: var(--green);
}

.hero-copy p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
}

.trust-row a {
  display: inline-flex;
  color: inherit;
  transition: transform 180ms ease, color 180ms ease;
}

.trust-row a:hover,
.trust-row a:focus-visible {
  color: var(--green);
  transform: translateY(-2px);
}

.trust-row strong,
.trust-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.76);
}

.solar-scene {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(17, 107, 67, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(219, 238, 228, 0.52)),
    linear-gradient(90deg, rgba(17, 107, 67, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 107, 67, 0.06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  box-shadow: var(--shadow);
}

.hero-dots {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.hero-dots button {
  width: 32px;
  height: 5px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.active {
  background: var(--sun);
}

.solar-scene.scene-1 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(219, 238, 228, 0.52)),
    linear-gradient(90deg, rgba(17, 107, 67, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 107, 67, 0.06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.solar-scene.scene-2 {
  background:
    linear-gradient(135deg, rgba(240, 182, 66, 0.22), rgba(255, 255, 255, 0.68)),
    repeating-linear-gradient(115deg, rgba(17, 75, 92, 0.18) 0 12px, transparent 12px 28px);
}

.solar-scene.scene-3 {
  background:
    linear-gradient(135deg, rgba(8, 32, 24, 0.12), rgba(219, 238, 228, 0.72)),
    radial-gradient(circle at 70% 20%, rgba(39, 179, 106, 0.28), transparent 26%);
}

.building {
  position: absolute;
  bottom: 52px;
  width: 220px;
  height: 270px;
  border: 3px solid #9c8a68;
  background: linear-gradient(135deg, #e6d8b7, #cba96d);
  box-shadow: 0 18px 36px rgba(10, 39, 28, 0.16);
}

.b1 { left: 36px; height: 330px; }
.b2 { left: 250px; width: 250px; height: 250px; }
.b3 { right: 18px; width: 220px; height: 210px; }

.roof {
  position: absolute;
  left: 16px;
  right: 16px;
  top: -40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  height: 72px;
  padding: 8px;
  transform: skewX(-18deg);
  background: #6d4f3d;
  border: 4px solid #8b674d;
}

.roof span {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.38) 49% 51%, transparent 52%),
    linear-gradient(#174b5c, #0b2834);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.windows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 60px 26px 24px;
}

.windows i {
  height: 34px;
  border-radius: 4px;
  background: #f5f4d3;
  box-shadow: inset 0 0 0 2px rgba(112, 80, 60, 0.16);
}

.saving-card {
  position: absolute;
  padding: 14px 18px;
  border-left: 5px solid var(--copper);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.saving-card small,
.saving-card span {
  display: block;
  color: var(--muted);
}

.saving-card b {
  color: var(--green);
  font-size: 1.3rem;
}

.saving-card.one {
  top: 130px;
  left: 16px;
}

.saving-card.two {
  top: 92px;
  right: 44px;
}

.section-title {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2,
.case-section h2,
.commercial-section h2,
.quote-modal h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
}

.calculator-grid,
.case-section,
.commercial-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.calc-controls,
.calc-results,
.service-detail,
.quote-modal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.calc-controls,
.calc-results {
  padding: 28px;
}

.mode-section {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.calculator-step {
  padding-top: 4px;
}

.calculator-step b {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.calculator-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.mode-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mode-cards button {
  display: grid;
  gap: 8px;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: #f7fbf8;
}

.mode-cards button.active {
  border-color: rgba(17, 107, 67, 0.45);
  background: #eaf6ee;
  box-shadow: inset 4px 0 0 var(--green);
}

.mode-cards strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--green);
  background: var(--mint);
  font-size: 0.9rem;
}

.mode-cards span {
  font-weight: 900;
}

.mode-cards small {
  color: var(--muted);
  font-size: 0.86rem;
}

.toggle-group,
.select-field,
.text-field,
.range-row,
.check-row {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  color: #2a3a34;
  font-weight: 900;
}

.select-field select,
.text-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

.toggle-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-group button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 14px;
  color: #2d3f38;
  background: var(--white);
  font-weight: 900;
}

.toggle-group button.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.range-row b {
  color: var(--green);
  font-size: 1.5rem;
}

.range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.range-number {
  width: min(150px, 42%);
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-bottom: 0;
}

.calc-results {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(194, 139, 50, 0.16), transparent 36%),
    linear-gradient(145deg, #082018, #124a31);
}

.calc-results > strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
}

.calc-results p {
  color: rgba(255, 255, 255, 0.76);
}

.kit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

.kit-strip div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
}

.kit-strip span,
.kit-strip b {
  display: block;
}

.kit-strip span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.kit-strip b {
  margin-top: 5px;
  color: var(--white);
  line-height: 1.2;
}

.result-cards,
.case-stats,
.quote-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.quote-checklist {
  margin: 8px 0 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.subsidy-note {
  margin: 8px 0 20px;
  padding: 16px;
  border-left: 4px solid var(--sun);
  background: rgba(255, 255, 255, 0.1);
}

.subsidy-note b,
.subsidy-note span {
  display: block;
}

.subsidy-note b {
  color: var(--white);
}

.subsidy-note span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.quote-checklist span {
  display: block;
  color: var(--sun);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.quote-checklist ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.metric {
  padding: 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.case-section .metric,
.quote-summary .metric {
  background: var(--soft);
}

.metric span,
.metric b {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.calc-results .metric span {
  color: rgba(255, 255, 255, 0.66);
}

.metric b {
  margin-top: 4px;
  color: inherit;
  font-size: 1.1rem;
}

.service-grid,
.steps,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card,
.steps article,
.review-grid article,
.faq-list details {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(13, 49, 37, 0.08);
}

.service-card.active {
  border-color: rgba(8, 191, 120, 0.5);
  background: #edf7ef;
  box-shadow: inset 4px 0 0 var(--green), 0 16px 42px rgba(13, 49, 37, 0.08);
}

.service-card h3,
.steps h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.service-card p,
.steps p,
.case-section p,
.commercial-section p,
.review-grid p,
.faq-list p,
.footer p {
  color: var(--muted);
}

.service-card div,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.service-card span,
.tag-cloud span {
  padding: 7px 10px;
  border-radius: 4px;
  color: #235243;
  background: #e8f8f0;
  font-size: 0.84rem;
  font-weight: 800;
}

.service-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 30px;
}

.service-detail h3 {
  max-width: 780px;
  margin: 14px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.why-section {
  background:
    linear-gradient(90deg, rgba(240, 182, 66, 0.08), transparent 36%),
    linear-gradient(180deg, #071f19, #0b2a20);
}

.why-section .section-title h2,
.why-section .steps h3 {
  color: var(--white);
}

.audit-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
}

.audit-panel div {
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.audit-panel strong {
  display: block;
  color: var(--sun);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.audit-panel span {
  display: block;
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
}

.audit-panel p {
  max-width: 470px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.why-section .steps article {
  background: rgba(255, 255, 255, 0.08);
}

.why-section .steps b {
  color: var(--green);
}

.why-section .compact-steps article {
  min-height: 190px;
}

.why-section .compact-steps b {
  color: var(--sun);
}

.case-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(8, 191, 120, 0.18), rgba(124, 85, 217, 0.18)),
    repeating-linear-gradient(110deg, #1d4656 0 30px, #286174 30px 36px, #153846 36px 66px);
  box-shadow: var(--shadow);
}

.video-play {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 8px;
  color: var(--deep);
  background: var(--sun);
  font-weight: 900;
}

.commercial-section {
  align-items: center;
}

.tag-cloud {
  margin: 0;
}

.tag-cloud span {
  font-size: 0.98rem;
  padding: 11px 14px;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(238, 247, 241, 0.74));
}

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

.review-grid article {
  min-height: 210px;
}

.review-grid b {
  color: var(--green);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  min-height: auto;
}

.faq-list summary {
  color: #141716;
  font-size: 1.12rem;
  font-weight: 900;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(150px, 0.65fr)) minmax(260px, 1fr);
  gap: 28px;
  padding: 56px clamp(18px, 5vw, 72px) 108px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(90deg, rgba(194, 139, 50, 0.08), transparent 32%),
    #071f19;
}

.footer img {
  width: 148px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: var(--white);
}

.footer h2,
.footer h3 {
  color: var(--white);
}

.footer a {
  display: block;
  margin: 9px 0;
}

.footer-addresses strong {
  display: block;
  margin-top: 12px;
  color: var(--white);
}

.footer-addresses p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.sticky-survey-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px clamp(16px, 4vw, 48px);
  color: var(--deep);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 40px rgba(8, 32, 24, 0.14);
  backdrop-filter: blur(14px);
}

.sticky-survey-bar span {
  margin-right: auto;
  font-weight: 900;
}

.sticky-survey-bar button,
.sticky-survey-bar a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.sticky-survey-bar a {
  background: var(--deep);
}

.sticky-survey-bar button:hover,
.sticky-survey-bar button:focus-visible,
.sticky-survey-bar a:hover,
.sticky-survey-bar a:focus-visible {
  background: var(--leaf);
  transform: translateY(-2px);
}

.floating-socials {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 20;
  display: grid;
  gap: 10px;
}

.floating-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 32, 24, 0.94);
  box-shadow: 0 12px 30px rgba(8, 32, 24, 0.18);
  font-size: 0.8rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-socials a.primary-social {
  width: 58px;
  height: 58px;
  background: #1d7a4f;
}

.floating-socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-socials a:hover,
.floating-socials a:focus-visible {
  background: var(--green);
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  right: 86px;
  bottom: 86px;
  z-index: 19;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  color: var(--deep);
  background: var(--sun);
  box-shadow: var(--shadow);
  font-size: 1.4rem;
  font-weight: 900;
}

.cookie-notice {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 88px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px;
  color: var(--white);
  background: rgba(8, 32, 24, 0.96);
  border-left: 5px solid var(--sun);
  box-shadow: var(--shadow);
}

.cookie-notice p {
  margin: 0;
}

.cookie-notice button {
  min-height: 42px;
  border: 0;
  padding: 10px 18px;
  color: var(--deep);
  background: var(--sun);
  font-weight: 900;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 31, 25, 0.62);
}

.quote-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  padding: clamp(24px, 4vw, 40px);
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  color: var(--green);
  background: var(--soft);
  font-size: 1.8rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.modal-grid label {
  display: grid;
  gap: 7px;
  color: #283832;
  font-weight: 900;
}

.modal-grid .full {
  grid-column: 1 / -1;
}

.modal-grid input,
.modal-grid select,
.modal-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  background: #f9fcfb;
}

.modal-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toast {
  margin: 16px 0 0;
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 1050px) {
  .header nav {
    display: none;
  }

  .hero,
  .hero-banner,
  .calculator-grid,
  .subsidy-layout,
  .about-section,
  .install-video-section,
  .case-section,
  .commercial-section {
    grid-template-columns: 1fr;
  }

  .solar-scene {
    min-height: 450px;
  }

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

  .subsidy-cards,
  .video-panel ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .topbar,
  .header {
    position: static;
  }

  .topbar,
  .topbar div {
    flex-direction: column;
    gap: 6px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 124px;
    height: auto;
  }

  .quote-button {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .solar-scene {
    min-height: 360px;
    transform: scale(0.72);
    transform-origin: top left;
    width: 138%;
    margin-bottom: -92px;
  }

  .service-grid,
  .steps,
  .audit-panel,
  .mode-cards,
  .subsidy-cards,
  .video-panel ol,
  .review-grid,
  .result-cards,
  .kit-strip,
  .quote-checklist ul,
  .case-stats,
  .quote-summary,
  .modal-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-detail {
    align-items: stretch;
    flex-direction: column;
  }

  .sticky-survey-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }

  .sticky-survey-bar span {
    margin-right: 0;
    text-align: center;
  }

  .sticky-survey-bar button,
  .sticky-survey-bar a {
    width: 100%;
  }

  .floating-socials {
    right: 12px;
    bottom: 154px;
    gap: 8px;
  }

  .floating-socials a {
    width: 40px;
    height: 40px;
  }

  .floating-socials a.primary-social {
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    right: 72px;
    bottom: 154px;
  }

  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    bottom: 154px;
  }
}
