.key-quote {
  background: radial-gradient(ellipse at 82% 20%, #10283a, #071018 65%);
}

.key-quote [hidden] {
  display: none;
}

.key-quote__intro {
  max-width: 700px;
  margin-bottom: 30px;
}

.key-quote__intro h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.key-quote__intro p,
.key-quote__note {
  color: #b6c5d0;
}

.key-quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.key-quote__form,
.key-quote__estimate {
  min-width: 0;
  padding: clamp(20px, 3.4vw, 38px);
  border: 1px solid #294356;
  border-radius: 18px;
  background: #0d1d28;
}

.key-quote__form {
  color-scheme: dark;
}

.key-quote__group,
.key-quote__lost {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.key-quote__group + .key-quote__group,
.key-quote__lost {
  margin-top: 26px;
}

.key-quote__group legend,
.key-quote__lost legend {
  margin-bottom: 14px;
  padding: 0;
  color: #f4f7f8;
  font-weight: 700;
}

.key-quote__step {
  margin-right: 10px;
  color: #74c7ff;
  font-size: .8rem;
  letter-spacing: .08em;
}

.key-quote__fields,
.key-quote__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.key-quote__field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  color: #dce6ed;
  font-size: .875rem;
}

.key-quote__field input,
.key-quote__field select {
  min-height: 46px;
  border-radius: 6px;
  font-size: 1rem;
}

.key-quote__field select:disabled {
  opacity: .65;
}

.key-quote__choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #2d485a;
  border-radius: 6px;
  color: #eef4f8;
  font-size: .875rem;
  cursor: pointer;
}

.key-quote__choice--quantity {
  margin-bottom: 12px;
}

.key-quote__choice input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #27a8ff;
}

.key-quote__choice:has(input:checked) {
  border-color: #5fb8f5;
  background: #122e42;
}

.key-quote :is(input, select, a):focus-visible {
  outline: 2px solid #74c7ff;
  outline-offset: 3px;
}

.key-quote__estimate {
  background: linear-gradient(155deg, #132f43, #0a1822 72%);
  border-color: #386987;
}

.key-quote__summary {
  margin: 13px 0 0;
  color: #b6c5d0;
  font-size: .875rem;
  overflow-wrap: anywhere;
}

.key-quote__result {
  margin: 14px 0 8px;
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  line-height: 1.13;
}

.key-quote__note {
  margin: 0;
  font-size: .95rem;
}

.key-quote__travel {
  margin-top: 10px;
}

.key-quote__actions {
  margin: 22px 0 0;
}

.key-quote__phone {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 0;
  color: #9fd7ff;
  font-weight: 700;
}

@media (max-width: 790px) {
  .key-quote__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .key-quote__fields,
  .key-quote__options {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
}

.key-quote__telegram:not([hidden]) {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.key-quote__telegram .btn:disabled {
  opacity: .65;
}

#kc-telegram-status:empty {
  display: none;
}
