
.mw-overlay{
  position:fixed;inset:0;z-index:99999;
  background:rgba(10,20,40,.6);
  display:flex;align-items:center;justify-content:center;
  padding:20px;overflow-y:auto;
  opacity:0;transition:opacity .25s ease;
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
.mw-overlay[hidden]{display:none!important;}
.mw-overlay.is-open{opacity:1;}
.mw-overlay.is-open .mw-popup{transform:translateY(0) scale(1);opacity:1;}
body.mw-locked{overflow:hidden;}

.mw-popup{
  --mw-primary:#0f2a5c;
  --mw-accent:#1e63d6;
  --mw-muted:#f4f6fb;
  --mw-border:#e3e8f1;
  --mw-text:#1c2a4a;
  --mw-gold:#f4b400;
  --mw-bg-image:url('https://www.counselonegroup.com/wp-content/uploads/2026/01/Shutterstock_2354738881-1.jpg');
  position:relative;
  width:100%;max-width:1100px;margin:auto;
  background:#fff;border-radius:24px;overflow:hidden;
  box-shadow:0 30px 80px -30px rgba(15,42,92,.55);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,sans-serif;
  color:var(--mw-text);line-height:1.4;
  transform:translateY(20px) scale(.98);opacity:0;
  transition:transform .3s ease,opacity .3s ease;
}
.mw-close{
  position:absolute;top:14px;right:18px;z-index:5;
  border:0;font-size:44px;line-height:1;
  width:36px!important;height:52px;
  display:flex;border-radius:50%;color:#7a869a;cursor:pointer;
  background: transparent !important;
  justify-content:center;align-items:center;
}
.mw-close:hover{color:var(--mw-primary);}

.mw-editor-content{
  padding:32px;
}
.mw-editor-content > :first-child{margin-top:0;}
.mw-editor-content > :last-child{margin-bottom:0;}
.mw-editor-content img{
  max-width:100%;
  height:auto;
}
.mw-editor-content h1,
.mw-editor-content h2,
.mw-editor-content h3{
  color:var(--mw-primary);
  line-height:1.1;
}
.mw-editor-content h1{font-size:30px;}
.mw-editor-content h2{font-size:26px;}
.mw-editor-content p,
.mw-editor-content li{
  color:var(--mw-text);
}
@media (max-width:600px){.mw-editor-content{padding:24px;}}

.mw-grid{display:grid;grid-template-columns:1.15fr 1fr;}
@media (max-width:900px){.mw-grid{grid-template-columns:1fr;}}

/* ---------- LEFT ---------- */
.mw-left{
  padding:32px;
  background:
    linear-gradient(to right, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,.55) 100%),
    var(--mw-bg-image) right center / cover no-repeat;
}
@media (max-width:600px){.mw-left{padding:20px;}}

