/*
Theme Name: Junior Business Academy by AWC
Theme URI: https://juniorbusinessacademy.pl
Description: Motyw potomny dla Astry. Wlasne szablony PHP (template-*.php), CSS i funkcje.
Author: Aleksander Wozniak
Template: astra
Version: 2.6.7
Text Domain: jba-child
*/

/* Footer usuniety na calej stronie */
.site-footer,
.ast-footer-overlay,
footer[data-section="section-footer-builder"] {
	display: none !important;
}

/* Tytuly stron (np. "Zamowienie") usuniete ze stron */
.page .entry-header,
.woocommerce-page .entry-header,
.page .entry-title,
.woocommerce-page .entry-title {
	display: none !important;
}

.jba-header {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0.9rem 1.5rem;
	text-align: center;
	background: transparent;
	border-bottom: 1px solid rgba(76, 195, 224, 0.28);
	box-shadow: none;
}

.jba-logo-link {
	display: inline-flex;
	line-height: 0;
	margin: 0 auto;
}

.jba-logo {
	width: 84px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.jba-topbar {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%);
	color: #ffffff;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 1rem 1.2rem;
}

@media ( max-width: 560px ) {
	.jba-topbar { font-size: 0.82rem; padding: 0.55rem 1rem; }
}

.jba-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(42% 34% at 50% -6%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 70%),
		radial-gradient(52% 52% at 6% -2%, rgba(76, 195, 224, 0.45) 0%, rgba(76, 195, 224, 0) 55%),
		radial-gradient(50% 50% at 97% 4%, rgba(255, 90, 31, 0.34) 0%, rgba(255, 90, 31, 0) 52%),
		radial-gradient(46% 46% at 82% 72%, rgba(245, 184, 0, 0.22) 0%, rgba(245, 184, 0, 0) 55%),
		radial-gradient(58% 52% at 12% 92%, rgba(76, 195, 224, 0.26) 0%, rgba(76, 195, 224, 0) 55%),
		radial-gradient(70% 60% at 50% 120%, rgba(20, 33, 61, 0.14) 0%, rgba(20, 33, 61, 0) 60%),
		linear-gradient(180deg, #eaf0f8 0%, #dbe4f0 100%);
	padding: 2.5rem 1.25rem 4rem;
	text-align: center;
}

.jba-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(20, 33, 61, 0.07) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
	pointer-events: none;
}

.jba-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 980px;
	margin: 0 auto;
}

/* ===== Motion SVG w tle hero — motyw inteligencji finansowej ===== */
.jba-hero-fx {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.jba-fx-chart {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.jba-fx-grid line { opacity: 0.05; }

.jba-fx-area {
	opacity: 0.38;
}

.jba-fx-stroke {
	opacity: 0.32;
	filter: drop-shadow( 0 3px 10px rgba(76,195,224,0.15) );
}

.jba-fx-dot { opacity: 0.7; filter: drop-shadow( 0 2px 6px rgba(255,90,31,0.4) ); }

.jba-fx-halo {
	transform-box: fill-box;
	transform-origin: center;
	animation: jba-fx-halo 2.2s ease-in-out infinite;
}

@keyframes jba-fx-halo {
	0%, 100% { opacity: 0.07; transform: scale(0.8); }
	50% { opacity: 0.2; transform: scale(1.18); }
}

@media ( max-width: 600px ) {
	.jba-fx-grid line { opacity: 0.035; }
	.jba-fx-stroke { opacity: 0.26; }
}

@media ( prefers-reduced-motion: reduce ) {
	.jba-fx-halo { animation: none; }
}

.jba-hero-logo {
	display: block;
	width: clamp(88px, 19vw, 116px);
	height: auto;
	margin: 0 auto 1.4rem;
}

.jba-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.5rem;
	padding: 0.5rem 1.15rem 0.5rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 90, 31, 0.22);
	box-shadow: 0 8px 22px rgba(20, 33, 61, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #14213d;
}

.jba-hero-badge::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ff5a1f;
	box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}

.jba-hero-pre {
	display: block;
	margin: 0 auto 1rem;
	max-width: 820px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: clamp(0.98rem, 1.8vw, 1.18rem);
	line-height: 1.5;
	font-weight: 600;
	color: #5b6470;
}

