.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--yellow);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 210, 0, 0.4);
  cursor: pointer;
}

.linkbtn:hover {
  border-bottom-color: var(--yellow);
}

.btn--grow {
  flex: 1 1 auto;
}

.header__login {
  flex: none;
}

.hero-form__enter {
  margin: 14px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

body.is-locked {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 26px 18px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 22, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  padding: 30px 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: linear-gradient(180deg, #16224a, #0c1330);
  color: #fff;
  box-shadow: 0 50px 100px -40px rgba(2, 6, 20, 0.95);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 210, 0, 0.4) transparent;
}

.modal__card::-webkit-scrollbar {
  width: 7px;
}

.modal__card::-webkit-scrollbar-thumb {
  border-radius: 7px;
  background: rgba(255, 210, 0, 0.32);
}

.modal.is-open .modal__card {
  opacity: 1;
  transform: none;
}

.modal__card--wide {
  max-width: 620px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(6, 11, 28, 0.6);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  border-color: rgba(255, 210, 0, 0.5);
  color: var(--yellow);
}

.modal__close svg {
  width: 17px;
  height: 17px;
}

.modal__title {
  margin: 0 0 8px;
  padding-right: 44px;
  font-size: clamp(21px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
}

.modal__lead {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13.5px;
  line-height: 1.5;
}

.modal__note {
  margin: 12px 0 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.modal__note--error {
  color: #ff8378;
}

.modal__note:empty {
  margin: 0;
}

.modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.modal__tip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 210, 0, 0.22);
  border-radius: 12px;
  background: rgba(255, 210, 0, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  line-height: 1.4;
}

.modal__tip svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--yellow);
}

.modal__foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
}

.steps {
  display: flex;
  gap: 8px;
  margin: 4px 0 24px;
  padding: 0 44px 0 0;
  list-style: none;
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  padding-top: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.steps__item i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 11px;
  font-style: normal;
}

.steps__item.is-done {
  border-top-color: rgba(255, 210, 0, 0.55);
  color: rgba(255, 255, 255, 0.62);
}

.steps__item.is-done i {
  background: rgba(255, 210, 0, 0.25);
  color: var(--yellow);
}

.steps__item.is-active {
  border-top-color: var(--yellow);
  color: #fff;
}

.steps__item.is-active i {
  background: var(--yellow);
  color: var(--navy);
}

.who {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(6, 11, 28, 0.5);
  font-size: 13.5px;
}

.who__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}

.who__row b {
  font-weight: 800;
}

.who__row span {
  color: rgba(255, 255, 255, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
}

.field__eye {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color 0.2s ease;
}

.field__eye:hover,
.field__eye.is-on {
  color: var(--yellow);
}

.field__eye svg {
  width: 18px;
  height: 18px;
}

.combo {
  position: relative;
}

.combo .field__input {
  padding-right: 42px;
  text-overflow: ellipsis;
}

.combo__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  max-height: 232px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #0d152f;
  box-shadow: 0 26px 50px -24px rgba(2, 6, 20, 0.9);
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 210, 0, 0.4) transparent;
}

.combo__list::-webkit-scrollbar {
  width: 6px;
}

.combo__list::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(255, 210, 0, 0.32);
}

.combo__item {
  padding: 9px 11px;
  border-radius: 9px;
  cursor: pointer;
}

.combo__item b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.combo__item span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.35;
}

.combo__item:hover,
.combo__item.is-active {
  background: rgba(255, 210, 0, 0.14);
}

.combo__spin {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid rgba(255, 210, 0, 0.25);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: comboSpin 0.7s linear infinite;
}

@keyframes comboSpin {
  to {
    transform: rotate(360deg);
  }
}

.address {
  margin: 0 0 18px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(6, 11, 28, 0.38);
}

.address__legend {
  padding: 0 8px;
  margin-left: -4px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

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

.address .field {
  margin-bottom: 0;
}

.field__hint {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11.5px;
  font-weight: 600;
}

.gmap {
  margin-top: 16px;
}

.gmap__frame {
  position: relative;
  height: 224px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #060c1e;
}

.gmap__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.86) contrast(1.02);
}

.gmap__hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 26px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  text-align: center;
}

.gmap__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.gmap__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 210, 0, 0.34);
  border-radius: 10px;
  background: rgba(255, 210, 0, 0.07);
  color: var(--yellow);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gmap__btn:hover {
  background: rgba(255, 210, 0, 0.16);
}

.gmap__btn.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.gmap__btn svg {
  width: 16px;
  height: 16px;
}

.gmap__link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.28);
}

.gmap__link:hover {
  color: var(--yellow);
  border-bottom-color: rgba(255, 210, 0, 0.5);
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(6, 11, 28, 0.5);
}

.tabs__btn {
  flex: 1 1 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tabs__btn:hover {
  color: #fff;
}

.tabs__btn.is-active {
  background: var(--yellow);
  color: var(--navy);
}

.done {
  text-align: center;
}

.done__mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: rgba(255, 210, 0, 0.14);
  color: var(--yellow);
}

.done__mark svg {
  width: 30px;
  height: 30px;
}

.done .modal__lead {
  margin-bottom: 20px;
}

.talon {
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 210, 0, 0.3);
  border-radius: 16px;
  background: rgba(255, 210, 0, 0.06);
}

.talon__label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.talon__code {
  display: block;
  margin: 8px 0 6px;
  color: var(--yellow);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: 1px;
}

.talon__meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
}

@media (max-width: 1000px) {
  .header__login {
    display: none;
  }
  .header.is-open .header__login {
    order: 4;
    display: inline-flex;
    flex: 1 1 100%;
    margin-top: 12px;
  }
  .header.is-open .header__cta {
    order: 5;
    margin-top: 10px;
  }
}

@media (max-width: 760px) {
  .modal {
    padding: 14px 12px;
  }
  .modal__card {
    max-height: calc(100vh - 28px);
    padding: 24px 20px 22px;
    border-radius: 18px;
  }
  .modal__close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }
  .steps {
    gap: 6px;
    padding-right: 38px;
  }
  .steps__item span {
    display: none;
  }
  .steps__item {
    gap: 0;
    justify-content: center;
    padding-top: 10px;
  }
  .modal__actions {
    flex-direction: column-reverse;
  }
  .modal__actions .btn {
    width: 100%;
  }
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .address {
    padding: 14px 13px 16px;
    border-radius: 14px;
  }
  .address__grid {
    gap: 12px;
  }
  .address__city,
  .address__street {
    grid-column: span 2;
  }
  .gmap__frame {
    height: 190px;
  }
  .gmap__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .gmap__btn {
    width: 100%;
    justify-content: center;
  }
}
