.tec {
  --tec-blue: #196c91;
  --tec-blue-dark: #135a79;
  --tec-ink: #272727;
  --tec-muted: #6d6d6d;
  --tec-soft: #f1f1f1;
  --tec-panel: #e5e5e5;
  --tec-line: #cfcfcf;
  max-width: 980px;
  margin: 32px auto;
  color: var(--tec-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.tec * { box-sizing: border-box; }
.tec__head { padding: 30px 34px 26px; border-top: 6px solid var(--tec-blue); background: #fff; text-align: center; }
.tec__head h2 { margin: 8px auto 12px; max-width: 790px; color: var(--tec-ink); font-size: clamp(25px, 3.5vw, 38px); font-weight: 700; line-height: 1.16; text-transform: uppercase; }
.tec__head > p:last-child { margin: 0; color: var(--tec-muted); }
.tec__eyebrow { margin: 0; color: var(--tec-blue); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.tec__form, .tec__result { padding: 32px; border: 1px solid var(--tec-line); background: #fff; }
.tec__fieldset { margin: 0 0 30px; padding: 0; border: 0; }
.tec__fieldset legend { margin-bottom: 15px; font-size: 19px; font-weight: 700; text-transform: uppercase; }
.tec__cards { display: grid; gap: 10px; }
.tec__cards--three { grid-template-columns: repeat(3, 1fr); }
.tec__choice { position: relative; }
.tec__choice input { position: absolute; opacity: 0; }
.tec__choice span { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px; border: 2px solid var(--tec-blue); background: #fff; color: var(--tec-blue); text-align: center; font-weight: 700; cursor: pointer; transition: .15s; }
.tec__choice input:checked + span { background: var(--tec-blue); color: #fff; }
.tec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tec__field { display: flex; flex-direction: column; gap: 7px; color: var(--tec-ink); font-weight: 700; }
.tec__field small { color: var(--tec-muted); font-weight: 400; }
.tec input, .tec select { width: 100%; height: 50px; padding: 0 13px; border: 1px solid #c8c8c8; border-radius: 0; background: #fff; color: var(--tec-ink); font: inherit; }
.tec input:focus, .tec select:focus { outline: 2px solid rgba(25,108,145,.18); border-color: var(--tec-blue); }
.tec__hint { margin: 12px 0 0; color: var(--tec-muted); font-size: 13px; }
.tec__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.tec__check input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--tec-blue); }
.tec__submit { width: 100%; min-height: 54px; border: 0; border-radius: 0; background: var(--tec-blue); color: #fff; font: inherit; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.tec__submit:hover { background: var(--tec-blue-dark); }
.tec__error { margin-bottom: 12px; padding: 10px; background: #fff0ef; color: #a42c26; }
.tec__result { margin-top: 24px; border-top: 6px solid var(--tec-blue); }
.tec__result-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.tec__result-head h3 { margin: 4px 0 0; font-size: 30px; text-transform: uppercase; }
.tec__reset { border: 0; background: none; color: var(--tec-blue); font: inherit; font-weight: 700; cursor: pointer; }
.tec__result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tec__result-card { padding: 22px; border: 1px solid var(--tec-line); background: var(--tec-soft); }
.tec__result-card h4 { margin: 0 0 15px; font-size: 21px; text-transform: uppercase; }
.tec__row, .tec__total, .tec__net { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--tec-line); }
.tec__row span, .tec__row strong { display: flex; flex-direction: column; }
.tec__row strong { text-align: right; }
.tec__row small { margin-top: 3px; color: var(--tec-muted); font-size: 11px; font-weight: 400; }
.tec__total { margin-top: 7px; font-weight: 700; }
.tec__net { color: var(--tec-blue); font-size: 17px; font-weight: 700; }
.tec__notice { margin-top: 20px; padding: 18px 22px; border-left: 4px solid var(--tec-blue); background: var(--tec-panel); }
.tec__notice h4 { margin: 0 0 8px; text-transform: uppercase; }
.tec__notice ul { margin: 0; padding-left: 18px; }
.tec__notice li + li { margin-top: 6px; }
.tec__contact { margin-top: 20px; padding: 24px; background: #333; color: #fff; }
.tec__contact h4 { margin: 0 0 5px; color: #fff; font-size: 21px; text-transform: uppercase; }
.tec__contact p { margin: 0 0 16px; color: #e7e7e7; }
.tec__contact-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.tec__contact-actions a { display: inline-flex; min-height: 43px; align-items: center; padding: 9px 14px; border: 2px solid var(--tec-blue); border-radius: 0; color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; }
.tec__contact-actions a:first-child { background: var(--tec-blue); }
.tec__legal { margin: 18px 0 0; color: var(--tec-muted); font-size: 12px; line-height: 1.55; }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .tec { margin: 18px 0; }
  .tec__head, .tec__form, .tec__result { padding: 22px; }
  .tec__head { border-top-width: 5px; }
  .tec__head h2 { font-size: 24px; }
  .tec__cards--three, .tec__grid, .tec__result-grid { grid-template-columns: 1fr; }
  .tec__result-head { align-items: flex-start; }
  .tec__contact-actions { flex-direction: column; }
  .tec__contact-actions a { justify-content: center; }
}
