:root {
    --navy: #1F3A6E;
    --navy-deep: #152951;
    --navy-mid: #254580;
    --gold: #B8860B;
    --gold-bright: #D4A017;
    --gold-light: #F5E6B8;
    --teal: #1A7A6E;
    --teal-light: #E0F2EF;
    --cream: #FAF7F2;
    --cream-mid: #F0EBE0;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-mid: #4A4A6A;
    --text-light: #8888AA;
  }


/* ── JLA Modal ── */
  .jla_modal {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(31,58,110,0.55) 0%, rgba(10,15,30,0.88) 70%);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.4s ease;
    display: none;
    overflow-y: auto;
    padding-inline: 1rem;
  }

  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  @keyframes pulse-ring {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
  }
  @keyframes checkDraw {
    from { stroke-dashoffset: 40; }
    to   { stroke-dashoffset: 0; }
  }
  @keyframes successPop {
    0%   { transform: scale(0.7); opacity: 0; }
    70%  { transform: scale(1.05); }
    100% { transform: scale(1);   opacity: 1; }
  }

  /* ── CARD ── */
.jla_modal_dialogue {
  width: 900px;
  min-height: calc(100% - (1.75rem * 2));
  margin: 2rem auto;
  display: flex;
  align-items: center;
  max-width: 100%;
}
.jla_modal_content {
    background: var(--white);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08), 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    animation: slideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
  /* ── LEFT PANEL ── */
  .panel-left {
    background: var(--navy-deep);
    padding: 52px 44px 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    width: 50%;
  }

  .panel-left::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(184,134,11,0.15);
  }
  .panel-left::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,122,110,0.18) 0%, transparent 70%);
  }

  .geo-ring {
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(184,134,11,0.10);
  }

  .brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
  }

/* .brand-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16294f;
}
  .brand-logo svg { width: 20px; height: 20px; } */
