.elementor-6260 .elementor-element.elementor-element-1a35961{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-6260 .elementor-element.elementor-element-3ebf4f2{--display:grid;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--gap:50px 50px;--row-gap:50px;--column-gap:50px;--grid-auto-flow:row;}.elementor-6260 .elementor-element.elementor-element-28fb4b0{--display:flex;}.elementor-6260 .elementor-element.elementor-element-346d94f .elementor-heading-title{font-weight:bold;text-transform:uppercase;}.elementor-6260 .elementor-element.elementor-element-f3cbf58{font-size:20px;}.elementor-6260 .elementor-element.elementor-element-c6e37ed{--display:flex;}.elementor-6260 .elementor-element.elementor-element-f43a927 .gallery-item{padding:0 40px 40px 0;}.elementor-6260 .elementor-element.elementor-element-f43a927 .gallery{margin:0 -40px -40px 0;}.elementor-6260 .elementor-element.elementor-element-f43a927 .gallery-item .gallery-caption{text-align:center;}@media(max-width:1024px){.elementor-6260 .elementor-element.elementor-element-3ebf4f2{--grid-auto-flow:row;}}@media(min-width:768px){.elementor-6260 .elementor-element.elementor-element-1a35961{--content-width:1421px;}}@media(max-width:767px){.elementor-6260 .elementor-element.elementor-element-3ebf4f2{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for prelements-cf7, class: .elementor-element-8f06ffb *//* =========================
   LEX FIRM HERO FORM – GOLD THEME
   Primary: #A98E5B
   ========================= */

.lex-form{
  background:#A98E5B;
  padding:34px 32px 30px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,0.18);
  max-width:520px;
  box-shadow:0 20px 45px rgba(0,0,0,0.25);
}

/* Title */
.lex-form .lex-form-title{
  margin:0 0 18px;
  font-size:28px;
  font-weight:800;
  color:#111;
  line-height:1.15;
}

/* CF7 wraps controls in <p> — remove default spacing */
.lex-form p{
  margin:0;
}

/* layout */
.lex-form .row{
  display:flex;
  gap:18px;
  margin-bottom:18px;
}
.lex-form .col{ width:50%; }
.lex-form .full{ width:100%; }

/* Make CF7 wrappers full-width */
.lex-form .wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

/* INPUTS */
.lex-form input,
.lex-form select,
.lex-form textarea{
  width:100% !important;
  background:#f3f3f3;
  border:none;
  border-radius:12px;
  padding:18px;
  font-size:16px;
  color:#111;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.08);
  outline:none;
}

/* Placeholder */
.lex-form input::placeholder,
.lex-form textarea::placeholder{
  color:#6a6a6a;
  font-weight:500;
}

/* Select — match size + arrow */
.lex-form select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  height:56px;
  line-height:56px;
  padding-right:44px;
  font-weight:500;
  color:#6a6a6a; /* placeholder color by default */
  background-image:url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 6 5-6z'/></svg>");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:18px;
}

/* When user has chosen something other than placeholder */
.lex-form select:not([value="placeholder"]){
  color:#111;
}

/* Options */
.lex-form select option{
  color:#111;
  background:#fff;
}

/* Textarea */
.lex-form textarea{
  min-height:150px;
  resize:vertical;
}

/* Focus */
.lex-form input:focus,
.lex-form select:focus,
.lex-form textarea:focus{
  box-shadow:0 0 0 3px rgba(255,255,255,0.45);
}

/* Consent */
.lex-form .consent{
  align-items:flex-start;
  gap:10px;
  margin-top:10px;
}
.lex-form .consent .wpcf7-list-item{ margin:0; }

.lex-form .consent input[type="checkbox"]{
  accent-color:#111;
  width:18px;
  height:18px;
  margin-top:4px;
}

.lex-form .consent span{
  color:#111;
  font-size:13px;
  line-height:1.45;
}

/* Terms */
.lex-form .terms p{
  color:#1a1a1a;
  font-size:13px;
  margin:6px 0 0;
  line-height:1.45;
}

/* SUBMIT — full width fix */
.lex-form input[type="submit"].lex-submit{
  display:block !important;
  width:100% !important;
  text-align:center;
  background:#111;
  color:#fff;
  font-weight:800;
  font-size:18px;
  padding:20px 18px;
  border-radius:12px;
  border:none;
  margin-top:10px;
  cursor:pointer;
  transition:all .18s ease;
}

.lex-form input[type="submit"].lex-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,0.35);
  background:#000;
}

/* CF7 messages */
.lex-form .wpcf7-not-valid-tip{
  color:#7a0000;
  font-size:12px;
  margin-top:6px;
}
.lex-form .wpcf7-response-output{
  background:#fff;
  color:#000;
  border:none;
  border-radius:10px;
  padding:12px;
  margin:12px 0 0;
}

/* mobile */
@media(max-width:640px){
  .lex-form{ padding:26px 22px 22px; }
  .lex-form .row{ flex-direction:column; gap:14px; }
  .lex-form .col{ width:100%; }
  .lex-form .lex-form-title{ font-size:24px; }
}

/* ===== FIX: CF7 acceptance broke layout (checkbox + text split) ===== */

/* stop the consent row from acting like the normal flex grid row */
.lex-form .row.consent{
  display:block !important;
}

/* CF7 acceptance container */
.lex-form .row.consent .wpcf7-form-control{
  display:block !important;
}

/* Make the actual acceptance item one line: checkbox LEFT + text RIGHT */
.lex-form .row.consent .wpcf7-list-item{
  display:block !important;
  margin:0 !important;
  width:100% !important;
}

/* Some themes set label/display weirdly; force it */
.lex-form .row.consent .wpcf7-list-item > label{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:10px !important;
  width:100% !important;
  margin:0 !important;
}

/* Checkbox */
.lex-form .row.consent input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:3px 0 0 0 !important;
  flex:0 0 auto !important;
  accent-color:#111;
}

/* Text beside it */
.lex-form .row.consent .wpcf7-list-item-label{
  display:block !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  white-space:normal !important;
  color:#111 !important;
  font-size:13px !important;
  line-height:1.45 !important;
}

/* Kill any floats/forced widths coming from theme */
.lex-form .row.consent *{
  float:none !important;
}/* End custom CSS */