.theme2-marketing-form-panel,
.theme2-marketing-form-panel-editor {
  padding: var(--theme2-marketing-flow-padding-y) clamp(1rem, 3vw, 2rem);
  background: transparent;
  color: #111111;
}

.theme2-marketing-form-panel__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.98fr);
  gap: var(--theme2-marketing-gap-wide-content-media);
  align-items: center;
}

.theme2-marketing-form-panel__content {
  min-width: 0;
}

.theme2-marketing-form-panel__title {
  margin: 0;
  max-width: 12ch;
  font-size: var(--theme2-marketing-h2-size);
  line-height: 1.12;
  font-weight: var(--theme2-font-weight-bold, 500);
  letter-spacing: 0;
}

.theme2-marketing-form-panel__body {
  margin: var(--theme2-marketing-gap-body-stack) 0 0;
  max-width: 66ch;
  font-size: inherit;
  line-height: 1.6;
}

.theme2-marketing-form-panel__form-side {
  min-width: 0;
  width: 100%;
}

.theme2-marketing-form-panel__form-card {
  box-sizing: border-box;
  width: min(100%, 720px);
  max-width: 100%;
  margin-left: auto;
  padding: clamp(1.7rem, 3vw, 3.05rem);
  background: var(--theme2-form-panel-card-bg, #f7f6f3);
  color: var(--theme2-form-panel-card-text, #111111);
  box-shadow: none;
}

.theme2-marketing-form-panel__form-card > :last-child,
.theme2-marketing-form-panel__content > :last-child {
  margin-bottom: 0;
}

.theme2-marketing-form-panel__form-card :where(form) {
  margin: 0;
}

.theme2-marketing-form-panel__form-card .wpcf7 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.theme2-marketing-form-panel__form-card .wpcf7 form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.theme2-marketing-form-panel__form-card .wpcf7 form p {
  margin: 0;
}

.theme2-marketing-form-panel__form-card .wpcf7 form p + p {
  margin-top: 0;
}

.theme2-marketing-form-panel__form-card :where(p, .wpforms-field, .gfield, .frm_form_field, .nf-field-container, .form-group) {
  margin: 0 0 1.35rem;
}

.theme2-marketing-form-panel__form-card :where(label, legend) {
  display: block;
  margin: 0 0 0.55rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.theme2-marketing-form-panel__form-card .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.48rem;
}

.theme2-marketing-form-panel__form-card :where(
  select,
  textarea,
  input[type="text"],
  input[type="url"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"]
) {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 1px solid #cfd2d6;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.4;
}

.theme2-marketing-form-panel__form-card :where(select) {
  appearance: auto;
}

.theme2-marketing-form-panel__form-card :where(
  select,
  textarea,
  input[type="text"],
  input[type="url"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"]
)::placeholder {
  color: rgba(17, 17, 17, 0.34);
}

.theme2-marketing-form-panel__form-card :where(
  select,
  textarea,
  input[type="text"],
  input[type="url"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"]
):focus {
  border-color: #b8bec8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.theme2-marketing-form-panel__form-card :where(textarea) {
  min-height: 132px;
  resize: vertical;
}

.theme2-marketing-form-panel__form-card :where(
  button,
  input[type="button"],
  .wp-element-button,
  .wp-block-button__link
) {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 44px;
  padding: 1.1rem 2.24rem;
  border: 0;
  border-radius: 999px;
  background: #f97336;
  background-image: none;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(249, 115, 54, 0.28);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.theme2-marketing-form-panel__form-card .wpcf7 p.has-spinner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.7rem;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"],
  input[type="submit"]
) {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  max-width: 100%;
  min-height: 44px;
  padding: 1.1rem calc(2.24rem + 15px + 0.52rem) 1.1rem 2.24rem;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: #f97336 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7.59189 13.1665L6.43585 12.0218L10.4499 8.00252H0.583984V6.33049H10.4499L6.43585 2.31763L7.59189 1.1665L13.584 7.1665L7.59189 13.1665Z' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 1.12rem) center !important;
  background-size: 15px 15px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(249, 115, 54, 0.28) !important;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none !important;
  text-transform: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  button.wpcf7-submit,
  button[type="submit"]
) {
  padding: 1.1rem 2.24rem;
  background-image: none !important;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"],
  input[type="submit"]
)::before {
  content: none !important;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"],
  input[type="submit"]
)::after {
  content: none !important;
}

.theme2-marketing-form-panel__form-card .theme2-form-submit__label {
  display: inline-flex;
  align-items: center;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  transition: transform 0.22s ease, color 0.22s ease, text-shadow 0.24s ease, filter 0.24s ease;
}

.theme2-marketing-form-panel__form-card .theme2-form-submit__icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7.59189 13.1665L6.43585 12.0218L10.4499 8.00252H0.583984V6.33049H10.4499L6.43585 2.31763L7.59189 1.1665L13.584 7.1665L7.59189 13.1665Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7.59189 13.1665L6.43585 12.0218L10.4499 8.00252H0.583984V6.33049H10.4499L6.43585 2.31763L7.59189 1.1665L13.584 7.1665L7.59189 13.1665Z' fill='black'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  transition: transform 0.22s ease;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"],
  input[type="submit"]
):is(:hover, :focus-visible) {
  background-color: #ea6228 !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(249, 115, 54, 0.28) !important;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"]
):is(:hover, :focus-visible)::after {
  animation: none;
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"]
):is(:hover, :focus-visible) .theme2-form-submit__label {
  transform: translate3d(0, 0, 0);
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"]
):is(:hover, :focus-visible) .theme2-form-submit__icon {
  transform: translate3d(2px, 0, 0);
}

.theme2-marketing-form-panel__form-card :is(
  .theme2-marketing-button,
  .wpcf7-submit,
  button[type="submit"],
  input[type="submit"]
):active {
  animation: none;
  transform: scale(0.98);
  box-shadow: 0 4px 10px rgba(249, 115, 54, 0.2) !important;
}

body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button {
  min-height: 44px;
  padding: 1.1rem 2.24rem;
  border: 0 !important;
  border-radius: 999px !important;
  background-color: #f97336 !important;
  background-image: none !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(249, 115, 54, 0.28) !important;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none !important;
  text-transform: none;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button::after {
  content: none !important;
}

body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button:is(:hover, :focus-visible) {
  background-color: #ea6228 !important;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(249, 115, 54, 0.28) !important;
}

body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button:is(:hover, :focus-visible)::after {
  animation: none;
}

body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button:active {
  animation: none;
  transform: scale(0.98);
  box-shadow: 0 4px 10px rgba(249, 115, 54, 0.2) !important;
}

@keyframes theme2-marketing-form-submit-shake {
  0% {
    transform: translateY(-1px) translate3d(0, 0, 0) rotate(0deg);
  }

  16% {
    transform: translateY(-1px) translate3d(-0.6px, 0, 0) rotate(-0.5deg);
  }

  32% {
    transform: translateY(-1px) translate3d(0.8px, 0, 0) rotate(0.55deg);
  }

  48% {
    transform: translateY(-1px) translate3d(-0.7px, 0, 0) rotate(-0.4deg);
  }

  64% {
    transform: translateY(-1px) translate3d(0.7px, 0, 0) rotate(0.38deg);
  }

  80% {
    transform: translateY(-1px) translate3d(-0.3px, 0, 0) rotate(-0.18deg);
  }

  100% {
    transform: translateY(-1px) translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes theme2-marketing-form-submit-icon-tilt {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  25% {
    transform: translate3d(0.8px, -0.4px, 0) rotate(7deg);
  }

  50% {
    transform: translate3d(-0.6px, 0.2px, 0) rotate(-5deg);
  }

  75% {
    transform: translate3d(0.9px, -0.2px, 0) rotate(5deg);
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme2-marketing-form-panel__form-card :is(
    .theme2-marketing-button,
    .wpcf7-submit,
    button[type="submit"],
    input[type="submit"]
  ):is(:hover, :focus-visible),
  body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button:is(:hover, :focus-visible) {
    animation: none !important;
    transform: translateY(-1px);
  }

  .theme2-marketing-form-panel__form-card :is(
    .theme2-marketing-button,
    .wpcf7-submit,
    button[type="submit"]
  ):is(:hover, :focus-visible)::after,
  body:is(.home, .front-page):not(.block-editor-iframe__body):not(.editor-styles-wrapper) .theme2-marketing-form-panel .theme2-marketing-form-panel__form-card .wpcf7 button.wpcf7-submit.theme2-marketing-button:is(:hover, :focus-visible)::after {
    animation: none !important;
  }

  .theme2-marketing-form-panel__form-card :is(
    .theme2-marketing-button,
    .wpcf7-submit,
    button[type="submit"]
  ):is(:hover, :focus-visible) .theme2-form-submit__label,
  .theme2-marketing-form-panel__form-card :is(
    .theme2-marketing-button,
    .wpcf7-submit,
    button[type="submit"]
  ):is(:hover, :focus-visible) .theme2-form-submit__icon {
    animation: none !important;
  }
}

.theme2-marketing-form-panel__form-card .wpcf7 .wpcf7-spinner {
  margin: 0;
}

.theme2-marketing-form-panel__form-card .wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  border-radius: 10px;
}

.theme2-marketing-form-panel__editor-preview {
  margin-bottom: 1.5rem;
}

.theme2-marketing-form-panel__editor-label {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}

.theme2-marketing-form-panel__editor-field {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin: 0 0 1.35rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 4px;
  background: #ffffff;
  color: rgba(17, 17, 17, 0.42);
  font-size: 1.04rem;
  line-height: 1.4;
}

.theme2-marketing-form-panel__editor-field--select {
  position: relative;
  padding-right: 2.75rem;
  color: #111111;
}

.theme2-marketing-form-panel__editor-field--select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(17, 17, 17, 0.48);
  transform: translateY(-35%);
}

.theme2-marketing-form-panel__editor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.95rem;
  border-radius: 999px;
  background: #353535;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

.theme2-marketing-form-panel__editor-slot .block-editor-inner-blocks > .block-editor-block-list__layout > * + * {
  margin-top: 1rem;
}

.theme2-marketing-form-panel__editor-note {
  margin: 0 0 0.9rem;
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.95rem;
  line-height: 1.5;
}

.theme2-marketing-form-panel__empty {
  min-height: 220px;
}

@media (max-width: 920px) {
  .theme2-marketing-form-panel__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .theme2-marketing-form-panel__title,
  .theme2-marketing-form-panel__body {
    max-width: none;
  }

  .theme2-marketing-form-panel__form-card {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .theme2-marketing-form-panel__form-card {
    padding: 1.15rem;
  }
}
