/* ──────────────────────────────────────────────────────────
   Shared ROI calculator
   Loaded on any page that includes templates/includes/roi_calculator.html
   ────────────────────────────────────────────────────────── */

.roi-section {
  padding: 56px 0;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.roi-section-header {
  text-align: center;
  margin-bottom: 28px;
}

.roi-section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: #495057; /* darker for AA contrast on white */
  text-transform: uppercase;
  letter-spacing: .08em;
}

.roi-section-title {
  font-size: 26px;
  font-weight: 700;
  color: #212529;
  margin-top: 8px;
  margin-bottom: 8px;
}

.roi-section-desc {
  font-size: 14px;
  color: #495057;
  max-width: 560px;
  margin: 0 auto;
}

.roi-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 32px;
}

.roi-row-label {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
}

.roi-row-value {
  font-size: 18px;
  font-weight: 700;
  color: #212529;
  min-width: 80px;
  text-align: right;
}

.range-input {
  accent-color: #212529;
}

.roi-range-bounds {
  font-size: 11px;
  color: #6c757d; /* AA contrast on white */
  margin-top: 4px;
}

/* Before / After / Extra panel */
.roi-stats {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
}

.roi-stat-label {
  font-size: 11px;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}

.roi-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #212529;
}

.roi-stat-before { color: #dc3545; }
.roi-stat-after  { color: #198754; }

.roi-stat-unit {
  font-size: 11px;
  color: #495057; /* AA contrast on .roi-stats light grey panel */
}

/* Result box (right column) */
.roi-result-box {
  background: #212529;
  color: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roi-result-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 8px;
}

.roi-result-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.roi-result-sub {
  font-size: 13px;
  opacity: .5;
  margin-top: 8px;
}

.roi-divider {
  border-color: rgba(255, 255, 255, .15);
  margin: 20px 0;
}

.roi-fee-label {
  font-size: 13px;
  opacity: .7;
  margin-bottom: 6px;
}

.roi-fee-amount {
  font-size: 22px;
  font-weight: 700;
}

.roi-fee-setup {
  font-size: 13px;
  opacity: .65;
  margin-top: 2px;
}

.roi-fee-plan {
  font-size: 12px;
  opacity: .5;
  margin-top: 2px;
}

.roi-ratio {
  font-size: 28px;
  font-weight: 700;
}

.roi-disclaimer {
  font-size: 12px;
  color: #adb5bd;
  margin-top: 12px;
}

@media (max-width: 991px) {
  .roi-card {
    padding: 24px;
  }

  .roi-section-title {
    font-size: 22px;
  }
}
