/* NTC: nowy hero i blok zaufania (ładowany tylko na stronie głównej). */

/* Stary slider jest ukryty do czasu wstawienia nowego hero (bez przeskoku układu).
   Gdyby skrypt nie zadziałał, po 4 s stary slider wraca sam. */
body.ntcx-hero-pending .ntcx-old-never {
	visibility: hidden;
	animation: ntcx-old-show 0s 4s forwards;
}
@keyframes ntcx-old-show { to { visibility: visible; } }
.ntcx-old-hero { display: none !important; }
/* Miejsce na hero (zastępuje stary slider): wysokość ekranu, żeby treść poniżej nie skakała. Znika po wstawieniu hero albo po 4 s. */
.ntcx-ph-hero { display: none; }
body.ntcx-hero-pending .ntcx-ph-hero { display: block; min-height: 100svh; visibility: hidden; animation: ntcx-ph-gone 0s 4s forwards; }
@keyframes ntcx-ph-gone { to { min-height: 0; height: 0; display: none; } }
/* Komputer: hero (520 px sceny + 234 px odstępów) i blok zaufania zajmują razem około 784 px, tyle rezerwujemy. */
@media (min-width: 1001px) { body.ntcx-hero-pending .ntcx-ph-hero { min-height: 784px; } }
body.ntcx-hero-on { overflow-x: clip; }

.ntcx-hero, .ntcx-trust2 { --ntcx-y: #ffcc00; --ntcx-yd: #e6b800; --ntcx-ink: #0d0d0d; --ntcx-line: #e8e8e8; --ntcx-muted: #6a6a6a; }

/* ---------- Hero ---------- */
.ntcx-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -40px; min-height: 640px; background: var(--ntcx-ink); color: #fff; overflow: hidden; padding: 84px 0 150px; isolation: isolate; box-sizing: border-box; }
.ntcx-hero * { box-sizing: border-box; }
.ntcx-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(800px 500px at 82% 28%, rgba(255, 204, 0, .2), transparent 62%), radial-gradient(600px 400px at 8% 100%, rgba(255, 204, 0, .08), transparent 60%); }
.ntcx-h-wrap { max-width: 1360px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.ntcx-hero h1 { font-family: var(--ntcx-font-head, inherit); font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; margin: 0 0 20px; color: #fff; text-transform: none; }
.ntcx-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ntcx-hero h1 .ln > span { display: block; }
.ntcx-hero h1 em { font-style: normal; color: var(--ntcx-y); }
.ntcx-h-lead { font-size: clamp(16px, 1.35vw, 19px); color: #c9c9c9; max-width: 520px; margin: 0; }
.ntcx-h-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 38px; }
.ntcx-h-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 12px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 0; }
.ntcx-h-btn.pri { background: var(--ntcx-y); color: var(--ntcx-ink); }
.ntcx-h-btn.pri:hover { background: var(--ntcx-yd); color: var(--ntcx-ink); box-shadow: 0 12px 28px -8px rgba(255, 204, 0, .55); }
.ntcx-h-btn.sec { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.ntcx-h-btn.sec:hover { border-color: var(--ntcx-y); color: var(--ntcx-y); }
.ntcx-h-btn svg { width: 18px; height: 18px; transition: transform .25s; flex: none; }
.ntcx-h-btn:hover svg { transform: translateX(5px); }
.ntcx-h-stats { display: flex; gap: 34px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ntcx-h-stat b { display: block; font-size: 34px; font-weight: 900; line-height: 1; color: #fff; }
.ntcx-h-stat b span.sx { color: var(--ntcx-y); }
.ntcx-h-stat small { font-size: 13px; color: #a9a9a9; }

/* Scena produktowa */
.ntcx-stage { position: relative; height: 520px; }
.ntcx-ring { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; max-width: 90%; }
.ntcx-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ntcx-ring .trk { stroke: rgba(255, 255, 255, .09); }
.ntcx-ring .bar { stroke: var(--ntcx-y); stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(255, 204, 0, .55)); }
.ntcx-ring .pct { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; z-index: 3; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.ntcx-ring .pct b { font-size: 54px; font-weight: 900; line-height: 1; color: #fff; }
.ntcx-ring .pct small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; }
.ntcx-pcard { position: absolute; width: min(240px, 40%); will-change: transform; display: block; text-decoration: none; color: #fff; }
.ntcx-pcard img { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 28px rgba(0, 0, 0, .6)); }
.ntcx-pcard .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 12px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; backdrop-filter: blur(8px); }
.ntcx-pcard .t em { font-style: normal; background: rgba(255, 204, 0, .2); color: var(--ntcx-y); border-radius: 20px; padding: 2px 9px; font-size: 12px; white-space: nowrap; }
.ntcx-pc1 { left: -3%; top: 14%; } .ntcx-pc2 { right: -3%; top: -5%; } .ntcx-pc3 { right: 8%; bottom: 2%; }

/* ---------- Blok zaufania (karta nachodząca na hero) ---------- */
.ntcx-trust2 { position: relative; z-index: 5; margin-top: -70px; margin-bottom: 30px; }
.ntcx-trust2 .ntcx-t-wrap { max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.ntcx-trust2 .card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .35); border: 1px solid var(--ntcx-line); overflow: hidden; }
.ntcx-ti { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; position: relative; color: #1a1a1a; }
.ntcx-ti + .ntcx-ti::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--ntcx-line); }
.ntcx-ti .ic { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--ntcx-y); display: grid; place-items: center; }
.ntcx-ti .ic svg { width: 26px; height: 26px; color: var(--ntcx-ink); transition: transform .2s; }
.ntcx-ti:hover .ic svg { transform: rotate(-8deg) scale(1.12); }
.ntcx-ti b { display: block; font-size: 17px; line-height: 1.25; margin-bottom: 3px; }
.ntcx-ti span.d { font-size: 14px; color: var(--ntcx-muted); line-height: 1.45; display: block; }

/* Puls celu po kliknięciu "Dobierz akumulator" */
.ntcx-pulse { animation: ntcx-pulse-t 1.4s ease-out 1; }
@keyframes ntcx-pulse-t { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, .7); } 100% { box-shadow: 0 0 0 28px rgba(255, 204, 0, 0); } }

