.aigator-contact {
  --ac-ink: #10231b;
  --ac-muted: #637168;
  --ac-green: #176b43;
  --ac-green-dark: #104f32;
  --ac-line: #d8e3dc;
  --ac-soft: #f5f8f5;
  width: min(100%, 820px);
  margin: 0 auto;
  color: var(--ac-ink);
}

.aigator-contact *,
.aigator-contact *::before,
.aigator-contact *::after {
  box-sizing: border-box;
}

.aigator-contact__notice {
  margin-bottom: 22px;
  border: 1px solid;
  border-radius: 14px;
  padding: 14px 17px;
  font-size: 0.94rem;
}

.aigator-contact__notice.is-success {
  border-color: #bcdcc9;
  background: #eff9f2;
  color: #155d3b;
}

.aigator-contact__notice.is-error {
  border-color: #edc8c3;
  background: #fff4f2;
  color: #8f3f36;
}

.aigator-contact__form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  box-shadow: 0 20px 60px rgba(22, 55, 36, 0.08);
}

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

.aigator-contact__field {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ac-ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.aigator-contact__field input,
.aigator-contact__field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #cbd8d0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfdfb;
  color: var(--ac-ink);
  font: inherit;
  font-weight: 400;
  line-height: 1.55;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.aigator-contact__field textarea {
  min-height: 190px;
  resize: vertical;
}

.aigator-contact__field input:focus,
.aigator-contact__field textarea:focus {
  outline: none;
  border-color: #73a98b;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 107, 67, 0.11);
}

.aigator-contact__field small {
  justify-self: end;
  color: var(--ac-muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.aigator-contact__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--ac-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.aigator-contact__consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 3px;
  accent-color: var(--ac-green);
}

.aigator-contact__consent a {
  color: var(--ac-green-dark);
  font-weight: 650;
}

.aigator-contact__verification {
  display: grid;
  gap: 7px;
  min-height: 65px;
}

.aigator-contact__verification p {
  min-height: 1.3em;
  margin: 0;
  color: #8f4b3d;
  font-size: 0.78rem;
}

.aigator-contact__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #edf1ee;
  padding-top: 20px;
}

.aigator-contact__actions button {
  min-width: 160px;
  border: 1px solid var(--ac-green-dark);
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--ac-green-dark);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.aigator-contact__actions button:hover:not(:disabled) {
  background: #0d432a;
  box-shadow: 0 10px 25px rgba(16, 79, 50, 0.18);
  transform: translateY(-1px);
}

.aigator-contact__actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.aigator-contact__actions p {
  max-width: 440px;
  margin: 0;
  color: var(--ac-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: right;
}

.aigator-contact__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .aigator-contact__grid {
    grid-template-columns: 1fr;
  }

  .aigator-contact__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .aigator-contact__actions button {
    width: 100%;
  }

  .aigator-contact__actions p {
    max-width: none;
    text-align: left;
  }
}
