.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  font-family: Arial, Helvetica, sans-serif;
}

.floating-contact__toggle {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #ff5b12;
  color: #fff;
  cursor: pointer;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: 19px;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.floating-contact__panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(380px, calc(100vw - 36px));
  max-height: min(760px, calc(100vh - 104px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #10171b;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.floating-contact[aria-expanded="false"] .floating-contact__panel {
  display: none;
}

.floating-contact__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.floating-contact__header h2 {
  margin: 0 0 4px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.floating-contact__header p {
  margin: 0;
  color: #c9d0d3;
  font-size: 14px;
  line-height: 1.35;
}

.floating-contact__close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.floating-contact__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.floating-contact__quick a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.floating-contact form {
  display: grid;
  gap: 8px;
}

.floating-contact label {
  display: grid;
  gap: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-contact input,
.floating-contact select,
.floating-contact textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: 14px Arial, Helvetica, sans-serif;
  padding: 9px 10px;
}

.floating-contact textarea {
  min-height: 70px;
  resize: vertical;
}

.floating-contact button[type="submit"] {
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  background: #ff5b12;
  color: #fff;
  cursor: pointer;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.floating-contact__hint {
  margin: 4px 0 0;
  color: #aeb8bd;
  font-size: 12px;
  line-height: 1.35;
}

.hidden-field {
  display: none;
}

@media (max-width: 620px) {
  .floating-contact {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .floating-contact__toggle {
    width: 100%;
  }

  .floating-contact__panel {
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100vh - 92px);
  }
}
