:root {
  --W: #ffffff;
  --BG: #f7f9fc;
  --BR: #dce5ef;
  --SL: rgba(18, 38, 63, 0.08);
  --HD: #0b1f3a;
  --TX: #5e6b7a;
  --P: #0055a5;
  --PL: #eaf3fb;
  --R: #fd0003;
  --RD: #d90003;
}

.hero-calc {
  background: var(--W);
  border: 1.5px solid var(--BR);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 48px var(--SL);
  max-width: 100%;
}

.hc-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}

.hc-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--HD);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.hc-amount span {
  font-size: 22px;
  color: #bbb;
}

.hc-range {
  margin-bottom: 18px;
}

.hc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #ccc;
  font-weight: 600;
  margin-top: 4px;
}

input[type="range"].hc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: var(--BR);
  border-radius: 3px;
  outline: none;
  margin: 10px 0 0;
}

input[type="range"].hc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--P);
  box-shadow: 0 2px 8px rgba(0, 85, 165, 0.35);
  cursor: pointer;
}

input[type="range"].hc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--P);
  box-shadow: 0 2px 8px rgba(0, 85, 165, 0.35);
  cursor: pointer;
}

.hc-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.hc-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 6px;
}

.hc-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--BR);
  border-radius: 8px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--HD);
  background: var(--BG);
  outline: none;
  -webkit-appearance: none;
  transition: all 0.2s;
}

.hc-select:focus {
  border-color: var(--P);
  background: var(--W);
}

.hc-tenure-display {
  font-size: 20px;
  font-weight: 800;
  color: var(--HD);
  margin-bottom: 6px;
}

.hc-output {
  background: var(--PL);
  border: 1.5px solid var(--BR);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.hco-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4px;
}

.hco-amount {
  font-size: 46px;
  font-weight: 900;
  color: var(--P);
  line-height: 1;
  letter-spacing: -0.025em;
}

.hco-sub {
  font-size: 12.5px;
  color: var(--TX);
  margin-top: 4px;
}

.hc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.hcb-item {
  background: var(--BG);
  border: 1px solid var(--BR);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.hcb-l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 3px;
}

.hcb-v {
  font-size: 14px;
  font-weight: 800;
  color: var(--HD);
}

.btn-get-offers {
  width: 100%;
  padding: 15px;
  background: var(--R);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-get-offers:hover {
  background: var(--RD);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(253, 0, 3, 0.3);
  color: #fff;
}

.hc-disc {
  font-size: 10.5px;
  color: #bbb;
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 767px) {
  .hero-calc {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .hc-amount {
    font-size: 34px;
  }

  .hco-amount {
    font-size: 38px;
  }

  .hc-2col {
    grid-template-columns: 1fr;
  }

  .hc-breakdown {
    grid-template-columns: 1fr;
  }
}
