.mca-calc-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 28px 24px;
  box-sizing: border-box;
  background: white;
  border: 1px solid rgb(243, 244, 246);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 20px 0px;
  border-radius: 12px;
}

.mca-calc-title {
  margin: 0 0 28px;
  text-align: center;
  color: #093766;
  font-family: "Prata", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.mca-card {
  margin-bottom: 20px;
  padding: 22px 20px 16px;
  background: #f4f7fc;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  box-sizing: border-box;
}

.mca-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.mca-label,
.mca-value {
  color: #093766;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.mca-value {
  text-align: right;
}

.mca-label-interval {
  margin-bottom: 14px;
}

.mca-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  margin: 0;
  border: none;
  outline: none;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #093766 0%,
    #093766 0%,
    #e8eef5 0%,
    #e8eef5 100%
  );
}

.mca-range::-webkit-slider-runnable-track {
  height: 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
}

.mca-range::-moz-range-track {
  height: 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
}

.mca-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid #093766;
  background: #f4f7fc;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
}

.mca-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #093766;
  background: #f4f7fc;
  box-sizing: border-box;
  cursor: pointer;
}

.mca-minmax {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  color: #6e7785;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.mca-radio-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mca-radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f5b6e;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.mca-radio-item input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #093766;
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
  flex: 0 0 22px;
}

.mca-radio-item input[type="radio"]:checked {
  background: #093766;
}

.mca-result {
  margin-top: 28px;
  text-align: center;
}

.mca-result-title {
  margin-bottom: 10px;
  color: #093766;
  font-family: "Prata", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.mca-result-amount {
  color: #093766;
  font-family: "Prata", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.mca-disclaimer {
  max-width: 560px;
  margin: 18px auto 0;
  text-align: center;
  color: #a7a7a7;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.mca-disclaimer a {
  color: inherit;
  text-decoration: underline;
}

.mca-disclaimer a:hover,
.mca-disclaimer a:focus {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .mca-calc-wrap {
    padding: 24px 16px 20px;
  }

  .mca-calc-title {
    font-size: 28px;
  }

  .mca-label,
  .mca-value,
  .mca-radio-item {
    font-size: 18px;
  }

  .mca-result-title,
  .mca-result-amount {
    font-size: 24px;
  }
}
.mca-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.mca-result-card {
  padding: 20px 16px;
  background: #f4f7fc;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
}

.mca-result-card-title {
  margin-bottom: 10px;
  color: #093766;
  font-family: "Prata", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.mca-result-card-value {
  color: #093766;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}
@media (max-width: 1024px) {
  .elementor-element.elementor-element-0d9f73e,
  .elementor-element.elementor-element-991d0ca,
  .elementor-element.elementor-element-2ac71d8,
  .elementor-element.elementor-element-2ac71d8 .elementor-widget-container,
  .elementor-element.elementor-element-2ac71d8 .elementor-form,
  .elementor-element.elementor-element-2ac71d8 .elementor-form-fields-wrapper,
  .elementor-element.elementor-element-c3d4709 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-element.elementor-element-991d0ca {
    gap: 20px !important;
  }

  .elementor-element.elementor-element-b3803a9 .elementor-heading-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-form-fields-wrapper {
    gap: 14px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field {
    min-height: 56px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field-label {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .elementor-element.elementor-element-2ac71d8
    input[type="file"].elementor-upload-field {
    min-height: auto !important;
    padding: 12px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-button {
    width: 100% !important;
    min-height: 56px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-button-text {
    font-size: 16px !important;
  }

  .elementor-element.elementor-element-c3d4709 p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .elementor-element.elementor-element-0d9f73e,
  .elementor-element.elementor-element-991d0ca,
  .elementor-element.elementor-element-2ac71d8,
  .elementor-element.elementor-element-2ac71d8 .elementor-widget-container,
  .elementor-element.elementor-element-2ac71d8 .elementor-form,
  .elementor-element.elementor-element-2ac71d8 .elementor-form-fields-wrapper,
  .elementor-element.elementor-element-c3d4709 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-element.elementor-element-991d0ca {
    gap: 16px !important;
  }

  .elementor-element.elementor-element-b3803a9 {
    width: 100% !important;
  }

  .elementor-element.elementor-element-b3803a9 .elementor-heading-title {
    font-size: 24px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-form-fields-wrapper {
    gap: 12px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field-group {
    margin-bottom: 0 !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field::placeholder {
    font-size: 15px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field-label {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .elementor-element.elementor-element-2ac71d8
    input[type="file"].elementor-upload-field {
    min-height: auto !important;
    padding: 12px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .elementor-element.elementor-element-2ac71d8 .e-form__buttons {
    margin-top: 4px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-button {
    width: 100% !important;
    min-height: 52px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-button-text {
    font-size: 15px !important;
    line-height: 1 !important;
  }

  .elementor-element.elementor-element-c3d4709 p {
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  .elementor-element.elementor-element-c3d4709 a {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .elementor-element.elementor-element-b3803a9 .elementor-heading-title {
    font-size: 21px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field {
    min-height: 48px !important;
    font-size: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-field::placeholder {
    font-size: 14px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-button {
    min-height: 48px !important;
  }

  .elementor-element.elementor-element-2ac71d8 .elementor-button-text {
    font-size: 14px !important;
  }

  .elementor-element.elementor-element-c3d4709 p {
    font-size: 13px !important;
  }
}
.mca-calc-title {
  margin: 0 auto 28px;
  text-align: center;
  color: #093766;
  font-family: "Prata", serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
  max-width: 100%;
}

@media (max-width: 767px) {
  .mca-calc-title {
    max-width: 18ch;
  }
}
@media (max-width: 767px) {
  .mca-result-grid {
    grid-template-columns: 1fr;
  }
}