.brand-logo > img {
    max-width: 200px;
    height: auto;
}
  .brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
    line-height: 1.25;
  }

  .brand-name span {
    display: block;
    font-size: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-top: 1px;
  }

  .left-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 16px;
    position: relative; z-index: 1;
  }

  .left-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 10px;
    position: relative; z-index: 1;
  }

  .left-headline em {
    font-style: italic;
    color: var(--gold-bright);
  }

  .left-subtext {
    font-size: 13.5px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin-bottom: 36px;
    font-weight: 300;
    position: relative; z-index: 1;
  }

  .benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative; z-index: 1;
    flex: 1;
  }

  .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .benefit-dot {
    width: 22px; height: 22px;
    flex-shrink: 0;
    background: rgba(26,122,110,0.25);
    border: 1px solid rgba(26,122,110,0.5);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
  }

  .benefit-dot svg { width: 10px; height: 10px; }

  .benefit-text {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    font-weight: 300;
  }

  .benefit-text strong {
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    display: block;
    font-size: 13.5px;
    margin-bottom: 1px;
  }

  .advisor-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 36px;
    position: relative; z-index: 1;
  }

  .advisor-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--navy-mid), var(--teal));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-bright);
    flex-shrink: 0;
    border: 1.5px solid rgba(184,134,11,0.35);
  }

  .advisor-info p { margin: 0; }
  .advisor-info .a-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
  }
  .advisor-info .a-creds {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.3px;
    margin-top: 2px;
  }

  .pulse-ring {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #4ade80;
    top: 50%; right: 16px;
    transform: translateY(-50%);
  }
  .pulse-ring::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid #4ade80;
    animation: pulse-ring 1.8s ease-out infinite;
  }

  /* ── RIGHT PANEL ── */
  .panel-right {
    background: var(--cream);
    padding: 48px 44px 44px;
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 0 0 auto;
    width: 50%;
  }

  .close-btn {
    position: absolute;
    top: 20px; right: 20px;
    width: 32px; height: 32px;
    background: rgba(31,58,110,0.06);
    border: 1px solid rgba(31,58,110,0.12);
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
  }
  .close-btn:hover { background: rgba(31,58,110,0.14); transform: rotate(90deg); }
  .close-btn svg { width: 12px; height: 12px; }

  .offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(90deg, var(--gold-light), #fff8e2);
    border: 1px solid rgba(184,134,11,0.3);
    border-radius: 100px;
    padding: 6px 14px 6px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: fit-content;
  }

  .offer-pill .pill-icon {
    width: 18px; height: 18px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .offer-pill .pill-icon svg { width: 10px; height: 10px; }

  .form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy-deep);
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .form-subtitle {
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 28px;
    font-weight: 300;
    line-height: 1.6;
  }

  /* ── FORM ── */
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }
.cf7-inject .wpcf7-list-item-label {
    font-size: .75rem;
    line-height: 1.4;
    display: inline-block;
}
.cf7-inject input[type="submit"].wpcf7-submit {
    width: 100% !important;
    background: var(--navy-deep);
    color: var(--white);
    border-radius: .8rem;
    padding: 1rem;
}
.cf7-inject input[type="submit"].wpcf7-submit:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(31, 58, 110, 0.3);
    color: var(--white);
}
.cf7-inject .fusion-alert {
    padding: .8rem !important;
    font-size: .8rem;
    text-align: left;
}
.cf7-inject p {
    margin: 0;
}
.cf7-inject .form-group {
  margin-bottom: .8rem;
}
.cf7-inject .form-group .wpcf7-form-control:not([type=submit]):not([type=checkbox]):not([type=radio]):not(textarea):not(.wpcf7-acceptance) {
    background: var(--white);
    border: 1px solid rgba(31, 58, 110, 0.12);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 13.5px;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    width: 100%;
    height: auto;
}
.cf7-inject .wpcf7-not-valid-tip {
    font-size: .8rem;
}
.cf7-inject .form-group .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    padding-left: 1.6rem;
    position: relative;
}
.cf7-inject .form-group .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    position: absolute;
    left: 0;
}
.cf7-inject .form-group .form-label {
  font-size: 11px;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.cf7-inject .form-group .select-arrow {
    height: calc(3rem - 2px);
    border: 0;
    border-radius: 0;
    line-height: 3rem;
    background-color: transparent;
}




.dismiss-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    width: 100%;
    letter-spacing: 0.2px;
  }
  .dismiss-link:hover { color: var(--text-mid); }

  .trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(31,58,110,0.08);
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
  }

  .trust-item svg { width: 12px; height: 12px; flex-shrink: 0; }

  /* ── SUCCESS STATE ── */
  .success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    padding: 20px 0;
    animation: successPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .success-state.visible { display: flex; }
  .form-content.hidden { display: none; }

  .success-icon {
    width: 72px; height: 72px;
    background: var(--teal);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 12px rgba(26,122,110,0.1);
  }

  .success-icon svg {
    width: 34px; height: 34px;
  }

  .success-icon svg path {
    stroke-dasharray: 40;
    stroke-dashoffset: 0;
    animation: checkDraw 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .success-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 10px;
  }

  .success-body {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.65;
    font-weight: 300;
    max-width: 280px;
    margin: 0 auto 24px;
  }

  .success-contact {
    background: var(--white);
    border: 1px solid rgba(31,58,110,0.12);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    width: 100%;
  }

  .success-contact p { margin: 0; }
  .sc-phone { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--navy-deep); font-weight: 600; }
  .sc-email { font-size: 12px; color: var(--text-light); margin-top: 3px; }

  .tagline-footer {
    margin-top: 24px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
  }

  /* ── LOADING SPINNER ── */
  .spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }



  

  /* ── RESPONSIVE ── */
  @media (max-width: 700px) {
    .panel-left,
    .panel-right { 
      width: 100%; 
      padding: 1.8rem; 
    }
    .jla_modal_content {
      flex-direction: column-reverse;
    }
    .panel-left .advisor-chip { margin-top: 20px; }
    .left-headline { font-size: 30px; }
  }
