/* Stratrich Know Your Price — all styling scoped to stp- classes */
:root { --stp-navy:#262b68; --stp-dark:#151b45; --stp-orange:#e35f25; --stp-blue:#1a59a9; --stp-ink:#202b3f; --stp-muted:#697486; --stp-line:#e3e7f0; }
.stp-body-open { overflow:hidden !important; }
.stp-trigger { display:inline-flex; align-items:center; justify-content:center; gap:14px; padding:15px 24px; border:0; border-radius:9px; font-family:inherit; font-weight:750; font-size:15px; line-height:1.2; color:#fff; background:var(--stp-orange); cursor:pointer; box-shadow:0 8px 22px rgba(227,95,37,.19); transition:transform .2s, background .2s; }
.stp-trigger:hover { background:#c64d18; transform:translateY(-2px); }
.stp-trigger span { font-size:19px; line-height:1; }
.stp-trigger:focus-visible,.stp-btn:focus-visible,.stp-close:focus-visible { outline:3px solid #9cadfb; outline-offset:3px; }
.stp-modal[hidden],.stp-modal [hidden] { display:none !important; }
.stp-modal { position:fixed; inset:0; z-index:999999; display:grid; place-items:center; padding:22px; font-family:Inter,Manrope,Arial,sans-serif; color:var(--stp-ink); line-height:1.5; }
.stp-backdrop { position:absolute; inset:0; background:rgba(11,18,47,.74); backdrop-filter:blur(5px); cursor:pointer; }
.stp-dialog { position:relative; display:grid; grid-template-columns:minmax(260px,330px) minmax(0,1fr); width:min(970px,100%); max-height:min(90vh,900px); min-height:590px; overflow:hidden; background:#fff; border-radius:20px; box-shadow:0 24px 90px rgba(7,13,35,.3); isolation:isolate; }
.stp-close { position:absolute; top:17px; right:19px; z-index:3; width:36px; height:36px; border:1px solid #e5e8ef; background:#fff; border-radius:100%; color:#33405c; font-size:25px; font-weight:400; line-height:30px; cursor:pointer; }
.stp-close:hover { background:#f2f4f9; }
.stp-side { position:relative; min-width:0; overflow:hidden; background:linear-gradient(155deg,#141949 0%,#262b68 64%,#32418c 100%); color:white; }
.stp-side::before { content:""; position:absolute; width:330px; height:330px; top:29%; right:-170px; border:1px solid rgba(255,255,255,.15); border-radius:50%; box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 97px rgba(255,255,255,.02); pointer-events:none; }
.stp-side::after { content:""; position:absolute; right:-30px; bottom:110px; width:250px; height:250px; background:radial-gradient(circle,rgba(227,95,37,.23),transparent 66%); pointer-events:none; }
.stp-side-inner { position:relative; z-index:1; padding:36px 32px; height:100%; display:flex; flex-direction:column; }
.stp-side-brand { color:#fff; font-weight:850; letter-spacing:.08em; font-size:19px; line-height:1.1; }
.stp-side-brand span { display:block; margin-top:5px; font-size:9px; font-weight:700; letter-spacing:.34em; color:#f3b79d; }
.stp-side-content { margin:auto 0; padding:32px 0; }
.stp-side-kicker { color:#ffc2a5; font-size:11px; font-weight:800; letter-spacing:.15em; }
.stp-side h2 { margin:18px 0 16px; color:#fff; font-size:clamp(26px,3vw,38px); line-height:1.13; letter-spacing:-.045em; font-weight:830; }
.stp-side-content>p { margin:0; color:#d4daf9; font-size:13px; line-height:1.75; }
.stp-side-points { display:grid; gap:15px; margin-top:30px; }
.stp-side-points>div { display:flex; align-items:center; gap:10px; font-size:12px; color:#edf0ff; }
.stp-side-dot { flex:0 0 18px; height:18px; border-radius:50%; border:1px solid #e79470; display:grid; place-items:center; }
.stp-side-dot::after { content:"✓"; font-size:10px; color:#ffc4a2; }
.stp-side-footer { color:#bcc3e9; font-size:9px; font-weight:750; letter-spacing:.2em; }
.stp-main { min-width:0; min-height:0; padding:37px 44px 34px; overflow-y:auto; overscroll-behavior:contain; }
.stp-progress { padding-right:38px; margin-bottom:27px; }
.stp-progress-labels { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:11px; }
.stp-progress-current { color:var(--stp-orange); font-size:11px; letter-spacing:.08em; font-weight:850; }
.stp-progress-name { font-size:11px; font-weight:700; color:#7a8498; }
.stp-progress-track { height:5px; overflow:hidden; background:#edf0f6; border-radius:100px; }
.stp-progress-fill { display:block; width:50%; height:100%; background:var(--stp-orange); border-radius:100px; transition:width .25s; }
.stp-form-head { margin-bottom:24px; }
.stp-eyebrow { display:inline-block; color:var(--stp-orange); font-size:10px; letter-spacing:.14em; font-weight:850; }
.stp-form-head h3,.stp-success h3 { margin:8px 0 8px; font-size:clamp(20px,2.2vw,27px); line-height:1.3; font-weight:820; letter-spacing:-.03em; color:var(--stp-dark); }
.stp-form-head p,.stp-success>p { margin:0; color:var(--stp-muted); font-size:12px; line-height:1.65; }
.stp-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:15px; row-gap:17px; }
.stp-field { min-width:0; }
.stp-field--full { grid-column:1 / -1; }
.stp-field label { display:block; margin-bottom:7px; color:#2d3951; font-size:11.5px; font-weight:750; line-height:1.4; }
.stp-field label>span:not(.stp-optional) { color:var(--stp-orange); }
.stp-optional { color:#8590a0; font-weight:500; }
.stp-field .wpcf7-form-control-wrap { display:block; width:100%; }
.stp-field input:not([type="checkbox"]),.stp-field select,.stp-field textarea { box-sizing:border-box; display:block; width:100%; min-width:0; min-height:45px; margin:0; padding:11px 12px; border:1px solid #dce1e9; border-radius:8px; box-shadow:none; background:#fff; color:var(--stp-ink); font-family:inherit; font-size:12px; line-height:1.3; font-weight:500; transition:border-color .2s,box-shadow .2s; }
.stp-field textarea { min-height:83px; max-height:170px; resize:vertical; }
.stp-field input::placeholder,.stp-field textarea::placeholder { color:#a1a8b4; }
.stp-field input:focus,.stp-field select:focus,.stp-field textarea:focus { border-color:var(--stp-blue); box-shadow:0 0 0 3px rgba(26,89,169,.1); outline:0; }
.stp-field input.stp-input-error,.stp-field select.stp-input-error,.stp-field textarea.stp-input-error,.stp-field .wpcf7-not-valid { border-color:#d53b46 !important; }
.stp-local-error,.stp-field .wpcf7-not-valid-tip { display:block; margin-top:5px; font-size:10px; color:#ba2635; }
.stp-field small { display:block; margin-top:5px; color:#818b9a; font-size:10px; }
.stp-sector-note { margin-top:8px; padding:8px 10px; color:#72502b; background:#fff7e8; border-radius:7px; font-size:11px; }
.stp-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:22px; }
.stp-actions--first { border-top:1px solid #eff0f4; padding-top:20px; }
.stp-help { max-width:230px; font-size:10px; color:#8992a2; }
.stp-btn,.stp-submit { appearance:none; display:inline-flex; align-items:center; justify-content:center; gap:13px; min-height:45px; padding:11px 20px; border:1px solid transparent; border-radius:8px; font-family:inherit; font-size:12px; font-weight:800; letter-spacing:.005em; line-height:1.3; text-transform:none; text-decoration:none; cursor:pointer; transition:background .2s,transform .2s; }
.stp-btn--primary,.stp-submit { color:white !important; background:var(--stp-orange) !important; border-color:var(--stp-orange) !important; }
.stp-btn--primary:hover,.stp-submit:hover { background:#c94e19 !important; transform:translateY(-1px); }
.stp-btn--back { color:#35415d; background:#f2f4f8; border-color:#e6e9ef; }
.stp-btn--back:hover { background:#e8ecf4; }
.stp-consent-wrap { display:grid; gap:12px; margin-top:20px; padding-top:18px; border-top:1px solid var(--stp-line); }
.stp-consent-row .wpcf7-list-item { margin:0; }
.stp-consent-row .wpcf7-list-item>label { display:flex; align-items:flex-start; gap:9px; cursor:pointer; }
.stp-consent-row input[type="checkbox"] { flex:0 0 16px; width:16px; height:16px; margin:1px 0 0; accent-color:var(--stp-orange); cursor:pointer; }
.stp-consent-row .wpcf7-list-item-label { color:#646f80; font-size:10px; line-height:1.65; }
.stp-consent-row a { color:var(--stp-blue); text-decoration:underline; text-underline-offset:2px; }
.stp-consent-row .wpcf7-not-valid-tip { font-size:10px; }
.stp-footnote { margin:10px 0 0; font-size:10px; text-align:right; color:#99a0ac; }
.stp-modal .wpcf7-spinner { margin-left:8px; }
.stp-modal .wpcf7 form .wpcf7-response-output { margin:15px 0 0; padding:10px 12px; font-size:11px; border-radius:7px; }
.stp-modal .wpcf7 form p:empty { display:none; }
.stp-success { padding:65px 8px 20px; text-align:center; }
.stp-success-mark { display:grid; place-items:center; margin:0 auto 22px; width:66px; height:66px; border-radius:50%; background:#eff8f0; color:#2b9945; font-size:34px; font-weight:750; }
.stp-success p { margin:0 auto 12px; max-width:390px; }
.stp-success .stp-success-muted { margin-top:13px; font-size:11px; color:#9099a8; }
.stp-success .stp-btn { margin-top:20px; }
@media (max-width:780px) {
  .stp-modal { padding:12px; }
  .stp-dialog { display:block; width:min(600px,100%); min-height:0; max-height:92dvh; overflow-y:auto; border-radius:15px; }
  .stp-side { min-height:0; }
  .stp-side-inner { padding:19px 22px; }
  .stp-side-content,.stp-side-footer { display:none; }
  .stp-side-brand { font-size:16px; }
  .stp-side-brand span { font-size:8px; }
  .stp-close { position:fixed; top:18px; right:19px; z-index:6; box-shadow:0 2px 8px rgba(10,20,52,.09); }
  .stp-main { padding:25px 23px 28px; overflow:visible; }
  .stp-progress { padding-right:0; }
}
@media (max-width:480px) {
  .stp-modal { padding:8px; }
  .stp-dialog { max-height:97dvh; }
  .stp-main { padding:20px 17px 25px; }
  .stp-grid { grid-template-columns:minmax(0,1fr); row-gap:14px; }
  .stp-field--full { grid-column:auto; }
  .stp-actions { align-items:stretch; }
  .stp-actions--first { flex-direction:column; }
  .stp-actions--first .stp-help { max-width:none; }
  .stp-actions--first .stp-btn,.stp-actions .stp-submit { flex:1; }
  .stp-form-head { margin-bottom:18px; }
  .stp-form-head h3 { font-size:22px; }
}
@media (prefers-reduced-motion:reduce) { .stp-modal * { scroll-behavior:auto !important; transition:none !important; } }

/* v1.1: isolate theme form styles and constrain the actual scroll container. */
#stp-price-modal, #stp-price-modal * { box-sizing:border-box; }
#stp-price-modal { font-family:inherit; font-size:16px; padding:16px; overflow:hidden; }
#stp-price-modal .stp-dialog { display:grid; grid-template-columns:270px minmax(0,1fr); grid-template-rows:minmax(0,1fr); width:min(960px,100%); height:min(740px,calc(100vh - 32px)); height:min(740px,calc(100dvh - 32px)); max-height:none; min-height:0; margin:0; border-radius:16px; }
#stp-price-modal .stp-main { min-height:0; height:100%; overflow-x:hidden; overflow-y:scroll; scrollbar-width:thin; scrollbar-color:#a6adbf #edf0f5; scrollbar-gutter:stable; padding:28px 34px; }
#stp-price-modal .stp-main::-webkit-scrollbar { width:8px; }
#stp-price-modal .stp-main::-webkit-scrollbar-track { background:#edf0f5; }
#stp-price-modal .stp-main::-webkit-scrollbar-thumb { background:#a6adbf; border-radius:8px; }
#stp-price-modal .stp-side-inner { padding:26px 24px; }
#stp-price-modal .stp-side-brand { display:flex; align-items:center; min-height:54px; width:100%; padding:10px 14px; background:white; border-radius:8px; }
#stp-price-modal .stp-logo { display:block; width:auto; max-width:100%; height:auto; max-height:55px; object-fit:contain; margin:0; }
#stp-price-modal .stp-logo-fallback { color:var(--stp-navy); font-size:13px; letter-spacing:.04em; }
#stp-price-modal .stp-side h2 { font-family:var(--stp-heading-font,inherit); font-size:30px; font-weight:700; letter-spacing:-.02em; }
#stp-price-modal .stp-form-head h3 { font-family:var(--stp-heading-font,inherit); font-size:25px; font-weight:700; letter-spacing:normal; }
#stp-price-modal .stp-progress { margin:0 0 16px; padding-right:30px; }
#stp-price-modal .stp-form-head { margin:0 0 16px; }
#stp-price-modal .stp-form-head p { font-size:14px; line-height:1.45; }
#stp-price-modal .stp-grid { gap:12px 14px; }
#stp-price-modal .stp-cf7, #stp-price-modal .wpcf7 form { margin:0; padding:0; }
#stp-price-modal .stp-field p, #stp-price-modal .stp-actions p, #stp-price-modal .stp-consent-row p { margin:0!important; padding:0!important; }
#stp-price-modal .stp-field br, #stp-price-modal .stp-actions br { display:none!important; }
#stp-price-modal .stp-field label { margin:0 0 5px!important; padding:0!important; font:600 14px/1.35 inherit; font-family:inherit; font-size:14px; line-height:1.35; font-weight:600; }
#stp-price-modal .stp-field .wpcf7-form-control-wrap { margin:0!important; padding:0!important; }
#stp-price-modal .stp-field input:not([type=checkbox]), #stp-price-modal .stp-field select, #stp-price-modal .stp-field textarea { font-family:inherit!important; font-size:14px!important; height:44px!important; min-height:44px!important; margin:0!important; padding:9px 12px!important; line-height:1.4!important; border-radius:6px; }
#stp-price-modal .stp-field textarea { height:80px!important; min-height:80px!important; }
#stp-price-modal .stp-field small { font-size:12px; margin:4px 0 0; }
#stp-price-modal .stp-actions { display:flex!important; flex-wrap:wrap; margin:16px 0 0; padding:12px 0 0; }
#stp-price-modal .stp-actions--first .stp-btn { margin-left:auto; }
#stp-price-modal .stp-btn, #stp-price-modal .stp-submit { font-family:inherit!important; font-size:14px!important; font-weight:600; width:auto!important; margin:0; }
#stp-price-modal .stp-consent-wrap { margin-top:12px; padding-top:12px; gap:9px; }
#stp-price-modal .stp-consent-row .wpcf7-list-item-label { font-size:12px; line-height:1.45; }
#stp-price-modal .stp-help { font-size:12px; }
#stp-price-modal .stp-close { position:absolute; top:10px; right:14px; padding:0!important; line-height:34px!important; }
@media(max-width:780px) {
 #stp-price-modal { padding:10px; }
 #stp-price-modal .stp-dialog { width:min(580px,100%); grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); height:min(740px,calc(100dvh - 20px)); }
 #stp-price-modal .stp-side-inner { padding:10px 58px 10px 14px; }
 #stp-price-modal .stp-side-brand { width:155px; min-height:40px; padding:6px 10px; }
 #stp-price-modal .stp-logo { max-height:35px; }
 #stp-price-modal .stp-main { padding:18px 17px; }
 #stp-price-modal .stp-close { top:12px; right:12px; }
 #stp-price-modal .stp-progress { padding-right:0; }
}
@media(max-width:480px) {
 #stp-price-modal .stp-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
 #stp-price-modal .stp-form-head h3 { font-size:22px; }
 #stp-price-modal .stp-field input:not([type=checkbox]), #stp-price-modal .stp-field select, #stp-price-modal .stp-field textarea { font-size:16px!important; }
 #stp-price-modal .stp-actions--first .stp-btn { width:100%!important; margin:0; }
}