.jba-hl {
	background: linear-gradient(180deg, transparent 56%, #ffd83d 56%, #f5b800 100%);
	color: inherit;
	padding: 0 0.12em;
	border-radius: 3px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

/* Pomaranczowy zakreslacz (marker) na frazy w tekscie */
.jba-hl-o {
	background: linear-gradient(104deg, rgba(255, 122, 61, 0) 0.5%, rgba(255, 122, 61, 0.34) 2.2%, rgba(255, 90, 31, 0.34) 97.8%, rgba(255, 90, 31, 0) 99.5%);
	color: #14213d;
	font-weight: 700;
	padding: 0.04em 0.2em;
	margin: 0 -0.06em;
	border-radius: 0.35em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.jba-hero-title {
	margin: 0 auto 1.25rem;
	max-width: 980px;
	font-family: 'Gabarito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: clamp(2rem, 4.4vw, 3.15rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.018em;
	color: #14213d;
}

.jba-hero-sub {
	display: block;
	margin: 0 auto;
	max-width: 860px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: clamp(0.95rem, 1.9vw, 1.12rem);
	line-height: 1.6;
	font-weight: 400;
	color: #5b6470;
}

.jba-hero-sub strong {
	font-weight: 700;
	color: #16181d;
}

.jba-hero-video {
	max-width: 780px;
	margin: 2.75rem auto 0;
	padding: 10px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%);
	border: 1px solid rgba(20, 33, 61, 0.08);
	border-radius: 24px;
	box-shadow: 0 30px 70px rgba(20, 33, 61, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.jba-video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background:
		radial-gradient(80% 120% at 50% 0%, rgba(76, 195, 224, 0.18) 0%, rgba(76, 195, 224, 0) 55%),
		linear-gradient(135deg, #16213f 0%, #243456 55%, #2c3e6b 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.jba-video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.jba-video-play {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%);
	box-shadow: 0 10px 28px rgba(255, 90, 31, 0.5), 0 0 0 8px rgba(255, 255, 255, 0.10);
	position: relative;
	display: block;
	animation: jba-play-pulse 2.4s ease-out infinite;
}

@keyframes jba-play-pulse {
	0% { box-shadow: 0 10px 28px rgba(255, 90, 31, 0.5), 0 0 0 0 rgba(255, 255, 255, 0.18); }
	70% { box-shadow: 0 10px 28px rgba(255, 90, 31, 0.5), 0 0 0 18px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 10px 28px rgba(255, 90, 31, 0.5), 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media ( prefers-reduced-motion: reduce ) {
	.jba-video-play { animation: none; }
}

.jba-video-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 14px 0 14px 22px;
	border-color: transparent transparent transparent #ffffff;
}

.jba-video-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	padding: 0.34rem 0.85rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.jba-cta {
	display: block;
	width: 100%;
	max-width: 660px;
	margin: 2.5rem auto 0;
	padding: 1.45rem 2.4rem;
	text-align: center;
	border-radius: 12px;
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%);
	box-shadow:
		0 18px 38px rgba(255, 90, 31, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 5px 0 rgba(176, 52, 9, 0.5);
	font-family: 'Gabarito', 'Inter Tight', sans-serif;
	font-size: clamp(1.4rem, 3.6vw, 1.75rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	line-height: 1.05;
	color: #ffffff !important;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jba-cta:hover,
.jba-cta:focus,
.jba-cta:active,
.jba-cta:visited {
	color: #ffffff !important;
	text-decoration: none;
}

.jba-cta:hover {
	transform: translateY(-3px);
	box-shadow:
		0 26px 48px rgba(255, 90, 31, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 8px 0 rgba(176, 52, 9, 0.5);
}

.jba-cta:active {
	transform: translateY(1px);
	box-shadow:
		0 12px 26px rgba(255, 90, 31, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 2px 0 rgba(176, 52, 9, 0.5);
}

.jba-hero-note {
	margin: 1rem 0 0;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	color: #7a828f;
}

/* ===== Social proof strip pod CTA ===== */
.jba-proof {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem 1.4rem;
	width: 100%;
	max-width: 940px;
	margin: 1.8rem auto 0;
	padding: 0.4rem 0;
	background: transparent;
}

.jba-proof-stat {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.jba-proof-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}

.jba-proof-num {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 1.7rem;
	line-height: 1;
	letter-spacing: -0.01em;
	color: #16181d;
}

.jba-proof-stars {
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	color: #f5b800;
}

.jba-proof-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.72rem;
	color: #5b6470;
}

.jba-laurel {
	display: inline-block;
	height: 56px;
	width: 33px;
	flex: 0 0 auto;
	opacity: 0.45;
	overflow: hidden;
}

.jba-laurel-svg {
	height: 100%;
	width: auto;
	max-width: none;
	display: block;
}

.jba-laurel--r .jba-laurel-svg {
	margin-left: -41px;
}

.jba-proof-divider {
	flex: 0 0 auto;
	width: 1px;
	height: 58px;
	background: rgba(20, 33, 61, 0.16);
}

.jba-proof-avatars {
	display: inline-flex;
	align-items: center;
}

.jba-av {
	width: 38px;
	height: 38px;
	margin-left: -12px;
	border-radius: 50%;
	border: 2px solid #f5f6f8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(20, 33, 61, 0.18);
}

.jba-av:first-child {
	margin-left: 0;
}

.jba-av svg {
	width: 23px;
	height: 23px;
	fill: rgba(255, 255, 255, 0.92);
}

.jba-av--1 { background: linear-gradient(135deg, #8a97ab, #6c798f); }
.jba-av--2 { background: linear-gradient(135deg, #7d8aa0, #5d6a82); }
.jba-av--3 { background: linear-gradient(135deg, #94a0b3, #747f95); }
.jba-av--4 { background: linear-gradient(135deg, #828fa6, #616d85); }
.jba-av--5 { background: linear-gradient(135deg, #98a4b6, #788299); }

.jba-av--more {
	width: 38px;
	height: 38px;
	margin-left: -12px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid #f5f6f8;
	background: #475569;
	color: #ffffff;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.66rem;
	box-shadow: 0 1px 4px rgba(20, 33, 61, 0.18);
}

@media ( max-width: 1024px ) {
	.jba-proof-avatars { display: none; }
	.jba-proof-avatars + .jba-proof-divider { display: none; }
}

@media ( max-width: 560px ) {
	.jba-proof { gap: 0.9rem 1.3rem; padding: 1rem 1rem; }
	.jba-proof-num { font-size: 1.4rem; }
	.jba-laurel { height: 48px; width: 28px; }
	.jba-laurel--r .jba-laurel-svg { margin-left: -35px; }
	.jba-proof-divider { height: 46px; }
	.jba-av, .jba-av--more { width: 32px; height: 32px; border-radius: 50%; }
	.jba-hero-badge { padding-left: 1.15rem; }
	.jba-hero-badge::before { display: none; }
	.jba-hero-title { font-size: 1.72rem; }
	.jba-hero-logo { width: 74px; margin-bottom: 1.1rem; }
}

/* ===== Sekcja long-form (sales letter) pod hero ===== */
.jba-story {
	background: #ffffff;
	padding: 5rem 1.5rem 4rem;
	position: relative;
	z-index: 2;
}

.jba-story-inner {
	max-width: 780px;
	margin: 0 auto;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #374050;
	font-size: 1.16rem;
	line-height: 1.78;
}

.jba-story-inner > p {
	margin: 0 0 1.5rem;
}

.jba-story-inner strong {
	font-weight: 700;
	color: #14213d;
}

/* --- Otwarcie / hook --- */
.jba-story-hook-lead {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: clamp(1.2rem, 2.3vw, 1.4rem);
	line-height: 1.5;
	color: #d92d20;
	margin: 0 0 1.6rem !important;
}

.jba-story-thesis {
	font-family: 'Gabarito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 800;
	font-size: clamp(1.7rem, 4vw, 2.45rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: #14213d;
	margin: 0 0 1.6rem !important;
}

/* --- Nagłówki sekcji (jak śródtytuły w liście sprzedażowym) --- */
.jba-story-open {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.84rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff5a1f;
	margin: 0 0 0.7rem !important;
}

.jba-story-q,
.jba-story-h2 {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: clamp(1.55rem, 3.4vw, 2.05rem);
	line-height: 1.2;
	letter-spacing: -0.018em;
	color: #14213d;
	margin: 0 0 1.4rem;
}

.jba-story-h2 {
	margin-top: 0.5rem;
}

/* --- Lista (dzwonek) --- */
.jba-story-bell {
	list-style: none;
	margin: 0 0 1.6rem;
	padding: 1.3rem 1.5rem;
	background: #f6f8fb;
	border-left: 3px solid #ff5a1f;
	border-radius: 0 14px 14px 0;
}

.jba-story-bell li {
	padding: 0.34rem 0;
	font-size: 1.08rem;
	line-height: 1.5;
	color: #374050;
}

.jba-story-bell li strong {
	color: #14213d;
}

/* --- Pull-quote --- */
.jba-story-quote {
	margin: 1.8rem 0;
	padding: 1.5rem 1.7rem;
	border: 0;
	border-left: 4px solid #4cc3e0;
	background: linear-gradient(180deg, rgba(76, 195, 224, 0.09), rgba(76, 195, 224, 0.03));
	border-radius: 0 16px 16px 0;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: clamp(1.22rem, 2.6vw, 1.5rem);
	line-height: 1.4;
	color: #14213d;
	font-style: normal;
}

/* --- Linia uderzeniowa (wyśrodkowana) --- */
.jba-story-punch {
	font-family: 'Gabarito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 800;
	font-size: clamp(1.5rem, 3.1vw, 2rem);
	line-height: 1.24;
	letter-spacing: -0.018em;
	color: #14213d;
	text-align: center;
	margin: 2.2rem 0 0 !important;
}

/* --- Boks kontrastu --- */
.jba-story-note {
	margin: 0 0 1.5rem;
	padding: 1.4rem 1.6rem;
	background: #fff7f3;
	border: 1px solid rgba(255, 90, 31, 0.2);
	border-radius: 16px;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 600;
	color: #14213d;
	font-size: clamp(1.12rem, 2.2vw, 1.24rem);
	line-height: 1.55;
}

/* --- Separator sekcji --- */
.jba-story-sep {
	border: 0;
	height: 6px;
	width: 6px;
	border-radius: 50%;
	margin: 3.2rem auto;
	background: #ff5a1f;
	position: relative;
	overflow: visible;
}

.jba-story-sep::before,
.jba-story-sep::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(20, 33, 61, 0.22);
	transform: translateY(-50%);
}

.jba-story-sep::before { left: -16px; }
.jba-story-sep::after { right: -16px; }

/* --- Domknięcie / nazwa produktu --- */
.jba-story-product {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: clamp(1.5rem, 3.2vw, 2.1rem);
	line-height: 1.3;
	color: #14213d;
	text-align: center;
	margin: 2.4rem 0 0 !important;
}

.jba-story-product-sub {
	display: inline-block;
	margin-top: 0.5rem;
	font-weight: 600;
	font-size: 0.6em;
	color: #5b6470;
}

/* --- Wielki naglowek (claim o ksiazce) --- */
.jba-bighead-wrap {
	position: relative;
	text-align: center;
	margin: 1.5rem 0 0;
	padding: 0.5rem 0;
}

.jba-bighead-wrap::before {
	content: "";
	position: absolute;
	inset: -12% -8%;
	z-index: 0;
	background: radial-gradient(58% 62% at 50% 44%, rgba(255, 90, 31, 0.12), transparent 72%);
	pointer-events: none;
}

.jba-bighead-eyebrow {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ff5a1f;
	margin-bottom: 1rem;
}

.jba-bighead-eyebrow::before,
.jba-bighead-eyebrow::after {
	content: "";
	width: 26px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255, 90, 31, 0), #ff5a1f);
}
.jba-bighead-eyebrow::after { transform: scaleX(-1); }

.jba-bighead-rule { display: none; }

.jba-bighead {
	position: relative;
	z-index: 1;
	font-family: 'Gabarito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 900;
	font-size: clamp(2.2rem, 5.6vw, 3.6rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #14213d;
	text-align: center;
	text-wrap: balance;
	max-width: none;
	margin: 0 auto !important;
}

/* --- Grafika: dwie drogi (zdjecia, eskalacja) --- */
.jba-paths {
	margin: 1.5rem 0 2.5rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.jba-paths img,
.jba-paths svg {
	pointer-events: none;
}

.jba-paths-grid {
	position: relative;
	display: grid;
	grid-template-columns: 0.84fr 1.16fr;
	gap: 1rem;
	align-items: stretch;
	text-align: left;
}

.jba-paths-fork {
	position: relative;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.jba-paths-forksvg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 6px 16px rgba(255, 90, 31, 0.28)) drop-shadow(0 3px 8px rgba(20, 33, 61, 0.22));
}

@keyframes jbaPathPulse {
	0% { transform: scale(1); opacity: 0.24; }
	70% { transform: scale(2); opacity: 0; }
	100% { transform: scale(2); opacity: 0; }
}

.jba-paths-halo {
	transform-box: fill-box;
	transform-origin: center;
	animation: jbaPathPulse 2.4s ease-out infinite;
}

@media ( prefers-reduced-motion: reduce ) {
	.jba-paths-halo { animation: none !important; }
}

.jba-paths-child {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 24px 50px rgba(20, 33, 61, 0.2);
}

.jba-paths-child img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.jba-paths-child::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(20, 33, 61, 0.88));
}

.jba-paths-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 1.1rem 1rem;
	text-align: center;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.92rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffffff;
}

.jba-paths-out {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.jba-path {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 42px rgba(20, 33, 61, 0.18);
}

.jba-path img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jba-path--bad img { filter: grayscale(0.55) contrast(0.95) brightness(0.9); }
.jba-path--good img { filter: saturate(1.12) contrast(1.04); }

.jba-path::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 38%, rgba(13, 20, 38, 0.92));
}

.jba-path--good::after {
	background:
		linear-gradient(180deg, rgba(255, 90, 31, 0.14), transparent 40%),
		linear-gradient(180deg, transparent 38%, rgba(13, 20, 38, 0.9));
}

.jba-path-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 900;
	font-size: 15px;
	color: #ffffff;
}

.jba-path--bad .jba-path-badge { background: #d92d20; box-shadow: 0 6px 14px rgba(217, 45, 32, 0.5); }
.jba-path--good .jba-path-badge { background: linear-gradient(135deg, #ff7a3d, #ff5a1f); box-shadow: 0 6px 14px rgba(255, 90, 31, 0.5); }

.jba-path-info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 1rem 1.2rem;
}

.jba-path-lbl {
	display: block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.22rem;
}

.jba-path--bad .jba-path-lbl { color: #ff9d8a; }
.jba-path--good .jba-path-lbl { color: #ffb38a; }

.jba-path-ttl {
	display: block;
	font-family: 'Gabarito', 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: clamp(1rem, 2vw, 1.22rem);
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: #ffffff;
}

/* Grafika zostaje dwukolumnowa tez na mobile, tylko kompaktowa */
@media ( max-width: 640px ) {
	.jba-paths-grid { gap: 0.55rem; }
	.jba-paths-out { gap: 0.55rem; }
	.jba-paths-cap { font-size: 0.6rem; padding: 0.6rem 0.4rem; letter-spacing: 0.04em; }
	.jba-path-info { padding: 0.55rem 0.6rem; }
	.jba-path-lbl { font-size: 0.52rem; letter-spacing: 0.07em; margin-bottom: 0.1rem; }
	.jba-path-ttl { font-size: 0.72rem; line-height: 1.12; }
	.jba-path-badge { width: 22px; height: 22px; font-size: 10px; top: 6px; left: 6px; }
}

/* --- Infografiki: blokada zaznaczania tekstu i elementow --- */
.jba-fork,
.jba-concrete {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.jba-fork *,
.jba-concrete * {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.jba-fork svg,
.jba-concrete svg {
	pointer-events: none;
}

/* --- Infografika: dwie drogi --- */
.jba-fork {
	position: relative;
	margin: 2.8rem 0;
	padding: 2rem 1.7rem 1.7rem;
	background: #ffffff;
	border: 1px solid rgba(20, 33, 61, 0.08);
	border-radius: 22px;
	box-shadow: 0 24px 52px rgba(20, 33, 61, 0.13);
	overflow: hidden;
}

.jba-fork::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #9aa3b0 0%, #9aa3b0 47%, #ff7a3d 53%, #ff5a1f 100%);
}

.jba-fork-eyebrow {
	display: block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ff5a1f;
	text-align: center;
	margin-bottom: 0.45rem;
}

.jba-fork-title {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: clamp(1.18rem, 2.3vw, 1.4rem);
	line-height: 1.28;
	letter-spacing: -0.015em;
	color: #14213d;
	text-align: center;
	margin: 0 0 1.2rem !important;
}

.jba-fork-top {
	text-align: center;
}

.jba-fork-node {
	display: inline-block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	color: #ffffff;
	background: linear-gradient(135deg, #1d2c4d, #14213d);
	padding: 0.6rem 1.5rem;
	border-radius: 999px;
	box-shadow: 0 10px 22px rgba(20, 33, 61, 0.28);
}

.jba-fork-svg {
	display: block;
	width: 210px;
	height: 56px;
	margin: 0.1rem auto 0.6rem;
}

.jba-fork-paths {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.jba-fork-vs {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #14213d;
	background: #ffffff;
	border: 2px solid #eef1f5;
	box-shadow: 0 8px 18px rgba(20, 33, 61, 0.18);
}

.jba-fork-path {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	padding: 1.5rem 1.15rem 1.25rem;
	border: 1px solid;
	overflow: hidden;
}

.jba-fork-path::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
}

.jba-fork-path--system {
	background: #eef1f6;
	border-color: #dce2ea;
}
.jba-fork-path--system::before { background: #b6bfca; }

.jba-fork-path--gen {
	background: linear-gradient(180deg, #fff3ec, #fffaf7);
	border-color: rgba(255, 90, 31, 0.35);
	box-shadow: 0 14px 34px rgba(255, 90, 31, 0.18);
}
.jba-fork-path--gen::before { background: linear-gradient(90deg, #ff7a3d, #ff5a1f); }

.jba-fork-label {
	display: block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.9rem;
}

.jba-fork-path--system .jba-fork-label { color: #8a93a0; }
.jba-fork-path--gen .jba-fork-label { color: #ff5a1f; }

.jba-fork-steps {
	list-style: none;
	margin: 0 0 1.1rem;
	padding: 0;
}

.jba-fork-steps li {
	position: relative;
	padding: 0.34rem 0 0.34rem 1.95rem;
	font-size: 0.99rem;
	font-weight: 600;
	line-height: 1.4;
	color: #374050;
}

.jba-fork-steps li::before {
	position: absolute;
	left: 0;
	top: 0.28rem;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	color: #ffffff;
}

.jba-fork-path--system .jba-fork-steps li::before {
	content: "\2715";
	background: #b6bfca;
}
.jba-fork-path--gen .jba-fork-steps li::before {
	content: "\2713";
	background: linear-gradient(135deg, #ff7a3d, #ff5a1f);
	box-shadow: 0 3px 8px rgba(255, 90, 31, 0.38);
}

.jba-fork-end {
	margin-top: auto;
	border-radius: 12px;
	padding: 0.95rem 1rem;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.97rem;
	line-height: 1.35;
}

.jba-fork-path--system .jba-fork-end {
	background: #dfe4ec;
	color: #5b6470;
}

.jba-fork-path--gen .jba-fork-end {
	background: linear-gradient(135deg, #ff7a3d, #ff5a1f);
	color: #ffffff;
	box-shadow: 0 10px 26px rgba(255, 90, 31, 0.36);
}

/* --- Infografika: swiezy beton (plastycznosc umyslu vs wiek) --- */
.jba-concrete {
	position: relative;
	margin: 2.8rem 0;
	padding: 2rem 1.7rem 1.6rem;
	background: #ffffff;
	border: 1px solid rgba(20, 33, 61, 0.08);
	border-radius: 22px;
	box-shadow: 0 24px 52px rgba(20, 33, 61, 0.13);
	overflow: hidden;
}

.jba-concrete::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #ff5a1f 0%, #f5a623 55%, #9aa3b0 100%);
}

.jba-concrete-meter {
	display: block;
	height: 7px;
	border-radius: 999px;
	background: rgba(20, 33, 61, 0.08);
	overflow: hidden;
	margin: 0 0 0.7rem;
}

.jba-concrete-meter-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
}

.jba-concrete-stage--1 .jba-concrete-meter-fill { background: linear-gradient(90deg, #ff7a3d, #ff5a1f); }
.jba-concrete-stage--2 .jba-concrete-meter-fill { background: linear-gradient(90deg, #f5b54a, #e8930c); }
.jba-concrete-stage--3 .jba-concrete-meter-fill { background: #aab3c0; }

.jba-concrete-ylabel {
	display: block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a93a0;
	text-align: center;
	margin-bottom: 0.5rem;
}

.jba-concrete-svg {
	display: block;
	width: 100%;
	height: auto;
}

.jba-concrete-stages {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.7rem;
	margin-top: 1rem;
}

.jba-concrete-stage {
	border-radius: 14px;
	padding: 0.95rem 0.85rem;
	border: 1px solid;
}

.jba-concrete-stage--1 { background: #fff6f1; border-color: rgba(255, 90, 31, 0.28); }
.jba-concrete-stage--2 { background: #fff9ee; border-color: rgba(232, 147, 12, 0.3); }
.jba-concrete-stage--3 { background: #f5f7fa; border-color: #dfe4ec; }

.jba-concrete-age {
	display: block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}

.jba-concrete-stage--1 .jba-concrete-age { color: #ff5a1f; }
.jba-concrete-stage--2 .jba-concrete-age { color: #e8930c; }
.jba-concrete-stage--3 .jba-concrete-age { color: #8a93a0; }

.jba-concrete-state {
	display: block;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 1.02rem;
	line-height: 1.2;
	color: #14213d;
	margin-bottom: 0.32rem;
}

.jba-concrete-desc {
	display: block;
	font-size: 0.88rem;
	line-height: 1.35;
	color: #5b6470;
}

.jba-concrete-foot {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.4;
	color: #14213d;
	text-align: center;
	margin: 1.2rem 0 0 !important;
}

/* --- Animacje wejscia (scroll-triggered) i interakcja --- */
@keyframes jbaRise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes jbaPulse {
	0%   { transform: scale(1); opacity: 0.18; }
	70%  { transform: scale(1.9); opacity: 0; }
	100% { transform: scale(1.9); opacity: 0; }
}

/* Stan poczatkowy tylko gdy JS aktywny (klasa jba-anim) */
.jba-fork.jba-anim .jba-fork-path,
.jba-concrete.jba-anim .jba-concrete-stage { opacity: 0; }

.jba-fork.jba-anim .jba-fork-node,
.jba-fork.jba-anim .jba-fork-svg,
.jba-concrete.jba-anim .jba-concrete-svg {
	opacity: 0;
	transform: translateY(10px);
}

.jba-fork.jba-anim .jba-fork-vs {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.5);
}

.jba-concrete.jba-anim .jba-concrete-meter-fill {
	width: 0;
	transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.jba-concrete.jba-anim .jba-concrete-line {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.35s ease 0.15s;
}

/* Reveal po wejsciu w kadr */
.jba-fork.jba-anim.is-visible .jba-fork-path,
.jba-concrete.jba-anim.is-visible .jba-concrete-stage {
	animation: jbaRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.jba-fork.jba-anim.is-visible .jba-fork-path--gen { animation-delay: 0.12s; }
.jba-concrete.jba-anim.is-visible .jba-concrete-stage--2 { animation-delay: 0.1s; }
.jba-concrete.jba-anim.is-visible .jba-concrete-stage--3 { animation-delay: 0.2s; }

.jba-fork.jba-anim.is-visible .jba-fork-node,
.jba-fork.jba-anim.is-visible .jba-fork-svg,
.jba-concrete.jba-anim.is-visible .jba-concrete-svg {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.jba-fork.jba-anim.is-visible .jba-fork-vs {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	transition: opacity 0.4s ease 0.28s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s;
}

.jba-concrete.jba-anim.is-visible .jba-concrete-meter-fill { width: var(--fill); }
.jba-concrete.jba-anim.is-visible .jba-concrete-line { stroke-dashoffset: 0; }

/* Pulsujaca kropka DZIS */
.jba-concrete-pulse {
	transform-box: fill-box;
	transform-origin: center;
	animation: jbaPulse 2.4s ease-out infinite;
}

/* Unoszenie kart przy najechaniu (desktop) */
@media ( hover: hover ) and ( min-width: 561px ) {
	.jba-fork-path,
	.jba-concrete-stage {
		transition: transform 0.25s ease, box-shadow 0.25s ease;
	}
	.jba-fork-path--system:hover,
	.jba-concrete-stage:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 32px rgba(20, 33, 61, 0.13);
	}
	.jba-fork-path--gen:hover {
		transform: translateY(-4px);
		box-shadow: 0 22px 44px rgba(255, 90, 31, 0.28);
	}
}

/* --- Dopracowanie premium: tekstura, poswiata, blysk, rysowanie --- */
.jba-fork > *,
.jba-concrete > * {
	position: relative;
	z-index: 1;
}

.jba-fork::before,
.jba-concrete::before { z-index: 3; }

.jba-fork::after,
.jba-concrete::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: radial-gradient(rgba(20, 33, 61, 0.055) 1.1px, transparent 1.1px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 40%, transparent 100%);
	mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 40%, transparent 100%);
	pointer-events: none;
}

/* Radialna poswiata za zwycieska karta */
.jba-fork-path--gen {
	background:
		radial-gradient(120% 85% at 82% 0%, rgba(255, 122, 61, 0.2), transparent 58%),
		linear-gradient(180deg, #fff3ec, #fffaf7);
}

/* Animowany blysk swiatla na zwycieskim boksie */
.jba-fork-path--gen .jba-fork-end {
	position: relative;
	overflow: hidden;
}
.jba-fork.is-visible .jba-fork-path--gen .jba-fork-end::after {
	content: "";
	position: absolute;
	top: 0;
	left: -160%;
	width: 70%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-18deg);
	animation: jbaSheen 4.2s ease-in-out 1.1s infinite;
}
@keyframes jbaSheen {
	0%, 58% { left: -160%; }
	100% { left: 160%; }
}

/* Rysowanie rozwidlenia forka po wejsciu w kadr */
.jba-fork.jba-anim .jba-fork-line {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 0.85s ease 0.15s;
}
.jba-fork.jba-anim.is-visible .jba-fork-line { stroke-dashoffset: 0; }

/* Wskakujace kropki na wykresie betonu */
@keyframes jbaDotPop { to { transform: scale(1); } }
.jba-concrete.jba-anim .jba-concrete-dot {
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0);
}
.jba-concrete.jba-anim.is-visible .jba-concrete-dot {
	animation: jbaDotPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.jba-concrete.jba-anim.is-visible .jba-concrete-dot--1 { animation-delay: 0.45s; }
.jba-concrete.jba-anim.is-visible .jba-concrete-dot--2 { animation-delay: 0.8s; }
.jba-concrete.jba-anim.is-visible .jba-concrete-dot--3 { animation-delay: 1.15s; }

@media ( prefers-reduced-motion: reduce ) {
	.jba-fork.jba-anim .jba-fork-path,
	.jba-concrete.jba-anim .jba-concrete-stage,
	.jba-fork.jba-anim .jba-fork-node,
	.jba-fork.jba-anim .jba-fork-svg,
	.jba-concrete.jba-anim .jba-concrete-svg,
	.jba-fork.jba-anim .jba-fork-vs {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
	.jba-fork.jba-anim .jba-fork-vs { transform: translate(-50%, -50%) !important; }
	.jba-concrete.jba-anim .jba-concrete-meter-fill { width: var(--fill) !important; transition: none !important; }
	.jba-concrete.jba-anim .jba-concrete-line { stroke-dashoffset: 0 !important; transition: none !important; }
	.jba-fork.jba-anim .jba-fork-line { stroke-dashoffset: 0 !important; transition: none !important; }
	.jba-concrete.jba-anim .jba-concrete-dot { transform: none !important; animation: none !important; }
	.jba-concrete-pulse { animation: none !important; }
	.jba-fork.is-visible .jba-fork-path--gen .jba-fork-end::after { display: none !important; }
	.jba-mockup img { animation: none !important; }
}

@media ( max-width: 560px ) {
	.jba-story { padding: 3.25rem 1.25rem 2.75rem; }
	.jba-story-inner { font-size: 1.08rem; line-height: 1.72; }
	.jba-story-quote { padding: 1.2rem 1.3rem; }
	.jba-story-note { padding: 1.2rem 1.3rem; }
	.jba-story-bell { padding: 1.1rem 1.25rem; }
	.jba-story-sep { margin: 2.6rem auto; }
	.jba-concrete { padding: 1.2rem 0.9rem; }
	.jba-concrete-ylabel { font-size: 0.62rem; }
	.jba-concrete-stages { gap: 0.5rem; margin-top: 0.8rem; }
	.jba-concrete-stage { padding: 0.7rem 0.55rem; border-radius: 11px; }
	.jba-concrete-age { font-size: 0.58rem; margin-bottom: 0.25rem; }
	.jba-concrete-state { font-size: 0.84rem; margin-bottom: 0.22rem; }
	.jba-concrete-desc { font-size: 0.74rem; line-height: 1.3; }
	/* Infografika zostaje dwukolumnowa na mobile, tylko kompaktowa */
	.jba-fork { padding: 1.3rem 0.8rem 1.1rem; border-radius: 18px; }
	.jba-fork-eyebrow { font-size: 0.6rem; letter-spacing: 0.1em; }
	.jba-fork-title { font-size: 1.02rem; margin-bottom: 0.9rem !important; }
	.jba-fork-node { font-size: 0.76rem; padding: 0.5rem 1.1rem; }
	.jba-fork-svg { width: 160px; height: 48px; margin: 0.1rem auto 0.4rem; }
	.jba-fork-paths { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
	.jba-fork-vs { width: 30px; height: 30px; font-size: 0.66rem; border-width: 2px; }
	.jba-fork-path { padding: 1.05rem 0.6rem 0.85rem; border-radius: 13px; }
	.jba-fork-label { font-size: 0.62rem; letter-spacing: 0.06em; margin-bottom: 0.65rem; }
	.jba-fork-steps { margin-bottom: 0.8rem; }
	.jba-fork-steps li { font-size: 0.82rem; padding: 0.24rem 0 0.24rem 1.55rem; line-height: 1.3; }
	.jba-fork-steps li::before { width: 17px; height: 17px; top: 0.18rem; font-size: 10px; }
	.jba-fork-end { font-size: 0.8rem; padding: 0.7rem 0.7rem; line-height: 1.3; border-radius: 10px; }
}

/* ===== Mockup ebooka nad sekcja oferty ===== */
.jba-mockup {
	margin: 0 auto;
	padding: 3.5rem 1.25rem 0;
	max-width: 780px;
	text-align: center;
	background: #ffffff;
	position: relative;
	z-index: 2;
}

.jba-mockup-stage {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 470px;
	vertical-align: top;
}

.jba-mockup-book {
	display: block;
	position: relative;
	z-index: 5;
	width: 100%;
	height: auto;
}

.jba-page {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 62%;
	height: auto;
	border-radius: 5px;
	box-shadow: 0 10px 24px rgba(20, 33, 61, 0.16);
}

.jba-page--l1 { transform: translate(-118%, -50%) rotate(-7deg); z-index: 3; filter: blur(1px); opacity: 0.96; }
.jba-page--l2 { transform: translate(-138%, -52%) rotate(-12deg); z-index: 2; filter: blur(2px); opacity: 0.9; }
.jba-page--l3 { transform: translate(-156%, -54%) rotate(-17deg); z-index: 1; filter: blur(3px); opacity: 0.82; }
.jba-page--r1 { transform: translate(18%, -50%) rotate(7deg); z-index: 3; filter: blur(1px); opacity: 0.96; }
.jba-page--r2 { transform: translate(38%, -52%) rotate(12deg); z-index: 2; filter: blur(2px); opacity: 0.9; }
.jba-page--r3 { transform: translate(56%, -54%) rotate(17deg); z-index: 1; filter: blur(3px); opacity: 0.82; }

@keyframes jbaFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@media ( max-width: 560px ) {
	.jba-mockup { padding-top: 2.5rem; }
	.jba-mockup-stage { max-width: 270px; }
	.jba-page { width: 58%; }
	.jba-page--l1 { transform: translate(-110%, -50%) rotate(-7deg); }
	.jba-page--l2 { transform: translate(-126%, -52%) rotate(-12deg); }
	.jba-page--l3 { transform: translate(-140%, -54%) rotate(-16deg); }
	.jba-page--r1 { transform: translate(10%, -50%) rotate(7deg); }
	.jba-page--r2 { transform: translate(26%, -52%) rotate(12deg); }
	.jba-page--r3 { transform: translate(40%, -54%) rotate(16deg); }
}

/* ===== Sekcja bonusow ===== */
.jba-bonuses .jba-story-inner {
	max-width: 1060px;
}

.jba-bonus {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	gap: 1.4rem 2.6rem;
	align-items: center;
	margin: 1.7rem 0 0;
	padding: 2.2rem 2.3rem;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff, #fff9f5);
	border: 1px solid rgba(20, 33, 61, 0.08);
	box-shadow: 0 22px 48px rgba(20, 33, 61, 0.1);
}

.jba-bonus-media {
	text-align: center;
}

.jba-bonus--rev {
	grid-template-columns: 1.22fr 0.78fr;
}

.jba-bonus--rev .jba-bonus-media {
	order: 2;
}

.jba-bonus-frame {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.jba-bonus-img {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	border-radius: 9px;
	border: 1px solid rgba(20, 33, 61, 0.06);
	box-shadow: 0 26px 50px rgba(20, 33, 61, 0.26);
	transform: rotate(-2.5deg);
}

.jba-bonus--rev .jba-bonus-img {
	transform: rotate(2.5deg);
}

/* Pieczec wartosci na rogu okladki */
.jba-bonus-val {
	position: absolute;
	top: -14px;
	right: -16px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	transform: rotate(8deg);
	font-family: 'Gabarito', 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 1.12rem;
	line-height: 1;
	letter-spacing: -0.01em;
	color: #ffffff;
	background: linear-gradient(140deg, #ff8a4c, #ff5a1f);
	box-shadow: 0 10px 22px rgba(255, 90, 31, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.jba-bonus-val::before {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	border: 1.5px dashed rgba(255, 255, 255, 0.6);
}

.jba-bonus-val-lbl {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.5rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.92;
	margin-bottom: 2px;
}

.jba-bonus-tag {
	display: inline-block;
	margin-bottom: 0.6rem;
	padding: 0.32rem 0.85rem;
	border-radius: 999px;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ff5a1f;
	background: rgba(255, 90, 31, 0.1);
	border: 1px solid rgba(255, 90, 31, 0.28);
}

.jba-bonus-title {
	font-family: 'Gabarito', 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: clamp(1.32rem, 3vw, 1.7rem);
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #14213d;
	margin: 0 0 0.7rem;
}

.jba-bonus-intro {
	font-size: 1.04rem;
	line-height: 1.55;
	color: #374050;
	margin: 0 0 0.4rem !important;
}

.jba-bonus-list {
	margin: 1rem 0 0 !important;
}

/* Bogaty pasek lacznej wartosci */
.jba-bonus-total {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	flex-wrap: wrap;
	justify-content: center;
	margin: 2.6rem 0 0 !important;
	padding: 1.4rem 1.6rem;
	background: linear-gradient(180deg, #fff3ec, #fff9f6);
	border: 1.5px solid rgba(255, 90, 31, 0.3);
	border-radius: 20px;
	box-shadow: 0 22px 46px rgba(20, 33, 61, 0.1);
}

.jba-bonus-total-ic {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	color: #ff5a1f;
	background: rgba(255, 90, 31, 0.12);
	border: 1px solid rgba(255, 90, 31, 0.25);
}

.jba-bonus-total-ic svg { width: 26px; height: 26px; }

.jba-bonus-total-text {
	flex: 1 1 240px;
	margin: 0 !important;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	line-height: 1.45;
	color: #14213d;
}

.jba-bonus-total-badge {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.6rem 1.25rem;
	border-radius: 14px;
	color: #ffffff;
	background: linear-gradient(140deg, #ff8a4c, #ff5a1f);
	box-shadow: 0 12px 26px rgba(255, 90, 31, 0.42);
}

.jba-bonus-total-badge-lbl {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.64rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.92;
}

.jba-bonus-total-badge-val {
	font-family: 'Gabarito', sans-serif;
	font-weight: 800;
	font-size: 1.7rem;
	line-height: 1;
	letter-spacing: -0.02em;
}

@media ( max-width: 640px ) {
	.jba-bonus {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		padding: 1.3rem;
	}
	.jba-bonus-media { order: -1 !important; }
	.jba-bonus--rev .jba-bonus-media { order: -1; }
	.jba-bonus-img { max-width: 175px; transform: rotate(-2deg); }
	.jba-bonus--rev .jba-bonus-img { transform: rotate(2deg); }
	.jba-bonus-val { width: 62px; height: 62px; font-size: 1rem; top: -12px; right: -8px; }
	.jba-bonus-total { flex-direction: column; text-align: center; gap: 0.9rem; }
	.jba-bonus-total-text { flex-basis: auto; }
}

/* ===== Sekcja oferty: checklist, cena, gwarancja, CTA ===== */
.jba-offer { padding-top: 1.5rem; }

.jba-story-check {
	list-style: none;
	margin: 0 0 1.7rem;
	padding: 0.4rem 0;
}

.jba-story-check li {
	position: relative;
	padding: 0.6rem 0 0.6rem 2.45rem;
	font-size: 1.1rem;
	line-height: 1.45;
	color: #374050;
}

.jba-story-check li + li {
	border-top: 1px solid rgba(20, 33, 61, 0.07);
}

.jba-story-check li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0.58rem;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 900;
	font-size: 13px;
	color: #ffffff;
	background: linear-gradient(135deg, #ff7a3d, #ff5a1f);
	box-shadow: 0 3px 8px rgba(255, 90, 31, 0.34);
}

.jba-price {
	position: relative;
	overflow: hidden;
	margin: 2.4rem 0;
	text-align: center;
	padding: 2.5rem 1.6rem 1.9rem;
	border-radius: 24px;
	background:
		radial-gradient(135% 95% at 50% -12%, rgba(255, 122, 61, 0.18), transparent 60%),
		linear-gradient(180deg, #ffffff, #fffaf7);
	border: 1.5px solid rgba(255, 90, 31, 0.32);
	box-shadow:
		0 32px 64px rgba(20, 33, 61, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.jba-price::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: radial-gradient(rgba(255, 90, 31, 0.07) 1px, transparent 1.3px);
	background-size: 20px 20px;
	-webkit-mask-image: radial-gradient(ellipse 82% 70% at 50% 28%, #000 28%, transparent 76%);
	mask-image: radial-gradient(ellipse 82% 70% at 50% 28%, #000 28%, transparent 76%);
	pointer-events: none;
}

.jba-price > * { position: relative; z-index: 1; }

.jba-price-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	font-family: 'Gabarito', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	color: #ffffff;
	background: linear-gradient(135deg, #ff8a4c, #ff5a1f);
	box-shadow: 0 10px 22px rgba(255, 90, 31, 0.42);
	transform: rotate(9deg);
}

.jba-price-label {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a93a0;
	margin: 0 0 0.5rem !important;
}

.jba-price-amount {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.85rem;
	margin: 0;
}

.jba-price-old {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 1.55rem;
	color: #aab3c0;
	text-decoration: line-through;
	text-decoration-color: rgba(255, 90, 31, 0.6);
}

.jba-price-now {
	font-family: 'Gabarito', sans-serif;
	font-weight: 800;
	font-size: clamp(3.4rem, 12vw, 5rem);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: #ff5a1f;
}

.jba-price-cur {
	font-size: 0.4em;
	font-weight: 800;
	margin-left: 0.1em;
	vertical-align: 0.2em;
}

.jba-price-save {
	display: inline-block;
	margin: 0.7rem 0 0;
	padding: 0.42rem 1.05rem;
	border-radius: 999px;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.92rem;
	color: #15803d;
	background: rgba(34, 197, 94, 0.13);
	border: 1px solid rgba(34, 197, 94, 0.32);
}

.jba-price-trust {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(20, 33, 61, 0.08);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
}

.jba-price-trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 600;
	font-size: 0.88rem;
	color: #5b6470;
}

.jba-price-trust svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	color: #ff5a1f;
}

.jba-guarantee {
	position: relative;
	overflow: hidden;
	display: flex;
	gap: 1.5rem;
	align-items: center;
	margin: 2.2rem 0;
	padding: 1.8rem 1.8rem;
	border-radius: 22px;
	background:
		radial-gradient(120% 130% at 0% 0%, rgba(76, 195, 224, 0.2), transparent 52%),
		linear-gradient(180deg, #eefafd, #f7feff);
	border: 1.5px solid rgba(76, 195, 224, 0.5);
	box-shadow:
		0 26px 54px rgba(27, 166, 201, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.jba-guarantee::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: radial-gradient(rgba(27, 166, 201, 0.08) 1px, transparent 1.3px);
	background-size: 20px 20px;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 100% 50%, #000 20%, transparent 72%);
	mask-image: radial-gradient(ellipse 70% 80% at 100% 50%, #000 20%, transparent 72%);
	pointer-events: none;
}

.jba-guarantee > * { position: relative; z-index: 1; }

.jba-guarantee-seal {
	flex: 0 0 auto;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: linear-gradient(140deg, #5ccbe6, #1ba6c9);
	box-shadow: 0 14px 30px rgba(27, 166, 201, 0.45);
	position: relative;
}

.jba-guarantee-seal::before {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	border: 2px dashed rgba(255, 255, 255, 0.6);
}

.jba-guarantee-seal-ic {
	width: 22px;
	height: 22px;
	margin-bottom: 1px;
}

.jba-guarantee-seal-num {
	font-family: 'Gabarito', sans-serif;
	font-weight: 800;
	font-size: 2rem;
	line-height: 0.95;
	letter-spacing: -0.02em;
}

.jba-guarantee-seal-txt {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.64rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.jba-guarantee-tag {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.28rem 0.8rem;
	border-radius: 999px;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0e7490;
	background: rgba(27, 166, 201, 0.14);
	border: 1px solid rgba(27, 166, 201, 0.32);
}

.jba-guarantee-body h3 {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 1.28rem;
	line-height: 1.22;
	color: #14213d;
	margin: 0 0 0.5rem;
}

.jba-guarantee-body p {
	margin: 0 !important;
	font-size: 1rem;
	line-height: 1.55;
	color: #374050;
}

.jba-offer-cta {
	text-align: center;
	margin-top: 2.2rem;
}

.jba-cta-note {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 600;
	font-size: 0.92rem;
	color: #5b6470;
	margin: 0.9rem 0 0 !important;
}

/* ===== Order box (zamkniecie oferty) ===== */
.jba-buybox {
	position: relative;
	margin: 2.4rem 0 0;
	padding: 2.1rem 1.9rem;
	border-radius: 24px;
	background: linear-gradient(180deg, #fff5ef, #ffffff);
	border: 2px solid rgba(255, 90, 31, 0.36);
	box-shadow:
		0 32px 66px rgba(20, 33, 61, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.jba-buybox-title {
	font-family: 'Gabarito', 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: clamp(1.28rem, 3.1vw, 1.62rem);
	line-height: 1.34;
	letter-spacing: -0.015em;
	color: #14213d;
	margin: 0 0 1.2rem !important;
}

.jba-buybox-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	margin-right: 0.5rem;
	vertical-align: -6px;
	font-size: 16px;
	font-weight: 900;
	color: #ffffff;
	background: linear-gradient(135deg, #ff7a3d, #ff5a1f);
	box-shadow: 0 5px 12px rgba(255, 90, 31, 0.38);
}

.jba-buybox-lead {
	font-size: 1.05rem;
	line-height: 1.55;
	color: #374050;
	margin: 0 0 0.9rem !important;
}

.jba-buybox-list {
	margin: 1.2rem 0 0 !important;
}

.jba-buybox-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.85rem;
	margin: 1.6rem 0 0;
}

.jba-buybox-old {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 1.45rem;
	color: #aab3c0;
	text-decoration: line-through;
	text-decoration-color: rgba(255, 90, 31, 0.6);
}

.jba-buybox-now {
	font-family: 'Gabarito', sans-serif;
	font-weight: 800;
	font-size: clamp(2.6rem, 9vw, 3.6rem);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: #ff5a1f;
}

.jba-buybox-tylko {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-size: 0.32em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #14213d;
	margin-right: 0.35em;
	vertical-align: 0.55em;
}

.jba-buybox .jba-cta {
	margin-top: 1.3rem;
}

.jba-buybox-urgency {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	text-align: center;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.92rem;
	color: #d92d20;
	margin: 1rem 0 0 !important;
}

.jba-buybox-urgency svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

/* ===== Rich, ciemny order box (climax) ===== */
.jba-buybox--rich {
	position: relative;
	overflow: hidden;
	padding: 2.4rem 2.2rem;
	border-radius: 26px;
	background:
		radial-gradient(80% 60% at 12% 0%, rgba(255, 122, 61, 0.22), transparent 55%),
		radial-gradient(70% 60% at 100% 100%, rgba(76, 195, 224, 0.14), transparent 55%),
		linear-gradient(160deg, #1a2845 0%, #111c34 60%, #0d1730 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
		0 40px 80px rgba(8, 14, 30, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.jba-buybox--rich::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.2px);
	background-size: 22px 22px;
	pointer-events: none;
}

.jba-buybox--rich > * { position: relative; z-index: 1; }

.jba-buybox-ribbon {
	display: inline-block;
	margin: 0 0 1.4rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ffffff;
	background: linear-gradient(135deg, #ff8a4c, #ff5a1f);
	box-shadow: 0 10px 24px rgba(255, 90, 31, 0.42);
}

.jba-buybox-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.6rem;
}

.jba-buybox-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.4rem 1rem;
	perspective: 1700px;
}

.jba-buybox-media::before {
	content: "";
	position: absolute;
	inset: 4% 4% 0;
	z-index: 0;
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 46%, rgba(255, 122, 61, 0.5) 0%, rgba(255, 184, 0, 0.18) 42%, transparent 70%);
	filter: blur(30px);
}
.jba-buybox-media .wb-book { width: clamp(190px, 52vw, 255px); }
.jba-buybox-media .wb-book::after { background: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 70%); }

.jba-buybox-book {
	position: relative;
	z-index: 1;
	display: inline-block;
	width: 100%;
	max-width: 460px;
	height: auto;
	filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.45));
}

/* Jasna typografia na ciemnym tle */
.jba-buybox--rich .jba-buybox-title { color: #ffffff; margin-bottom: 1rem !important; }
.jba-buybox--rich .jba-hl {
	background: none;
	color: #ff9d6b;
	padding: 0;
	border-radius: 0;
}
.jba-buybox--rich .jba-buybox-lead { color: rgba(255, 255, 255, 0.78); }
.jba-buybox--rich .jba-buybox-lead strong { color: #ffffff; }
.jba-buybox--rich .jba-story-check li { color: rgba(255, 255, 255, 0.86); }
.jba-buybox--rich .jba-story-check li strong { color: #ffffff; }
.jba-buybox--rich .jba-story-check li + li { border-top-color: rgba(255, 255, 255, 0.1); }
.jba-buybox--rich .jba-buybox-list { margin-top: 1rem !important; }

.jba-buybox--rich .jba-buybox-price {
	justify-content: center;
	margin-top: 1.5rem;
}
.jba-buybox--rich .jba-buybox-old {
	color: rgba(255, 255, 255, 0.45);
	font-size: 1.75rem;
}
.jba-buybox--rich .jba-buybox-now {
	color: #ff8a4c;
	font-size: clamp(3.2rem, 13vw, 4.8rem);
}
.jba-buybox--rich .jba-buybox-tylko { color: rgba(255, 255, 255, 0.85); }

.jba-buybox--rich .jba-cta { margin-top: 1.4rem; max-width: none; }

.jba-buybox-pay {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: 1.1rem 0 0;
}

.jba-buybox-pay img {
	display: block;
	height: 21px;
	width: auto;
	padding: 5px 8px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.jba-buybox--rich .jba-buybox-urgency {
	justify-content: center;
	text-align: center;
	color: #ffb38a;
}

@media ( max-width: 560px ) {
	.jba-buybox { padding: 1.6rem 1.2rem; }
	.jba-buybox--rich { padding: 1.7rem 1.1rem; }
	.jba-buybox-book { max-width: 340px; }
	.jba-buybox-urgency { font-size: 0.84rem; }
}

@media ( max-width: 560px ) {
	.jba-story-check li { font-size: 1.02rem; padding-left: 2.2rem; }
	.jba-price { padding: 2rem 1.1rem 1.4rem; }
	.jba-price-badge { width: 48px; height: 48px; font-size: 0.92rem; top: 12px; right: 12px; }
	.jba-price-amount { gap: 0.6rem; }
	.jba-price-old { font-size: 1.3rem; }
	.jba-price-trust { gap: 0.45rem 1rem; }
	.jba-price-trust li { font-size: 0.82rem; }
	.jba-guarantee { flex-direction: column; gap: 1rem; padding: 1.5rem 1.2rem; text-align: center; }
	.jba-guarantee-seal { width: 92px; height: 92px; }
	.jba-guarantee-seal-num { font-size: 1.75rem; }
	.jba-guarantee-body h3 { font-size: 1.15rem; }
}

/* ===== Wstazka feature'ow pod hero (divider w stylu ribbon) ===== */
body.jba-tw1 {
	overflow-x: hidden;
}

.jba-strip-wrap {
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.jba-strip {
	position: relative;
	z-index: 2;
	width: 108%;
	margin: -1.25rem 0 0 -4%;
	background: #ffffff;
	border-top: 1px solid rgba(20, 33, 61, 0.06);
	border-bottom: 1px solid rgba(20, 33, 61, 0.06);
	box-shadow: 0 12px 34px rgba(20, 33, 61, 0.10);
	transform: rotate(-1.4deg);
	overflow: hidden;
}

.jba-strip-track {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.55rem 2.4rem;
	padding: 1rem 1.5rem;
}

.jba-strip-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 800;
	font-size: clamp(0.8rem, 2vw, 0.95rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #14213d;
	white-space: nowrap;
}

.jba-strip-ico {
	display: inline-flex;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.jba-strip-ico svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* WooCommerce checkout / cart — brand orange buttons */
.woocommerce #place_order,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page #place_order,
.woocommerce-page button.button.alt,
.woocommerce-page a.button.alt {
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%);
	color: #ffffff;
	border: 0;
	border-radius: 8px;
	padding: 1.3rem 2.8rem;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
	box-shadow: 0 12px 26px rgba(255, 90, 31, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-page #place_order:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page a.button.alt:hover {
	transform: translateY(-2px);
	background: linear-gradient(180deg, #ff8a4d 0%, #ff5a1f 100%);
	box-shadow: 0 18px 34px rgba(255, 90, 31, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	display: block;
	width: 100%;
	text-align: center;
}

/* WooCommerce BLOCK checkout/cart — pomaranczowy TYLKO przycisk zamowienia/kasy */
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%) !important;
	background-color: #ff5a1f !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 8px !important;
	min-height: 66px !important;
	padding: 1.5rem 2.8rem !important;
	font-size: 1.25rem !important;
	box-shadow: 0 12px 26px rgba(255, 90, 31, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	font-family: 'Inter Tight', 'Inter', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

/* Odstep miedzy podsumowaniem a przyciskiem CTA (gdy stack na mobile/tablet) */
.wc-block-checkout__actions,
.wp-block-woocommerce-checkout-actions-block {
	margin-top: 1.5rem !important;
	margin-bottom: 0.85rem !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
	transform: translateY(-2px);
	background: linear-gradient(180deg, #ff8a4d 0%, #ff5a1f 100%) !important;
	box-shadow: 0 18px 34px rgba(255, 90, 31, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.wc-block-components-checkout-place-order-button .wc-block-components-button__text,
.wc-block-cart__submit-button .wc-block-components-button__text {
	color: #ffffff !important;
}

/* Dopisek pod przyciskiem "Kupuje i place" + pulsujaca kropka "dostepny od zaraz" */
.jba-cta-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.35rem 0 0 !important;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	color: #5b6470;
}

.jba-cta-note-dot {
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	border-radius: 50%;
	background: #16a34a;
	box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
	animation: jba-dot-pulse 1.6s ease-out infinite;
}

@keyframes jba-dot-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(22, 163, 74, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.jba-cta-note-dot {
		animation: none;
	}
}

/* Rzad ikon platnosci pod CTA — brandowe chipy, trust/legitymacja */
.jba-pay-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0.85rem 0 0;
}

.jba-pay-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 8px;
	background: #ffffff;
	border: 1px solid #e8eaee;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba( 20, 33, 61, 0.06 );
}

.jba-pay-chip img {
	height: 18px;
	width: auto;
	display: block;
}

/* Ukryj sekcje "Dodaj notatke do zamowienia" — niepotrzebna w lejku jednoproduktowym */
.wp-block-woocommerce-checkout-order-note-block,
.wc-block-checkout__add-note {
	display: none !important;
}

/* Przycisk kuponu "Zastosuj" — brandowy, kompaktowy */
.wc-block-components-totals-coupon__button {
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%) !important;
	background-color: #ff5a1f !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 8px !important;
	min-height: 48px !important;
	padding: 0 1.4rem !important;
	font-family: 'Inter Tight', 'Inter', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	box-shadow: 0 8px 18px rgba(255, 90, 31, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}
.wc-block-components-totals-coupon__button:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, #ff8a4d 0%, #ff5a1f 100%) !important;
	box-shadow: 0 12px 24px rgba(255, 90, 31, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.wc-block-components-totals-coupon__button .wc-block-components-button__text {
	color: #ffffff !important;
}

/* ===== Czarny pasek-naglowek nad sekcja danych (wstrzykiwany przez JS) ===== */
.jba-step-banner {
	background: #16181d;
	color: #ffffff;
	text-align: center;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
	line-height: 1.3;
	padding: 1rem 1.25rem;
	border-radius: 14px;
	margin-bottom: 1.25rem;
}

/* ===== Podsumowanie zamowienia — nowoczesna karta ===== */
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary,
.wp-block-woocommerce-checkout-order-summary-block {
	border: 1.5px solid #e2e7ef !important;
	border-radius: 18px !important;
	background: #ffffff !important;
	box-shadow: 0 14px 40px rgba(20, 33, 61, 0.12) !important;
	padding: 1.75rem 1.75rem 1.25rem !important;
	overflow: hidden !important;
}

/* delikatne tlo strony, zeby bialy box bylo widac */
.woocommerce-checkout,
.wp-block-woocommerce-checkout {
	background: transparent;
}

/* ===== Wewnetrzne dividery w podsumowaniu — subtelne hairline zamiast
   domyslnych twardych szarych linii WooCommerce (tani "wordpressowy" look).
   Jednolity, bardzo delikatny kolor brandowy; usuwamy zdublowane linie. ===== */
.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill,
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-totals-block,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	border-top-color: rgba(20, 33, 61, 0.06) !important;
	border-bottom-color: rgba(20, 33, 61, 0.06) !important;
}

/* Usun zdublowana linie: spod produktu + nad kuponami = jedna kreska */
.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill {
	border-top: 0 !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
	border-top: 0 !important;
}

/* Wiersze sum maja troche oddechu, zeby kreski nie byly sciesnione */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
	padding-top: 0.4rem !important;
	padding-bottom: 0.4rem !important;
}

.wc-block-components-checkout-order-summary__title,
.wc-block-components-checkout-order-summary__title-text {
	font-family: 'Inter Tight', 'Inter', sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em !important;
	color: #16181d !important;
	font-size: 1.2rem !important;
}

/* Miniatura produktu */
.wc-block-components-order-summary-item__image img,
.wc-block-components-order-summary-item__image {
	border-radius: 10px !important;
}

.wc-block-components-order-summary-item__quantity {
	background: #14213d !important;
	color: #fff !important;
	border-color: #14213d !important;
}

/* Nazwa produktu */
.wc-block-components-order-summary-item__name {
	font-family: 'Inter', sans-serif !important;
	font-weight: 500 !important;
	color: #16181d !important;
}

/* Pozycja w jednej osi: miniatura, nazwa i cena wysrodkowane pionowo
   (domyslnie WooCommerce top-aligned, przez co tekst ucieka nad miniature) */
.wc-block-components-order-summary-item {
	align-items: center !important;
}
.wc-block-components-order-summary-item__total-price {
	padding-top: 0 !important;
	font-weight: 600 !important;
	color: #16181d !important;
}

/* Wiersze sum */
.wc-block-components-totals-item {
	font-family: 'Inter', sans-serif !important;
}

/* Linia "Lacznie" — mocny, brandowy total */
.wc-block-components-totals-footer-item {
	border-top: 1.5px solid rgba(20, 33, 61, 0.12) !important;
	margin-top: 0 !important;
	padding-top: 0.75rem !important;
}

/* Zmniejszamy zbyt duzy odstep miedzy "Kwota" a "Lacznie". Glowny winowajca
   to padding-bottom 16px na totals-block + 6px na subtotal-block — scinamy je. */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-totals-block {
	padding-bottom: 2px !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-subtotal-block {
	padding-bottom: 0 !important;
}
/* Puste wrappery rabatu/oplat/wysylki (gdy nic nie dotyczy zamowienia) i tak
   renderuja sie z paddingiem, tworzac martwy odstep miedzy "Kwota" a "Lacznie".
   Zwijamy je do zera; gdy pojawi sie tresc, wewnetrzny wiersz niesie wlasny padding. */
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-discount-block,
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-fee-block,
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-shipping-block,
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-taxes-block {
	padding: 0 !important;
	border: 0 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-family: 'Inter Tight', 'Inter', sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em !important;
	color: #16181d !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: 'Inter Tight', 'Inter', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: #ff5a1f !important;
	font-size: 1.5rem !important;
}

/* Pole wpisz kod */
.wc-block-components-totals-coupon__input input {
	border-radius: 8px !important;
}

/* Kupon: chowamy naglowek dropdownu ("Dodaj kupony" + strzalka) — JS rozwija
   panel, wiec samo pole kodu jest zawsze widoczne, bez rozwijanej listy. */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
	display: none !important;
}
.wc-block-components-totals-coupon .wc-block-components-panel__content {
	display: block !important;
	padding-top: 0 !important;
}

/* ===== Naprawa wyrownania: blok checkout/cart ma klase .alignwide,
   ktora przez Astre dostaje ujemne marginesy boczne i wylamuje sie z
   kontenera (przykleja sie do lewej, ucieka w prawo na mobile).
   Zerujemy breakout, zeby blok siedzial wewnatrz paddingu .ast-container. ===== */
.entry-content .wp-block-woocommerce-checkout.alignwide,
.entry-content .wp-block-woocommerce-cart.alignwide,
.entry-content > .alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
	width: auto !important;
	max-width: 100% !important;
}

.wc-block-checkout,
.wp-block-woocommerce-checkout,
.wc-block-checkout__main,
.wc-block-checkout__sidebar,
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary,
.wp-block-woocommerce-checkout-order-summary-block {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

@media ( max-width: 781px ) {
	/* Twardy bezpiecznik: zaden element nie wypycha strony w bok */
	html,
	body {
		overflow-x: hidden !important;
		max-width: 100% !important;
	}

	.jba-header {
		padding: 0.75rem 1rem;
	}
	.jba-logo {
		width: 68px;
	}

	/* Gutter boczny na kontenerze (blok juz nie wylamuje sie przez alignwide) */
	.woocommerce-page .ast-container,
	.woocommerce-checkout .ast-container,
	.woocommerce-cart .ast-container {
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box !important;
		max-width: 100% !important;
	}
	.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary,
	.wp-block-woocommerce-checkout-order-summary-block {
		padding: 1.1rem !important;
		border-radius: 14px !important;
	}
	/* Mobile: podsumowanie laduje tuz nad CTA — wymus odstep nad przyciskiem */
	.wc-block-checkout__sidebar {
		margin-bottom: 1.5rem !important;
	}
	.wc-block-components-checkout-place-order-button {
		margin-top: 1.5rem !important;
	}
	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
		font-size: 1.3rem !important;
	}
	.jba-star {
		width: 30px;
		height: 30px;
	}
	.jba-guarantee-badge {
		padding: 0.8rem 0.9rem;
	}
}

/* WooCommerce ponizej swojego breakpointu (<=731px) renderuje DWA podsumowania:
   kompaktowe zwijane na gorze (w sidebarze) + pelne tuz nad CTA. Chowamy to
   gorne, zeby zostalo jedno czytelne pelne podsumowanie z badge nad przyciskiem.
   Od 732px WooCommerce przechodzi w uklad dwukolumnowy (sidebar z boku, brak
   duplikatu) — wtedy sidebar zostaje widoczny. Granica zmierzona na zywo. */
@media ( max-width: 731px ) {
	.wc-block-checkout__sidebar {
		display: none !important;
	}
}

/* Trustpilot-style gwiazdki */
.jba-trust {
	margin: 1.2rem 0 0.4rem;
}

.jba-stars {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 0.75rem;
}

.jba-star {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #00b67a;
	border-radius: 4px;
}

/* Badge gwarancji pod suma Lacznie — premium */
.jba-guarantee-badge {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0;
	padding: 0.95rem 1.1rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #ecfdf3 0%, #e2f7ee 100%);
	border: 1px solid #c2ead2;
	box-shadow: 0 10px 26px rgba(22, 101, 52, 0.10);
}

.jba-guarantee-ico {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: linear-gradient(135deg, #34c46b 0%, #16a34a 100%);
	box-shadow: 0 6px 16px rgba(22, 163, 74, 0.38);
}

.jba-guarantee-text {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.jba-guarantee-text strong {
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.98rem;
	letter-spacing: -0.01em;
	line-height: 1.2;
	color: #14532d;
}

.jba-guarantee-text small {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 0.8rem;
	line-height: 1.3;
	color: #3f8f5e;
	margin-top: 2px;
}

/* ===== Notyfikacje WooCommerce/WP — czysty, aplikacyjny styl ===== */

/* Blokowe bannery (checkout/cart) */
.wc-block-components-notice-banner {
	border: 1px solid transparent !important;
	border-radius: 12px !important;
	padding: 0.95rem 1.1rem !important;
	margin: 0 0 1.5rem !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	box-shadow: 0 4px 14px rgba(20, 33, 61, 0.05) !important;
	align-items: center !important;
}

/* Ikona: maly kolorowy krazek, nie wielki kwadrat */
.wc-block-components-notice-banner > svg {
	width: 22px !important;
	height: 22px !important;
	flex: 0 0 22px !important;
	margin-right: 0.6rem !important;
	border-radius: 50% !important;
}

/* Przycisk zamkniecia (X) — neutralny, nie pomaranczowy klocek */
.wc-block-components-notice-banner__dismiss {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	width: 24px !important;
	height: 24px !important;
	opacity: 0.55;
}
.wc-block-components-notice-banner__dismiss:hover {
	opacity: 1;
	transform: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

.wc-block-components-notice-banner.is-error {
	background: #fef2f2 !important;
	border-color: #f6cccc !important;
	color: #9b1c1c !important;
}

.wc-block-components-notice-banner.is-info {
	background: #eef7fb !important;
	border-color: #c3e7f1 !important;
	color: #155e75 !important;
}

.wc-block-components-notice-banner.is-success {
	background: #f0fdf4 !important;
	border-color: #c6f0d4 !important;
	color: #166534 !important;
}

.wc-block-components-notice-banner.is-warning {
	background: #fffaeb !important;
	border-color: #fbe6a8 !important;
	color: #8a5a00 !important;
}

/* Klasyczne notyfikacje WooCommerce */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 1rem 1.15rem 1rem 3rem;
	margin: 0 0 1.5rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.96rem;
	font-weight: 500;
	line-height: 1.5;
	list-style: none;
	box-shadow: 0 6px 18px rgba(20, 33, 61, 0.06);
	position: relative;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
	position: absolute;
	left: 1rem;
	top: 1rem;
	font-size: 1.05rem;
	line-height: 1.4;
}

.woocommerce-error {
	background: #fef2f2;
	border-color: #fad4d4;
	color: #9b1c1c;
}
.woocommerce-error::before { content: "\26A0"; color: #e23b3b; }

.woocommerce-message {
	background: #f0fdf4;
	border-color: #c6f0d4;
	color: #166534;
}
.woocommerce-message::before { content: "\2713"; color: #22a55a; }

.woocommerce-info {
	background: #eef7fb;
	border-color: #c3e7f1;
	color: #155e75;
}
.woocommerce-info::before { content: "\2139"; color: #4cc3e0; }

.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

/* ===== Slim, klasowa stopka (wstrzykiwana w astra_footer) ===== */
.jba-footer {
	margin-top: 4rem;
	padding: 2.25rem 1.25rem 2.5rem;
	background: transparent;
	border-top: 0;
	text-align: center;
	font-family: 'Inter', sans-serif;
}

.jba-footer-trust {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: #14213d;
	font-family: 'Inter Tight', 'Inter', sans-serif;
	font-weight: 600;
	letter-spacing: -0.01em;
	font-size: 0.98rem;
}

.jba-footer-trust svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.jba-footer-links {
	margin: 0.85rem 0 0;
	font-size: 0.86rem;
}

.jba-footer-links a {
	color: #5b6470;
	text-decoration: none;
	transition: color 0.15s ease;
}

.jba-footer-links a:hover {
	color: #ff5a1f;
}

.jba-footer-sep {
	color: #bcc6d4;
	margin: 0 0.55rem;
}

.jba-footer-copy {
	margin-top: 0.6rem;
	color: #8a93a0;
	font-size: 0.8rem;
}

/* Podpis autora (sign-off) */
.jba-signoff {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin: 2rem 0 0.5rem;
}

.jba-signoff-photo {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	border: 2px solid #ffffff;
	box-shadow: 0 6px 18px rgba(20, 33, 61, 0.16);
}

.jba-signoff-body {
	display: flex;
	flex-direction: column;
}

.jba-signoff-line {
	margin: 0;
	color: #5b6470;
	font-size: 0.98rem;
}

.jba-signoff-name {
	margin: 0.1rem 0 0;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	letter-spacing: -0.015em;
	color: #14213d;
	font-size: 1.18rem;
}

.jba-signoff-role {
	margin: 0.05rem 0 0;
	color: #8a93a0;
	font-size: 0.88rem;
}

@media (max-width: 560px) {
	.jba-signoff { gap: 0.85rem; }
	.jba-signoff-photo { width: 60px; height: 60px; }
}

/* Upsell / OTO */
.jba-upsell-decline {
	margin-top: 1.6rem;
	text-align: center;
}

.jba-upsell-decline a {
	display: inline-block;
	max-width: 460px;
	color: #8a93a0;
	font-size: 0.86rem;
	line-height: 1.45;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.jba-upsell-decline a:hover {
	color: #5b6470;
}

/* Mockup ksiazki z wachlarzem stron (co jest w srodku) */
.jba-bookfan {
	--cw: clamp(206px, 56vw, 264px);
	position: relative;
	width: -moz-fit-content;
	width: fit-content;
	margin: 3.4rem auto 3.4rem;
}

.jba-bookfan::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -26px;
	width: 96%;
	height: 28px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(20, 33, 61, 0.30) 0%, rgba(20, 33, 61, 0) 70%);
	filter: blur(4px);
	z-index: 0;
}

.jba-bookfan-stage {
	position: relative;
	z-index: 1;
	width: var(--cw);
}

.jba-bookfan-page {
	position: absolute;
	bottom: 5%;
	left: 50%;
	width: 78%;
	border-radius: 5px;
	border: 4px solid #ffffff;
	background: #ffffff;
	box-shadow: 0 10px 22px rgba(20, 33, 61, 0.20);
	transform-origin: bottom center;
}

.jba-bookfan-page--l1 { transform: translateX(-84%) rotate(-11deg); z-index: 2; }
.jba-bookfan-page--r1 { transform: translateX(-16%) rotate(11deg); z-index: 2; }
.jba-bookfan-page--l2 { transform: translateX(-106%) rotate(-20deg); width: 70%; z-index: 1; }
.jba-bookfan-page--r2 { transform: translateX(6%) rotate(20deg); width: 70%; z-index: 1; }

.jba-bookfan-cover {
	position: relative;
	z-index: 3;
	width: 100%;
	border-radius: 3px 9px 9px 3px;
	box-shadow:
		2px 0 0 #f3ece0,
		4px 0 0 #eaded0,
		6px 0 0 #f3ece0,
		8px 0 0 #e3d6c4,
		10px 0 0 #f3ece0,
		12px 0 0 #dccfb8,
		13px 2px 1px rgba(20, 33, 61, 0.12),
		18px 26px 40px rgba(20, 33, 61, 0.32);
}

.jba-bookfan-cover-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px 9px 9px 3px;
}

.jba-book-spine {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 18px;
	border-radius: 3px 0 0 3px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.16) 38%, rgba(255, 255, 255, 0.12) 86%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

.jba-book-gloss {
	position: absolute;
	inset: 0;
	border-radius: 3px 9px 9px 3px;
	background: linear-gradient(108deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.30) 79%, rgba(255, 255, 255, 0) 90%);
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.jba-book-inner { transition: none; }
}

/* Landing (tw1) hero: bookfan zamiast pre-renderu ebook-mockup.png */
.jba-mockup--fan {
	max-width: 1120px;
	padding-top: 3.25rem;
	padding-bottom: 1.5rem;
	overflow-x: clip;
}
.jba-bookfan--hero {
	--cw: clamp(300px, 84vw, 600px);
	margin: 1.5rem auto 2rem;
}
/* ciasniejszy wachlarz, by mega-okladka nie rozjezdzala layoutu */
.jba-bookfan--hero .jba-bookfan-page--l1 { transform: translateX(-72%) rotate(-9deg); }
.jba-bookfan--hero .jba-bookfan-page--r1 { transform: translateX(-28%) rotate(9deg); }
.jba-bookfan--hero .jba-bookfan-page--l2 { transform: translateX(-90%) rotate(-16deg); }
.jba-bookfan--hero .jba-bookfan-page--r2 { transform: translateX(-10%) rotate(16deg); }

/* Pricebox: ten sam bookfan co hero, ale ciaśniejszy by zmieścił się w kolumnie */
.jba-bookfan--buybox {
	--cw: clamp(240px, 40vw, 360px);
	margin: 0.5rem auto;
}
.jba-bookfan--buybox .jba-bookfan-page--l1 { transform: translateX(-72%) rotate(-9deg); }
.jba-bookfan--buybox .jba-bookfan-page--r1 { transform: translateX(-28%) rotate(9deg); }
.jba-bookfan--buybox .jba-bookfan-page--l2 { transform: translateX(-90%) rotate(-16deg); }
.jba-bookfan--buybox .jba-bookfan-page--r2 { transform: translateX(-10%) rotate(16deg); }

/* Pasek postępu (OTO) — pomarańczowe tło + inline progress bar */
.jba-progress {
	background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%);
	padding: 13px 20px 14px;
	box-shadow: 0 6px 18px rgba(255, 90, 31, 0.25);
}

.jba-progress-inner {
	max-width: 760px;
	margin: 0 auto;
}

.jba-progress-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 9px;
}

.jba-progress-caption {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	letter-spacing: 0.02em;
	font-size: 0.8rem;
	text-transform: uppercase;
	color: #ffffff;
}

.jba-progress-step {
	flex: 0 0 auto;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 0.76rem;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.22);
	padding: 3px 11px;
	border-radius: 999px;
	white-space: nowrap;
}

.jba-progress-track {
	height: 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.32);
	overflow: hidden;
	box-shadow: inset 0 1px 2px rgba(20, 33, 61, 0.14);
}

.jba-progress-fill {
	display: block;
	height: 100%;
	width: 88%;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffffff 0%, #fff4ec 100%);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
	transform-origin: left center;
	animation: jbaProgFill 0.9s ease forwards;
}

@keyframes jbaProgFill {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@media (max-width: 520px) {
	.jba-progress-caption { font-size: 0.72rem; }
	.jba-progress-step { font-size: 0.7rem; padding: 2px 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.jba-progress-fill { animation: none; }
}

/* Opinia na stronie upsell */
.jba-upsell-review {
	margin: 1.8rem 0 0.5rem;
	padding: 1.5rem 1.6rem;
	background: #ffffff;
	border: 1px solid rgba(20, 33, 61, 0.08);
	border-radius: 16px;
	box-shadow: 0 14px 34px rgba(20, 33, 61, 0.07);
}

.jba-upsell-review-stars {
	display: block;
	color: #f5b800;
	font-size: 1.05rem;
	letter-spacing: 0.12em;
	margin-bottom: 0.6rem;
}

.jba-upsell-review-text {
	margin: 0;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 1.12rem;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: #14213d;
}

.jba-upsell-review-author {
	margin-top: 0.7rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #8a93a0;
}

/* Komplet: produkt z 1. lejka + ksiazka dla dziecka */
.jba-komplet {
	position: relative;
	overflow: hidden;
	margin: 3rem 0 2rem;
	padding: 2.8rem 1.5rem 2.6rem;
	text-align: center;
	border-radius: 26px;
	background:
		radial-gradient(62% 48% at 50% -6%, rgba(255, 90, 31, 0.34) 0%, rgba(255, 90, 31, 0) 60%),
		radial-gradient(72% 60% at 50% 120%, rgba(76, 195, 224, 0.22) 0%, rgba(76, 195, 224, 0) 60%),
		linear-gradient(180deg, #1d2c4c 0%, #14213d 56%, #0f1830 100%);
	box-shadow: 0 22px 50px rgba(15, 24, 48, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.jba-komplet::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 8%;
	width: 720px;
	height: 720px;
	max-width: 165%;
	transform: translateX(-50%);
	background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.07) 0deg 5deg, rgba(255, 255, 255, 0) 5deg 17deg);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0) 60%);
	mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0, 0, 0, 0) 60%);
	pointer-events: none;
}

.jba-komplet > * {
	position: relative;
	z-index: 1;
}

.jba-komplet-badge {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.34rem 0.9rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff7a3d, #ff5a1f);
	color: #ffffff;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 0.72rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	box-shadow: 0 8px 22px rgba(255, 90, 31, 0.55), 0 0 0 4px rgba(255, 90, 31, 0.14);
}

.jba-komplet-h2 {
	margin-top: 0.1rem;
	color: #ffffff;
}

.jba-komplet-h2 .jba-hl-o {
	color: #ffffff;
	background: linear-gradient(104deg, rgba(255, 122, 61, 0) 0.5%, rgba(255, 122, 61, 0.6) 2.2%, rgba(255, 90, 31, 0.6) 97.8%, rgba(255, 90, 31, 0) 99.5%);
}

.jba-komplet-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 0.6rem 1.4rem;
	margin: 1.8rem 0 1.4rem;
}

.jba-komplet-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 1 auto;
}

.jba-komplet-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 256px;
}

.jba-komplet-media::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -46%);
	width: 96%;
	height: 80%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0%, rgba(255, 184, 0, 0.22) 36%, rgba(255, 122, 61, 0.12) 58%, rgba(255, 122, 61, 0) 76%);
	filter: blur(22px);
	pointer-events: none;
}

.jba-komplet-media > * {
	position: relative;
	z-index: 1;
}

.jba-komplet-media--parent img {
	width: clamp(214px, 55vw, 272px);
	height: auto;
	filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.48));
}

.jba-komplet .jba-bookfan {
	--cw: clamp(150px, 42vw, 182px);
	margin: 0;
}

/* zwezony wachlarz w komplecie, zeby zmiescic sie obok */
.jba-komplet .jba-bookfan-page--l1 { transform: translateX(-70%) rotate(-9deg); }
.jba-komplet .jba-bookfan-page--r1 { transform: translateX(-30%) rotate(9deg); }
.jba-komplet .jba-bookfan-page--l2 { transform: translateX(-88%) rotate(-16deg); }
.jba-komplet .jba-bookfan-page--r2 { transform: translateX(-12%) rotate(16deg); }

.jba-komplet-cap {
	margin-top: 1.2rem;
	width: clamp(238px, 82vw, 282px);
	padding: 1rem 1.15rem 1.1rem;
	text-align: left;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 32px rgba(0, 0, 0, 0.28);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.jba-komplet-lbl {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.22rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 90, 31, 0.16);
	border: 1px solid rgba(255, 90, 31, 0.42);
	color: #ff9159;
	font-family: 'Inter Tight', sans-serif;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jba-komplet-title {
	display: block;
	margin-bottom: 0.7rem;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 1.16rem;
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: #ffffff;
}

.jba-komplet-feats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.jba-komplet-feats li {
	position: relative;
	padding-left: 1.7rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	line-height: 1.32;
	color: rgba(255, 255, 255, 0.84);
}

.jba-komplet-feats li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0.04em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff7a3d, #ff5a1f);
	box-shadow: 0 3px 8px rgba(255, 90, 31, 0.5);
	color: #ffffff;
	font-size: 11px;
	font-weight: 900;
}

.jba-komplet-plus {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 100px;
}

.jba-komplet-plus-ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 12px 26px rgba(255, 90, 31, 0.45), 0 0 0 7px rgba(255, 255, 255, 0.06), inset 0 0 0 1.5px rgba(255, 90, 31, 0.28);
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 1.7rem;
	line-height: 1;
	color: #ff5a1f;
}

.jba-komplet-caption {
	max-width: 560px;
	margin: 0.8rem auto 0;
	font-size: 1.06rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.jba-komplet-caption strong { color: #ffffff; }

@media (max-width: 560px) {
	.jba-komplet { padding: 1.8rem 1rem 1.5rem; }
	.jba-komplet-plus {
		flex-basis: 100%;
		margin: 0.5rem 0;
	}
}

/* Ikonki platnosci pod CTA */
.jba-cta-pay {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.9rem;
}

.jba-cta-pay img {
	display: block;
	height: 22px;
	width: auto;
	padding: 5px 8px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

/* Richer: animowany polysk na CTA (tylko strona upsell) */
.jba-tw-upsell .jba-cta {
	position: relative;
	overflow: hidden;
}

.jba-tw-upsell .jba-cta::after {
	content: "";
	position: absolute;
	top: 0;
	left: -65%;
	width: 45%;
	height: 100%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
	transform: skewX(-18deg);
	animation: jbaSheen 3.8s ease-in-out infinite;
	pointer-events: none;
}

@keyframes jbaSheen {
	0% { left: -65%; }
	58% { left: 135%; }
	100% { left: 135%; }
}

@media (prefers-reduced-motion: reduce) {
	.jba-tw-upsell .jba-cta::after { animation: none; opacity: 0; }
}

/* Lead capture modal (strona glowna) */
.jba-modal[hidden] { display: none; }

.jba-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.2rem;
}

.jba-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 24, 48, 0.62);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.jba-modal.is-open .jba-modal-overlay { opacity: 1; }

.jba-modal-card {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border-radius: 20px;
	padding: 2.1rem 1.7rem 1.8rem;
	box-shadow: 0 30px 80px rgba(15, 24, 48, 0.45);
	transform: translateY(14px) scale(0.98);
	opacity: 0;
	transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.24s ease;
}

.jba-modal.is-open .jba-modal-card { transform: none; opacity: 1; }

.jba-modal-x {
	position: absolute;
	top: 0.85rem;
	right: 0.9rem;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #f1f3f7;
	color: #5b6470;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.jba-modal-x:hover { background: #e7ebf1; }

.jba-modal-title {
	margin: 0 0 1.2rem;
	padding: 0 1rem;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 1.32rem;
	line-height: 1.22;
	letter-spacing: -0.015em;
	color: #14213d;
	text-align: center;
}

.jba-field { margin-bottom: 0.75rem; }

.jba-modal-form input[type="text"],
.jba-modal-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 1.5px solid #dfe4ec;
	border-radius: 12px;
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	color: #14213d;
	background: #fbfcfe;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jba-modal-form input::placeholder { color: #9aa3b0; }

.jba-modal-form input:focus {
	outline: none;
	border-color: #ff5a1f;
	box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.14);
}

.jba-modal-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0.5rem 0 1.1rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.84rem;
	line-height: 1.4;
	color: #5b6470;
	text-align: left;
	cursor: pointer;
}

.jba-modal-consent input {
	margin-top: 0.15rem;
	width: 17px;
	height: 17px;
	accent-color: #ff5a1f;
	flex: 0 0 auto;
}

.jba-modal-consent a { color: #ff5a1f; text-decoration: underline; }

.jba-modal-error {
	margin: 0 0 0.8rem;
	color: #d3263a;
	font-size: 0.85rem;
	text-align: center;
}

.jba-modal-submit {
	display: block;
	width: 100%;
	border: 0;
	cursor: pointer;
	padding: 1rem 1.5rem;
	border-radius: 14px;
	background: linear-gradient(180deg, #ff8a4d, #ff5a1f);
	color: #ffffff;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 1.08rem;
	letter-spacing: -0.01em;
	box-shadow: 0 12px 26px rgba(255, 90, 31, 0.35);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.jba-modal-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(255, 90, 31, 0.42);
}

/* Richer modal */
.jba-modal-card {
	padding-top: 2.5rem;
	overflow: hidden;
}

.jba-modal-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 130px;
	background: radial-gradient(62% 100% at 50% 0%, rgba(255, 90, 31, 0.16) 0%, rgba(255, 90, 31, 0) 72%);
	pointer-events: none;
}

.jba-modal-head {
	position: relative;
	text-align: center;
	margin-bottom: 1.35rem;
}

.jba-modal-eyebrow {
	display: inline-block;
	margin-bottom: 0.95rem;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 90, 31, 0.12);
	border: 1px solid rgba(255, 90, 31, 0.32);
	color: #ff5a1f;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jba-modal-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: 0 auto 1rem;
	border-radius: 18px;
	background: linear-gradient(180deg, #ff8a4d, #ff5a1f);
	color: #ffffff;
	box-shadow: 0 14px 30px rgba(255, 90, 31, 0.40);
}

.jba-modal-icon svg { width: 30px; height: 30px; }

.jba-modal-title {
	margin: 0 0 0.5rem;
	padding: 0;
}

.jba-modal-sub {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #5b6470;
}

.jba-field { position: relative; }

.jba-field-ic {
	position: absolute;
	left: 0.95rem;
	top: 50%;
	transform: translateY(-50%);
	color: #9aa3b0;
	pointer-events: none;
}

.jba-field-ic svg { width: 20px; height: 20px; display: block; }

.jba-field:focus-within .jba-field-ic { color: #ff5a1f; }

.jba-modal-form input[type="text"],
.jba-modal-form input[type="email"] { padding-left: 2.8rem; }

.jba-modal-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.jba-modal-submit svg {
	width: 19px;
	height: 19px;
	transition: transform 0.15s ease;
}

.jba-modal-submit:hover svg { transform: translateX(3px); }

.jba-modal-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	margin: 1rem 0 0;
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	color: #8a93a0;
}

.jba-modal-trust svg {
	width: 15px;
	height: 15px;
	color: #16a34a;
}

/* ============================================================
   UPSELL: sekcja workbookow (przeprojektowana) + mockupy 3D
   ============================================================ */
.wb-section {
	position: relative;
	margin: 3rem 0 2rem;
	padding: 3.2rem 1.6rem 3rem;
	border-radius: 30px;
	overflow: hidden;
	background:
		radial-gradient(120% 80% at 50% -10%, rgba(255, 122, 61, 0.10) 0%, rgba(255, 122, 61, 0) 55%),
		radial-gradient(90% 70% at 100% 110%, rgba(76, 195, 224, 0.12) 0%, rgba(76, 195, 224, 0) 60%),
		linear-gradient(180deg, #fffaf4 0%, #fff6ec 100%);
	border: 1px solid rgba(20, 33, 61, 0.08);
	box-shadow: 0 30px 70px rgba(20, 33, 61, 0.10);
	text-align: center;
}

.wb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #fff, #fff4ea);
	border: 1px solid rgba(255, 90, 31, 0.28);
	color: #ff5a1f;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 0 8px 20px rgba(255, 90, 31, 0.14);
}
.wb-eyebrow::before { content: "\2726"; font-size: 0.8rem; }

.wb-head {
	margin: 0 auto 0.8rem;
	max-width: 30ch;
	font-family: 'Gabarito', 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: clamp(1.7rem, 4.4vw, 2.4rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: #14213d;
}
.wb-head .hl {
	color: #ff5a1f;
	background: linear-gradient(104deg, rgba(255,122,61,0) .5%, rgba(255,184,0,.32) 2%, rgba(255,184,0,.32) 98%, rgba(255,122,61,0) 99.5%);
	padding: 0 .12em;
}
.wb-sub {
	margin: 0 auto 2.6rem;
	max-width: 52ch;
	font-size: 1.06rem;
	line-height: 1.62;
	color: #51596b;
}

.wb-list {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

.wb-card {
	position: relative;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: clamp(1rem, 4vw, 2.6rem);
	padding: 1.8rem 1.9rem;
	text-align: left;
	background: #ffffff;
	border: 1px solid rgba(20, 33, 61, 0.07);
	border-radius: 24px;
	box-shadow: 0 18px 44px rgba(20, 33, 61, 0.09);
}
.wb-card:nth-child(even) .wb-mock { order: 2; }
.wb-card:nth-child(even) .wb-body { order: 1; }

.wb-card--biz { --acc: #2f6fed; --acc-d: #234fb0; --acc-soft: #eaf1ff; --acc-bd: rgba(47,111,237,.34); --acc-glow: rgba(47,111,237,.38); }
.wb-card--rel { --acc: #e11d48; --acc-d: #ab1539; --acc-soft: #fdeaef; --acc-bd: rgba(225,29,72,.34); --acc-glow: rgba(225,29,72,.34); }

.wb-mock {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1.8rem 1.2rem 2.4rem;
	perspective: 1700px;
}
.wb-mock::before {
	content: "";
	position: absolute;
	inset: 6% 4% 2%;
	z-index: 0;
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 46%, var(--acc-glow) 0%, transparent 66%);
	filter: blur(28px);
}
.wb-book {
	position: relative;
	z-index: 1;
	width: clamp(160px, 42vw, 205px);
	transform-style: preserve-3d;
	transform: rotateY(-17deg) rotateX(3deg);
	transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.wb-card:hover .wb-book { transform: rotateY(-9deg) rotateX(2deg); }
.wb-book-cover {
	position: relative;
	transform-style: preserve-3d;
	border-radius: 2px 6px 6px 2px;
	box-shadow: 0 2px 3px rgba(20,33,61,.16);
}
.wb-book-cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px 6px 6px 2px;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
/* grubosc kartek z prawej strony (realna bryla ksiazki) */
.wb-book-cover::after {
	content: "";
	position: absolute;
	top: 1.5%; right: -21px;
	width: 23px; height: 97%;
	transform: rotateY(78deg);
	transform-origin: left center;
	background: repeating-linear-gradient(180deg, #ffffff 0 2px, #e7ded0 2px 3px);
	border-radius: 0 2px 2px 0;
	box-shadow: inset -4px 0 7px rgba(0,0,0,.13);
}
.wb-book-spine {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 15px;
	border-radius: 2px 0 0 2px;
	background: linear-gradient(90deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.17) 40%, rgba(255,255,255,.20) 92%, rgba(0,0,0,0) 100%);
}
.wb-book-gloss {
	position: absolute;
	inset: 0;
	border-radius: 2px 6px 6px 2px;
	background: linear-gradient(108deg, rgba(255,255,255,0) 54%, rgba(255,255,255,.40) 72%, rgba(255,255,255,0) 84%);
	pointer-events: none;
}
/* cien kontaktowy pod ksiazka */
.wb-book::after {
	content: "";
	position: absolute;
	left: 4%; right: -6%; bottom: -30px;
	height: 38px;
	z-index: -1;
	background: radial-gradient(ellipse at center, rgba(20,33,61,.44) 0%, rgba(20,33,61,0) 70%);
	filter: blur(11px);
}
.wb-book-num {
	position: absolute;
	z-index: 2;
	top: -14px; left: -14px;
	width: 50px; height: 50px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--acc), var(--acc-d));
	color: #fff;
	font-family: 'Gabarito', sans-serif;
	font-weight: 800;
	font-size: 1.25rem;
	box-shadow: 0 10px 22px var(--acc-glow), 0 0 0 5px rgba(255,255,255,.9);
	transform: translateZ(60px);
}
.wb-book-num { z-index: 4; }
.wb-book-price {
	position: absolute;
	z-index: 4;
	top: -14px; right: -26px;
	display: flex; flex-direction: column; align-items: center; line-height: 1;
	padding: 0.42rem 0.62rem;
	border-radius: 9px;
	background: linear-gradient(180deg, #1d2c4c, #14213d);
	color: #fff;
	box-shadow: 0 12px 24px rgba(20,33,61,.42), 0 0 0 4px rgba(255,255,255,.9);
	transform: rotate(4deg) translateZ(70px);
}
.wb-book-price small {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 700;
	font-size: 0.52rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255,255,255,.62);
	margin-bottom: 2px;
}
.wb-book-price b { font-family: 'Gabarito', sans-serif; font-weight: 800; font-size: 1.02rem; }

.wb-tag {
	display: inline-block;
	margin-bottom: 0.6rem;
	padding: 0.26rem 0.7rem;
	border-radius: 999px;
	background: var(--acc-soft);
	border: 1px solid var(--acc-bd);
	color: var(--acc);
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wb-title {
	margin: 0 0 0.5rem;
	font-family: 'Inter Tight', sans-serif;
	font-weight: 800;
	font-size: clamp(1.2rem, 2.6vw, 1.42rem);
	line-height: 1.16;
	letter-spacing: -0.015em;
	color: #14213d;
}
.wb-desc {
	margin: 0 0 0.85rem;
	font-size: 0.98rem;
	line-height: 1.5;
	color: #5b6373;
}
.wb-value {
	display: inline-flex; align-items: center; gap: 0.55rem;
	margin: 0 0 1rem;
	padding: 0.38rem 0.5rem 0.38rem 0.85rem;
	border-radius: 12px;
	background: #f7f8fb;
	border: 1px dashed rgba(20,33,61,.16);
}
.wb-value-lbl { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 0.66rem; letter-spacing: 0.07em; text-transform: uppercase; color: #8a93a6; }
.wb-value-old { font-family: 'Gabarito', sans-serif; font-weight: 800; font-size: 1.05rem; color: #9aa3b2; text-decoration: line-through; text-decoration-color: rgba(225,29,72,.65); }
.wb-value-now { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 0.64rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--acc); background: var(--acc-soft); border: 1px solid var(--acc-bd); padding: 0.22rem 0.5rem; border-radius: 999px; }

.wb-feats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.wb-feats li {
	position: relative;
	padding-left: 1.9rem;
	font-size: 0.96rem;
	line-height: 1.4;
	color: #374050;
}
.wb-feats li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.05em;
	width: 21px; height: 21px;
	border-radius: 7px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 13px no-repeat,
		linear-gradient(180deg, var(--acc), var(--acc-d));
	box-shadow: 0 4px 10px var(--acc-glow);
}

.wb-stack {
	display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap;
	margin: 2.4rem auto 0;
	max-width: 560px;
	padding: 1.1rem 1.4rem;
	border-radius: 18px;
	background: linear-gradient(180deg, #14213d, #0f1830);
	color: #fff;
	box-shadow: 0 22px 44px rgba(15,24,48,.32);
}
.wb-stack-val { font-family: 'Gabarito', sans-serif; font-weight: 900; font-size: 2rem; line-height: 1; color: #ff7a3d; white-space: nowrap; }
.wb-stack-val s { color: rgba(255,255,255,.45); font-size: 1.15rem; font-weight: 700; text-decoration-color: rgba(255,90,31,.8); margin-right: .1rem; }
.wb-stack-txt { text-align: left; font-size: 1rem; line-height: 1.45; color: rgba(255,255,255,.82); }
.wb-stack-txt strong { color: #fff; }

@media (max-width: 620px) {
	.wb-card {
		grid-template-columns: 1fr;
		gap: 0.4rem;
		padding: 1.5rem 1.3rem 1.7rem;
		text-align: center;
	}
	.wb-card:nth-child(even) .wb-mock { order: 0; }
	.wb-card:nth-child(even) .wb-body { order: 0; }
	.wb-mock { padding-top: 2rem; }
	.wb-book { transform: rotateY(-14deg) rotateX(3deg); }
	.wb-book-price { right: -14px; top: -14px; }
	.wb-tag { margin-top: 0.4rem; }
	.wb-value, .wb-feats li { text-align: left; }
	.wb-book-num { left: 50%; margin-left: -100px; }
	.wb-stack, .wb-stack-txt { text-align: center; }
}
/* ====== Alternatywny CTA: opcja "tylko PDF" 47 zl (downsell, produkt 15) ====== */
/* Ten sam ksztalt/rozmiar co glowny .jba-cta, inny (niebieski) kolor. */
.jba-cta.jba-cta--alt {
	max-width: 560px;
	padding: 1.1rem 1.6rem;
	font-size: clamp(1.05rem, 2.5vw, 1.3rem);
	text-wrap: balance;
	background: linear-gradient(180deg, #2f8ae0 0%, #046bd2 100%);
	box-shadow:
		0 18px 38px rgba(4, 107, 210, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 5px 0 rgba(3, 74, 145, 0.55);
}

.jba-cta.jba-cta--alt:hover {
	box-shadow:
		0 26px 48px rgba(4, 107, 210, 0.46),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 8px 0 rgba(3, 74, 145, 0.55);
}

.jba-cta.jba-cta--alt:active {
	box-shadow:
		0 12px 26px rgba(4, 107, 210, 0.36),
		inset 0 1px 0 rgba(255, 255, 255, 0.3),
		0 2px 0 rgba(3, 74, 145, 0.55);
}

/* Bez animowanego blysku - glowny CTA (114 zl) ma zostac najmocniejszy. */
.jba-tw-upsell .jba-cta.jba-cta--alt::after { display: none; }

/* Wyjasnienie pod przyciskiem "tylko PDF" - subtelna, wysrodkowana notka. */
.jba-decline-note {
	max-width: 440px;
	margin-left: auto !important;
	margin-right: auto !important;
	color: #8a93a0;
	font-size: 0.84rem;
	font-weight: 500;
}
