.amac-cf {
  --g: #2E7D32;
  --gd: #1B5E20;
  --bg: #EEF2F0;
  --card: #fff;
  --text: #1F2937;
  --muted: #64748B;
  --border: #E2E8E4;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 12px 12px 28px rgba(163,177,198,.28), -12px -12px 28px rgba(255,255,255,.9);
  box-sizing: border-box;
  width: 100%;
}

.amac-cf *,
.amac-cf *::before,
.amac-cf *::after { box-sizing: border-box; }

.amac-cf__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.amac-cf__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg);
  color: var(--g);
  font-size: 1rem;
}

.amac-cf__sub {
  margin: 0 0 20px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
}

.amac-cf__alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .88rem;
  line-height: 1.5;
}

.amac-cf__alert--ok {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  color: var(--gd);
}

.amac-cf__alert--err {
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: #B71C1C;
}

.amac-cf__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.amac-cf__field { margin-bottom: 14px; }

.amac-cf__field label {
  display: block;
  margin: 0 0 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}

.amac-cf__field .req { color: #C62828; }

.amac-cf__field input,
.amac-cf__field select,
.amac-cf__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  outline: none;
}

.amac-cf__field textarea { min-height: 130px; resize: vertical; }

.amac-cf__field input:focus,
.amac-cf__field select:focus,
.amac-cf__field textarea:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
  background: #fff;
}

.amac-cf__hint {
  margin: 6px 0 0;
  font-size: .75rem;
  color: var(--muted);
}

.amac-cf__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: var(--g);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  transition: background .2s;
}

.amac-cf__submit:hover { background: var(--gd); }
.amac-cf__submit:disabled { opacity: .65; cursor: not-allowed; }

.amac-cf__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

@media (max-width: 640px) {
  .amac-cf { padding: 22px 16px; }
  .amac-cf__row { grid-template-columns: 1fr; }
}
