/**
 * Muncly Forms v2.0 — Form styling
 *
 * Follows the Muncly Design System:
 *   - Dark-first (all forms on dark backgrounds)
 *   - Uses var(--mn-*) CSS tokens from the theme
 *   - DM Sans for all form elements, Playfair Display for headings
 *   - Orange accent for CTAs and focus states
 *   - Glass card surfaces
 *
 * Naming: mn-form-{element} / mn-form-{element}--{modifier}
 */

/* ====================================================================
 * Honeypot — invisible to humans
 * ==================================================================== */

.mn-form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ====================================================================
 * Modal overlay
 * ==================================================================== */

.mn-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.mn-form-overlay--active {
  opacity: 1;
  pointer-events: auto;
}

.mn-form-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 38, 31, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mn-form-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px;
  padding: 40px 36px;
  border-radius: var(--mn-radius-xl, 16px);

  /* Liquid Glass surface */
  background:
    linear-gradient(170deg,
      rgba(222,213,190,.08) 0%,
      rgba(222,213,190,.03) 30%,
      transparent 55%
    ),
    linear-gradient(145deg,
      rgba(47,90,72,.95) 0%,
      rgba(36,62,53,.92) 55%,
      rgba(28,51,41,.90) 100%
    );
  border: 1px solid rgba(222,213,190,.14);
  border-top-color: rgba(222,213,190,.26);
  border-left-color: rgba(222,213,190,.20);
  box-shadow:
    inset 0 1px 0 0 rgba(222,213,190,.10),
    inset 1px 0 0 0 rgba(222,213,190,.05),
    0 32px 80px rgba(0,0,0,.70),
    0 0 0 1px rgba(222,213,190,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transform: translateY(20px);
  transition: transform .3s ease;
}

.mn-form-overlay--active .mn-form-modal {
  transform: translateY(0);
}

/* Close button — uses button.class (0,1,1) to beat Hello Elementor reset.css
   which sets all <button> to border: #c36 (pink). Every state must be explicit. */
button.mn-form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(222,213,190,.12);
  border-radius: var(--mn-radius-md, 7px);
  background: rgba(222,213,190,.05);
  color: rgba(222,213,190,.6);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 0;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
}