.mw-logos{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.mw-logo-1{height:72px;width:auto;}
.mw-logo-2{height:48px;width:auto;}
.mw-divider{display:inline-block;width:1px;height:54px;background:var(--mw-border);}
@media (max-width:480px){.mw-divider{display:none;} .mw-logo-1{height:56px;} .mw-logo-2{height:36px;}}

.mw-headline{
  margin:28px 0 0;font-size:30px;line-height:1.05;text-align:left;
  font-weight:800;color:var(--mw-primary);letter-spacing:-.01em;
}
@media (max-width:900px){.mw-headline{font-size:32px;}}
@media (max-width:480px){.mw-headline{font-size:26px;}}

.mw-subheadline{
  margin:16px 0 0;font-size:15px;color:#374a73;line-height:1.55;font-weight:500;
}

.mw-lead{margin:18px 0 14px;font-size:14px;color:#48587a;line-height:1.6;}

.mw-list{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
.mw-list li{position:relative;padding-left:30px;font-size:15px;color:#2a3a5c;}
.mw-list li::before{
  content:"";position:absolute;left:0;top:3px;width:18px;height:18px;
  border-radius:50%;background:var(--mw-accent);
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size:12px;background-position:center;background-repeat:no-repeat;
}

.mw-callout{display:flex;align-items:center;gap:12px;margin-top:24px;}
.mw-scale-icon{
  flex:none;width:40px;height:40px;border-radius:50%;
  background:rgba(30,99,214,.1);color:var(--mw-accent);
  display:flex;align-items:center;justify-content:center;
}
.mw-scale-icon svg{width:20px;height:20px;}
.mw-callout p{margin:0;font-size:15px;color:var(--mw-primary);font-weight:600;}
.mw-callout-strong{color:var(--mw-accent);}

/* ---------- RIGHT ---------- */
.mw-right{padding:32px;background:var(--mw-muted);}
@media (max-width:600px){.mw-right{padding:24px;}}

.mw-form-head{text-align:center;max-width:380px;margin:0 auto;}
.mw-house{
  display:inline-flex;width:56px;height:56px;border-radius:50%;
  background:rgba(30,99,214,.1);color:var(--mw-accent);
  align-items:center;justify-content:center;
}
.mw-house svg{width:28px;height:28px;}
.mw-form-head h2{
  margin:14px 0 6px;font-size:34px;font-weight:800;color:var(--mw-primary);
  line-height:1.05;letter-spacing:-.01em;
}
.mw-form-head h2 span{color:var(--mw-accent);}
.mw-sub{margin:0;font-size:14px;color:#5b6a8b;}

.mw-form{max-width:380px;margin:24px auto 0;}

/* ===== WPForms Styling ===== */

.mw-form .wpforms-field input[type="text"],
.mw-form .wpforms-field input[type="email"],
.mw-form .wpforms-field input[type="tel"],
.mw-form .wpforms-field input[type="url"],
.mw-form .wpforms-field input[type="number"],
.mw-form .wpforms-field textarea,
.mw-editor-content .wpforms-field input[type="text"],
.mw-editor-content .wpforms-field input[type="email"],
.mw-editor-content .wpforms-field input[type="tel"],
.mw-editor-content .wpforms-field input[type="url"],
.mw-editor-content .wpforms-field input[type="number"],
.mw-editor-content .wpforms-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid var(--mw-border);
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    color: var(--mw-primary);
    outline: none;
    transition: border .15s, box-shadow .15s;
}

.mw-form .wpforms-field textarea,
.mw-editor-content .wpforms-field textarea {
    padding: 14px 16px;
}

.mw-form input::placeholder,
.mw-form textarea::placeholder,
.mw-editor-content input::placeholder,
.mw-editor-content textarea::placeholder {
    color: #8b97b3;
}

.mw-form .wpforms-field input:focus,
.mw-form .wpforms-field textarea:focus,
.mw-editor-content .wpforms-field input:focus,
.mw-editor-content .wpforms-field textarea:focus {
    border-color: var(--mw-accent);
    box-shadow: 0 0 0 3px rgba(30,99,214,.18);
}

/* Submit Button */
.mw-form .wpforms-submit,
.mw-editor-content .wpforms-submit {
    width: 100%;
    margin-top: 6px;
    padding: 16px 24px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background: var(--mw-primary) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 12px 24px -10px rgba(15,42,92,.45);
    transition: background .15s, transform .05s;
}

.mw-form .wpforms-submit:hover,
.mw-editor-content .wpforms-submit:hover {
    background: #15356f !important;
}

.mw-form .wpforms-submit:active,
.mw-editor-content .wpforms-submit:active {
    transform: translateY(1px);
}

/* Error Messages */
.mw-form .wpforms-error,
.mw-editor-content .wpforms-error {
    font-size: 12px !important;
    color: #c0392b !important;
    margin-top: 4px !important;
}

/* Validation Borders */
.mw-form input.wpforms-error,
.mw-form textarea.wpforms-error,
.mw-editor-content input.wpforms-error,
.mw-editor-content textarea.wpforms-error {
    border-color: #c0392b !important;
}

/* Success / Confirmation Message */
.mw-form .wpforms-confirmation-container,
.mw-form .wpforms-confirmation-scroll,
.mw-editor-content .wpforms-confirmation-container,
.mw-editor-content .wpforms-confirmation-scroll {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    border: 1px solid var(--mw-border);
}

.mw-trust{
  max-width:380px;margin:24px auto 0;padding-top:20px;
  border-top:1px solid var(--mw-border);
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center;
  font-size:11px;font-weight:600;color:var(--mw-primary);
}
.mw-trust-ic{display:block;font-size:22px;margin-bottom:6px;color:var(--mw-accent);}

.mw-disclaimer{
  max-width:380px;margin:16px auto 0;
  font-size:11px;color:#8b97b3;text-align:center;line-height:1.5;
}
