/* ntbx-home.css – strona główna NTBX (wejście V2 delikatne + układ A). Wszystkie selektory pod .nh – nie wpływa na inne strony. */
.nh{font-family:Inter,system-ui,sans-serif;font-size:19px;line-height:1.6;color:#282828;text-align:left;-webkit-font-smoothing:antialiased}
.nh *,.nh *::before,.nh *::after{box-sizing:border-box}
.nh :where(.wp-block-group,.wp-block-query,.wp-block-post-template)>*{margin-block-start:0;margin-block-end:0}
.nh .wp-block-group__inner-container{display:contents}
/* tło: białe tylko tam, gdzie jest .nh (strona testowa / nowa strona główna); obecna strona 74 bez zmian */
body:has(.nh){background:#fff}
.nh{background:#fff}
/* przycisk Kontakt (rev-style) jako ostatni element menu – nie przyklejaj tekstu do krawędzi */
body:has(.nh) ul#primary-menu > li.main-menu-element.rev-style:last-child > a{padding-right:16px!important}
.nh figure{margin:0}
.nh :is(figure,.wp-block-image,.wp-block-group,.wp-block-query,.wp-block-post-template,h1,h2,h3,p){margin-top:0;margin-bottom:0}
.nh figure.wp-block-image{margin-top:0;margin-bottom:0}
.nh img{max-width:100%;height:auto;display:block}
.nh .wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.nh a{color:#282828}
.nh .lnk,.nh p a,.nh li a{color:#282828;font-weight:600;text-decoration:underline;text-decoration-color:#f2de01;text-decoration-thickness:3px;text-underline-offset:5px}
.nh .lnk-ext::after{content:" ↗";font-weight:600}
.nh h1,.nh h2,.nh h3{margin:0;padding:0;color:#282828;text-align:left;font-family:inherit}
.nh p{margin:0}
.nh .h2{font-size:40px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.nh .mk{white-space:nowrap;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 40 6, 90 5, 197 9 C 150 12, 80 14, 6 17' fill='none' stroke='%23f2de01' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:100% .5em;background-position:0 104%;padding:0 2px}
.nh .btn{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:700;line-height:1.2;padding:17px 26px;border-radius:8px;border:2px solid #282828;text-decoration:none!important;color:#282828}
.nh .btn-y{background:#f2de01;border-color:#f2de01}
.nh .btn:hover{background:#282828;border-color:#282828;color:#f2de01}
.nh .brand{font-weight:900;letter-spacing:-.05em;line-height:.92;white-space:nowrap}
.nh .brand .bd{color:#f2de01;margin:0 .14em}
.nh .brand .m2{display:none}
/* zapytanie o 3 najnowsze wpisy (core/query) */
.nh .blog{list-style:none;margin:0;padding:0}
.nh .blog>li{margin:0;border:1px solid #e6e6e6;border-radius:16px;overflow:hidden;background:#fff}
.nh .blog .wp-block-post-featured-image{margin:0}
.nh .blog .wp-block-post-featured-image a{text-decoration:none}
.nh .blog .wp-block-post-featured-image img{width:100%;aspect-ratio:16/10;object-fit:cover}
.nh .blog .in{padding:18px 22px 24px}
.nh .blog h3{font-size:20px;line-height:1.35;font-weight:700}
.nh .sec-head .more{white-space:nowrap}
/* wejście V2 – delikatne */
.nh-hero2{padding:72px 0 0}
.nh-hero2 .g{display:grid;grid-template-columns:5fr 6fr;gap:72px;align-items:center}
.nh-hero2 .brand{font-size:62px;font-weight:700;letter-spacing:-.035em;line-height:1.08}
.nh-hero2 .brand .bd{margin:0 .2em;font-weight:900}
.nh-hero2 .brand .m2{display:inline}
.nh-hero2 .lead{margin:30px 0 34px;font-size:20px;line-height:1.6;color:#4a4a4a;max-width:480px}
.nh-hero2 .cta{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.nh-hero2 .tel{font-size:18px;color:#3a3a3a}
.nh-hero2 .nh-fig img{width:100%;aspect-ratio:5/4;object-fit:cover;display:block}
.nh-quiet{display:grid;grid-template-columns:repeat(4,1fr);margin-top:56px;border-top:1px solid #e8e8e8}
.nh-quiet div{padding:28px 28px 8px 0}
.nh-quiet div+div{padding-left:28px;border-left:1px solid #f0f0f0}
.nh-quiet b{display:flex;align-items:center;gap:12px;font-size:30px;line-height:1;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.nh-quiet b::before{content:"";width:8px;height:8px;border-radius:50%;background:#f2de01;flex:none}
.nh-quiet span{display:block;margin-top:10px;font-size:15px;line-height:1.45;color:#666;padding-left:20px}
/* treść – układ A */
.nh-pillars{padding:96px 0}
.nh-hero2+.nh-pillars{padding-top:88px}
.nh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.nh .card{border:1px solid #e6e6e6;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.nh .card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.nh .card .in{padding:6px 24px 26px;display:flex;flex-direction:column;gap:12px;flex:1}
.nh .lbl{font-size:15px;font-weight:700;letter-spacing:.02em;display:inline-flex;align-items:center;gap:8px;color:#282828}
.nh .lbl::before{content:"";width:10px;height:10px;border-radius:50%;background:#f2de01}
.nh .card h3{font-size:23px;line-height:1.25;font-weight:700}
.nh .card p{font-size:17px;line-height:1.55;color:#3a3a3a}
.nh .card .links{margin-top:auto;display:flex;flex-direction:column;gap:6px;font-size:17px;padding-top:6px}
.nh .sec{padding:96px 0;border-top:1px solid #ececec}
.nh .sec-head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px 40px;margin-bottom:36px}
.nh .sec-head p{max-width:720px;color:#3a3a3a;grid-column:1}
.nh .sec-head .more{grid-column:2;grid-row:1}
.nh .ind{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.nh .tile{display:block;text-decoration:none}
.nh .tile img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px;border:1px solid #eee}
.nh .tile span{display:block;margin-top:12px;font-size:18px;font-weight:700;color:#282828;text-decoration:underline;text-decoration-color:#f2de01;text-decoration-thickness:3px;text-underline-offset:5px}
.nh .tile.hub{background:#f2de01;border-radius:12px;padding:26px 24px;display:flex;flex-direction:column;justify-content:space-between}
.nh .tile.hub b{font-size:26px;line-height:1.2;font-weight:800;color:#282828}
.nh .tile.hub small{font-size:16px;line-height:1.5;color:#282828;display:block;margin-top:10px}
.nh .tile.hub span{text-decoration-color:#282828}
.nh .stat{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.nh .st{border:1px solid #e2e2e2;border-radius:12px;padding:16px 18px;font-size:15px;line-height:1.4}
.nh .st b{display:block;font-size:17px}
.nh .st.aw{background:#fafafa}
.nh .blog{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.nh .post{border:1px solid #e6e6e6;border-radius:16px;overflow:hidden}
.nh .post img{width:100%;aspect-ratio:16/10;object-fit:cover}
.nh .post .in{padding:18px 22px 24px}
.nh .post h3{font-size:20px;line-height:1.35;font-weight:700;margin-top:8px}
.nh .shopline{margin-top:34px;font-size:18px;color:#3a3a3a}
@media (max-width:900px){
 .nh{font-size:18px}
 .nh .wrap{padding:0 20px}
 .nh .h2{font-size:30px}
 .nh-hero2{padding:48px 0 0}
 .nh-hero2 .g{grid-template-columns:1fr;gap:28px}
 .nh-hero2 .brand{font-size:42px}
 .nh-hero2 .lead{font-size:18px;margin:22px 0 26px}
 .nh-hero2 .cta{gap:16px 24px}
 .nh-hero2 .nh-fig{margin:0 -20px;overflow:hidden}.nh-hero2 .nh-fig img{aspect-ratio:16/11;transform:scale(1.18)}
 .nh-quiet{grid-template-columns:1fr 1fr;margin-top:20px}
 .nh-quiet div,.nh-quiet div+div{padding:20px 12px 14px 0;border-left:0}
 .nh-quiet div:nth-child(n+3){border-top:1px solid #f0f0f0}
 .nh-quiet b{font-size:24px;gap:10px}.nh-quiet span{font-size:14px;padding-left:18px}
 .nh-pillars,.nh-hero2+.nh-pillars{padding:56px 0}
 .nh-grid,.nh .blog{grid-template-columns:1fr;gap:18px}
 .nh .card h3{font-size:22px}.nh .card .in{padding:4px 20px 22px}
 .nh .sec{padding:56px 0}
 .nh .sec-head{display:block;margin-bottom:24px}.nh .sec-head p{margin-top:12px}
 .nh .ind{grid-template-columns:1fr 1fr;gap:16px 12px}
 .nh .tile span{font-size:16px;margin-top:8px;line-height:1.35}
 .nh .tile.hub{padding:16px 14px}.nh .tile.hub b{font-size:18px}.nh .tile.hub small{display:none}
 .nh .stat{grid-template-columns:1fr 1fr}.nh .st.aw{grid-column:1/-1}
}
