.elementor .email-signup:active{/* ---------- Layout ---------- */
.cornelli-signup-bar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Heading + description stay together on the left */
.cornelli-signup-bar .elementor-heading-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: #fff;
}

.cornelli-signup-bar .elementor-widget-text-editor {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Form ---------- */
#email-signup {
  --es-text: #fff;
  --es-line: rgba(255, 255, 255, 0.35);
  --es-bg: rgba(255, 255, 255, 0.06);
  flex: 0 1 520px;
  font-family: 'Poppins', sans-serif;
}

#email-signup .elementor-form-fields-wrapper {
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

#email-signup .elementor-field-group {
  flex: 1 1 auto;
  width: auto !important;
  margin: 0 !important;
}

#email-signup .elementor-field-type-submit {
  flex: 0 0 auto;
  width: auto !important;
}

/* Input */
#email-signup .elementor-field-textual {
  width: 100%;
  padding: 16px 26px !important;
  background: var(--es-bg) !important;
  border: 1px solid var(--es-line) !important;
  border-radius: 999px !important;
  color: var(--es-text) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

#email-signup .elementor-field-textual::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#email-signup .elementor-field-textual:focus {
  outline: none !important;
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12) !important;
}

/* Submit button: solid white pill, inverts on hover */
#email-signup .elementor-button {
  padding: 17px 34px !important;
  background: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 999px !important;
  color: #000 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

#email-signup .elementor-button:hover,
#email-signup .elementor-button:focus {
  background: transparent !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Success / error messages */
#email-signup .elementor-message {
  margin-top: 12px;
  font-size: 14px;
}
#email-signup .elementor-message-success { color: #7fd6a0; }
#email-signup .elementor-message-danger  { color: #ff8a8a; }

/* ---------- Disclaimer ---------- */
.cornelli-signup-note {
  flex: 1 0 100%;
  font-size: 12px !important;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45) !important;
}
.cornelli-signup-note a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cornelli-signup-note a:hover { color: #fff !important; }

/* ---------- Mobile: stack everything ---------- */
@media (max-width: 767px) {
  .cornelli-signup-bar { gap: 16px; }
  #email-signup { flex: 1 1 100%; }
  #email-signup .elementor-form-fields-wrapper { flex-wrap: wrap; }
  #email-signup .elementor-field-group,
  #email-signup .elementor-field-type-submit { width: 100% !important; }
  #email-signup .elementor-button { width: 100%; }
}\n}.elementor .email-signup{input,
textarea {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #d0d0d0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 2px !important;
  font-family: Poppins, sans-serif !important;
  font-size: 14px !important;
  color: #111 !important;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.25s ease;
}

input:focus,
textarea:focus {
  outline: none !important;
  border-bottom-color: #111 !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: #8d8d8d !important;
  opacity: 1 !important;
}

textarea {
  min-height: 120px !important;
  resize: vertical;
}

button {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 30px !important;
  font-family: Poppins, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  min-height: 46px !important;
  padding: 0 35px !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

button:hover {
  background: transparent !important;
  color: #000 !important;
}

/* Checkboxes and radios keep their normal look */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
}

/* Form width on desktop: the field grows, the button stays its size,
 and the button drops below when the space is too narrow */
@media (min-width: 1025px) {
  .email-signup {
      width: 100%;
      max-width: 760px;
  }

  .email-signup .elementor-form-fields-wrapper {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 16px 28px;
  }

  .email-signup .elementor-field-group {
      flex: 1 1 280px;
      width: auto !important;
      min-width: 0;
  }

  .email-signup .elementor-field-type-submit {
      flex: 0 0 auto;
      width: auto !important;
  }
}\n}