/* Contact — aligned copy + form card. */
.ajhive-site .contact-orbit,
.ajhive-site .orbit-a,
.ajhive-site .orbit-b,
.ajhive-site .domain-link,
.ajhive-site .domain-link[hidden],
.ajhive-site .contact-field .hint,
.ajhive-site .contact-field .hint[hidden] { display: none !important; }

.ajhive-site .contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  grid-template-rows: auto;
  align-items: start;
  align-content: start;
  gap: 28px 48px;
  padding-block: 40px;
  text-align: left;
  min-height: 0;
}

.ajhive-site .contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  padding-top: 6px;
}

.ajhive-site .contact .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: none;
}
.ajhive-site .contact .kicker::before {
  width: 22px;
  height: 2px;
  content: "";
  background: var(--gold);
  border-radius: 99px;
}

.ajhive-site .contact h2 {
  max-width: 14ch;
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-align: left;
}
.ajhive-site .contact h2 br { display: none; }
.ajhive-site .contact h2 em {
  display: block;
  margin-top: 0.18em;
  color: var(--sky);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.ajhive-site .contact-copy > p:not(.kicker),
.ajhive-site .contact-content > p:not(.kicker) {
  max-width: 36ch;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}

.ajhive-site .contact-channels {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(100%, 320px);
}
.ajhive-site .contact-channel {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  color: #eef4fb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 214, 255, 0.16);
  border-radius: 12px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.ajhive-site .contact-channel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(228, 165, 0, 0.45);
}
.ajhive-site .contact-channel:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.ajhive-site .contact-channel-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--navy-950);
  background: var(--gold);
  border-radius: 10px;
}
.ajhive-site .contact-channel small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.ajhive-site .contact-channel strong {
  display: block;
  margin-top: 1px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.ajhive-site .contact-form {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: 100%;
  margin-top: 0;
  padding: 20px;
  display: grid;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 214, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.ajhive-site .contact-form-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ajhive-site .contact-form-row:has(#contact-phone),
.ajhive-site .contact-form-row:has(#contact-company),
.ajhive-site .contact-form-row:has(input[name="phone"]),
.ajhive-site .contact-form-row:has(input[name="company"]) { display: none; }

.ajhive-site .contact-field { gap: 5px; }
.ajhive-site .contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: #eef4fb;
}

.ajhive-site .contact .contact-form .contact-field input,
.ajhive-site .contact .contact-form .contact-field textarea {
  min-height: 44px;
  max-height: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  background: #f4f8fc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.ajhive-site .contact .contact-form .contact-field textarea {
  min-height: 72px;
  max-height: 120px;
  resize: vertical;
}
.ajhive-site .contact .contact-form .contact-field input:focus,
.ajhive-site .contact .contact-form .contact-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.ajhive-site .contact-form .button {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  cursor: pointer;
}
.ajhive-site .contact-form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 900px) {
  .ajhive-site .contact-content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 28px;
  }
  .ajhive-site .contact-copy,
  .ajhive-site .contact-form {
    grid-column: auto;
    grid-row: auto;
  }
  .ajhive-site .contact h2 { max-width: 16ch; font-size: clamp(26px, 5.5vw, 34px); }
}

@media (max-width: 767px) {
  .ajhive-site .contact-content { padding-block: 1.35rem; gap: 14px; }
  .ajhive-site .contact h2 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .ajhive-site .contact-copy > p:not(.kicker) { font-size: 16px; }
  .ajhive-site .contact-form { padding: 16px; gap: 10px; border-radius: 16px; }
  .ajhive-site .contact-channels { width: 100%; }
  .ajhive-site .contact-form-row { grid-template-columns: 1fr; gap: 10px; }
  .ajhive-site .contact-form .button { width: 100%; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ajhive-site .contact-form .button,
  .ajhive-site .contact-channel { transition: none; }
}
