/* Start custom CSS for shortcode, class: .elementor-element-a7e8c1c *//* PASTE INTO: Elementor > the SHORTCODE widget that holds [contact-form-7 ... ] > Advanced tab > Custom CSS
   (Custom CSS inside a widget is an Elementor Pro feature; ".elementor-9 .elementor-element.elementor-element-a7e8c1c" is replaced by Elementor with the widget's own wrapper.)

   No Elementor Pro?  Paste the same CSS in Appearance > Customize > Additional CSS (or Elementor > Site Settings > Custom CSS)
   after replacing the word  .elementor-9 .elementor-element.elementor-element-a7e8c1c  with  .elementor-widget-shortcode  (find & replace).

   Needs the form from file 01-cf7-form-tab.txt (it uses the bf- classes). Fully responsive. */

.elementor-9 .elementor-element.elementor-element-a7e8c1c{width:100%;padding:clamp(40px,6vw,80px) 20px;background:linear-gradient(180deg,#f3f6f7 0%,#ffffff 100%);box-sizing:border-box}
.elementor-9 .elementor-element.elementor-element-a7e8c1c *,.elementor-9 .elementor-element.elementor-element-a7e8c1c *::before,.elementor-9 .elementor-element.elementor-element-a7e8c1c *::after{box-sizing:border-box}

/* the card */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7{max-width:860px;margin:0 auto}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form{position:relative;overflow:hidden;margin:0;padding:clamp(22px,4vw,48px);background:#fff;border:1px solid rgba(12,22,48,.08);border-radius:24px;box-shadow:0 30px 80px rgba(12,22,48,.12);font-family:inherit}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form::before{content:"";position:absolute;right:-70px;top:-70px;width:200px;height:200px;border:34px solid rgba(215,174,115,.10);border-radius:50%;pointer-events:none}

/* heading block */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-head{position:relative;display:flex;align-items:center;gap:16px;margin-bottom:clamp(18px,3vw,28px);padding-bottom:clamp(16px,2.5vw,22px);border-bottom:1px solid rgba(12,22,48,.1)}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-badge{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#0c1630;color:#d7ae73;font-size:14px;font-weight:800;letter-spacing:.04em}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-eyebrow{margin:0 0 4px;color:#a97938;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-title{margin:0;color:#0c1630;font-size:clamp(24px,3.2vw,34px);line-height:1.15;font-weight:800}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-note{margin:6px 0 0;color:#6b7280;font-size:13px}

/* Contact Form 7 wraps lines in <p> and <br>. These rules neutralise that so the grid works (2 fields per row on desktop). */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form p{margin:0}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form br{display:none}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-row>p{display:contents}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-row>p:empty,.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form p:empty{display:none}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit>p{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;width:100%}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit>p small{flex:1 1 220px}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-consent>p{margin:0}

/* rows and fields */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(14px,2vw,22px)}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field{display:block;margin:0 0 clamp(14px,2vw,20px)}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field>span:first-child{display:block;margin-bottom:7px;color:#0c1630;font-size:13px;font-weight:700;letter-spacing:.01em}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7-form-control-wrap{display:block;width:100%}

.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input[type=text],
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input[type=email],
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input[type=tel],
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field select,
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field textarea{display:block;width:100%;max-width:100%;margin:0;padding:14px 16px;border:1px solid #d3d9de;border-radius:12px;background:#f9fafb;color:#0c1630;font:inherit;font-size:15px;line-height:1.4;transition:border-color .2s,box-shadow .2s,background .2s;-webkit-appearance:none;appearance:none}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field textarea{min-height:150px;resize:vertical}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field select{padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230c1630' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;cursor:pointer}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field ::placeholder{color:#8a93a0;opacity:1}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input:hover,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field select:hover,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field textarea:hover{border-color:#aeb8c1}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input:focus,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field select:focus,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field textarea:focus{outline:0;border-color:#a97938;background:#fff;box-shadow:0 0 0 4px rgba(215,174,115,.22)}

/* consent */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-consent{margin:4px 0 clamp(18px,3vw,26px);color:#4b5563;font-size:14px;line-height:1.5}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-consent .wpcf7-list-item{display:block;margin:0}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-consent label{display:flex;align-items:flex-start;gap:12px;cursor:pointer}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-consent input[type=checkbox]{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:#a97938;cursor:pointer}

/* submit */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;padding-top:clamp(16px,2.5vw,22px);border-top:1px solid rgba(12,22,48,.1)}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit p{margin:0}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-btn,
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7-submit.bf-btn{display:inline-block;padding:16px 34px;border:0;border-radius:999px;background:linear-gradient(135deg,#d7ae73 0%,#b9894a 100%);color:#0c1630;font:inherit;font-size:15px;font-weight:800;letter-spacing:.01em;line-height:1.2;cursor:pointer;box-shadow:0 12px 30px rgba(169,121,56,.35);transition:transform .25s,box-shadow .25s,filter .25s}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-btn:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 18px 38px rgba(169,121,56,.42)}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-btn:focus-visible{outline:3px solid #0c1630;outline-offset:3px}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit small{flex:1 1 220px;color:#6b7280;font-size:13px;line-height:1.5}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7-spinner{margin:0 0 0 6px}

/* validation + response messages */
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7-not-valid-tip{display:block;margin-top:6px;color:#b42318;font-size:12.5px;font-weight:600}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7-not-valid{border-color:#b42318 !important;background:#fff8f7 !important}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form .wpcf7-response-output{margin:20px 0 0;padding:14px 16px;border:1px solid #d3d9de;border-radius:12px;font-size:14px;line-height:1.5}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form.sent .wpcf7-response-output{border-color:#1c6131;background:#e8f6ec;color:#1c6131}
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form.invalid .wpcf7-response-output,
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form.unaccepted .wpcf7-response-output,
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form.failed .wpcf7-response-output,
.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form.spam .wpcf7-response-output{border-color:#b42318;background:#fff0f0;color:#8b2323}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-row{grid-template-columns:1fr}
}
@media (max-width:767px){
  .elementor-9 .elementor-element.elementor-element-a7e8c1c{padding:36px 14px}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7 form{border-radius:18px}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-row{grid-template-columns:1fr}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-head{gap:12px}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-badge{width:42px;height:42px;font-size:13px}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-btn,.elementor-9 .elementor-element.elementor-element-a7e8c1c .wpcf7-submit.bf-btn{width:100%;padding:16px 20px;text-align:center}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit{flex-direction:column;align-items:stretch}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit>p{flex-direction:column;align-items:stretch}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-submit small{flex:none;text-align:center}
}
@media (max-width:420px){
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input[type=text],.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input[type=email],.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input[type=tel],.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field select,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field textarea{padding:13px 14px;font-size:16px}
}
@media (prefers-reduced-motion:reduce){
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field input,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field select,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-field textarea,.elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-btn{transition:none}
  .elementor-9 .elementor-element.elementor-element-a7e8c1c .bf-btn:hover{transform:none}
}/* End custom CSS */