.ft-calc-page {
  --green: #019901;
  --green-dark: #046502;
  --green-soft: #e6f9e3;
  --green-bright: #01ad01;
  --text: #0d0d0d;
  --text-muted: #666666;
  --border: #e5e5e5;
  margin: 10px auto 40px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--text);
}

.ft-calc-page .prices-table-wrap {
  width: 100%;
  margin: 0 0 28px;
  overflow-x: auto;
}

.ft-calc-page .prices-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 1px 0;
  min-width: 520px;
}

.ft-calc-page .prices-table thead th,
.ft-calc-page .prices-table tbody td {
  width: 50%;
}

.ft-calc-page .prices-table thead th {
  background: var(--green);
  color: #fff;
  text-align: left;
  padding: 17px 13px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 0;
}

.ft-calc-page .prices-table thead th:last-child {
  text-align: center;
}

.ft-calc-page .prices-table tbody td {
  padding: 16px 11px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.ft-calc-page .prices-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.ft-calc-page .prices-table tbody tr:nth-child(even) td {
  background: #f5f5f5;
}

.ft-calc-page .prices-table tbody td:last-child {
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}

.ft-calc-page .prices__note {
  margin: 18px 0 36px;
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
}

.ft-calc-page .section-title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.ft-calc-page .section-lead {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 16px;
}

.ft-calc-page .calc {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08);
  background: #fff;
}

.ft-calc-page .calc__tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  border-bottom: 1px solid var(--border);
}

.ft-calc-page .calc__tab {
  padding: 16px 23px;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
}

.ft-calc-page .calc__tab.is-active {
  color: var(--green-bright);
  border-bottom-color: var(--green-bright);
}

.ft-calc-page .calc__box {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
  background: #fff;
  padding: 28px 24px 24px;
}

.ft-calc-page .calc__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  align-content: start;
}

.ft-calc-page .field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}

.ft-calc-page .field input,
.ft-calc-page .field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0 13px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}

.ft-calc-page .field__hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.ft-calc-page .calc__checks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.ft-calc-page .calc__checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

.ft-calc-page .calc__result {
  background: var(--green-soft);
  border-radius: 8px;
  padding: 24px;
}

.ft-calc-page .calc__result-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ft-calc-page .calc__total {
  font-size: 38px;
  font-weight: 800;
  color: var(--green-bright);
  margin-bottom: 16px;
  line-height: 1.1;
}

.ft-calc-page .calc__breakdown {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
}

.ft-calc-page .calc__breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.15);
}

.ft-calc-page .calc__disclaimer {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.ft-calc-page button.btn--wide {
  width: 100%;
  background: linear-gradient(90deg, #01a001 0%, #056903 100%);
  border: 0;
  border-radius: 6px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.ft-calc-page button.btn--wide:hover {
  background: linear-gradient(90deg, #019001 0%, #045802 100%);
  color: #fff;
}

@media (max-width: 1100px) {
  .ft-calc-page .calc__box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ft-calc-page .calc__fields {
    grid-template-columns: 1fr;
  }

  .ft-calc-page .calc__box {
    padding: 22px 16px 18px;
  }

  .ft-calc-page .section-title {
    font-size: 26px;
  }

  .ft-calc-page .prices-table {
    min-width: 0;
  }

  .ft-calc-page .prices-table thead th,
  .ft-calc-page .prices-table tbody td {
    padding: 13px 12px;
    font-size: 13px;
  }
}

.ft-calc-page .calc-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #e8e8e8;
  color: #454545;
  font-size: 15px;
  line-height: 1.65;
}

.ft-calc-page .calc-block p {
  margin: 0 0 14px;
}

.ft-calc-page .calc-block ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.ft-calc-page .calc-block li {
  margin-bottom: 8px;
}

.ft-calc-page .calc-block li p {
  margin: 0;
}
