.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button--secondary {
  color: #e9f8ff;
  cursor: pointer;
  background: linear-gradient(145deg, #0c223de8, #071521f2);
  border-color: #11d7ff80;
  box-shadow: 0 12px 30px #0008, inset 0 1px #ffffff10;
  font-family: inherit;
}

.button--secondary:hover {
  border-color: var(--cyan);
  box-shadow: 0 16px 38px #087cff33, 0 0 24px #11d7ff1f;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  color: var(--white);
  background: #06111c;
  border: 1px solid #11d7ff70;
  border-radius: 18px;
  overflow: auto;
  box-shadow: 0 42px 130px #000d, 0 0 70px #087cff2b;
}

.contact-dialog::backdrop {
  background: #01050bd9;
  backdrop-filter: blur(8px);
}

.contact-dialog[open] {
  animation: contact-dialog-in .2s ease-out;
}

.contact-dialog__shell {
  position: relative;
  padding: 42px;
  background:
    radial-gradient(circle at 92% 5%, #087cff38, transparent 36%),
    linear-gradient(145deg, #0c223df7, #06111cfc 72%);
}

.contact-dialog__shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 6%;
  left: 6%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  box-shadow: 0 0 24px #11d7ff94;
}

.contact-dialog__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #dff6ff;
  cursor: pointer;
  background: #071522d9;
  border: 1px solid #11d7ff52;
  border-radius: 50%;
  font: 400 28px/1 Roboto, Arial, sans-serif;
  transition: border-color .18s, background .18s, transform .18s;
}

.contact-dialog__close:hover {
  background: #0b2944;
  border-color: var(--cyan);
  transform: rotate(3deg);
}

.contact-dialog__intro {
  max-width: 610px;
  padding-right: 46px;
}

.contact-dialog__intro .eyebrow {
  margin-bottom: 14px;
}

.contact-dialog__intro h2 {
  margin: 0;
  letter-spacing: -.045em;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
}

.contact-dialog__intro > p:last-child {
  max-width: 580px;
  margin: 20px 0 0;
  color: #a9bed1;
  font-size: 17px;
  line-height: 1.6;
}

.contact-form {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

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

.contact-field {
  display: grid;
  gap: 9px;
}

.contact-field--wide {
  grid-column: 1 / -1;
}

.contact-field > span {
  color: #e8f4ff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}

.contact-field input,
.contact-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: #f7fbff;
  background: #030b13d9;
  border: 1px solid #8eb9e436;
  border-radius: 8px;
  outline: none;
  font: 500 15px/1.2 Roboto, Arial, sans-serif;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.contact-field input::placeholder {
  color: #688096;
}

.contact-field select {
  cursor: pointer;
}

.contact-field select option {
  color: #f7fbff;
  background: #08111c;
}

.contact-field input:focus,
.contact-field select:focus {
  background: #061522;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px #11d7ff17, 0 0 28px #087cff1c;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.contact-form__status {
  flex: 1;
  min-height: 22px;
  margin: 0;
  color: #a9bed1;
  font-size: 13px;
  line-height: 1.45;
}

.contact-form__status.is-success {
  color: var(--cyan);
  font-weight: 800;
}

.contact-form__status.is-error {
  color: #ff9eaa;
  font-weight: 800;
}

.contact-form__submit {
  flex: 0 0 auto;
  min-width: 178px;
  cursor: pointer;
  font-family: inherit;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (width <= 760px) {
  .site-header__actions {
    gap: 8px;
  }

  .site-header__actions .button--small {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .contact-dialog__shell {
    padding: 34px 24px 28px;
  }

  .contact-dialog__close {
    top: 14px;
    right: 14px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-field--wide {
    grid-column: auto;
  }
}

@media (width <= 520px) {
  .site-header__actions .reserve-button {
    display: none;
  }

  .contact-dialog__intro {
    padding-right: 32px;
  }

  .contact-dialog__intro h2 {
    font-size: 36px;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open] {
    animation: none;
  }
}