@media (max-width: 1000px) {
	.ntcx-hero { padding: 56px 0 130px; min-height: 0; }
	.ntcx-h-wrap { grid-template-columns: 1fr; gap: 20px; }
	.ntcx-stage { height: 430px; order: 2; }
	.ntcx-ring { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
	.ntcx-trust2 .card { grid-template-columns: repeat(2, 1fr); }
	.ntcx-ti:nth-child(3)::before { display: none; }
	.ntcx-ti:nth-child(n+3) { border-top: 1px solid var(--ntcx-line); }
}
@media (max-width: 560px) {
	.ntcx-h-wrap, .ntcx-trust2 .ntcx-t-wrap { padding: 0 18px; }
	.ntcx-stage { height: 360px; }
	.ntcx-pcard { width: 40%; }
	.ntcx-ring { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
	.ntcx-ring .pct b { font-size: 40px; }
	.ntcx-ti { padding: 18px 14px; gap: 12px; }
	.ntcx-ti .ic { width: 42px; height: 42px; border-radius: 12px; }
	.ntcx-ti b { font-size: 15px; }
	.ntcx-ti span.d { font-size: 12.5px; }
	.ntcx-h-stat b { font-size: 28px; }
	.ntcx-h-stats { gap: 24px; }
	.ntcx-trust2 { margin-top: -60px; }
}
@media (prefers-reduced-motion: reduce) { .ntcx-hero *, .ntcx-trust2 * { animation: none !important; } }

/* Pasek postępu przewijania (efekt GSAP) */
.ntcx-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: #ffcc00; transform-origin: left; transform: scaleX(0); z-index: 100000; pointer-events: none; box-shadow: 0 0 10px rgba(255, 204, 0, .6); }

/* Nagłówek bez jasnej linii pod spodem (na ciemnym hero wyglądała jak przerwa) */
body.ntcx-hero-on .whb-general-header,
body.ntcx-hero-on .whb-header-bottom,
body.ntcx-hero-on .whb-header .whb-row { border-bottom: 0 !important; box-shadow: none; }


/* ===== Telefon (v2): niższe hero, kafelki zaufania jako slider, bez białego paska, nowy blok B2B ===== */
@media (max-width: 767px) {
	.ntcx-hero { padding: 28px 0 84px; }
	.ntcx-hero h1 { font-size: 34px; margin-bottom: 12px; }
	.ntcx-h-lead { font-size: 15px; }
	.ntcx-h-cta { margin: 18px 0 20px; gap: 10px; }
	.ntcx-h-btn { padding: 13px 20px; font-size: 15px; flex: 1 1 auto; justify-content: center; }
	.ntcx-h-stats { gap: 18px; padding-top: 16px; flex-wrap: nowrap; justify-content: space-between; }
	.ntcx-h-stat b { font-size: 24px; }
	.ntcx-h-stat small { font-size: 12px; }
	.ntcx-stage { height: 250px; }
	.ntcx-ring { width: 190px; height: 190px; margin: -95px 0 0 -95px; }
	.ntcx-ring .pct b { font-size: 30px; }
	.ntcx-pcard { width: 34%; }
	.ntcx-trust2 { margin-top: -48px; margin-bottom: 18px; }
	.ntcx-trust2 .card { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 18px; }
	.ntcx-trust2 .card::-webkit-scrollbar { display: none; }
	.ntcx-trust2 .ntcx-ti { flex: 0 0 100%; scroll-snap-align: start; border: 0 !important; padding: 16px 18px; align-items: center; }
	.ntcx-trust2 .ntcx-ti::before { display: none !important; }
	.ntcx-ti span.d { font-size: 13px; }
	.ntcx-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
	.ntcx-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d6d6d6; transition: width .25s, background .25s; }
	.ntcx-dots i.on { width: 20px; background: #ffcc00; }
}
.ntcx-dots { display: none; }
@media (max-width: 767px) { .ntcx-dots { display: flex; } }

/* ===== Blok dla firm ===== */
.ntcx-b2b { width: 100vw; margin: 36px 0 36px calc(50% - 50vw); background: #0d0d0d; color: #fff; position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box; }
.ntcx-b2b *, .ntcx-b2b *::before { box-sizing: border-box; }
.ntcx-b2b::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 100% 0, rgba(255, 204, 0, .22), transparent 65%); }
.ntcx-b2b::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #ffcc00; }
.ntcx-b2b-in { max-width: 1360px; margin: 0 auto; padding: 60px 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ntcx-b2b-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffcc00; margin-bottom: 14px; }
.ntcx-b2b h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; text-transform: none; }
.ntcx-b2b h2 em { font-style: normal; color: #ffcc00; }
.ntcx-b2b-l p { color: #c9c9c9; font-size: 16px; margin: 0; max-width: 480px; }
.ntcx-b2b-r { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 204, 0, .22); border-radius: 20px; padding: 26px; }
.ntcx-b2b-r ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.ntcx-b2b-r li { display: flex; gap: 12px; align-items: flex-start; color: #f2f2f2; font-size: 15.5px; line-height: 1.4; }
.ntcx-b2b-r li i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ffcc00; color: #0d0d0d; display: grid; place-items: center; }
.ntcx-b2b-r li svg { width: 14px; height: 14px; }
.ntcx-b2b-btn { position: relative; overflow: hidden; display: flex; justify-content: center; padding: 15px 24px; border-radius: 12px; background: #ffcc00; color: #0d0d0d; font-weight: 800; font-size: 16px; text-decoration: none; text-transform: none; transition: background .2s, box-shadow .2s; }
.ntcx-b2b-btn:hover { background: #e6b800; color: #0d0d0d; box-shadow: 0 12px 28px -8px rgba(255, 204, 0, .55); }
@media (max-width: 860px) {
	.ntcx-b2b-in { grid-template-columns: 1fr; gap: 22px; padding: 38px 18px; }
	.ntcx-b2b-r { padding: 20px; }
	.ntcx-b2b-r li { font-size: 15px; }
}
