/* ROI Calculator — Velluto Health */

.roi-calculator {
  font-family: "DM Sans", sans-serif;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

@media (max-width: 768px) {
  .roi-grid {
    grid-template-columns: 1fr;
  }
}

.roi-section-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--wp--preset--color--forest, #1a2e22);
  margin: 0 0 28px 0;
}

/* Sliders */
.roi-slider-group {
  margin-bottom: 28px;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--wp--preset--color--sage-dark, #395848);
}

.roi-slider-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--wp--preset--color--forest, #1a2e22);
}

.roi-slider-hint {
  font-size: 14px;
  color: #888;
  margin: 6px 0 0 0;
  line-height: 1.5;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #FF6B6B 0%, #FF6B6B 25%, #e8e5e0 25%, #e8e5e0 100%);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FF6B6B;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FF6B6B;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Results */
.roi-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid #eae7e2;
}

.roi-result-label {
  font-size: 15px;
  color: var(--wp--preset--color--sage-dark, #395848);
}

.roi-result-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--wp--preset--color--forest, #1a2e22);
  transition: all 0.15s ease;
}

.roi-result-small {
  font-size: 16px;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: #888;
}

.roi-result-divider {
  height: 1px;
  margin: 8px 0;
}

/* Highlight cards */
.roi-result-highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 36px;
  margin-top: 16px;
  background: var(--wp--preset--color--forest, #1a2e22);
  border-radius: 12px;
  text-align: center;
}

.roi-result-highlight .roi-result-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.roi-result-highlight .roi-result-value {
  color: #fff;
}

.roi-result-big {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Summary bar */
.roi-summary-bar {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--wp--preset--color--forest, #1a2e22);
  border-radius: 8px;
  text-align: center;
}

.roi-summary-bar p {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.roi-summary-bar strong {
  color: #fff;
}
