.srv-roi-calculator {
  --srv-bg: #ffffff;
  --srv-text: #17212b;
  --srv-muted: #687684;
  --srv-line: #dce3e8;
  --srv-primary: #173f35;
  --srv-accent: #f5b43b;
  --srv-accent-hover: #ffc94f;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--srv-line);
  border-radius: 8px;
  background: var(--srv-bg);
  color: var(--srv-text);
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
}

.srv-roi-intro {
  margin: 0 0 28px;
  text-align: center;
}

.srv-roi-eyebrow {
  margin: 0 0 8px;
  color: var(--srv-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.srv-roi-intro h1 {
  margin: 0;
  color: #63a77d;
  font-size: 36px;
  line-height: 1.15;
}

.srv-roi-intro p:not(.srv-roi-eyebrow) {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--srv-muted);
  font-size: 16px;
  line-height: 1.6;
}

.srv-roi-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.srv-roi-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 36px;
}

.srv-roi-progress span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8c969d;
  text-align: center;
}

.srv-roi-progress span::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 5px;
  background: #e6ebef;
  z-index: 0;
}

.srv-roi-progress span:first-child::before {
  left: 50%;
}

.srv-roi-progress span:last-child::before {
  right: 50%;
}

.srv-roi-progress strong {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #e1e7eb;
  border-radius: 50%;
  background: #ffffff;
  color: #7d878f;
  font-size: 18px;
}

.srv-roi-progress small {
  font-size: 13px;
  font-weight: 700;
}

.srv-roi-progress span.is-active {
  color: var(--srv-primary);
}

.srv-roi-progress span.is-active::before {
  background: #c8ded2;
}

.srv-roi-progress span.is-active strong {
  border-color: var(--srv-primary);
  color: var(--srv-primary);
  box-shadow: 0 0 0 5px rgba(23, 63, 53, 0.08);
}

.srv-roi-step {
  display: none;
}

.srv-roi-step.is-active {
  display: block;
}

.srv-roi-step h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
  color: var(--srv-text);
}

.srv-roi-step-lead {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--srv-muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.srv-roi-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.srv-roi-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.srv-roi-choice-stack {
  display: grid;
  gap: 12px;
}

.srv-roi-choice {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.srv-roi-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.srv-roi-choice > span {
  position: relative;
  display: block;
  min-height: 96px;
  padding: 18px 52px 18px 18px;
  border: 1px solid var(--srv-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.srv-roi-choice > span::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 17px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3L17.5 15.5L11.5 16.2L14.4 21L11.8 22.5L8.9 17.7L5 22V3Z' stroke='%23173f35' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.38;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.srv-roi-choice:hover > span,
.srv-roi-choice:focus-within > span {
  border-color: #f1b833;
  background: #fffaf0;
  box-shadow: 0 8px 22px rgba(245, 180, 59, 0.18);
  transform: translateY(-1px);
}

.srv-roi-choice:hover > span::after,
.srv-roi-choice:focus-within > span::after {
  opacity: 0.82;
  transform: translate(1px, 1px);
}

.srv-roi-side-panel {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--srv-line);
  border-radius: 8px;
  background: #f8faf8;
}

.srv-roi-side-panel h3 {
  margin: 0 0 10px;
  color: var(--srv-text);
  font-size: 18px;
}

.srv-roi-side-panel p {
  margin: 0;
  color: var(--srv-muted);
  font-size: 15px;
  line-height: 1.55;
}

.srv-roi-tariff-panel {
  min-height: 0;
  margin-top: 18px;
  background: #fffaf0;
}

.srv-roi-tariff-panel p {
  margin-top: 10px;
}

.srv-roi-choice strong,
.srv-roi-choice small {
  display: block;
}

.srv-roi-choice strong {
  margin-bottom: 8px;
  color: var(--srv-text);
  font-size: 16px;
  line-height: 1.35;
}

.srv-roi-choice small {
  color: var(--srv-muted);
  font-size: 13px;
  line-height: 1.45;
}

.srv-roi-choice input:checked + span {
  border-color: var(--srv-primary);
  background: #f3faf6;
  box-shadow: 0 0 0 2px rgba(23, 63, 53, 0.12);
}

.srv-roi-choice input:checked + span::after {
  opacity: 0.75;
}

.srv-roi-input-panel {
  display: none;
}

.srv-roi-input-panel.is-active {
  display: block;
}

.srv-roi-calculator label {
  display: block;
  margin: 0 0 16px;
}

.srv-roi-calculator label span,
.srv-roi-fieldset legend {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--srv-text);
}

.srv-roi-calculator input[type="text"],
.srv-roi-calculator input[type="number"],
.srv-roi-calculator input[type="email"],
.srv-roi-calculator input[type="tel"],
.srv-roi-calculator textarea,
.srv-roi-calculator select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--srv-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--srv-text);
  font-size: 16px;
  box-sizing: border-box;
}

