/* Страницы с классом .p-service на <body> (изолировано от остальных макетов) */
.p-service section.card{margin-bottom:18px;scroll-margin-top:12px}
.p-service h2{font:700 21px ui-monospace,"JetBrains Mono",Menlo,monospace;margin:0 0 6px;display:flex;gap:10px;align-items:center}
.p-service h2 .n{background:var(--navy);color:#fff;font-size:13px;border-radius:6px;padding:2px 8px}
.p-service .lead{color:var(--mu);margin:0 0 16px}
.p-service .price{background:var(--hd);color:#fff;border:0}
.p-service .price .big{font:800 34px ui-monospace,monospace;margin:4px 0}
.p-service .price p{font-size:14px;opacity:.9;margin:0 0 12px}
.p-service .price .btn{display:flex;margin-top:8px}
.p-service .price .chip{background:rgba(255,255,255,.18);color:#fff}
.p-service .chk{counter-reset:chk}
.p-service .sy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.p-service .sy label{display:flex;gap:12px;align-items:flex-start;border:1.5px solid var(--line);border-radius:12px;padding:12px;cursor:pointer;font-size:14.5px;transition:.15s}
.p-service .sy label:hover{border-color:var(--ac2)}
.p-service .sy label:has(input:checked){border-color:var(--err);background:color-mix(in srgb,var(--err) 8%,var(--card));counter-increment:chk}
.p-service .sy input{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:1.5px solid var(--line);border-radius:6px;flex:none;margin:2px 0 0;cursor:pointer;display:grid;place-content:center;background:var(--card)}
.p-service .sy input:checked{background:var(--err);border-color:var(--err)}
.p-service .sy input:checked::after{content:"";width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}
.p-service .sy input:focus-visible{outline:3px solid color-mix(in srgb,var(--ac) 35%,transparent);outline-offset:2px}
.p-service .sy code{font-size:12px;background:var(--bg);padding:1px 5px;border-radius:4px;overflow-wrap:break-word}
.p-service .al{display:flex;gap:12px;padding:12px 14px;border-radius:10px;border-left:4px solid;font-size:14px;margin-top:14px}
.p-service .al.i{border-color:var(--ac2);background:color-mix(in srgb,var(--ac2) 10%,var(--card))}
.p-service .al.w{border-color:var(--wn);background:color-mix(in srgb,var(--wn) 12%,var(--card))}
.p-service .al.e{border-color:var(--err);background:color-mix(in srgb,var(--err) 10%,var(--card))}
.p-service .al a{color:var(--ac);text-decoration:underline;font-weight:600}
.p-service .cnt::after{content:counter(chk)}
.p-service .m1,.p-service .m3{display:none}
.p-service .chk:has(.sy input:checked) .m0{display:none}
.p-service .chk:has(.sy input:checked) .m1{display:flex}
.p-service .g2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.p-service .path{border:1.5px solid var(--line);border-radius:14px;padding:18px;position:relative}
.p-service .path.rec{border-color:var(--ac2);background:color-mix(in srgb,var(--ac2) 8%,var(--card))}
.p-service .path .tg{position:absolute;top:-11px;right:14px;background:var(--ac2);color:var(--onac);font-size:12px;font-weight:700;padding:2px 10px;border-radius:99px}
.p-service .path h3{margin:0 0 6px;font-size:17px}
.p-service .path p{margin:0;font-size:14.5px;color:var(--mu)}
.p-service .steps{display:grid;gap:12px;counter-reset:s}
.p-service .step{display:flex;gap:14px;padding:16px;border:1px solid var(--line);border-radius:12px}
.p-service .step::before{content:counter(s);flex:none;width:36px;height:36px;border-radius:10px;background:var(--hd);color:#fff;display:grid;place-items:center;font:700 16px ui-monospace,monospace}
.p-service .step b{display:block}
.p-service .step span{color:var(--mu);font-size:14.5px}
.p-service .acc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.p-service .acc b{display:block;margin:6px 0 2px}
.p-service .acc span{color:var(--mu);font-size:14.5px}
.p-service .time{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.p-service .time .num{font:800 44px ui-monospace,monospace;color:var(--ac)}
.p-service progress{appearance:none;-webkit-appearance:none;width:100%;height:10px;border:0;border-radius:99px;background:var(--bg);display:block}
.p-service progress::-webkit-progress-bar{background:var(--bg);border-radius:99px}
.p-service progress::-webkit-progress-value{background:linear-gradient(90deg,var(--ac),var(--ac2));border-radius:99px}
.p-service progress::-moz-progress-bar{background:linear-gradient(90deg,var(--ac),var(--ac2));border-radius:99px}
.p-service .calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center}
.p-service .nn{display:flex;gap:6px;flex-wrap:wrap}
.p-service .nn label{position:relative;width:46px;height:46px;border:1.5px solid var(--line);border-radius:10px;display:grid;place-items:center;cursor:pointer;font:700 16px ui-monospace,monospace;transition:.15s}
.p-service .nn input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;width:100%;height:100%}
.p-service .nn label:hover{border-color:var(--ac2)}
.p-service .nn label:has(input:checked){background:var(--ac);border-color:var(--ac);color:var(--onac)}
.p-service .nn label:has(input:focus-visible){outline:3px solid color-mix(in srgb,var(--ac) 35%,transparent);outline-offset:2px}
.p-service .sum{background:var(--bg);border-radius:12px;padding:16px}
.p-service .sum div.r{display:flex;justify-content:space-between;font-size:14px;padding:4px 0;color:var(--mu)}
.p-service .sum .t{display:flex;justify-content:space-between;border-top:1px dashed var(--line);margin-top:6px;padding-top:10px;font:800 22px ui-monospace,monospace}
.p-service .st{display:inline-flex;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:var(--bg)}
.p-service .st button{width:44px;border:0;background:var(--bg);color:var(--tx);font-size:20px;cursor:pointer}
.p-service .st button:hover{color:var(--ac)}
.p-service .st input{width:70px;text-align:center;border:0;background:var(--card);color:var(--tx);font:700 16px ui-monospace,monospace;padding:10px 0;-moz-appearance:textfield;outline:0}
.p-service .st input::-webkit-inner-spin-button,.p-service .st input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.js .p-service .st.jo{display:inline-flex}
.js .p-service .nn,.js .p-service .sx{display:none!important}
.js .p-service .sj.jo{display:block}
.p-service .sx{display:none}
.p-service .calc:has(#n0:checked) .s0{display:block}
.p-service .calc:has(#n1:checked) .s1{display:block}
.p-service .calc:has(#n2:checked) .s2{display:block}
.p-service .calc:has(#n3:checked) .s3{display:block}
.p-service .calc:has(#n4:checked) .s4{display:block}
.p-service .calc:has(#n5:checked) .s5{display:block}
.p-service .calc:has(#n6:checked) .s6{display:block}
.p-service .order{background:var(--navy);color:#e8ecf6;border:0}
.p-service .order h2 .n{background:var(--ac2);color:var(--onac)}
.p-service .order .step{border-color:#1f3d63}
.p-service .order .step span{color:#9fb3cc}
.p-service .rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.p-service .rel a{padding:14px;border:1px solid var(--line);border-radius:10px;font-size:14px;transition:.2s;background:var(--card)}
.p-service .rel a:hover{border-color:var(--ac2);transform:translateY(-2px)}
@media(max-width:900px){
.p-service .sy,.p-service .g2,.p-service .acc,.p-service .calc{grid-template-columns:minmax(0,1fr)}
}
.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(5) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m1,.p-service .chk:has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m1{display:none}
.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(5) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(1) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(2) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(3) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(4) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m3,.p-service .chk:has(.sy label:nth-child(5) input:checked):has(.sy label:nth-child(6) input:checked):has(.sy label:nth-child(7) input:checked) .m3{display:flex}
