.quote-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(223,246,212,.82)),
    url("mainoverview.png") center right / min(760px, 70vw) no-repeat;
}

.quote-hero h1 {
  max-width: 920px;
}

.quote-snapshot,
.quote-result,
.quote-panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.quote-snapshot {
  max-width: 420px;
  justify-self: end;
  padding: 26px;
  border: 3px solid rgba(47,116,31,.18);
}

.quote-snapshot span,
.quote-total-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.quote-snapshot strong,
.quote-total-card strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: clamp(48px, 8vw, 84px);
  line-height: .9;
}

.quote-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 28px;
  align-items: start;
}

.quote-form {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.quote-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.quote-panel + .quote-panel {
  margin-top: 22px;
}

.quote-panel h2,
.quote-result h2 {
  font-size: clamp(25px, 3vw, 34px);
  margin-bottom: 6px;
}

.addons {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 2px solid #d8e6d0;
  border-radius: 18px;
}

.addons legend {
  padding: 0 8px;
  color: var(--green);
  font-weight: 900;
}

.addons label {
  grid-template-columns: auto 1fr;
  align-items: center;
  font-weight: 800;
}

.addons input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.quote-result {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 24px;
  padding: 28px;
}

.quote-total-card {
  padding: 22px;
  border-radius: 20px;
  background: #eef8e9;
  border: 2px solid rgba(47,116,31,.16);
}

.quote-breakdown {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e6d0;
  color: #334033;
  font-weight: 800;
}

.quote-breakdown span:last-child {
  white-space: nowrap;
}

@media (max-width: 850px) {
  .quote-hero,
  .quote-wrap {
    grid-template-columns: 1fr;
  }

  .quote-hero {
    background:
      linear-gradient(135deg, rgba(255,255,255,.78), rgba(223,246,212,.9)),
      url("mainoverview.png") center bottom / 560px auto no-repeat;
    padding-bottom: 210px;
  }

  .quote-snapshot {
    justify-self: stretch;
  }

  .quote-result {
    position: static;
  }
}
