/*
 * Scoped Contact Form 7 overrides for the AI telemarketing hero.
 * Keep the original CF7 / theme classes; the shortcode stays inside .hero-form-slot.
 */

/* Position the panel over the right side of the hero container. */
.about-page > .title-kv > .container {
  position: relative !important;
}

#wpcf7-f7-o1 > form > div:nth-child(10) > p{
	display:none;
}


.hero-form-slot {
  position: absolute !important;
  top: 0;
  right: 6% !important;
  z-index: 4;
  width: 35% !important;
  max-width: 600px;
  min-height: 710px;
  margin: 0 !important;
  padding: 48px 30px !important;
  box-sizing: border-box !important;
  color: #fff !important;
  background: rgba(8, 9, 11, .78) !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 9px !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-form-slot .wpcf7,
.hero-form-slot .wpcf7 *,
.hero-form-slot .wpcf7 *::before,
.hero-form-slot .wpcf7 *::after {
  box-sizing: border-box;
}

.hero-form-slot .wpcf7 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: inherit !important;
}

.hero-form-slot .wpcf7-form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
}

.hero-form-slot .screen-reader-response,
.hero-form-slot .wpcf7-response-output,
.hero-form-slot .wpcf7-form > div[style*="display: none"] {
  display: none !important;
}

.hero-form-slot .form-group {
  display: block !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.hero-form-slot .form-group > p {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 5px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-form-slot .form-group label {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(13px, 1vw, 16px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.hero-form-slot .wpcf7-form-control-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.hero-form-slot input.wpcf7-form-control:not([type="hidden"]),
.hero-form-slot select.wpcf7-form-control,
.hero-form-slot textarea.wpcf7-form-control {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(255, 255, 255, .25) !important;
  border-radius: 4px !important;
  outline: none !important;
  background-color: #f2f2f2 !important;
  color: #242424 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

.hero-form-slot select.wpcf7-form-control {
  padding-right: 34px !important;
  cursor: pointer;
}

.hero-form-slot textarea.wpcf7-form-control {
  height: 84px !important;
  min-height: 84px !important;
  resize: vertical;
}

.hero-form-slot .form-group:has(textarea) > p {
  align-items: start !important;
}

.hero-form-slot .form-group:has(textarea) label {
  padding-top: 0 !important;
}

.hero-form-slot .form-group.btn-group {
  display: flex !important;
  justify-content: center !important;
  margin: 40px 0 0 !important;
}

.hero-form-slot .form-group.btn-group > .p-submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 230px) !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #e4cf54 !important;
  color: #282828 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.hero-form-slot .form-group.btn-group > .p-submit-btn:hover {
  background: #f0dc67 !important;
  transform: translateY(-1px);
}

.hero-form-slot .form-group.btn-group > .p-submit-btn p {
  margin: 0 !important;
  padding: 0 !important;
}

.hero-form-slot .wpcf7-submit {
  display: none !important;
}

.hero-form-slot > .last-error-tips,
.hero-form-slot > .last-error-tips2,
.hero-form-slot > .last-error-tips3 {
  display: none;
  margin: 6px 0 0;
  color: #ffb1b1;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero-form-slot {
    top: 90px !important;
    min-height: 0;
    padding: 16px !important;
  }

  .hero-form-slot .form-group {
    margin-bottom: 8px !important;
  }

  .hero-form-slot input.wpcf7-form-control:not([type="hidden"]),
  .hero-form-slot select.wpcf7-form-control {
    height: 38px !important;
    min-height: 38px !important;
  }

  .hero-form-slot textarea.wpcf7-form-control {
    height: 70px !important;
    min-height: 70px !important;
  }
}

@media (max-width: 760px) {
  .hero-form-slot {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: none;
    min-height: 0;
    margin: 24px auto 0 !important;
    padding: 16px !important;
  }

  .hero-form-slot .form-group > p {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
  }

  .hero-form-slot .form-group {
    margin-bottom: 12px !important;
  }
}