/* Meyda.ai — contact form mobile layout correction */

@media (max-width: 760px) {
  .contact .contact-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 24px 18px 22px !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  /* The form already contains the Meyda.ai brand lockup.
     Hiding Maya on narrow screens gives the fields the full card width. */
  .contact .contact-card .contact-maya {
    display: block !important;
    width: 150px !important;
    max-width: 42vw !important;
    margin: 0 auto 18px !important;
    position: static !important;
    transform: none !important;
  }

  .contact .contact-card .contact-maya img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }

  .contact .contact-card .contact-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .contact .contact-card .contact-form > * {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .contact .contact-card .contact-form label {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  .contact .contact-card .contact-form input,
  .contact .contact-card .contact-form textarea,
  .contact .contact-card .contact-form button {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .contact .contact-card .contact-form-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .contact .contact-card .form-note,
  .contact .contact-card .form-status {
    text-align: center !important;
  }
}
