/* Contact enquiry modal — matches MindfulKit green / neutral palette */
.mk-contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 43, 31, 0.45);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mk-contact-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mk-contact-dialog {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 0;
  border: 1px solid #e2e8f0;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.mk-contact-overlay.is-open .mk-contact-dialog {
  transform: translateY(0);
}

.mk-contact-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 0;
}

.mk-contact-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1c2b1f;
  margin: 0;
  line-height: 1.25;
}

.mk-contact-header p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #6a6a6a;
  line-height: 1.5;
}

.mk-contact-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: #f1f5f3;
  color: #545454;
  border-radius: 10px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mk-contact-close:hover {
  background: #e8f0eb;
  color: #2c7652;
}

.mk-contact-form {
  padding: 18px 22px 22px;
}

.mk-contact-field {
  margin-bottom: 14px;
}

.mk-contact-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3d4f41;
  margin-bottom: 6px;
}

.mk-contact-field input,
.mk-contact-field textarea {
  width: 100%;
  padding: 11px 12px;
  font-size: 0.95rem;
  border: 1px solid #dde8df;
  border-radius: 10px;
  font-family: inherit;
  color: #2c3e35;
  background: #fafbf9;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mk-contact-field input:focus,
.mk-contact-field textarea:focus {
  outline: none;
  border-color: #2c7652;
  box-shadow: 0 0 0 3px rgba(44, 118, 82, 0.15);
  background: #fff;
}

.mk-contact-field textarea {
  min-height: 120px;
  resize: vertical;
}

.mk-contact-recaptcha {
  margin: 8px 0 16px;
  min-height: 78px;
}

.mk-contact-recaptcha .mk-recaptcha-msg {
  font-size: 0.85rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 10px 12px;
}

/* reCAPTCHA v3 — no visible widget */
.mk-contact-recaptcha--v3 {
  min-height: 0;
  margin: 4px 0 12px;
}

.mk-recaptcha-v3-note {
  font-size: 0.75rem;
  color: #7a8c7d;
  line-height: 1.5;
  margin: 0;
}

.mk-recaptcha-v3-note a {
  color: #2c7652;
}

.mk-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2c7652;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.mk-contact-submit:hover:not(:disabled) {
  background: #245d42;
}

.mk-contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.mk-contact-feedback {
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.45;
  display: none;
}

.mk-contact-feedback.is-visible {
  display: block;
}

.mk-contact-feedback--ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.mk-contact-feedback--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
