:root {
  color-scheme: light;
  --ink: #0f2c49;
  --text: #000000;
  --muted: #54595f;
  --line: #dde4e8;
  --paper: #ffffff;
  --field: #f7f2ed;
  --wash: #f5f8f6;
  --heatpump-blue: #0b1772;
  --brand-background: #0b1772;
  --gold: #d7b65d;
  --green: #23a455;
  --heatpump-green: #017e00;
  --deep-green: #003a05;
  --orange: #f35d22;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", "Open Sans", Arial, sans-serif;
  background: var(--brand-background);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.intro {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 420px;
  padding: 34px;
  overflow: hidden;
  background: var(--heatpump-blue);
  color: #ffffff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(11, 23, 114, 0.82) 54%, rgba(0, 0, 0, 0.36));
}

.intro > div {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 12px 0;
}

.intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-logo {
  width: min(280px, 70vw);
  height: auto;
  margin-bottom: 10px;
}

.hero-call {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(1, 126, 0, 0.82);
  color: #ffffff;
  text-decoration: none;
}

.hero-call span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.hero-call strong {
  color: #ffffff;
  font-size: 1rem;
}

.accreditation-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.accreditation-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
}

.accreditation-strip img {
  width: 100%;
  height: 82px;
  padding: 8px 14px;
  object-fit: contain;
}

.eyebrow,
.step {
  margin: 0 0 8px;
  color: var(--heatpump-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro .eyebrow {
  color: #ffffff;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Barlow", "Roboto", Arial, sans-serif;
  font-size: 4.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: "Roboto", "Open Sans", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
}

.lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.6;
}

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

.button-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--heatpump-green);
  border-radius: 6px;
  background: var(--heatpump-green);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.secondary-link {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid rgba(215, 182, 93, 0.46);
  border-radius: 8px;
  background: rgba(215, 182, 93, 0.46);
  box-shadow: var(--shadow);
}

.proof-strip div {
  display: grid;
  gap: 6px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  background: #ffffff;
}

.proof-strip strong {
  color: var(--heatpump-blue);
  font-family: "Barlow", "Roboto", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.landing-section {
  margin-top: 22px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.landing-section h2 {
  max-width: 760px;
  color: var(--ink);
  font-family: "Barlow", "Roboto", Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1.05;
}

.landing-section p {
  color: var(--muted);
  line-height: 1.65;
}

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

.feature-item,
.process-grid article,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-item {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.feature-item span,
.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--heatpump-green);
  color: #ffffff;
  font-weight: 800;
}

.feature-item strong,
.process-grid h3 {
  color: var(--ink);
  font-size: 1.08rem;
}

.feature-item p,
.process-grid p,
.faq-grid p {
  margin: 0;
}

.grant-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 30px 34px;
  border: 1px solid rgba(215, 182, 93, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 23, 114, 0.98), rgba(7, 14, 66, 1)),
    var(--heatpump-blue);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.grant-band h2 {
  margin: 0;
  font-family: "Barlow", "Roboto", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.05;
}

.grant-band p:not(.step) {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.grant-band .step {
  color: var(--gold);
}

.heated-way {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  border-color: rgba(215, 182, 93, 0.38);
  background:
    linear-gradient(135deg, rgba(11, 23, 114, 0.98), rgba(8, 15, 76, 1)),
    var(--heatpump-blue);
  color: #ffffff;
}

.heated-way::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--heatpump-green), var(--gold));
}

.heated-way-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.heated-way .step {
  color: var(--gold);
}

.heated-way h2 {
  color: #ffffff;
}

.heated-way p {
  color: rgba(255, 255, 255, 0.8);
}

.heated-way .button-link {
  width: fit-content;
  margin-top: 4px;
}

.way-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 2px;
}

.way-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(215, 182, 93, 0.36);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 800;
}

.way-points i {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
}

.service-grid article {
  position: relative;
  min-height: 128px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: var(--heatpump-green);
  color: #ffffff;
  font-weight: 800;
}

.service-grid strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
}

.service-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.4;
}

.funding-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
}

.funding-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(215, 182, 93, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--heatpump-blue), #07104f),
    var(--heatpump-blue);
  color: #ffffff;
}

.funding-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.funding-logos a {
  display: inline-flex;
  color: inherit;
}