.srv-roi-calculator textarea {
  min-height: 112px;
  resize: vertical;
}

.srv-roi-calculator select:invalid {
  color: var(--srv-muted);
}

.srv-survey-form {
  max-width: 920px;
}

.srv-survey-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto 18px;
  padding: 22px 24px;
  border: 1px solid #dfe8e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.08);
  box-sizing: border-box;
}

.srv-survey-contact-copy h2 {
  margin: 0 0 8px;
  color: #17212b;
  font-size: 24px;
  line-height: 1.2;
}

.srv-survey-contact-copy p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.55;
}

.srv-survey-contact-copy .srv-survey-contact-note {
  margin-top: 8px;
  color: #173f35;
  font-weight: 800;
}

.srv-survey-contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.srv-survey-contact-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #f0d586;
  border-radius: 6px;
  background: #fff8e3;
  color: #173f35;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.srv-survey-contact-list a:hover,
.srv-survey-contact-list a:focus {
  border-color: #ffc400;
  background: #ffe99c;
  color: #0f1f19;
  transform: translateY(-1px);
}

.srv-survey-section {
  margin: 0 0 28px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--srv-line);
}

.srv-survey-section h2 {
  margin: 0 0 10px;
  color: var(--srv-text);
  font-size: 22px;
  line-height: 1.25;
}

.srv-survey-conditional {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #e3eadf;
  border-radius: 8px;
  background: #f8faf8;
}

.srv-survey-conditional[hidden] {
  display: none;
}

.srv-survey-actions {
  justify-content: flex-end;
}

.srv-roi-fieldset {
  margin: 18px 0;
  padding: 0;
  border: 0;
}

.srv-roi-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.srv-roi-checks label,
.srv-roi-privacy {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  color: var(--srv-muted);
  font-size: 14px;
  line-height: 1.5;
}

.srv-roi-checks input,
.srv-roi-privacy input {
  margin-top: 4px;
}

.srv-roi-privacy span {
  margin: 0;
  font-weight: 400;
  color: var(--srv-muted);
}

.srv-roi-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.srv-roi-actions button {
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.srv-roi-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.srv-roi-primary {
  background: var(--srv-accent);
  color: #17212b;
  box-shadow: 0 8px 18px rgba(245, 180, 59, 0.22);
  transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.srv-roi-primary:hover:not(:disabled),
.srv-roi-primary:focus-visible:not(:disabled) {
  background: var(--srv-accent-hover);
  color: #17212b;
  box-shadow: 0 10px 22px rgba(245, 180, 59, 0.28);
  transform: translateY(-1px);
}

.srv-roi-secondary {
  background: #edf2f4;
  color: var(--srv-text);
}

.srv-roi-message {
  margin-top: 18px;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
}

.srv-roi-message.is-success,
.srv-roi-message.is-error {
  padding: 14px 16px;
  border-radius: 6px;
}

.srv-roi-message.is-success {
  background: #e8f6ee;
  color: #145b35;
}

.srv-roi-message.is-error {
  background: #fdecec;
  color: #9b1c1c;
}

@media (max-width: 680px) {
  .srv-roi-calculator {
    padding: 20px;
  }

  .srv-roi-intro h1 {
    font-size: 28px;
  }

  .srv-roi-progress {
    margin-bottom: 28px;
  }

  .srv-roi-progress small {
    display: none;
  }

  .srv-roi-progress strong {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .srv-roi-progress span::before {
    top: 16px;
  }

  .srv-roi-grid,
  .srv-roi-checks,
  .srv-roi-choice-grid,
  .srv-roi-split {
    grid-template-columns: 1fr;
  }

  .srv-survey-contact-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .srv-survey-contact-list {
    justify-content: stretch;
  }

  .srv-survey-contact-list a {
    width: 100%;
  }

  .srv-roi-actions {
    flex-direction: column-reverse;
  }

  .srv-roi-actions button {
    width: 100%;
  }
}
