.spark-calc {
  margin: 0 auto 70px;
  width: min(1160px, calc(100vw - 24px));
  max-width: 1160px;
  color: #14213d;
  overflow-x: hidden;
}

.nav__list .nav__item_color > a,
.nav__list .nav__item_color > a:visited,
.nav__list .nav__item_color > a:hover,
.nav__list .nav__item_color > a:focus,
.footer__list .nav__item_color > a,
.footer__list .nav__item_color > a:visited,
.footer__list .nav__item_color > a:hover,
.footer__list .nav__item_color > a:focus {
  color: #FF8616 !important;
}

.service.head__other .text_contant h1 {
  max-width: calc(100vw - 24px);
  margin-left: auto;
  margin-right: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

.spark-calc * {
  box-sizing: border-box;
}

.spark-calc__intro {
  width: min(820px, calc(100vw - 24px));
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
  color: #526070;
  font-size: 16px;
  line-height: 1.55;
}

.spark-calc__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: start;
}

.spark-calc__panel {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 33, 61, 0.08);
}

.spark-calc__form {
  padding: 28px;
}

.spark-calc__section + .spark-calc__section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #edf1f5;
}

.spark-calc__section-title {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.25;
  color: #111827;
}

.spark-calc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.spark-calc__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.spark-calc__field--full {
  grid-column: 1 / -1;
}

.spark-calc__label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #28364a;
}

.spark-calc select,
.spark-calc input,
.spark-calc textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
}

.spark-calc textarea {
  min-height: 104px;
  resize: vertical;
}

.spark-calc select:focus,
.spark-calc input:focus,
.spark-calc textarea:focus {
  outline: 2px solid rgba(25, 96, 185, 0.18);
  border-color: #1960b9;
}

.spark-calc__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spark-calc__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.spark-calc__check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.spark-calc__check-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.spark-calc__check-title {
  font-weight: 700;
  line-height: 1.25;
}

.spark-calc__sku {
  color: #526070;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.spark-calc__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f0fb;
  color: #1960b9;
  font-size: 12px;
  font-weight: 800;
  cursor: help;
}

.spark-calc__summary {
  position: sticky;
  top: 18px;
  padding: 24px;
}

.spark-calc__summary-title {
  margin: 0 0 16px;
  font-size: 21px;
  color: #111827;
}

.spark-calc__summary-block + .spark-calc__summary-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf1f5;
}

.spark-calc__summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spark-calc__summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid #f2f5f8;
  color: #526070;
}

.spark-calc__summary-list strong {
  color: #111827;
  text-align: right;
}

.spark-calc__equipment {
  margin: 0;
  padding-left: 18px;
  color: #28364a;
}

.spark-calc__equipment li + li {
  margin-top: 8px;
}

.spark-calc__note {
  margin: 16px 0 0;
  color: #526070;
  line-height: 1.5;
}

.spark-calc__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.spark-calc__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  background: #1960b9;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.spark-calc__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.spark-calc__status {
  min-height: 22px;
  color: #526070;
  line-height: 1.4;
}

.spark-calc__status--ok {
  color: #1b6f2a;
}

.spark-calc__status--error {
  color: #a00;
}

.spark-calc__hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .spark-calc__layout,
  .spark-calc__grid,
  .spark-calc__options {
    grid-template-columns: 1fr;
  }

  .spark-calc__summary {
    position: static;
  }
}

@media (max-width: 575px) {
  .service.head__other > .container {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    overflow-x: hidden;
  }

  .service.head__other .text_contant h1 {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 28px;
    line-height: 1.25;
  }

  .spark-calc {
    margin-bottom: 48px;
    max-width: 100%;
  }

  .spark-calc__form,
  .spark-calc__summary {
    padding: 20px;
  }

  .spark-calc__section-title {
    font-size: 20px;
  }

  .spark-calc__summary-list li {
    display: block;
  }

  .spark-calc__summary-list strong {
    display: block;
    margin-top: 3px;
    text-align: left;
  }
}