.funding-logos img {
  width: 150px;
  height: 72px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.funding-card strong {
  color: var(--gold);
  font-family: "Barlow", "Roboto", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.funding-card span {
  font-size: 1.12rem;
  font-weight: 800;
}

.funding-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-logo {
  width: min(220px, 70%);
  height: auto;
}

.section-head p:not(.step) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.process-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 210px;
  padding: 20px;
}

.process-grid h3 {
  margin: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 28px;
  align-items: center;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.product-actions .secondary {
  border-color: var(--heatpump-green);
  background: var(--heatpump-green);
  color: #ffffff;
}

.product-images {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.48fr);
  gap: 14px;
  align-items: stretch;
}

.product-images img {
  width: 100%;
  height: 310px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.builder-head {
  margin-bottom: 14px;
  color: #ffffff;
}

.builder-head h2,
.builder-head p:not(.step) {
  color: #ffffff;
}

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

.faq-section {
  background: #0b1772;
  color: #ffffff;
}

.faq-section .section-head h2,
.faq-section .step {
  color: #ffffff;
}

.faq-section .section-head p:not(.step) {
  color: rgba(255, 255, 255, 0.75);
}

.faq-grid details {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 36px rgba(4, 12, 52, 0.24);
}

.faq-grid summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #017e00;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  margin-top: 2px;
}

.faq-grid details[open] .faq-icon {
  background: #d7b65d;
  color: #0b1772;
}

.faq-grid details[open] .faq-icon::before {
  content: "-";
}

.faq-grid details:not([open]) .faq-icon::before {
  content: "+";
}

.faq-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px;
  padding: 22px 28px;
  border: 1px solid rgba(1, 126, 0, 0.18);
  border-radius: 8px;
  background: #0b1772;
  text-align: center;
}

.seo-links a {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.workspace {
  margin-top: 22px;
}

.quote-form,
.quote-result {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--line);
}

.progress-step {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: var(--muted);
  font-weight: 700;
}

.progress-step.is-active {
  background: var(--heatpump-green);
  color: #ffffff;
}

.progress-step:disabled {
  cursor: default;
  opacity: 1;
}

.slider-window {
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 400%;
  transition: transform 320ms ease;
}

.form-band {
  width: calc(100% / 4);
  flex: 0 0 calc(100% / 4);
  padding: 24px;
  border-bottom: 0;
}

.slide {
  min-height: 490px;
}

.slide[aria-hidden="true"] {
  visibility: hidden;
}

.slide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.band-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

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

.wide {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c9d2cb;
  border-radius: 6px;
  background: var(--field);
  color: var(--text);
}

