.gb-consultation-trigger {
  border: 0;
  cursor: pointer;
}

.gb-consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gb-consultation-modal.is-open {
  display: flex;
}

.gb-consultation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.gb-consultation-modal__dialog {
  position: relative;
  width: min(100%, 600px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  padding: 18px 28px;
  border: 1px solid rgba(227, 32, 40, 0.55);
  border-radius: 18px;
  background: linear-gradient(145deg, #242424, #111111 70%);
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), 0 0 45px rgba(227, 32, 40, 0.12);
}

.gb-consultation-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.gb-consultation-modal__eyebrow {
  margin: 0 0 8px;
  color: #ff3038;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gb-consultation-modal h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.08;
}

.gb-consultation-modal__intro {
  margin: 8px 0 14px;
  color: #bdbdbd;
  font-size: 0.92rem;
  line-height: 1.6;
}

.gb-consultation-form {
  display: grid;
  gap: 8px;
}

.gb-consultation-form label {
  display: grid;
  gap: 7px;
  color: #d6d6d6;
  font-size: 0.78rem;
  font-weight: 700;
}

.gb-consultation-form input,
.gb-consultation-form textarea,
.gb-consultation-form select {
  width: 100%;
  border: 1px solid #3d3d3d;
  border-radius: 10px;
  padding: 9px 12px;
  background: #0c0c0c;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  resize: vertical;
}

.gb-consultation-form input:focus,
.gb-consultation-form textarea:focus,
.gb-consultation-form select:focus {
  border-color: #e32028;
  box-shadow: 0 0 0 3px rgba(227, 32, 40, 0.14);
}

.gb-consultation-form button[type="submit"] {
  min-height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: #e32028;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.gb-consultation-form button[type="submit"]:hover {
  background: #c41c22;
}

body.gb-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .gb-consultation-modal {
    padding: 12px;
  }

  .gb-consultation-modal__dialog {
    padding: 20px 18px 16px;
  }

  .gb-consultation-modal__intro {
    margin-bottom: 18px;
  }
}
