/* Scoped additions for existing MODX category template. */
.np {--np-ink:#243b2a;--np-muted:#526252;color:var(--np-ink)}
.np h2,.np h3{letter-spacing:0;text-transform:none;line-height:1.22}
.np h2{font-size:clamp(26px,2.5vw,36px);font-weight:750;color:#155c34;margin:0 0 22px}
.np h3{font-size:21px;font-weight:700;color:#254731;margin:30px 0 10px}
.np p,.np li{font-size:18px;line-height:1.75}
.np p{margin:0 0 18px}.np .np-hero{min-height:650px;padding:185px 0 64px}
.np .category-hero-inner{width:min(1380px,calc(100% - 76px))}
.np .category-hero-grid{grid-template-columns:minmax(0,1fr) 340px;gap:70px}
.np .category-breadcrumbs{margin-bottom:34px;font-size:14px;line-height:1.5}
.np .category-hero h1{font-size:clamp(36px,4.2vw,62px);font-weight:800;line-height:1.1;letter-spacing:-.02em;max-width:930px}
.np .category-hero-copy>p{font-size:20px;line-height:1.65;margin:24px 0 18px;max-width:760px}
.np-regions{font-size:14px;line-height:1.7;color:#efeeda;margin:0 0 25px;max-width:620px}
.np .category-hero-card{padding:28px;border-radius:18px;background:#fffdf2;color:#243b2a;box-shadow:0 14px 40px #071f1633}
.np .category-hero-card h2{font-size:25px;margin:14px 0}
.np .category-hero-card p{color:#465746;font-size:16px;line-height:1.7;margin:0 0 24px}
.np-small-label{font-size:13px;line-height:1.5;color:#53614d}
.np-reading{width:min(1240px,calc(100% - 76px));margin:0 auto;display:grid;grid-template-columns:245px minmax(0,1fr);gap:72px;padding:64px 0 28px;align-items:start}
.np-toc{position:sticky;top:150px;display:grid;gap:0;font-size:14px;line-height:1.55;max-height:calc(100dvh - 174px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b9c8ae transparent;overscroll-behavior:contain;padding-right:12px}
.np-toc strong{font-size:16px;margin-bottom:16px}.np-toc a{padding:11px 0;border-bottom:1px solid #155c3420;color:#48604a}
.np-toc a:hover{color:#155c34;text-decoration:underline}
.np-article{min-width:0;max-width:880px}
.np-intro{padding:0 0 32px}.np-intro p{font-size:21px;line-height:1.7;color:#2c4933}
.np-section{padding:36px 0;border-top:1px solid #155c3426;scroll-margin-top:155px}
.np-section>p,.np-section>h3{max-width:78ch}.np-section a{text-decoration:underline;text-underline-offset:4px;color:#155c34}
.np-table-wrap{overflow-x:auto;margin:24px 0}.np table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.6;background:#fffdf4}
.np th{text-align:left;color:#fffdf2;background:#276234;padding:16px}.np td{padding:18px 16px;border-bottom:1px solid #d6ddc9;vertical-align:top}
.np td:nth-child(2){font-weight:700;white-space:nowrap}.np .np-source{font-size:14px;color:#576a59;line-height:1.65}
.np .np-steps{list-style:none;padding:0;margin:4px 0 0}
.np .np-steps>li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:18px;align-items:start;padding:24px 0;margin:0;border-bottom:1px solid #155c3420}
.np .np-steps>li:first-child{padding-top:8px}
.np .np-steps>li:last-child{border-bottom:0;padding-bottom:0}
.np .np-step-number{display:grid;place-items:center;width:36px;height:32px;background:#e8eedf;border-radius:7px;color:#31633b;font-size:15px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}
.np .np-step-copy{min-width:0}
.np .np-steps .np-step-copy h3{margin:0 0 8px;padding:0;line-height:1.5}
.np .np-steps .np-step-copy p{margin:0;padding:0;font-size:17px;line-height:1.7}
.np details{border-bottom:1px solid #155c3426;padding:18px 0}.np summary{cursor:pointer;font-size:18px;font-weight:650;line-height:1.55;color:#24492f}
.np details p{margin:16px 0 0}.np-related a{display:block;padding:15px 0;text-decoration:none;border-bottom:1px solid #155c3420;font-size:17px;line-height:1.5}
.np-related a:hover{text-decoration:underline}.np-cta{width:min(1240px,calc(100% - 76px));margin:12px auto 70px;padding:38px;background:#e5ecd9;display:grid;grid-template-columns:1fr auto;gap:45px;align-items:center;border-radius:18px}
.np-cta h2{font-size:30px}.np-cta p{max-width:780px;margin:0}.np a:focus-visible,.np summary:focus-visible,.np-index a:focus-visible{outline:3px solid #bc800a;outline-offset:5px}
.np-calculator{display:grid;grid-template-columns:1fr 1fr;gap:28px;background:#e5ecd9;border-radius:14px;padding:28px;margin:28px 0}.np-calculator h3{margin:0 0 14px}.np-calculator label{display:block;font-size:16px;margin:18px 0 10px}.np-calculator input{width:180px;border:1px solid #648464;border-radius:7px;padding:12px;font-size:20px;background:#fffef8}.np-calc-result{padding:22px;background:#155c34;border-radius:12px;color:#fffef2}.np-calc-result>span{font-size:14px}.np-calc-result strong{display:block;font-size:32px;line-height:1.2;margin:16px 0}.np-calc-result small{display:block;font-size:14px;line-height:1.6}.np .np-calc-result p{font-size:16px}
.np-reviewbar{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:22px;padding:11px 18px;background:#fffdf5;border:1px solid #c8d4bb;box-shadow:0 5px 28px #102c2530;border-radius:12px;font:500 14px/1.5 Montserrat,Arial,sans-serif;color:#244b2f;max-width:calc(100% - 24px);white-space:nowrap}
.np-reviewbar button{border:0;background:none;color:#155c34;text-decoration:underline;cursor:pointer;font-size:14px}.np-reviewbar span{color:#64715e}.np-reviewbar a{font-weight:700}.np-preview .footer{padding-bottom:80px}
#np-info{max-width:560px;width:calc(100% - 32px);border:1px solid #91a583;border-radius:18px;padding:34px;background:#fffdf2;color:#263d2c;font-size:16px;line-height:1.65}#np-info::backdrop{background:#122d22aa}#np-info h2{font-size:25px;line-height:1.25;text-transform:none;letter-spacing:0}#np-info p{overflow-wrap:anywhere}#np-info button{float:right;border:0;background:none;font-size:30px;cursor:pointer}
.np-skip{position:fixed;left:12px;top:-100px;z-index:100;background:#fff;padding:15px}.np-skip:focus{top:12px}
.np-index{padding:32px 6vw 70px}.np-index header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:23px 28px;background:#276234;color:#fffdf2;border-radius:18px}.np-index header img{width:245px;max-width:70%;height:auto}.np-index header span{font-size:14px;line-height:1.6}.np-index main{max-width:1380px;margin:52px auto 0}.np-index h1{font-size:clamp(34px,4vw,52px);line-height:1.12;margin:0 0 20px;color:#155c34}.np-index p{font-size:17px;line-height:1.75;max-width:940px}.np-index-lead{font-size:21px!important}.np-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:40px}.np-index-card{padding:28px;background:#fffdf4;border:1px solid #d3dcc7;border-radius:14px;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s}.np-index-card:hover{box-shadow:0 10px 30px #17392016;transform:translateY(-3px)}.np-index-card>span{font-size:13px;color:#65765a}.np-index-card h2{font-size:23px;text-transform:none;letter-spacing:0;line-height:1.3;color:#155c34;margin:15px 0 10px}.np-index-card p{font-size:15px;line-height:1.75;flex:1}.np-index-card b{font-size:14px;color:#155c34;margin-top:10px}
.np-mobile-nav{position:fixed;inset:112px 16px auto;z-index:60;padding:18px;background:#276234;color:#fffdf6;border-radius:15px}.np-mobile-nav a{display:block;padding:12px;font-size:18px}.np-mobile-nav[hidden]{display:none}
@media(max-width:1100px){.np .category-hero-grid{grid-template-columns:1fr 290px;gap:35px}.np-reading{grid-template-columns:190px minmax(0,1fr);gap:38px}.np-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.np .np-hero{min-height:0;padding:160px 0 38px;align-items:start}.np .category-hero-inner{width:calc(100% - 32px)}.np .category-breadcrumbs{font-size:13px;margin-bottom:25px}.np .category-hero-grid{grid-template-columns:1fr;gap:28px}.np .category-hero h1{font-size:36px}.np .category-hero-copy>p{font-size:18px;margin:20px 0 16px}.np .category-hero-card{padding:24px}.np .category-hero-card h2{font-size:24px}.np-reading{width:calc(100% - 36px);display:block;padding-top:30px}.np-toc{position:static;margin-bottom:30px;padding:20px;background:#e8eedc;border-radius:10px}.np-toc a{font-size:14px;padding:9px 0}.np-intro{padding-bottom:20px}.np-intro p{font-size:19px}.np p,.np li{font-size:17px;line-height:1.75}.np h2{font-size:28px}.np h3{font-size:21px}.np-section{padding:30px 0;scroll-margin-top:130px}.np table{font-size:14px}.np td,.np th{padding:13px 10px}.np td:nth-child(2){white-space:normal}.np-cta{width:calc(100% - 32px);padding:25px;grid-template-columns:1fr;gap:22px;margin-bottom:45px}.np-calculator{grid-template-columns:1fr;padding:20px;gap:20px}.np-reviewbar{bottom:8px;gap:12px;padding:10px 13px;font-size:12px}.np-reviewbar button{font-size:12px}.np-reviewbar span{display:none}.np-index{padding:16px}.np-index header{padding:20px;display:block}.np-index header span{display:block;margin-top:15px}.np-index main{margin-top:32px}.np-index-grid{grid-template-columns:1fr;gap:16px}.np-index-card{padding:24px}.np-index p{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.np-index-card{transition:none}}

/* Вторая редакция: единый отступ под фиксированную шапку и спокойная типографика. */
.np{background:#fbfaf5;--np-muted:#4d6152}
.page.page-category:has(.np){overflow:clip}
html:has(.np){overflow-x:clip;overflow-y:visible}
body:has(.np){overflow:visible}
.np .category-hero.service-hero.np-hero{margin-top:0;min-height:0;padding:158px 0 58px;display:block}
.np .category-hero-inner{padding:0;width:min(1320px,calc(100% - 76px))}
.np .category-hero-grid{grid-template-columns:minmax(0,1fr) 310px;gap:64px;align-items:center}
.np .category-breadcrumbs{margin:0 0 28px;gap:8px;color:#f3f4e9;font-weight:500}
.np .category-breadcrumbs a{color:#fff;text-decoration:underline;text-decoration-color:#ffffff70;text-underline-offset:3px}
.np .category-breadcrumbs [aria-current]{opacity:.85}
.np .category-hero h1{font-size:clamp(36px,4vw,58px);line-height:1.1;font-weight:750;text-wrap:balance}
.np .category-hero-copy>p{font-size:20px;line-height:1.55;font-weight:450;margin:22px 0 18px}
.np .category-hero .eyebrow{font-weight:650;letter-spacing:.06em;font-size:12px;line-height:1.6}
.np-regions{font-size:13px;line-height:1.6;max-width:450px;margin-bottom:24px}
.np .btn{font-size:15px;font-weight:650;line-height:1.4;text-transform:none;letter-spacing:0;min-height:48px;padding:13px 22px;border-radius:8px}
.np .category-hero-card{padding:26px;border-radius:14px;box-shadow:none;border:1px solid #e5e4d2;background:#faf8ed}
.np .category-hero-card h2{font-size:24px;font-weight:650;line-height:1.24;margin:9px 0 14px}
.np .category-hero-card p{font-size:15px;line-height:1.65;margin-bottom:20px}
.np-small-label{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#58704f}
.np-reading{width:min(1200px,calc(100% - 76px));grid-template-columns:220px minmax(0,1fr);gap:68px;padding:58px 0 20px}
.np h2{font-weight:650;letter-spacing:-.015em;font-size:clamp(26px,2.3vw,34px);line-height:1.25;margin-bottom:22px;text-wrap:balance}
.np h3{font-size:21px;font-weight:650;line-height:1.4;margin-top:28px}
.np p,.np li{font-weight:400;line-height:1.75}
.np-intro p{font-size:21px;line-height:1.65;font-weight:450}
.np-section{padding:38px 0;scroll-margin-top:150px}
.np-section ul:not(.np-estimate ul){padding-left:23px;margin:20px 0}
.np-section ul:not(.np-estimate ul) li{padding-left:4px;margin-bottom:12px}
.np-figure{margin:30px 0 5px;border:1px solid #d9dfcf;border-radius:12px;overflow:hidden;background:#f4f0e9}
.np-figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.np-figure figcaption{padding:22px 26px 25px;background:#f2f4eb;color:#485e4c;font-size:15px;line-height:1.65;border-top:1px solid #dfe4d6}
.np-figure figcaption strong{display:block;font-size:19px;line-height:1.4;font-weight:650;color:#244c31;margin:6px 0 9px}
.np-figure-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#53674c}
.np-estimate{padding:24px 28px;margin:25px 0;background:#edf1e5;border:1px solid #d8e0cd;border-radius:12px}
.np-estimate-label{display:inline-block;font-size:14px;font-weight:650;color:#155c34}
.np .np-estimate h3{font-size:23px;margin:8px 0 20px}
.np .np-estimate ul{padding:0;margin:0;list-style:none;display:grid;gap:16px}
.np .np-estimate li{font-size:16px;line-height:1.6;border-top:1px solid #d0dbc4;padding-top:14px}
.np-estimate li strong{display:block;font-weight:600}.np-estimate li span{display:block;color:#55674e;font-size:14px;margin-top:3px}
.np table{font-size:15px;background:#fffef9}.np th{font-weight:600;line-height:1.5}.np td{line-height:1.6}.np th:nth-child(2){min-width:135px}
.np .price-landing .pl-hero.np-price-hero{margin-top:0;padding:158px 0 58px}
.np .price-landing .pl-hero h1{font-size:clamp(38px,4vw,58px);line-height:1.08;letter-spacing:-.025em;font-weight:750}
.np .price-landing .pl-button{font-size:15px;font-weight:650;border-radius:8px}
.np .price-landing .pl-quick-answer{border-radius:12px;box-shadow:none}.np .price-landing .pl-quick-answer p{margin:0}
.np .price-landing .pl-hero-price p{margin-top:20px;font-size:16px;line-height:1.6}
.np .np-toc a{font-size:14px;line-height:1.5}.np .np-toc strong{font-size:15px;font-weight:650}
.np summary{font-weight:600}.np-cta{border-radius:12px;background:#e8eedf}.np .np-cta h2{font-size:29px;margin-bottom:16px}
.np-index{background:#f5f4ec}.np-index-card{box-shadow:none;border-radius:10px}.np-index-card h2{font-weight:650}.np-index-card p{line-height:1.65}
.np-index header span{max-width:350px}.np-index-card>span{font-size:12px;line-height:1.6}
@media(max-width:1100px){.np .category-hero-grid{grid-template-columns:minmax(0,1fr) 275px;gap:30px}.np-reading{grid-template-columns:185px minmax(0,1fr);gap:36px}}
@media(max-width:760px){
 .np .np-steps>li{grid-template-columns:32px minmax(0,1fr);gap:13px;padding:22px 0}
 .np .np-step-number{width:32px;height:30px;font-size:14px}
 .np .np-steps .np-step-copy h3{font-size:19px;line-height:30px;margin-bottom:7px}
 .np .np-steps .np-step-copy p{font-size:16px;line-height:1.7}
 .np .category-hero.service-hero.np-hero,.np .price-landing .pl-hero.np-price-hero{padding:118px 0 32px}
 .np .category-hero-inner,.np .price-landing .pl-shell{width:calc(100% - 36px);padding:0}
 .np .category-breadcrumbs{font-size:12px;line-height:1.55;margin-bottom:23px;gap:6px}
 .np .category-hero-grid{grid-template-columns:1fr;gap:25px}
 .np .category-hero h1,.np .price-landing .pl-hero h1{font-size:32px;line-height:1.12;letter-spacing:-.02em;text-wrap:initial}
 .np .category-hero-copy>p{font-size:18px;line-height:1.6;margin:18px 0}
 .np-regions{font-size:12px;line-height:1.6;margin-bottom:20px}
 .np .category-hero-card{padding:21px;background:#faf8ed;border-radius:10px}
 .np .category-hero-card h2{font-size:21px;margin:8px 0 12px}.np .category-hero-card p{font-size:15px;line-height:1.6;margin-bottom:16px}
 .np .category-hero-card .np-small-label{display:none}
 .np .category-hero-card .btn{display:inline-flex;width:auto;min-height:44px;font-size:14px}
 .np-reading{width:calc(100% - 36px);display:block;padding-top:24px}
 .np-toc{display:grid;grid-template-columns:minmax(0,1fr);gap:0;overflow:visible;max-height:none;position:static;background:#edf1e5;margin:0 0 30px;padding:20px;border:1px solid #d5ddc9;border-radius:10px;overscroll-behavior:auto}
 .np .np-toc strong{display:block;font-size:18px;line-height:1.4;margin:0 0 10px;color:#155c34}
 .np .np-toc a{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:12px 0;border:0;border-bottom:1px solid #d5ddc9;background:none;border-radius:0;font-size:15px;line-height:1.5}
 .np .np-toc a:last-child{border-bottom:0;padding-bottom:0}
 .np-intro{padding-bottom:24px}.np-intro p{font-size:19px;line-height:1.65}
 .np h2{font-size:27px;line-height:1.28;text-wrap:initial}.np h3{font-size:20px;line-height:1.4}
 .np p,.np li{font-size:17px;line-height:1.75}.np-section{padding:30px 0;scroll-margin-top:112px}
 .np-figure{margin:24px 0 3px;border-radius:9px}.np-figure figcaption{padding:18px;font-size:14px;line-height:1.65}.np-figure figcaption strong{font-size:18px}
 .np-estimate{padding:20px;margin:22px 0}.np .np-estimate h3{font-size:21px}.np .np-estimate li{font-size:15px}
 .np table{display:block;font-size:14px;min-width:0;background:none}.np tbody{display:block}.np .np-table-wrap{margin:22px 0;overflow:visible}
 .np thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
 .np tr{display:block;margin-bottom:14px;border:1px solid #d4ddc9;border-radius:9px;overflow:hidden;background:#fffef9}
 .np td{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;padding:12px 14px;border-bottom:1px solid #e2e7d9;font-size:14px;font-weight:400;white-space:normal}
 .np td::before{content:attr(data-label);font-size:12px;color:#536850;font-weight:500;padding-top:2px}
 .np td:first-child{display:block;background:#eaf0e1;font-weight:650}.np td:first-child::before{display:none}.np td:last-child{border-bottom:0}
 .np td:nth-child(2){font-weight:650;white-space:normal}
 .np .price-landing .pl-hero-price{border-radius:12px;padding:22px}.np .price-landing .pl-hero-price strong{font-size:32px}.np .price-landing .pl-hero-price p{font-size:15px;line-height:1.6}
 .np .np-cta h2{font-size:26px}.np .np-cta{width:calc(100% - 36px);padding:24px}
 .np-reviewbar{padding:9px 12px;gap:16px;background:#fffef8;box-shadow:0 3px 18px #163b2326}
}
