/* ========== CALCULATOR ========== */
.calc {
  padding: 110px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.calc-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.calc-inputs {
  padding: 36px;
  border-right: 1px solid var(--line);
}
.cb { margin-bottom: 22px; }
.cb:last-child { margin-bottom: 0; }
.cb label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}
.pill:hover { border-color: var(--line-strong); color: var(--ink); }
.pill:active { transform: scale(0.97); }
.pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.price {
  font-size: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.price small { font-size: 18px; opacity: 0.5; font-weight: 500; }
.slider-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--ink) 0%, var(--ink) var(--fill, 8%),
    var(--line) var(--fill, 8%), var(--line) 100%);
  outline: none;
  margin: 4px 0 14px;
  cursor: pointer;
  transition: background 0.05s linear;
}
.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 12px rgba(255,255,255,0.4);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.slider-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 12px rgba(255,255,255,0.4);
  cursor: pointer;
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.calc-result { padding: 36px; }
.cr-h {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cr-rows li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.cr-rows li b {
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cr-rows li.cr-sub {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 0 4px;
  border: 0;
  display: block;
}
.cr-rows li.cr-l { padding-left: 12px; }
.cr-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 22px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.cr-total-l { font-size: 14px; color: var(--ink-2); }
.cr-total-v {
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cr-total-v small { font-size: 18px; opacity: 0.5; font-weight: 500; }
.cr-vat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 14px;
}
.cr-vat span { font-size: 13px; color: var(--ink-2); }
.cr-vat b {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cr-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 14px 0 22px;
  line-height: 1.5;
}