button.mn-form-modal-close:hover,
button.mn-form-modal-close:focus,
button.mn-form-modal-close:active {
  background: rgba(222,213,190,.12);
  color: var(--mn-linen, #DED5BE);
  border-color: rgba(222,213,190,.24);
  box-shadow: none;
  outline: none;
}

button.mn-form-modal-close:focus-visible {
  outline: 2px solid rgba(222,213,190,.4);
  outline-offset: 2px;
}

/* ====================================================================
 * Form structure
 * ==================================================================== */

.mn-form {
  /* Reset */
}

.mn-form-step-header {
  margin-bottom: 28px;
}

.mn-form-overline {
  display: block;
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mn-orange, #E8440A);
  margin-bottom: 12px;
}

.mn-form-heading {
  font-family: var(--mn-font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--mn-linen, #DED5BE);
  margin: 0 0 10px 0;
}

.mn-form-heading--dq {
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
}

.mn-form-desc {
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(222,213,190,.72);
  margin: 0 0 4px 0;
}

.mn-form-desc--dq {
  margin-bottom: 16px;
}

.mn-form-desc--dq-sub {
  font-size: 14px;
  color: rgba(222,213,190,.55);
  margin-bottom: 24px;
}

.mn-form-link {
  color: var(--mn-orange, #E8440A) !important;
  text-decoration: underline;
  text-decoration-color: rgba(232,68,10,.4);
  transition: text-decoration-color .15s ease;
}

.mn-form-link:hover {
  text-decoration-color: var(--mn-orange, #E8440A);
}

/* ====================================================================
 * Fields
 * ==================================================================== */

.mn-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.mn-form-fields--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.mn-form-field--half {
  /* Sits in the 2-col grid */
}

/* Full-width fields in grid */
.mn-form-fields--grid > .mn-form-field:not(.mn-form-field--half) {
  grid-column: 1 / -1;
}

.mn-form-label {
  display: block;
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(222,213,190,.65);
  margin-bottom: 6px;
}

.mn-form-input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid rgba(222,213,190,.20);
  border-radius: var(--mn-radius-md, 7px);
  background: rgba(255,255,255,.06);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--mn-linen, #DED5BE);
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-sizing: border-box;
}

.mn-form-input::placeholder {
  color: rgba(222,213,190,.30);
}

.mn-form-input:hover {
  border-color: rgba(222,213,190,.35);
}

.mn-form-input:focus {
  border-color: var(--mn-orange, #E8440A);
  box-shadow: 0 0 0 3px rgba(232,68,10,.18);
}

/* Select arrow */
.mn-form-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(222,213,190,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

/* Textarea */
textarea.mn-form-input {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

/* Phone number with dial code prefix */
.mn-form-phone-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

input.mn-form-phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 64px;
  min-width: 52px;
  max-width: 76px;
  padding: 0 8px;
  border: 1.5px solid rgba(222,213,190,.20);
  border-right: none;
  border-radius: var(--mn-radius-md, 7px) 0 0 var(--mn-radius-md, 7px);
  background: rgba(222,213,190,.08);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: rgba(222,213,190,.65);
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s ease, color .15s ease;
}

input.mn-form-phone-prefix:hover {
  border-color: rgba(222,213,190,.35);
}

input.mn-form-phone-prefix:focus {
  border-color: var(--mn-orange, #E8440A);
  color: var(--mn-linen, #DED5BE);
  z-index: 1;
}

.mn-form-input--phone {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  flex: 1;
  min-width: 0;
}

/* Helper text */
.mn-form-helper {
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  color: rgba(222,213,190,.50);
  margin: 0 0 10px 0;
  line-height: 1.5;
}

/* Error text */
.mn-form-error {
  display: none;
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #E74C3C;
  margin-top: 4px;
}

/* ====================================================================
 * Qualification option buttons (Yes / No)
 * ==================================================================== */

.mn-form-options {
  display: flex;
  gap: 12px;
}

button.mn-form-opt {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(222,213,190,.20);
  border-radius: var(--mn-radius-md, 7px);
  background: rgba(222,213,190,.05);
  color: var(--mn-linen, #DED5BE);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
  padding: 0;
  appearance: none;
  line-height: 1;
}

button.mn-form-opt:hover {
  background: rgba(222,213,190,.10);
  border-color: rgba(222,213,190,.35);
}

button.mn-form-opt.mn-form-opt--selected {
  background: rgba(47,90,72,.85);
  border-color: rgba(222,213,190,.40);
  color: var(--mn-linen, #DED5BE);
  box-shadow: 0 4px 16px rgba(47,90,72,.30);
  transform: translateY(-1px);
}

button.mn-form-opt.mn-form-opt--selected:hover {
  background: rgba(47,90,72,.95);
  border-color: rgba(222,213,190,.50);
}

/* ====================================================================
 * Action buttons
 * ==================================================================== */

.mn-form-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

button.mn-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--mn-radius-md, 7px);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease, color .15s ease;
  line-height: 1;
  appearance: none;
  white-space: nowrap;
}

/* Primary (orange) */
button.mn-form-btn--primary {
  background: var(--mn-orange, #E8440A);
  color: #fff;
  border: 2px solid var(--mn-orange, #E8440A);
  box-shadow: 0 4px 20px rgba(232,68,10,.35);
}

button.mn-form-btn--primary:hover:not(:disabled) {
  background: var(--mn-orange-hover, #C93A08);
  border-color: var(--mn-orange-hover, #C93A08);
  box-shadow: 0 8px 32px rgba(232,68,10,.50);
  transform: translateY(-2px);
}

button.mn-form-btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232,68,10,.30);
}

button.mn-form-btn--primary:disabled {
  background: rgba(232,68,10,.35);
  border-color: transparent;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  color: rgba(255,255,255,.6);
}

button.mn-form-btn--primary:focus-visible {
  outline: 3px solid var(--mn-linen, #DED5BE);
  outline-offset: 3px;
}

/* Ghost (transparent) */
button.mn-form-btn--ghost {
  background: transparent;
  color: rgba(222,213,190,.72);
  border: 1.5px solid rgba(222,213,190,.20);
  box-shadow: none;
}

button.mn-form-btn--ghost:hover {
  background: rgba(222,213,190,.08);
  color: var(--mn-linen, #DED5BE);
  border-color: rgba(222,213,190,.35);
}

/* Loading spinner */
.mn-form-btn--loading {
  pointer-events: none;
}

.mn-form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mn-spin .6s linear infinite;
}

@keyframes mn-spin {
  to { transform: rotate(360deg); }
}

/* Qualify button on step 1 — right-aligned */
button.mn-form-qualify {
  margin-top: 24px;
  margin-left: auto;
  display: flex;
}

/* Focus/active state overrides for all form buttons to beat Hello Elementor reset */
button.mn-form-btn:focus,
button.mn-form-btn:active {
  box-shadow: none;
  outline: none;
}

button.mn-form-btn:focus-visible {
  outline: 3px solid var(--mn-linen, #DED5BE);
  outline-offset: 3px;
}

button.mn-form-opt:focus,
button.mn-form-opt:active {
  outline: none;
  box-shadow: none;
}

button.mn-form-opt:focus-visible {
  outline: 2px solid rgba(222,213,190,.4);
  outline-offset: 2px;
}

/* ====================================================================
 * Consent text
 * ==================================================================== */

.mn-form-consent {
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: rgba(222,213,190,.40);
  line-height: 1.5;
  margin: 12px 0 0 0;
}

/* ====================================================================
 * Step indicator dots
 * ==================================================================== */

.mn-form-step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.mn-form-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(222,213,190,.15);
  transition: background .2s ease, transform .2s ease;
}

.mn-form-step-dot--active {
  background: var(--mn-orange, #E8440A);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(232,68,10,.4);
}

/* ====================================================================
 * Disqualification + success icons
 * ==================================================================== */

.mn-form-step--disqualified,
.mn-form-step--success {
  text-align: center;
  padding: 20px 0;
}

.mn-form-dq-icon {
  margin-bottom: 20px;
}

.mn-form-step--disqualified .mn-form-heading,
.mn-form-step--success .mn-form-heading {
  text-align: center;
}

.mn-form-step--disqualified .mn-form-desc,
.mn-form-step--success .mn-form-desc {
  text-align: center;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ====================================================================
 * Schedule step (post-submission Calendly prompt)
 * ==================================================================== */

.mn-form-step--schedule {
  text-align: center;
  padding: 20px 0;
}

.mn-form-step--schedule .mn-form-step-header {
  margin-bottom: 24px;
}

.mn-form-step-header--center {
  text-align: center;
}

.mn-form-step-header--center .mn-form-heading {
  text-align: center;
}

.mn-form-step-header--center .mn-form-desc {
  text-align: center;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.mn-form-schedule-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.mn-form-schedule-actions button.mn-form-btn {
  width: 100%;
  max-width: 280px;
}

.mn-form-schedule-note {
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  color: rgba(222,213,190,.40);
  text-align: center;
  margin: 20px 0 0 0;
  line-height: 1.5;
}

/* ====================================================================
 * Inline message (for flat / contact forms)
 * ==================================================================== */

.mn-form-message {
  padding: 14px 18px;
  border-radius: var(--mn-radius-md, 7px);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  line-height: 1.5;
}

.mn-form-message--success {
  background: rgba(45,106,79,.20);
  color: #a8d5ba;
  border: 1px solid rgba(45,106,79,.30);
}

.mn-form-message--error {
  background: rgba(192,57,43,.15);
  color: #f1a9a0;
  border: 1px solid rgba(192,57,43,.25);
}

/* ====================================================================
 * Responsive
 * ==================================================================== */

@media (max-width: 600px) {
  .mn-form-modal {
    padding: 28px 20px;
    margin: 12px;
    max-height: 95vh;
  }

  .mn-form-heading {
    font-size: 1.25rem;
  }

  .mn-form-fields--grid {
    grid-template-columns: 1fr;
  }

  .mn-form-field--half {
    grid-column: 1 / -1;
  }

  .mn-form-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  button.mn-form-btn {
    width: 100%;
  }

  .mn-form-options {
    flex-direction: row;
    gap: 10px;
  }

  button.mn-form-opt {
    min-height: 48px;
    height: 48px;
    font-size: 15px;
    padding: 0 16px;
  }

  /* Contact slider: prevent horizontal overflow */
  .mn-form-slide {
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
  }

  /* Phone prefix: tighter on mobile */
  input.mn-form-phone-prefix {
    width: 56px;
    min-width: 48px;
    max-width: 60px;
    padding: 0 6px;
    font-size: 13px;
  }

  /* Tighter field gap on mobile */
  .mn-form-fields {
    gap: 16px;
    margin-bottom: 16px;
  }

  .mn-form-fields--grid {
    gap: 16px 12px;
  }

  /* Step header tighter */
  .mn-form-step-header {
    margin-bottom: 20px;
  }

  .mn-form-desc {
    font-size: 14px;
  }

  .mn-form-consent {
    font-size: 11px;
  }

  .mn-form-actions {
    margin-top: 18px;
  }

  /* Calendly prompt on mobile */
  .mn-form-calendly-actions button.mn-form-btn {
    max-width: 100%;
  }
}

/* ====================================================================
 * Embedded form variants (CRM Audit / Contact page)
 * ==================================================================== */

.mn-form--embed {
  max-width: 560px;
  padding: 36px 32px;
  border-radius: var(--mn-radius-xl, 16px);

  /* Same glass surface as modal */
  background:
    linear-gradient(170deg,
      rgba(222,213,190,.06) 0%,
      rgba(222,213,190,.02) 30%,
      transparent 55%
    ),
    linear-gradient(145deg,
      rgba(47,90,72,.92) 0%,
      rgba(36,62,53,.88) 55%,
      rgba(28,51,41,.85) 100%
    );
  border: 1px solid rgba(222,213,190,.14);
  border-top-color: rgba(222,213,190,.26);
  border-left-color: rgba(222,213,190,.20);
  box-shadow:
    inset 0 1px 0 0 rgba(222,213,190,.10),
    inset 1px 0 0 0 rgba(222,213,190,.05),
    0 8px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (max-width: 600px) {
  .mn-form--embed {
    padding: 24px 16px;
  }
}

/* ====================================================================
 * Embedded slider (Contact form) — 2-step horizontal carousel
 *
 * Used by templates/form-contact.php. Fixed-height viewport with
 * horizontal translate between slides. No step indicator.
 * ==================================================================== */

.mn-form-embed-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.mn-form-slider {
  display: flex;
  width: 200%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.mn-form-slide {
  width: 50%;
  flex: 0 0 50%;
  padding: 0 1px;
}

.mn-form-label-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(222,213,190,.40);
}

/* Calendly prompt styles (slider step 2) */
.mn-form-calendly {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0;
}

.mn-form-calendly-icon {
  margin-bottom: 16px;
}

.mn-form-calendly-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  width: 100%;
}

.mn-form-calendly-actions button.mn-form-btn {
  width: 100%;
  max-width: 260px;
}

.mn-form-calendly-note {
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 12px;
  color: rgba(222,213,190,.40);
  text-align: center;
  margin: 18px 0 0 0;
  line-height: 1.5;
}

/* Contact form specific: grid items must be allowed to shrink */
.mn-form--contact .mn-form-field {
  min-width: 0;
}

.mn-form--contact .mn-form-actions {
  justify-content: flex-end;
  margin-top: 20px;
}

/* ====================================================================
 * Asset / lead magnet trigger button
 *
 * Rendered by [muncly_asset_button name="..." url="..." label="..."]
 * Styled as a secondary orange button with a download icon.
 * ==================================================================== */

button.mn-asset-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--mn-radius-md, 7px);
  background: var(--mn-orange, #E8440A);
  color: #fff;
  border: 2px solid var(--mn-orange, #E8440A);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 4px 20px rgba(232,68,10,.35);
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease;
  appearance: none;
  text-decoration: none;
}

button.mn-asset-trigger:hover {
  background: var(--mn-orange-hover, #C93A08);
  border-color: var(--mn-orange-hover, #C93A08);
  box-shadow: 0 8px 32px rgba(232,68,10,.50);
  transform: translateY(-2px);
  color: #fff;
}

button.mn-asset-trigger:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232,68,10,.30);
}

button.mn-asset-trigger:focus-visible {
  outline: 3px solid var(--mn-linen, #DED5BE);
  outline-offset: 3px;
}

/* Emphasize the asset name inline inside the modal heading */
.mn-asset-name-inline {
  color: var(--mn-orange, #E8440A);
  font-weight: 600;
}

/* Anchor-as-button: the "Open download" CTA is an <a> tag (so target=_blank
 * works naturally and popup blockers see a user click on a real link). All
 * the button styling in this file is scoped to `button.mn-form-btn...`, so
 * we mirror the primary variant here for anchors. */
a.mn-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--mn-radius-md, 7px);
  font-family: var(--mn-font-body, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease, color .15s ease;
  border: 2px solid transparent;
}

a.mn-form-btn--primary,
a.mn-form-btn--primary:visited {
  background: var(--mn-orange, #E8440A);
  color: #fff !important;
  border-color: var(--mn-orange, #E8440A);
  box-shadow: 0 4px 20px rgba(232,68,10,.35);
  text-decoration: none !important;
}

a.mn-form-btn--primary:hover {
  background: var(--mn-orange-hover, #C93A08);
  border-color: var(--mn-orange-hover, #C93A08);
  box-shadow: 0 8px 32px rgba(232,68,10,.50);
  transform: translateY(-2px);
  color: #fff !important;
}

a.mn-form-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232,68,10,.30);
}

a.mn-form-btn--primary:focus-visible {
  outline: 3px solid var(--mn-linen, #DED5BE);
  outline-offset: 3px;
}

/* Block variant — full width (used in asset slide 2 actions) */
.mn-form-calendly-actions a.mn-form-btn--primary {
  width: 100%;
  max-width: 260px;
}

/* Inline asset gate: tighter spacing than contact form */
.mn-form--asset-inline {
  max-width: 480px;
  margin: 24px auto;
}

/* Bare mode: parent template (e.g. case study offer tile) provides its own
 * heading/bullets/background — strip the card chrome and the header padding. */
.mn-form--asset-bare.mn-form--embed {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  max-width: 100%;
  margin: 0;
}

/* ====================================================================
 * reCAPTCHA badge — hide (we have our own consent text)
 * ==================================================================== */

.grecaptcha-badge {
  visibility: hidden !important;
}
