/* Magic Motor Fest Contact Forms */
.mmf-contact-wrap {
  font-family: 'Outfit', sans-serif;
  width: 100%;
}

.mmf-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
  background: #fff;
  border-radius: 34px;
  padding: 50px;
  box-shadow: 0 18px 50px rgba(17,17,24,.08);
}

.mmf-contact-copy {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 42px 38px;
  background: linear-gradient(135deg, #111118 0%, #1f1f2a 55%, #E66E1F 100%);
  color: #fff;
  min-height: 100%;
}

.mmf-contact-copy::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.mmf-contact-copy > * {
  position: relative;
  z-index: 2;
}

.mmf-eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mmf-contact-copy h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.mmf-contact-copy p {
  margin: 0;
  color: #F3F3F5;
  font-size: 18px;
  line-height: 1.65;
}

.mmf-contact-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 32px;
}

.mmf-contact-highlights div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 18px;
}

.mmf-contact-highlights strong {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.mmf-contact-highlights span {
  display: block;
  color: #F3F3F5;
  font-size: 14px;
}

.mmf-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

.mmf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mmf-field-full {
  grid-column: 1 / -1;
}

.mmf-field label {
  color: #111118;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.mmf-field input,
.mmf-field select,
.mmf-field textarea {
  width: 100%;
  border: 1px solid #E6E7EC;
  background: #F8F9FC;
  color: #111118;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.mmf-field textarea {
  resize: vertical;
  min-height: 140px;
}

.mmf-field input:focus,
.mmf-field select:focus,
.mmf-field textarea:focus {
  border-color: #E66E1F;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(230,110,31,.14);
}

.mmf-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
  color: #4B4B55;
}

.mmf-consent input {
  width: auto;
  margin-top: 3px;
  accent-color: #E66E1F;
}

.mmf-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #E66E1F;
  color: #fff;
  padding: 16px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(17,17,24,.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mmf-submit:hover,
.mmf-submit:focus {
  background: #d85f12;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17,17,24,.2);
}

.mmf-submit:disabled {
  cursor: not-allowed;
  opacity: .65;
  transform: none;
}

.mmf-form-response {
  grid-column: 1 / -1;
  display: none;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  line-height: 1.4;
}

.mmf-form-response.is-success {
  display: block;
  background: #ECFDF3;
  color: #027A48;
  border: 1px solid #ABEFC6;
}

.mmf-form-response.is-error {
  display: block;
  background: #FEF3F2;
  color: #B42318;
  border: 1px solid #FECDCA;
}

.mmf-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mmf-conditional {
  display: none;
}

.mmf-contact-wrap[data-active-type="dealer"] .mmf-conditional-dealer,
.mmf-contact-wrap[data-active-type="auto-jumble"] .mmf-conditional-auto-jumble {
  display: flex;
}

@media (max-width: 900px) {
  .mmf-contact-panel {
    grid-template-columns: 1fr;
    padding: 28px;
    border-radius: 26px;
  }

  .mmf-contact-copy {
    padding: 34px 26px;
    border-radius: 24px;
  }

  .mmf-contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .mmf-contact-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .mmf-contact-copy {
    padding: 28px 22px;
  }

  .mmf-eyebrow {
    font-size: 12px;
    letter-spacing: .1em;
  }

  .mmf-contact-copy p {
    font-size: 16px;
  }

  .mmf-field input,
  .mmf-field select,
  .mmf-field textarea {
    font-size: 16px;
  }
}
