@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

/* FORM WIDTH: change --ufca-max-width (e.g. 560px, 680px). The form fills its column up to this width.
   FORM POSITION: --ufca-ml / --ufca-mr = left/right margin.
   Right: ml auto, mr 0 | Center: both auto | Left: ml 0, mr auto */
.ufca-cf7-match{--ufca-max-width:640px;--ufca-ml:auto;--ufca-mr:0;--ufca-navy:#133262;--ufca-green:#4A9158;--ufca-green-dark:#3B7A48;--ufca-text:#222222;--ufca-muted:#4A4F5A;--ufca-line:#C9D0DC;--ufca-soft:#E3E7EE;--ufca-error:#B42318;
  box-sizing:border-box;max-width:var(--ufca-max-width);width:100%;margin:0 var(--ufca-mr) 0 var(--ufca-ml);background:#FFFFFF;border:1px solid #DCE1EA;border-radius:12px;padding:32px;box-shadow:0 12px 32px rgba(19,50,98,.10);
  font-family:'Source Sans 3','Segoe UI',sans-serif;color:var(--ufca-text);font-size:16px;line-height:1.45;text-align:left}
.ufca-cf7-match *,.ufca-cf7-match *::before,.ufca-cf7-match *::after{box-sizing:border-box}
.ufca-cf7-match .ufca-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;font-size:14px}
.ufca-cf7-match .ufca-stepno{font-weight:700;color:var(--ufca-navy)}
.ufca-cf7-match .ufca-free{color:var(--ufca-muted)}
.ufca-cf7-match .ufca-bar{height:6px;background:var(--ufca-soft);border-radius:3px;margin:10px 0 18px;overflow:hidden}
.ufca-cf7-match .ufca-bar span{display:block;height:100%;background:var(--ufca-green);border-radius:3px;transition:width .3s ease}
.ufca-cf7-match .ufca-h{margin:0 0 6px;font-family:'Manrope',sans-serif;font-weight:800;font-size:24px;line-height:1.2;color:var(--ufca-navy);outline:none}
.ufca-cf7-match .ufca-sub{margin:0 0 16px;font-size:15px;color:var(--ufca-muted)}
.ufca-cf7-match .ufca-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:4px}
.ufca-cf7-match .ufca-chip{font:600 16px/1.2 'Source Sans 3','Segoe UI',sans-serif;min-height:44px;padding:9px 14px;border-radius:22px;border:2px solid var(--ufca-line);background:#FFFFFF;color:var(--ufca-text);cursor:pointer;text-align:left;margin:0}
.ufca-cf7-match .ufca-chip:hover{border-color:var(--ufca-navy)}
.ufca-cf7-match .ufca-chip.ufca-more{border-color:var(--ufca-green);background:#EAF4EC;color:#2F6B3B}
.ufca-cf7-match .ufca-chip.ufca-more:hover{background:#DCEEDF;border-color:var(--ufca-green-dark)}
.ufca-cf7-match .ufca-chip[aria-pressed="true"]{background:var(--ufca-navy);border-color:var(--ufca-navy);color:#FFFFFF}
.ufca-cf7-match .ufca-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ufca-cf7-match .ufca-grid .ufca-chip{border-radius:6px;text-align:center}
.ufca-cf7-match .ufca-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.ufca-cf7-match .ufca-label{font-weight:700;font-size:15px}
.ufca-cf7-match .ufca-opt{font-weight:400;color:var(--ufca-muted)}
.ufca-cf7-match input[type=text],.ufca-cf7-match input[type=email],.ufca-cf7-match select,.ufca-cf7-match textarea{width:100%;font:400 16px/1.4 'Source Sans 3','Segoe UI',sans-serif;color:var(--ufca-text);padding:12px;border:1px solid var(--ufca-line);border-radius:6px;background:#FFFFFF;margin:0}
.ufca-cf7-match textarea{resize:vertical;min-height:120px}
.ufca-cf7-match input:focus,.ufca-cf7-match select:focus,.ufca-cf7-match textarea:focus,.ufca-cf7-match button:focus-visible,.ufca-cf7-match a:focus-visible{outline:3px solid #8FB3E8;outline-offset:2px}
.ufca-cf7-match .ufca-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ufca-muted);margin:4px 0 16px;cursor:pointer}
.ufca-cf7-match .ufca-check input{width:20px;height:20px;margin:1px 0 0;flex-shrink:0;accent-color:var(--ufca-navy)}
.ufca-cf7-match .ufca-check a{color:var(--ufca-navy)}
.ufca-cf7-match .ufca-error{color:var(--ufca-error);font-size:14px;font-weight:600;min-height:20px;margin:6px 0 4px}
.ufca-cf7-match .ufca-actions{display:flex;gap:12px;align-items:center;margin-top:8px}
.ufca-cf7-match .ufca-primary{flex:1;font:800 18px/1 'Manrope',sans-serif;padding:17px 20px;border:none;border-radius:6px;background:var(--ufca-green);color:#FFFFFF;cursor:pointer;margin:0}
.ufca-cf7-match .ufca-primary:hover{background:var(--ufca-green-dark)}
.ufca-cf7-match .ufca-primary[disabled]{opacity:.7;cursor:wait}
.ufca-cf7-match .ufca-back{font:600 16px/1 'Source Sans 3','Segoe UI',sans-serif;background:none;border:none;color:var(--ufca-navy);padding:14px 6px;cursor:pointer;min-height:44px;margin:0}
.ufca-cf7-match .ufca-hint{margin:12px 0 0;font-size:14px;color:var(--ufca-muted);text-align:center}
.ufca-cf7-match .ufca-skip{display:block;width:100%;margin-top:6px;text-align:center}
.ufca-cf7-match .ufca-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.ufca-cf7-match .ufca-done{text-align:left}
.ufca-cf7-match .ufca-done ol{margin:12px 0 0;padding-left:20px}
.ufca-cf7-match .ufca-done li{margin-bottom:8px}
.ufca-cf7-match .ufca-done a{display:inline-block;margin-top:14px;color:var(--ufca-navy);font-weight:700}
.ufca-cf7-match [\68 idden]{display:none!important}
@media (max-width:767px){.ufca-cf7-match{--ufca-ml:auto;--ufca-mr:auto}}
@media (max-width:480px){.ufca-cf7-match{padding:20px 16px;border-radius:10px}.ufca-cf7-match .ufca-h{font-size:20px}.ufca-cf7-match .ufca-sub{margin-bottom:12px}.ufca-cf7-match .ufca-chip{font-size:15px;padding:8px 13px}.ufca-cf7-match .ufca-bar{margin:8px 0 14px}.ufca-cf7-match .ufca-primary{padding:15px 16px}}
.ufca-cf7-sticky{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#FFFFFF;border-top:1px solid #DCE1EA;box-shadow:0 -6px 20px rgba(19,50,98,.10);
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));transform:translateY(110%);transition:transform .25s ease;display:none}
.ufca-cf7-sticky.ufca-show{transform:translateY(0)}
.ufca-cf7-sticky button{width:100%;font:800 18px/1 'Manrope',sans-serif;padding:16px;border:none;border-radius:6px;background:#4A9158;color:#FFFFFF;cursor:pointer;margin:0}
.ufca-cf7-sticky button:hover{background:#3B7A48}
.ufca-cf7-sticky button:focus-visible{outline:3px solid #8FB3E8;outline-offset:2px}
@media (max-width:767px){.ufca-cf7-sticky{display:block}}
@media (prefers-reduced-motion:reduce){.ufca-cf7-sticky{transition:none}.ufca-cf7-match .ufca-bar span{transition:none}}

.ufca-cf7-match .wpcf7-list-item{margin:0}
.ufca-cf7-match .ufca-needs .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:8px}
.ufca-cf7-match .ufca-needs label,.ufca-cf7-match .ufca-grid label{position:relative;display:block;cursor:pointer}
.ufca-cf7-match .ufca-needs input,.ufca-cf7-match .ufca-grid input{position:absolute;opacity:0;width:1px;height:1px}
.ufca-cf7-match .ufca-needs .wpcf7-list-item-label,.ufca-cf7-match .ufca-grid .wpcf7-list-item-label{display:block;font-weight:600;padding:9px 14px;border:2px solid var(--ufca-line);border-radius:22px;min-height:44px}
.ufca-cf7-match input:checked + .wpcf7-list-item-label{background:var(--ufca-navy);border-color:var(--ufca-navy);color:white}
.ufca-cf7-match input:focus-visible + .wpcf7-list-item-label{outline:3px solid #8FB3E8;outline-offset:2px}
.ufca-cf7-match .ufca-grid .wpcf7-radio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.ufca-cf7-match .ufca-grid{display:block}
.ufca-cf7-match .ufca-grid .wpcf7-list-item-label{border-radius:6px;text-align:center}
.ufca-cf7-match .ufca-check .wpcf7-list-item-label{display:none}
.ufca-cf7-match .ufca-check .wpcf7-list-item label{display:block}
.ufca-cf7-match .wpcf7-form-control-wrap{display:block;width:100%}
.ufca-cf7-match .ufca-check .wpcf7-form-control-wrap{width:auto}
.ufca-cf7-match .ufca-progressive{display:none}
.ufca-cf7-match.ufca-enhanced .ufca-progressive{display:flex}
.ufca-cf7-match .ufca-body > section{margin-bottom:16px}
.ufca-cf7-match .ufca-bar span{width:25%}

.ufca-cf7-match .ufca-progressive[\68 idden]{display:none!important}
.ufca-cf7-match .ufca-cf7-sticky[\68 idden]{display:none!important}


/* Style the existing ACF-backed custom tags within this form only. */
.ufca-cf7-match .newform-custom-select{position:relative}
.ufca-cf7-match .newform-custom-select-toggle{width:100%;font:inherit;padding:12px;border:1px solid var(--ufca-line);border-radius:6px;background:white;color:var(--ufca-text);text-align:left;cursor:pointer}
.ufca-cf7-match .newform-custom-select-options{display:none;position:absolute;left:0;right:0;top:100%;max-height:280px;overflow:auto;background:white;border:1px solid var(--ufca-line);border-radius:6px;z-index:20}
.ufca-cf7-match .newform-custom-select.active .newform-custom-select-options{display:block}
.ufca-cf7-match .newform-custom-select-option{display:block;width:100%;font:inherit;padding:10px 12px;border:0;background:white;text-align:left;cursor:pointer;color:var(--ufca-text)}
.ufca-cf7-match .newform-custom-select-option:hover{background:var(--ufca-soft)}
.ufca-cf7-match .newform-custom-select-option[aria-selected="true"]{background:var(--ufca-navy);color:white}
.ufca-cf7-match .ufca-grid .newform-custom-select-toggle{display:none}
.ufca-cf7-match .ufca-grid .newform-custom-select-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;position:static;border:0;max-height:none;overflow:visible}
.ufca-cf7-match .ufca-grid .newform-custom-select-option{border:2px solid var(--ufca-line);border-radius:6px;min-height:44px;text-align:center;font-weight:600}

/* Display the backend response in the completion card. */
.ufca-cf7-match .ufca-result-message{font-size:16px;line-height:1.6;color:var(--ufca-muted);margin-top:12px}
.ufca-cf7-match .ufca-result-message p{margin:0 0 12px}
.ufca-cf7-match .ufca-result-message a,.ufca-cf7-match .ufca-error a{color:var(--ufca-navy);font-weight:700;text-decoration:underline}

/* Popup wrapper for the CF7 shortcode variant. */
.ufca-cf7-popup{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px}
.ufca-cf7-popup[hidden]{display:none!important}
.ufca-cf7-popup-backdrop{position:absolute;inset:0;background:rgba(14,37,72,.6)}
.ufca-cf7-popup-panel{position:relative;width:100%;max-width:565px;max-height:calc(100vh - 48px);overflow-y:auto;background:#fff;border-radius:12px;box-shadow:0 24px 64px rgba(14,37,72,.35);animation:ufcaCf7PopupIn .2s ease}
.ufca-cf7-popup-close{position:absolute;top:10px;right:10px;z-index:2;width:44px;height:44px;border:0;border-radius:22px;background:transparent;color:#133262;font:400 30px/1 'Source Sans 3','Segoe UI',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0;padding:0}
.ufca-cf7-popup-close:hover{background:#F3F5F9}
.ufca-cf7-popup-close:focus-visible{outline:3px solid #8FB3E8;outline-offset:2px}
.ufca-cf7-popup .ufca-cf7-match{--ufca-max-width:100%;--ufca-ml:0;--ufca-mr:0;border:0;box-shadow:none;border-radius:12px;padding-top:40px}
html.ufca-cf7-popup-lock,html.ufca-cf7-popup-lock body{overflow:hidden}
@keyframes ufcaCf7PopupIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px){.ufca-cf7-popup{padding:0;align-items:flex-end}.ufca-cf7-popup-panel{max-width:none;max-height:92vh;max-height:92dvh;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom,0px)}.ufca-cf7-popup .ufca-cf7-match{border-radius:16px 16px 0 0}}
@media(prefers-reduced-motion:reduce){.ufca-cf7-popup-panel{animation:none}}



.ufca-body label {margin-bottom: 0}
.ufca-cf7-match .ufca-body  .newform-custom-select-options {   box-shadow: none; }

.ufca-cf7-match .ufca-chip.ufca-more {
    margin-top: 8px;
}