/* Yojana (government scheme loans) pages. Loaded after loan.css and hub.css. */

.yj-hero::after{background:linear-gradient(90deg,#FF9933 0 33.3%,rgba(255,255,255,.85) 33.3% 66.6%,#138808 66.6%);height:3px}

/* intro */
.yj-intro{background:linear-gradient(180deg,#fff,var(--cream));padding:96px 0 70px}
.yj-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:72px;align-items:center}
.yj-text h2{font-size:clamp(2rem,3.4vw,2.9rem);font-weight:400;letter-spacing:-.035em;line-height:1.12;margin:14px 0 20px}
.yj-text h2 em{font-style:normal;font-weight:500;color:var(--gold)}
.yj-text>p{color:var(--ink-dim);font-size:1rem;line-height:1.8;font-weight:300;margin-bottom:16px;max-width:600px}
.yj-text>p b{color:var(--ink);font-weight:600}
.yj-points{list-style:none;display:grid;gap:10px;margin:22px 0 30px}
.yj-points li{position:relative;padding-left:30px;font-size:.94rem;font-weight:500}
.yj-points li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B21A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}
.yj-ind{margin-top:22px;padding:12px 16px;border-radius:12px;font-size:.8rem!important;line-height:1.6;color:var(--ink-dim)!important;background:var(--gold-pale);border:1px dashed rgba(201,132,0,.5)}

/* scheme finder board */
.yj-visual{position:relative;padding:10px 24px 34px 6px}
.yj-board{position:relative;z-index:1;padding:26px;border-radius:26px;color:#fff;background:radial-gradient(circle at 100% 0%,rgba(242,178,26,.28),transparent 50%),linear-gradient(150deg,#04153D,#07225A 55%,#0B3F9E);border:1px solid rgba(242,178,26,.38);box-shadow:0 44px 70px -34px rgba(4,21,61,.8)}
.yj-board-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.yj-board-top b{font-size:1.02rem;font-weight:600}
.yj-board-top span{font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-soft)}
.yj-row{display:flex;align-items:center;gap:14px;padding:14px 16px;margin-bottom:10px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(242,178,26,.22)}
.yj-dot{flex-shrink:0;width:12px;height:12px;border-radius:50%}
.yj-dot.a{background:#2BAA62}.yj-dot.b{background:#6FA3F0}.yj-dot.c{background:var(--gold-soft)}
.yj-row div{flex:1;min-width:0}
.yj-row b{display:block;font-size:.92rem;font-weight:600}
.yj-row small{display:block;font-size:.74rem;color:rgba(255,255,255,.65);line-height:1.45}
.yj-row em{font-style:normal;padding:4px 10px;border-radius:99px;font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);background:var(--gold-soft)}
.yj-board-foot{display:flex;align-items:center;gap:10px;margin-top:6px;padding:12px 16px;border-radius:14px;font-size:.84rem;font-weight:600;color:var(--gold-soft);background:rgba(242,178,26,.1);border:1px solid rgba(242,178,26,.3)}
.yj-board-foot svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.yj-float{position:absolute;z-index:2;padding:11px 18px;border-radius:14px;color:#fff;background:rgba(4,21,61,.95);border:1px solid rgba(242,178,26,.5);box-shadow:0 20px 40px -18px rgba(0,0,0,.6)}
.yj-float b{display:block;font-size:.84rem;font-weight:600}.yj-float small{font-size:.7rem;color:rgba(255,255,255,.7)}
.yj-f1{right:-6px;top:-16px}.yj-f2{left:-14px;bottom:0}

/* numbers */
.yj-nums{background:var(--cream);padding:0 0 70px}
.yj-stats{margin-top:0}
.yj-source{margin-top:16px;text-align:center;font-size:.8rem;color:var(--ink-dim);font-weight:300}

/* comparison table */
.yj-cmp{background:#fff;padding:90px 0 70px}
.yj-table{overflow:hidden;border-radius:22px;border:1px solid var(--line);box-shadow:0 30px 60px -44px rgba(4,21,61,.45)}
.yj-tr{display:grid;grid-template-columns:.8fr 1fr 1fr 1fr;border-top:1px solid var(--line)}
.yj-table-4 .yj-tr{grid-template-columns:.8fr 1fr 1fr 1.2fr}
.yj-tr>*{padding:16px 22px;font-size:.88rem;line-height:1.55}
.yj-tr:nth-child(even){background:var(--cream)}
.yj-th{border-top:0;background:var(--ink)}
.yj-th span{font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.78)}
.yj-th span:nth-child(n+2){color:var(--gold-soft)}
.yj-lbl{font-weight:600;color:var(--ink)}

/* fit */
.yj-fit{background:var(--cream);padding:90px 0 50px}
.yj-fit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.yj-fit-card{display:flex;flex-direction:column;padding:28px 26px;border-radius:22px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold-soft);transition:transform .3s,box-shadow .3s}
.yj-fit-card:hover{transform:translateY(-5px);box-shadow:0 26px 44px -32px rgba(4,21,61,.5)}
.yj-fit-card>span{display:grid;place-items:center;width:40px;height:40px;margin-bottom:16px;border-radius:12px;font-weight:700;color:var(--gold-soft);background:var(--ink)}
.yj-fit-card h4{font-size:1.05rem;font-weight:600;line-height:1.35;margin-bottom:8px}
.yj-fit-card p{flex:1;font-size:.88rem;line-height:1.7;color:var(--ink-dim);font-weight:300;margin-bottom:14px}
.yj-fit-card a{font-size:.86rem;font-weight:600;color:var(--blue2)}

/* faq */
.yj-faq{background:var(--cream);padding:70px 0 50px}
.yj-faqs{max-width:900px;margin:0 auto}
.yj-faqs details{background:#fff}

/* mudra ladder */
.yj-ladder{position:relative;z-index:1;display:flex;align-items:flex-end;gap:14px;height:360px;padding:30px 26px 26px;border-radius:26px;background:radial-gradient(circle at 100% 0%,rgba(242,178,26,.25),transparent 50%),linear-gradient(150deg,#04153D,#07225A 55%,#0B3F9E);border:1px solid rgba(242,178,26,.38);box-shadow:0 44px 70px -34px rgba(4,21,61,.8)}
.yj-step{position:relative;flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:14px 12px;border-radius:16px 16px 10px 10px;color:#fff;background:linear-gradient(180deg,rgba(242,178,26,.28),rgba(242,178,26,.06));border:1px solid rgba(242,178,26,.45)}
.yj-step i{position:absolute;left:12px;top:12px;width:10px;height:10px;border-radius:50%;background:var(--gold-soft);box-shadow:0 0 0 4px rgba(242,178,26,.25)}
.yj-step b{font-size:.95rem;font-weight:600}.yj-step small{font-size:.7rem;color:rgba(255,255,255,.72);line-height:1.4}
.yj-step.s1{height:30%}.yj-step.s2{height:52%}.yj-step.s3{height:74%}.yj-step.s4{height:100%;background:linear-gradient(180deg,rgba(242,178,26,.6),rgba(242,178,26,.18))}
.yj-funds{background:#fff;padding:80px 0 70px}
.yj-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.yj-tile{padding:28px 24px;border-radius:20px;background:var(--cream);border:1px solid var(--line);transition:transform .3s,border-color .3s,box-shadow .3s}
.yj-tile:hover{transform:translateY(-5px);border-color:var(--gold-soft);box-shadow:0 26px 44px -32px rgba(4,21,61,.5)}
.yj-tile>span{display:grid;place-items:center;width:50px;height:50px;margin-bottom:16px;border-radius:14px;color:var(--gold-soft);background:var(--ink)}
.yj-tile h4{font-size:1.05rem;font-weight:600;margin-bottom:6px}.yj-tile p{font-size:.87rem;line-height:1.7;color:var(--ink-dim);font-weight:300}

/* msme flow */
.yj-flow{position:relative;z-index:1;display:flex;flex-direction:column;gap:0;padding:30px 28px 38px;border-radius:26px;color:#fff;background:radial-gradient(circle at 100% 0%,rgba(242,178,26,.25),transparent 50%),linear-gradient(150deg,#04153D,#07225A 55%,#0B3F9E);border:1px solid rgba(242,178,26,.38);box-shadow:0 44px 70px -34px rgba(4,21,61,.8)}
.yj-node{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(242,178,26,.25)}
.yj-node>span{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:14px;color:var(--ink);background:linear-gradient(145deg,#FFD36A,#F2B21A 50%,#D98F00)}
.yj-node svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.yj-node small{display:block;font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-soft)}.yj-node b{font-size:.98rem;font-weight:600}
.yj-arrow{display:flex;align-items:center;gap:12px;margin:0 0 0 46px;padding:6px 0}
.yj-arrow i{width:2px;height:26px;background:repeating-linear-gradient(180deg,var(--gold-soft) 0 5px,transparent 5px 9px)}
.yj-arrow em{font-style:normal;font-size:.72rem;color:rgba(255,255,255,.65)}
.yj-flow-tag{position:absolute;right:22px;bottom:-14px;padding:7px 16px;border-radius:99px;font-size:.68rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);background:var(--gold-soft)}

/* pmegp estimator */
.yj-calc{background:var(--ink);position:relative;overflow:hidden;padding:90px 0}
.yj-calc::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 95% 0%,rgba(242,178,26,.2),transparent 46%),radial-gradient(circle at 0% 100%,rgba(31,111,224,.25),transparent 50%)}
.yj-calc .wrap{position:relative}
.yj-calc .section-head-center{border-bottom-color:rgba(255,255,255,.14)}.yj-calc .section-head-center .section-tag{color:var(--gold-soft)}.yj-calc .section-head-center h2{color:#fff}.yj-calc .section-head-center p{color:rgba(255,255,255,.7)}
.yj-calc-card{display:grid;grid-template-columns:1.1fr 1fr;border-radius:28px;overflow:hidden;color:#fff;background:rgba(255,255,255,.05);border:1px solid rgba(242,178,26,.35)}
.yj-calc-left{padding:38px 40px}
.yj-calc-right{padding:38px 36px;background:rgba(255,255,255,.06);border-left:1px solid rgba(242,178,26,.25)}
.yj-opt{margin-bottom:24px}
.yj-opt>span{display:block;margin-bottom:10px;font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-soft)}
.yj-opt>div{display:flex;gap:8px}
.yj-opt button{flex:1;padding:12px 14px;border:1px solid rgba(242,178,26,.4);border-radius:12px;font:500 .88rem 'Inter',sans-serif;color:#fff;background:rgba(255,255,255,.06);cursor:pointer;transition:.2s}
.yj-opt button:hover{background:rgba(242,178,26,.16)}
.yj-opt button.on{color:var(--ink);font-weight:600;background:var(--gold-soft);border-color:var(--gold-soft)}
.yj-opt small{display:block;margin-top:8px;font-size:.72rem;line-height:1.5;color:rgba(255,255,255,.55)}
.yj-slide-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.yj-slide-top label{font-size:.9rem;font-weight:500;color:rgba(255,255,255,.85)}
.yj-slide-top b{padding:6px 14px;border-radius:10px;font-size:1.1rem;font-weight:600;color:var(--gold-soft);background:rgba(242,178,26,.12);border:1px solid rgba(242,178,26,.35)}
.yj-calc input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:8px;border-radius:99px;outline:0;cursor:pointer;background:linear-gradient(90deg,var(--gold-soft) var(--p,20%),rgba(255,255,255,.18) var(--p,20%))}
.yj-calc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;border:4px solid #fff;background:linear-gradient(135deg,#FFD36A,#C98400);box-shadow:0 6px 16px rgba(0,0,0,.45)}
.yj-calc input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;border:4px solid #fff;background:linear-gradient(135deg,#FFD36A,#C98400)}
.yj-slide-rng{display:flex;justify-content:space-between;margin-top:8px;font-size:.72rem;color:rgba(255,255,255,.5)}
.yj-big{padding:22px 24px;margin-bottom:18px;border-radius:20px;background:linear-gradient(135deg,rgba(242,178,26,.2),rgba(242,178,26,.06));border:1px solid rgba(242,178,26,.45)}
.yj-big small{display:block;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.yj-big small em{font-style:normal;margin-left:6px;padding:2px 9px;border-radius:99px;font-weight:700;color:var(--ink);background:var(--gold-soft)}
.yj-big b{display:block;margin-top:6px;font-size:2.1rem;font-weight:500;letter-spacing:-.03em;color:var(--gold-soft)}
.yj-res{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:0;border:1px solid rgba(242,178,26,.25);border-radius:16px;overflow:hidden}
.yj-res li{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;font-size:.9rem}
.yj-res li+li{border-top:1px solid rgba(255,255,255,.1)}
.yj-res span{color:rgba(255,255,255,.72)}.yj-res b{font-weight:600}
.yj-res li.hi{background:rgba(242,178,26,.12)}.yj-res li.hi b{color:var(--gold-soft)}

/* pmegp rates */
.yj-rates{background:var(--cream);padding:90px 0 70px}
.yj-rate-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.yj-rate{padding:26px 22px;border-radius:22px;text-align:center;background:#fff;border:1px solid var(--line);transition:transform .3s,box-shadow .3s}
.yj-rate:hover{transform:translateY(-5px);box-shadow:0 26px 44px -32px rgba(4,21,61,.5)}
.yj-rate small{font-size:.68rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.yj-rate h4{margin:6px 0 10px;font-size:1rem;font-weight:600}
.yj-rate b{display:block;font-size:3rem;font-weight:300;letter-spacing:-.05em;line-height:1;color:var(--blue2)}
.yj-rate p{margin:10px 0 0;font-size:.8rem;color:var(--ink-dim)}
.yj-rate.hi{color:#fff;background:linear-gradient(150deg,#04153D,#07225A 55%,#0B3F9E);border-color:rgba(242,178,26,.5)}
.yj-rate.hi small{color:var(--gold-soft)}.yj-rate.hi h4{color:#fff}.yj-rate.hi b{color:var(--gold-soft)}.yj-rate.hi p{color:rgba(255,255,255,.7)}
.yj-elig{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:40px}
.yj-elig>div{padding:30px 32px;border-radius:24px;background:#fff;border:1px solid var(--line)}
.yj-elig h3{font-size:1.3rem;font-weight:500;letter-spacing:-.02em;margin:10px 0 16px}
.yj-year{background:var(--ink);position:relative;overflow:hidden;padding:90px 0}
.yj-year::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 5% 0%,rgba(242,178,26,.2),transparent 46%)}
.yj-year .wrap{position:relative}
.yj-year .section-head-center{border-bottom-color:rgba(255,255,255,.14)}.yj-year .section-head-center .section-tag{color:var(--gold-soft)}.yj-year .section-head-center h2{color:#fff}.yj-year .section-head-center p{color:rgba(255,255,255,.7)}
.yj-tl{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.yj-tl li{display:flex;gap:16px;padding:22px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(242,178,26,.22);transition:background .3s,transform .3s}
.yj-tl li:hover{background:rgba(255,255,255,.09);transform:translateY(-4px)}
.yj-tl li>b{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;font-size:.88rem;color:var(--ink);background:var(--gold-soft)}
.yj-tl h4{color:#fff;font-size:.98rem;font-weight:600;margin-bottom:4px}.yj-tl p{color:rgba(255,255,255,.68);font-size:.84rem;line-height:1.6;font-weight:300}

@media(max-width:1000px){
  .yj-grid,.yj-calc-card,.yj-elig{grid-template-columns:1fr;gap:44px}
  .yj-calc-right{border-left:0;border-top:1px solid rgba(242,178,26,.25)}
  .yj-fit-grid,.yj-tiles{grid-template-columns:1fr 1fr}.yj-rate-grid{grid-template-columns:1fr 1fr}.yj-tl{grid-template-columns:1fr 1fr}
  .yj-visual{max-width:560px}
  .yj-tr{grid-template-columns:.8fr 1fr 1fr 1fr}
}
@media(max-width:700px){
  .yj-intro{padding:60px 0 50px}.yj-calc{padding:60px 0}.yj-year{padding:60px 0}
  .yj-fit-grid,.yj-tiles,.yj-rate-grid,.yj-tl{grid-template-columns:1fr}
  .yj-calc-left,.yj-calc-right{padding:28px 20px}.yj-elig>div{padding:24px 22px}
  .yj-tr,.yj-table-4 .yj-tr{grid-template-columns:1fr}
  .yj-th{display:none}
  .yj-tr>*{padding:8px 20px}.yj-tr .yj-lbl{padding-top:16px;font-size:.95rem}.yj-tr>*:last-child{padding-bottom:16px}
  .yj-ladder{height:300px;gap:8px;padding:22px 14px 16px}.yj-step{padding:10px 8px}.yj-step small{font-size:.62rem}
  .yj-f1{right:0}.yj-f2{left:0}
}
@media(prefers-reduced-motion:reduce){.yj-fit-card,.yj-tile,.yj-rate,.yj-tl li{transition:none}}

/* button + note used in the estimator (same look as the Home EMI calculator) */
.yj-calc .em-btn{display:flex;align-items:center;justify-content:space-between;padding:7px 7px 7px 26px;border-radius:99px;font-size:.92rem;font-weight:600;color:var(--ink);background:linear-gradient(135deg,#FFD36A,#F2B21A 55%,#D98F00);box-shadow:0 14px 30px -14px rgba(242,178,26,.8);transition:transform .25s,box-shadow .25s}
.yj-calc .em-btn i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-style:normal;color:var(--gold-soft);background:var(--ink)}
.yj-calc .em-btn:hover{transform:translateY(-2px);box-shadow:0 20px 36px -14px rgba(242,178,26,.9)}
.yj-calc .em-note{margin:16px 0 0;text-align:center;font-size:.74rem;color:rgba(255,255,255,.5)}