.maps-lookup {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.google-address-picker {
  min-height: 54px;
}

.google-address-picker gmp-place-autocomplete {
  width: 100%;
}

.address-map {
  width: 100%;
  height: 260px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

input:focus,
select:focus,
button:focus {
  outline: 3px solid rgba(1, 126, 0, 0.28);
  outline-offset: 2px;
}

button,
.download {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid var(--heatpump-green);
  border-radius: 6px;
  background: var(--heatpump-green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.secondary {
  background: #ffffff;
  color: var(--heatpump-green);
}

.product-actions .secondary {
  border-color: var(--heatpump-green);
  background: var(--heatpump-green);
  color: #ffffff;
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.status {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.eligibility-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cddfce;
  border-radius: 8px;
  background: #f3fbf2;
}

.eligibility-panel.needs-review {
  border-color: #ead4a0;
  background: #fff9e8;
}

.eligibility-panel h3 {
  margin: 0;
  font-size: 1.12rem;
}

.eligibility-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.eligibility-panel strong {
  color: var(--text);
}

.eligibility-questions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.eligibility-question {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.eligibility-question p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

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

.answer-buttons button {
  width: 100%;
  background: #ffffff;
  color: var(--heatpump-green);
}

.answer-buttons button.is-selected {
  background: var(--heatpump-green);
  color: #ffffff;
}

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

.equipment-card {
  min-height: 96px;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 18px;
  border: 1px solid rgba(11, 23, 114, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 23, 114, 0.82), rgba(1, 126, 0, 0.68)),
    #0b1772;
  color: #ffffff;
  text-align: left;
}

.equipment-card span {
  font-size: 1.08rem;
  font-weight: 800;
}

.equipment-card strong {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.epc-option {
  min-height: auto;
  justify-content: flex-start;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
}

.epc-option.is-selected {
  border-color: var(--heatpump-green);
  background: #eff8ee;
}

.epc-option span {
  color: var(--muted);
  font-weight: 600;
}

.actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  min-height: 56px;
  padding: 0 24px 20px;
}

#preview-total {
  margin-top: 4px;
  font-size: 3rem;
}

.quote-result {
  margin-top: 24px;
  padding: 28px;
}

.quote-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.integration-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.integration-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.integration-card strong {
  color: var(--text);
  font-size: 0.95rem;
}

.integration-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.integration-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.integration-card pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  overflow-x: auto;
  border-radius: 6px;
  background: rgba(11, 23, 114, 0.06);
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.integration-card.is-success {
  border-color: rgba(1, 126, 0, 0.25);
  background: #f3fbf2;
}

.integration-card.is-failed {
  border-color: rgba(176, 37, 37, 0.24);
  background: #fff4f2;
}

.integration-card.is-neutral {
  background: #f8f8fb;
}

#preview-body {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.quote-lines {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.savings-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(1, 126, 0, 0.2);
  border-radius: 8px;
  background: #f3fbf2;
}

.savings-tariff {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.savings-tariff span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.savings-tariff select {
  width: 100%;
}

.savings-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.savings-source-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.savings-panel-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.savings-panel-total span {
  color: var(--muted);
  font-weight: 600;
}

.savings-panel-total strong {
  color: #017e00;
  font-size: 1.75rem;
}

.preview-note.savings-disclaimer {
  font-style: italic;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(84, 89, 95, 0.14);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

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

.quote-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.quote-product-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #ffffff;
}

.quote-product-card div {
  padding: 16px;
}

.quote-product-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.quote-product-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.quote-location {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3fbf2;
}

.quote-location div {
  display: grid;
  gap: 4px;
}

.quote-location strong {
  color: var(--ink);
}

.quote-location span:last-child {
  color: var(--muted);
}

.location-pin {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 7px solid var(--heatpump-green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #ffffff;
}

.location-pin::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: var(--heatpump-green);
}

.preview-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.preview-row strong {
  color: var(--ink);
}

.preview-note {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.download {
  background: var(--heatpump-green);
  border-color: var(--heatpump-green);
}

.equipment-modal[hidden] {
  display: none;
}

.equipment-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
}

.equipment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.equipment-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  width: min(860px, 100%);
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.equipment-modal-panel img {
  display: block;
  width: 100%;
  height: min(62vh, 520px);
  padding: 30px;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(180deg, #ffffff, var(--field));
}

.equipment-modal-copy {
  display: grid;
  align-content: center;
  padding: 24px;
}

.equipment-modal-copy p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.equipment-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 38px;
  padding: 8px 12px;
  background: rgba(11, 23, 114, 0.92);
  border-color: rgba(11, 23, 114, 0.92);
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(215, 182, 93, 0.46);
  background:
    linear-gradient(135deg, rgba(11, 23, 114, 0.98), rgba(8, 15, 76, 1) 58%),
    #080f4c;
  color: #ffffff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-inner img {
  width: min(290px, 70vw);
  height: auto;
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.footer-details a,
.footer-item {
  color: #ffffff;
  text-decoration: none;
}

.footer-item small {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--heatpump-green), #23a455);
  color: #ffffff;
}

.footer-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-address {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  h1 {
    font-size: 3.2rem;
  }

  .intro-grid,
  .product-showcase,
  .funding-section,
  .heated-way {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .shell {
    width: min(100% - 20px, 1220px);
    padding-top: 0;
  }

  .intro > div {
    padding: 6px 0;
  }

  .intro {
    padding: 22px;
  }

  .intro::before {
    background: rgba(0, 0, 0, 0.72);
  }

  .hero-call {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
  }

  .button-link {
    width: 100%;
  }

  .funding-logos {
    align-items: stretch;
    flex-direction: column;
  }

  .funding-logos img {
    width: 100%;
  }

  .funding-logos a {
    width: 100%;
  }

  .proof-strip,
  .process-grid,
  .faq-grid,
  .product-images,
  .service-grid,
  .accreditation-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: auto;
  }

  .landing-section,
  .grant-band {
    padding: 22px;
  }

  .section-logo {
    width: 132px;
  }

  .landing-section h2,
  .grant-band h2 {
    font-size: 1.75rem;
  }

  .product-images img {
    height: 250px;
  }

  .two,
  .three,
  .equipment-preview,
  .quote-products {
    grid-template-columns: 1fr;
  }

  .equipment-modal {
    padding: 12px;
  }

  .equipment-modal-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .equipment-modal-panel img {
    height: min(44vh, 340px);
    padding: 18px;
  }

  .band-head,
  .actions,
  .slide-actions,
  .quote-result-head {
    align-items: stretch;
    flex-direction: column;
  }

  .integration-status {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 24px;
  }

  .footer-inner,
  .footer-details {
    grid-template-columns: 1fr;
  }

  button,
  .download {
    width: 100%;
  }
}
