.savings-calculator-section {
  max-width: 1200px;
  margin: 40px auto 60px;
  background:
    radial-gradient(circle at top left, rgba(99, 169, 104, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(243, 159, 23, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,253,244,0.96));
  border: 1px solid rgba(0, 104, 71, 0.08);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0, 104, 71, 0.14);
  padding: 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.savings-calculator-section::before,
.savings-calculator-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.55;
  z-index: -1;
}

.savings-calculator-section::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -50px;
  background: rgba(99, 169, 104, 0.22);
}

.savings-calculator-section::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: -30px;
  background: rgba(243, 159, 23, 0.18);
}

.savings-calculator-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.calc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 104, 71, 0.14);
  background: rgba(255,255,255,0.88);
  color: #006847;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 9px 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(0, 104, 71, 0.08);
}

.calc-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 22px auto 0;
}

.calc-metric {
  border-radius: 18px;
  border: 1px solid rgba(0, 104, 71, 0.1);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.calc-metric-label {
  display: block;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.calc-metric-value {
  display: block;
  color: #006847;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.savings-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: start;
}

.calc-panel {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(0, 104, 71, 0.1);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 22px 40px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(12px);
}

.calc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-field.calc-field-full {
  grid-column: 1 / -1;
}

.calc-field input,
.calc-field select {
  width: 100%;
  border: 1px solid rgba(0, 104, 71, 0.12);
  border-radius: 16px;
  padding: 13px 15px;
  font-size: 1rem;
  background: rgba(255,255,255,0.92);
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.03);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: #2A6737;
  box-shadow: 0 0 0 4px rgba(0, 104, 71, 0.12);
}

.calc-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calc-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 104, 71, 0.12);
  background: rgba(255,255,255,0.88);
  color: #006847;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.04);
}

.calc-chip span:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 104, 71, 0.24);
}

.calc-chip input:checked + span {
  background: linear-gradient(135deg, #006847, #2A6737);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 104, 71, 0.16);
}

.calc-highlight {
  border-radius: 26px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 42%),
    linear-gradient(135deg, #045d42, #0c7b58 58%, #1f8e65 100%);
  color: white;
  box-shadow: 0 28px 48px rgba(0, 104, 71, 0.22);
  position: relative;
  overflow: hidden;
}

.calc-highlight::after {
  content: "";
  position: absolute;
  inset: auto -50px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.calc-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-card {
  border-radius: 22px;
  border: 1px solid rgba(0, 104, 71, 0.1);
  background: rgba(255,255,255,0.88);
  padding: 20px;
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.05);
}

.calc-notes {
  border-radius: 22px;
  border: 1px solid rgba(243, 159, 23, 0.28);
  background: rgba(255, 251, 220, 0.8);
  padding: 18px 20px;
  box-shadow: 0 14px 26px rgba(243, 159, 23, 0.08);
}

@media (max-width: 900px) {
  .savings-calculator-grid,
  .calc-metric-strip,
  .calc-breakdown-grid,
  .calc-field-grid {
    grid-template-columns: 1fr;
  }

  .savings-calculator-section {
    padding: 22px 18px;
  }
}
