.gg-contact {
  color: rgba(255, 255, 255, 0.82);
}

.gg-contact__wrap {
  position: relative;
  padding: 72px 0 90px;
  overflow: hidden;
}

.gg-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      900px 360px at 18% 18%,
      rgba(39, 244, 255, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 360px at 78% 16%,
      rgba(255, 122, 24, 0.11),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(7, 11, 31, 0.92), rgba(5, 8, 22, 0.98));
}

.gg-contact__container {
  position: relative;
  z-index: 1;
  max-width: min(1050px, calc(100vw - 80px));
  margin: 0 auto;
}

.gg-contact__header {
  margin-bottom: 22px;
}

.gg-contact__title {
  margin: 0 0 14px;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 64px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 18px rgba(255, 122, 24, 0.18),
    0 0 26px rgba(39, 244, 255, 0.1);
}

.gg-contact__lead {
  margin: 0;
  max-width: 80ch;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.gg-contact__panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 22px 22px 24px;
}

.gg-contact__notice {
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 22, 0.45);
}

.gg-contact__notice--success {
  border-color: rgba(39, 244, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(39, 244, 255, 0.08);
}

.gg-contact__notice--error {
  border-color: rgba(255, 122, 24, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.1);
}

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

.gg-contact__field {
  min-width: 0;
}

.gg-contact__field--full {
  grid-column: 1 / -1;
}

.gg-contact__field label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

.gg-contact__field input,
.gg-contact__field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 22, 0.45);
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gg-contact__field textarea {
  resize: vertical;
  min-height: 140px;
}

.gg-contact__field input:focus,
.gg-contact__field textarea:focus {
  border-color: rgba(255, 122, 24, 0.28);
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.1);
}

.gg-contact__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  justify-content: center; /* center the button */
}

.gg-contact__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.gg-contact__hp {
  position: absolute;
  left: -99999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gg-contact__match-msg {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 122, 24, 0.92);
}

.gg-contact__input--bad {
  border-color: rgba(255, 122, 24, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.12) !important;
}

.gg-contact__input--good {
  border-color: rgba(39, 244, 255, 0.3) !important;
  box-shadow: 0 0 0 3px rgba(39, 244, 255, 0.1) !important;
}

.gg-contact__lead + .gg-contact__lead {
  margin-top: 12px; /* space between the two */
}

/* =========================================================
   Contact Us – SVG submit button
   ========================================================= */

.gg-contact__submit-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.gg-contact__submit-btn:focus-visible {
  outline: none;
}

/* SVG image swap */
.gg-contact__submit-img {
  display: block;
  width: 240px; /* adjust to your SVG */
  height: 64px;

  background-image: url("../img/send-message-default.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  transition: transform 160ms ease, filter 160ms ease;
}

/* Hover ONLY when enabled */
.gg-contact__submit-btn:not([disabled]):hover .gg-contact__submit-img,
.gg-contact__submit-btn:not([disabled]):focus-visible .gg-contact__submit-img {
  background-image: url("../img/send-message-hover.svg");
  transform: translateY(-1px);
}

/* Disabled state (from email mismatch validation) */
.gg-contact__submit-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.gg-contact__submit-btn[disabled] .gg-contact__submit-img {
  filter: grayscale(0.4);
  transform: none;
}

.gg-contact__sending {
  text-align: center;
  padding: 64px 32px;

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 8, 22, 0.35);
}

.gg-contact__sending-title {
  margin: 0 0 10px;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.gg-contact__sending-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .gg-contact__container {
    max-width: calc(100vw - 48px);
  }
  .gg-contact__grid {
    grid-template-columns: 1fr;
  }
  .gg-contact__wrap {
    padding: 56px 0 70px;
  }
  .gg-contact__actions {
    flex-direction: column;
    align-items: stretch;
    align-items: center;
  }
}
