/*
Theme Name: Divi Child
Theme URI: https://example.com/
Description: A custom child theme for Divi.
Author: Your Name
Author URI: https://example.com/
Template: Divi
Version: 1.0
*/

/*********************/
/* Google reCAPTCHA  */
/*********************/

/* Hide reCAPTCHA */
.grecaptcha-badge {
    display: none !important;
}


/* ================================
   A&A London Handyman – Contact Form 7
   Palette: Navy #0A2A43 | Orange #F47A20 | Light Gray #E5E5E5 | White #FFFFFF
   Font: Montserrat / Roboto
   ================================ */

/* Form wrapper */
.wpcf7 form,
.wpcf7-form {
  background: #ffffff;
  color: #1B1B1B;
  font-family: "Montserrat", "Roboto", sans-serif;
  max-width: 720px;
  margin: 40px auto;
  padding: 28px;
  border: 1px solid #E5E5E5;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(10, 42, 67, 0.08); /* navy softened */
}

/* Form spacing */
.wpcf7-form p { margin: 0 0 18px; }

/* Labels */
.wpcf7-form label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #0A2A43;                 /* navy */
  margin: 0 0 8px;
}

/* Inputs & selects */
.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #E5E5E5;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: #1B1B1B;
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* Textarea */
.wpcf7-form textarea.wpcf7-form-control {
  min-height: 140px;
  resize: vertical;
}

/* Placeholder */
.wpcf7-form ::placeholder {
  color: #8A8F96;
  opacity: 1;
}

/* Focus state */
.wpcf7-form .wpcf7-form-control:focus {
  border-color: #F47A20; /* safety orange */
  box-shadow: 0 0 0 3px rgba(244, 122, 32, 0.25);
}

/* Disabled fields */
.wpcf7-form .wpcf7-form-control[disabled],
.wpcf7-form .wpcf7-form-control[readonly] {
  background: #F5F5F5;
  color: #7B7B7B;
  cursor: not-allowed;
}

/* Checkbox & radio */
.wpcf7-form .wpcf7-list-item { margin-right: 16px; }
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  accent-color: #F47A20;
  width: 18px;
  height: 18px;
}

/* Submit button */
.wpcf7-submit {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  background: #F47A20;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 10px rgba(244, 122, 32, 0.35);
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(244, 122, 32, 0.45);
}

.wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(244, 122, 32, 0.35);
}

.wpcf7-submit[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* Spinner */
.wpcf7 .wpcf7-spinner {
  margin-left: 10px;
  filter: hue-rotate(0deg) brightness(1.2);
}

/* Validation tip */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #B91C1C;
}

/* Response messages */
.wpcf7-response-output {
  margin-top: 20px !important;
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(10, 42, 67, 0.06);
}

/* Success */
.wpcf7-form.sent .wpcf7-response-output {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #14532D;
}

/* Invalid */
.wpcf7-form.invalid .wpcf7-response-output {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #7C2D12;
}

/* Failed */
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #7F1D1D;
}

/* Links */
.wpcf7-response-output a {
  color: #0A2A43;
  text-decoration: underline;
}

/* Small help text */
.wpcf7 .amp-help {
  margin-top: -6px;
  font-size: 12px;
  color: #7B8596;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .wpcf7 form,
  .wpcf7-form {
    padding: 20px;
    margin: 28px auto;
  }
  .wpcf7-submit {
    width: 100%;
  }
}



/* Fix button stacking WITHOUT breaking sticky header */
.et_pb_column_1_4 {
  overflow: visible !important;
  transform: none !important;
  z-index: 999999 !important;
}
