/* JainVoyagers Forms 4.0 — original, Apple-inspired enquiry experience.
   Scoped to .jvf-shell to avoid altering WordPress themes and page builders. */
.jvf-shell{
  --jvf-navy:var(--jvf-primary,#0C4476);--jvf-blue:var(--jvf-secondary,#527c9f);
  --jvf-ink:#16283a;--jvf-muted:#6b7b8c;--jvf-line:#e6ebf0;
  --jvf-canvas:#f5f7fb;--jvf-soft:#f7f9fc;--jvf-white:#fff;
  isolation:isolate;container-type:inline-size;position:relative;display:block;box-sizing:border-box;width:100%;min-width:0;
  padding:0 24px 28px;background:radial-gradient(ellipse 60% 32% at 96% 0%,#e4eff8 0%,transparent 95%),#f5f7fb;
  font:400 15px/1.55 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--jvf-ink);-webkit-font-smoothing:antialiased;text-align:left;
}
.jvf-shell *, .jvf-shell *::before, .jvf-shell *::after{box-sizing:border-box}
.jvf-shell button,.jvf-shell input,.jvf-shell select,.jvf-shell textarea{font:inherit}
.jvf-shell button{cursor:pointer}
.jvf-shell :where(button,input,select,textarea,a):focus-visible{outline:3px solid #76a9d7;outline-offset:3px}
.jvf-shell :where(h1,h2,h3,p){margin-top:0}
.jvf-shell a{color:inherit;text-decoration:none}
.jvf-shell [hidden]{display:none!important}
.jvf-canvas{max-width:1260px;margin:0 auto}
.jvf-brandbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 0 30px;border-bottom:1px solid rgba(12,68,118,.08)}
.jvf-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none!important}
.jvf-brandmark{display:grid;place-items:center;flex:none;width:44px;height:44px;color:white;background:var(--jvf-navy);border-radius:14px;box-shadow:0 7px 16px #0c44761c}
.jvf-brandmark svg{width:27px;height:27px}
.jvf-brand b{display:block;font-size:14px;line-height:1.1;letter-spacing:.125em;color:#0d3457;font-weight:760}
.jvf-brand small{display:block;margin-top:6px;font-size:10px;font-weight:700;letter-spacing:.16em;color:#64809a}
.jvf-brandbar-note{display:inline-flex;align-items:center;gap:9px;border:1px solid #dce8f1;border-radius:40px;background:#ffffffbd;padding:9px 14px;color:#385a74;font-size:12px;font-weight:650}
.jvf-online-dot{width:7px;height:7px;border-radius:50%;background:#4c9a7a;box-shadow:0 0 0 4px #4c9a7a17}
.jvf-heading{padding:44px 0 42px;max-width:780px}
.jvf-eyebrow{display:flex;align-items:center;gap:12px;color:var(--jvf-navy);font-size:10px;font-weight:800;letter-spacing:.22em}
.jvf-eyebrow-line{width:22px;height:2px;background:var(--jvf-blue);border-radius:4px}
.jvf-heading h1{margin:14px 0 13px;color:#0b2e4d;font-size:clamp(48px,6.2vw,82px);line-height:1.04;letter-spacing:-.069em;font-weight:740}
.jvf-heading h1 em{font-style:normal;color:var(--jvf-blue)}
.jvf-heading p{max-width:570px;margin:0;color:#62788b;font-size:clamp(15px,1.4vw,18px);line-height:1.65;letter-spacing:-.012em}
.jvf-workspace{display:grid;grid-template-columns:minmax(235px,300px) minmax(0,1fr);align-items:start;gap:24px}
.jvf-rail-panel{position:sticky;top:25px;padding:26px 16px 16px;border:1px solid #e0e8f0;border-radius:28px;background:#fff;box-shadow:0 12px 35px #122b4108}
.jvf-rail-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px 19px;color:#738497;font-size:10px;letter-spacing:.14em;font-weight:800}
.jvf-rail-count{font-size:12px;color:var(--jvf-blue);letter-spacing:.06em}
.jvf-stage-nav{display:grid;gap:5px}
.jvf-stage{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:13px 12px;background:transparent;border:1px solid transparent;border-radius:16px;color:#7990a3;transition:background .2s,border .2s,color .2s;min-height:69px}
.jvf-stage:hover{background:#f5f8fb}
.jvf-stage.is-current{background:#edf4fb;border-color:#dceaf6;color:var(--jvf-navy)}
.jvf-stage.is-complete{color:#4d708c}
.jvf-stage-index{width:37px;height:37px;flex:none;display:grid;place-items:center;border:1px solid #e2e9ef;border-radius:13px;background:#f7f9fb;font-weight:750;font-size:11px;letter-spacing:.04em}
.jvf-stage.is-current .jvf-stage-index{background:var(--jvf-navy);border-color:var(--jvf-navy);color:white;box-shadow:0 4px 10px #0c447630}
.jvf-stage.is-complete .jvf-stage-index{color:var(--jvf-navy);background:#e8f2fa;border-color:#d9e8f4}
.jvf-stage-info{flex:1;min-width:0}
.jvf-stage-info strong{display:block;font-size:13px;line-height:1.3;font-weight:750;letter-spacing:-.02em}
.jvf-stage-info small{display:block;margin-top:3px;font-size:11px;line-height:1.35;font-weight:500;opacity:.85}
.jvf-stage-indicator{font-size:16px;font-weight:600;opacity:0;transition:opacity .2s,transform .2s}
.jvf-stage.is-current .jvf-stage-indicator{opacity:1}
.jvf-stage:hover .jvf-stage-indicator{transform:translateX(2px)}
.jvf-rail-bottom{margin:23px 3px 0;padding:22px 19px 21px;border-radius:20px;color:white;overflow:hidden;position:relative;background:linear-gradient(140deg,#0c4476 3%,#205b89 100%)}
.jvf-rail-bottom:before{content:"";position:absolute;width:155px;height:155px;border:1px solid #ffffff30;border-radius:50%;right:-64px;top:-40px}
.jvf-rail-orbit{position:relative;display:grid;place-items:center;width:34px;height:34px;margin-bottom:19px;border:1px solid #ffffff5c;border-radius:12px;background:#ffffff18;color:#fff}
.jvf-rail-bottom strong{position:relative;display:block;max-width:190px;font-size:17px;line-height:1.3;letter-spacing:-.035em;font-weight:700}
.jvf-rail-bottom p{position:relative;color:#d8e6f2;font-size:11px;line-height:1.5;margin:10px 0 0}
.jvf-card{min-width:0;min-height:594px;padding:37px 44px 31px;border:1px solid #e1e8f0;border-radius:30px;background:#fff;box-shadow:0 15px 55px #152f480a,0 2px 7px #152f4804}
.jvf-mobile-progress{display:none}
.jvf-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.jvf-step{animation:jvf-in .25s ease both}
@keyframes jvf-in{from{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:none}}
.jvf-step-heading{padding:1px 0 27px;border-bottom:1px solid var(--jvf-line)}
.jvf-section-num{display:inline-flex;align-items:center;color:var(--jvf-blue);font-size:11px;letter-spacing:.14em;font-weight:800}
.jvf-step-heading h2{margin:9px 0 6px;font-size:clamp(25px,2.9vw,35px);color:#112b44;letter-spacing:-.053em;line-height:1.23;font-weight:730}
.jvf-step-heading p{margin:0;font-size:14px;color:#7b8997;line-height:1.6}
.jvf-form-section{padding-top:27px}
.jvf-form-section+.jvf-form-section{margin-top:23px;border-top:1px solid #edf0f4}
.jvf-section-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.jvf-section-bar h3{margin:0;font-size:14px;letter-spacing:-.025em;font-weight:750;color:#274663}
.jvf-section-bar>span{font-size:11px;color:#8998a6;line-height:1.3;text-align:right}
.jvf-fields{display:grid;gap:17px 16px}
.jvf-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.jvf-field{display:flex;flex-direction:column;min-width:0;gap:8px;font-size:12px;line-height:1.2;color:#4e6274;font-weight:700;letter-spacing:.003em}
.jvf-field.wide{grid-column:1/-1}
.jvf-field b{color:var(--jvf-blue);font-weight:700}
.jvf-field :where(input,select,textarea){display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:0 16px;border:1px solid #dfe7ee;border-radius:13px;background:#f7f9fc;color:#15334e;box-shadow:0 1px 2px #152d4502;appearance:none;-webkit-appearance:none;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:0;transition:border-color .18s,background .18s,box-shadow .18s}
.jvf-field :where(input,select){height:51px;min-height:51px}
.jvf-field textarea{padding:14px 16px;resize:vertical;min-height:154px;line-height:1.6}
.jvf-field :where(input,textarea)::placeholder{color:#9aa8b5;opacity:1}
.jvf-field input[type=date]{min-width:0;color-scheme:light}
.jvf-field select{padding-right:42px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23527c9f' stroke-width='1.8' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center}
.jvf-field :where(input,select,textarea):hover{border-color:#c8d9e7;background:#fbfdff}
.jvf-field :where(input,select,textarea):focus{outline:0;border-color:var(--jvf-blue);background:#fff;box-shadow:0 0 0 4px #527c9f1d}
.jvf-field :where(input,select,textarea).is-error{background:#fffaf9;border-color:#c65b55;box-shadow:0 0 0 3px #c65b5517}
.jvf-field-help{display:flex;justify-content:space-between;gap:8px;color:#8795a4;font-size:11px;font-weight:500;line-height:1.5}
.jvf-field-help b{color:#5c758d}
.jvf-enquiry-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:24px}
.jvf-enquiry-quick button{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;min-height:94px;padding:14px 12px;border:1px solid #dfe7ef;border-radius:16px;background:#f8fafc;color:#425d73;font-size:11px;font-weight:700;line-height:1.25;letter-spacing:-.01em;text-align:left;transition:transform .2s,background .2s,border-color .2s,box-shadow .2s}
.jvf-enquiry-quick button:hover{transform:translateY(-2px);background:#f1f7fc;border-color:#c6dce9}
.jvf-enquiry-quick button.is-selected{color:var(--jvf-navy);background:#eaf3fa;border:1.5px solid var(--jvf-blue);box-shadow:inset 0 0 0 1px #527c9f24}
.jvf-chip-icon{width:28px;height:28px;display:grid;place-items:center;background:#eaf0f6;border-radius:9px;font-size:15px;color:var(--jvf-navy)}
.jvf-enquiry-quick button.is-selected .jvf-chip-icon{background:var(--jvf-navy);color:#fff}
.jvf-review-section{padding-top:26px}
.jvf-review-edit{display:inline-flex;align-items:center;background:none;border:none;padding:6px 0;color:var(--jvf-navy);font-size:12px;font-weight:700;white-space:nowrap}
.jvf-review-edit:hover{text-decoration:underline}
.jvf-review{overflow:hidden;border:1px solid #e0e9f0;border-radius:19px;background:#f9fbfd}
.jvf-review-row{display:grid;grid-template-columns:34% 1fr;align-items:baseline;gap:13px;padding:15px 18px;border-bottom:1px solid #e9edf2;min-width:0}
.jvf-review-row:last-child{border-bottom:0}
.jvf-review-row span{color:#74869a;font-size:12px}
.jvf-review-row strong{color:#213f58;font-size:13px;font-weight:670;line-height:1.5;overflow-wrap:anywhere}
.jvf-consent{display:flex;align-items:flex-start;gap:13px;position:relative;margin:24px 0 17px;padding:18px;border:1px solid #e0e8ef;border-radius:17px;color:#425b70;background:#fff;cursor:pointer;font-size:13px;line-height:1.55}
.jvf-consent input{position:absolute;width:26px;height:26px;opacity:0;top:19px;left:20px;cursor:pointer}
.jvf-consent-check{flex:none;display:grid;place-items:center;margin-top:1px;width:21px;height:21px;border:1.7px solid #b3c5d4;border-radius:7px;background:#f7fafc;transition:background .15s,border-color .15s;color:#fff}
.jvf-consent input:checked+.jvf-consent-check{background:var(--jvf-navy);border-color:var(--jvf-navy)}
.jvf-consent input:checked+.jvf-consent-check:after{content:'✓';font-size:14px;font-weight:800;line-height:1}
.jvf-consent:has(input:focus-visible){outline:3px solid #76a9d7;outline-offset:2px}
.jvf-consent:has(input.is-error){border-color:#c65b55;background:#fffaf9}
.jvf-privacy-note{display:flex;gap:12px;padding:16px;background:#eef5fb;border-radius:16px;color:var(--jvf-navy)}
.jvf-privacy-symbol{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:10px;background:#dceaf7;font-size:19px}
.jvf-privacy-note strong{display:block;font-size:12px;font-weight:750;margin-bottom:4px}
.jvf-privacy-note p{margin:0;font-size:12px;line-height:1.55;color:#59748d}
.jvf-actions{display:flex;align-items:center;gap:10px;margin-top:32px;padding-top:23px;border-top:1px solid var(--jvf-line)}
.jvf-actions-spacer{flex:1}
.jvf-btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:0 23px;min-height:49px;border:1px solid var(--jvf-navy);border-radius:13px;background:var(--jvf-navy);color:#fff;font-size:13px;font-weight:740;text-decoration:none;line-height:1;transition:transform .2s,background .2s,box-shadow .2s}
.jvf-btn:hover{background:#17598e;box-shadow:0 5px 17px #0c447626;transform:translateY(-1px)}
.jvf-btn:active{transform:translateY(0)}
.jvf-btn:disabled{opacity:.6;cursor:wait}
.jvf-back{background:#fff;border-color:#dce6ee;color:#4c6980}
.jvf-back:hover{background:#f2f7fa;box-shadow:none}
.jvf-next,.jvf-submit{min-width:158px}
.jvf-submit.is-loading .jvf-submit-label:after{content:'…'}
.jvf-form-error{color:#a13b36;font-size:13px;line-height:1.5;margin-top:11px;font-weight:600}
.jvf-form-error:empty{display:none}
.jvf-success{text-align:center;max-width:540px;padding:80px 20px 63px;margin:0 auto;animation:jvf-in .3s ease both}
.jvf-success-icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 23px;border-radius:25px;background:#e9f5ee;color:#398560;font-size:35px;font-weight:700}
.jvf-success h2{color:#153c5d;margin:13px 0;font-size:clamp(27px,3.8vw,42px);line-height:1.2;letter-spacing:-.055em}
.jvf-success p{color:#74879a;line-height:1.7;font-size:15px}
.jvf-success-reference{display:inline-flex;margin:10px auto 24px;padding:10px 16px;border:1px solid #d7e7f3;background:#f0f7fc;border-radius:12px;color:var(--jvf-navy);font-weight:750}
.jvf-success .jvf-btn{margin-top:12px}
.jvf-footer{display:flex;justify-content:space-between;gap:15px;color:#91a1ae;font-size:11px;padding:22px 2px 0}
@media(max-width:1060px){.jvf-workspace{grid-template-columns:235px minmax(0,1fr);gap:16px}.jvf-card{padding:32px 29px 25px}.jvf-rail-panel{padding:22px 11px 12px}.jvf-stage{gap:10px;padding:11px 9px}.jvf-enquiry-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.jvf-enquiry-quick button{min-height:80px}}
@media(max-width:750px){
  .jvf-shell{padding:0 15px 18px;background:#f5f7fb}
  .jvf-brandbar{padding:18px 0;border-color:#e5ecf2}
  .jvf-heading{padding:29px 2px 26px}
  .jvf-heading h1{font-size:clamp(44px,9vw,65px);margin:11px 0 9px}
  .jvf-heading p{font-size:14px;line-height:1.6}
  .jvf-workspace{display:block}
  .jvf-rail{display:none}
  .jvf-card{min-height:0;border-radius:24px;padding:0 22px 22px}
  .jvf-mobile-progress{display:block;margin:0 -22px;padding:20px 22px 18px;border-bottom:1px solid var(--jvf-line)}
  .jvf-mobile-progress>div:first-child{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:11px;color:#7690a4;letter-spacing:.07em;font-weight:800}
  .jvf-mobile-step-name{font-size:12px;color:var(--jvf-navy);letter-spacing:0;text-align:right}
  .jvf-progress{height:4px;overflow:hidden;border-radius:20px;background:#e5edf4;margin-top:13px}
  .jvf-progress>span{display:block;height:100%;width:25%;background:var(--jvf-navy);border-radius:20px;transition:width .26s ease}
  .jvf-step-heading{padding:26px 0 21px}
  .jvf-step-heading h2{font-size:clamp(26px,5vw,34px);margin-top:8px}
  .jvf-form-section{padding-top:22px}
  .jvf-form-section+.jvf-form-section{margin-top:20px}
  .jvf-actions{margin-top:28px}
}
@media(max-width:480px){
  .jvf-shell{padding:0 10px 15px}
  .jvf-brandbar{padding:14px 3px}
  .jvf-brandmark{height:37px;width:37px;border-radius:11px}
  .jvf-brandmark svg{width:22px;height:22px}
  .jvf-brand b{font-size:12px;letter-spacing:.10em}
  .jvf-brand small{font-size:9px;margin-top:4px}
  .jvf-brandbar-note{font-size:10px;padding:8px 10px}
  .jvf-heading{padding:25px 5px 23px}
  .jvf-heading h1{font-size:50px;letter-spacing:-.065em}
  .jvf-heading p{font-size:13px}
  .jvf-eyebrow{font-size:9px;letter-spacing:.15em}
  .jvf-card{padding:0 17px 19px;border-radius:21px}
  .jvf-mobile-progress{margin:0 -17px;padding:17px 17px 15px}
  .jvf-step-heading h2{font-size:27px}
  .jvf-step-heading p{font-size:12px}
  .jvf-fields.two{grid-template-columns:1fr}
  .jvf-fields{gap:14px}
  .jvf-field :where(input,select){min-height:50px;height:50px;font-size:16px}
  .jvf-field textarea{font-size:16px}
  .jvf-section-bar{align-items:flex-start;gap:9px}
  .jvf-section-bar h3{font-size:13px}
  .jvf-section-bar>span{font-size:10px}
  .jvf-enquiry-quick{gap:8px}
  .jvf-enquiry-quick button{min-height:82px;padding:11px;font-size:11px;border-radius:13px}
  .jvf-review-row{grid-template-columns:1fr;gap:3px;padding:12px 14px}
  .jvf-consent{padding:14px 12px;gap:10px;font-size:12px}
  .jvf-consent input{left:12px;top:15px}
  .jvf-actions{gap:8px}
  .jvf-btn{min-height:49px;padding:0 16px;font-size:13px}
  .jvf-back{gap:7px}
  .jvf-next,.jvf-submit{min-width:140px}
  .jvf-footer{display:grid;gap:2px;padding:17px 7px 0;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.jvf-shell :where(*,*:before,*:after){animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Component-width rules: also work inside narrow Elementor / Gutenberg columns on desktop. */
@container (max-width:760px){
  .jvf-workspace{display:block}
  .jvf-rail{display:none}
  .jvf-card{min-height:0;padding:0 22px 22px}
  .jvf-mobile-progress{display:block;margin:0 -22px;padding:20px 22px 18px;border-bottom:1px solid var(--jvf-line)}
  .jvf-mobile-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;color:#7690a4;letter-spacing:.07em;font-weight:800}
  .jvf-mobile-step-name{font-size:12px;color:var(--jvf-navy);letter-spacing:0}
  .jvf-progress{height:4px;overflow:hidden;border-radius:20px;background:#e5edf4;margin-top:13px}
  .jvf-progress>span{display:block;height:100%;width:25%;background:var(--jvf-navy);border-radius:20px;transition:width .26s ease}
  .jvf-step-heading{padding-top:25px}
}
@container (max-width:460px){
  .jvf-card{padding:0 16px 19px}
  .jvf-mobile-progress{margin:0 -16px;padding:17px 16px 15px}
  .jvf-heading h1{font-size:clamp(39px,10vw,50px)}
  .jvf-fields.two{grid-template-columns:1fr}
  .jvf-enquiry-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jvf-review-row{grid-template-columns:1fr;gap:3px}
}
