/* ==========================================================================
   FRONT PAGE STYLES
   ========================================================================== */

/* Hero Section
   ========================================================================== */

.hero {
	position: relative;
	background-color: var(--black);
	color: var(--pure-white);
	height: calc(100vh - 70px);
	border-radius: 0 0 30px 30px;
	overflow: hidden;
	margin-top: -20px;
	padding: 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero-content {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0 0 6vw 50px;
	flex-direction: row;
}

.hero-title-col {
	flex: 0 0 55%;
	align-self: center;
}

.hero-title {
	font-family: var(--f-f-p);
	font-size: 4vw;
	line-height: 1.1;
	letter-spacing: -1px;
	color: #ffffff;
	margin: 0;
}

.hero-desc-col {
	flex: 1 0 28%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	max-width: 400px;
}

.hero-description {
	font-family: var(--f-f-p);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 30px 0;
}

.hero-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	height: 45%;
	max-height: 300px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('/wp-content/uploads/2026/02/sigmadruk-drukarnia-wielkoformatowa.webp');
	background-size: cover;
	background-position: center;
	opacity: 0.5;
	z-index: 1;
}

.hero-logo {
	max-width: 23vw;
	max-height: 9vw;
	object-fit: contain;
	position: relative;
	z-index: 2;
}

/* Scroll Indicator - zaokrąglony kwadrat z uszkami */
.hero-scroll-wrapper {
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translateX(50%);
	z-index: 5;
}

.hero-scroll {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background-color: var(--pure-white);
	border-radius: 20px 20px 0 0;
	color: var(--black);
	transition: all 0.3s ease;
	text-decoration: none;
}

.hero-scroll:hover {
	background-color: var(--ultra-lite-grey);
}

.hero-scroll:active,
.hero-scroll:focus {
	background-color: var(--pure-white);
	outline: none;
}

/* Uszko lewe - odwrócone zaokrąglenie po lewej stronie przycisku */
.hero-scroll-wrapper::before {
	content: "";
	position: absolute;
	bottom: 0px;
	right: 60px;
	width: 20px;
	height: 40px;
	background-color: transparent;
	border-bottom-right-radius: 20px;
	box-shadow: 0 20px 0 0 var(--pure-white);
}

/* Uszko boczne - odwrócone zaokrąglenie po prawej stronie */
.hero-scroll-wrapper::after {
	content: "";
	position: absolute;
	bottom: 0px;
	right: -20px;
	width: 20px;
	height: 40px;
	background-color: transparent;
	border-bottom-left-radius: 20px;
	box-shadow: 0 20px 0 0 var(--pure-white);
}

/* Scroll Mouse Animation */
.scroll-mouse {
	width: 22px;
	height: 36px;
	border: 2px solid var(--black);
	border-radius: 11px;
	position: relative;
}

.scroll-mouse-wheel {
	width: 4px;
	height: 8px;
	background-color: var(--red);
	border-radius: 2px;
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
	0% {
		opacity: 1;
		top: 6px;
	}
	50% {
		opacity: 0.4;
		top: 18px;
	}
	100% {
		opacity: 1;
		top: 6px;
	}
}

/* Trust Bar — Infinite Logo Marquee
   ========================================================================== */

.trust-bar {
	padding: 0 0 100px 0;
	overflow: hidden;
	width: calc(100% - 300px);
	margin: 0 auto;
}

.trust-bar-track {
	display: flex;
	width: max-content;
	animation: trustbar-scroll 35s linear infinite;
}

.trust-bar-slide {
	display: flex;
	align-items: center;
	gap: 60px;
	padding: 0 30px;
}

.trust-bar-item {
	flex-shrink: 0;
}

.trust-bar-logo {
	height: 35px;
	width: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.5;
	transition: opacity 0.3s ease, filter 0.3s ease;
	user-select: none;
}

.trust-bar-logo:hover {
	opacity: 0.8;
	filter: grayscale(50%);
}

@keyframes trustbar-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Process Section — "Pomagamy realizować..."
   ========================================================================== */

.process {
	padding: 150px 0 0;
	background-color: var(--pure-white);
	background-image: url('../images/layout/bg-lines.svg');
	background-repeat: repeat-y;
}

.process-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.process-content {
	padding-left: 6vw;
	width: 740px;
}

.process-title {
	font-size: var(--h-xl);
	line-height: var(--h-xl-lh);
	font-weight: 500;
	color: var(--black);
	margin-bottom: 50px;
	letter-spacing: var(--letter-spacing);
}

.process-desc {
	font-size: var(--b-l);
	line-height: var(--b-l-lh);
	color: var(--black);
	margin: 0;
	padding: 0 0 0 30px;
}

.process-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 30px;
	padding-left: 30px;
}

.process-video {
	align-self: end;
}

/* Process Features — 4 boxes
   ========================================================================== */

.process-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 35px;
	padding: 100px 0 150px;
	background: var(--pure-white);
}

.process-feature {
	position: relative;
	padding: 0;
	overflow: hidden;
}

.process-feature + .process-feature {
	border-left: 1px solid var(--navy-sky);
	padding-left: 35px;
}

.process-feature-number {
	display: block;
	font-size: 4vw;
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px var(--navy-sky);
	text-stroke: 2px var(--navy-sky);
	margin-bottom: 10px;
	user-select: none;
}

.process-feature-title {
	font-size: var(--h-s);
	font-weight: 700;
	color: var(--black);
	margin-bottom: 30px;
}

.process-feature-desc {
	font-size: var(--b-15);
	line-height: 1.6;
	color: var(--deep-grey);
	margin-bottom: 20px;
	letter-spacing: var(--letter-spacing);
}

.process-feature-desc:last-child {
	margin-bottom: 0;
}

.process-feature-desc strong {
	color: var(--black);
	font-weight: 600;
}

/* Video Card — Reusable Component
   ========================================================================== */

.video-card {
	position: relative;
	background-color: var(--black-navy);
	border-radius: var(--r-30);
	border-top-right-radius: 0;
	overflow: visible;
	padding: 20px;
	max-width: 430px;
	margin-left: auto;
}

/* Play button wrapper — positioned top-right */
.video-card-play-wrapper {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 15px;
	z-index: 3;
}

/* Play cutout — div wrapping the button, carries the uszki */
.video-card-play-cutout {
	position: relative;
	background-color: var(--pure-white);
	border-bottom-left-radius: 30px;
	padding: 0px 0 10px 10px;
	width: 70px;
}

/* Uszko lewe — odwrócone zaokrąglenie po lewej stronie cutoutu */
.video-card-play-cutout::before {
	content: "";
	position: absolute;
	bottom: 20px;
	right: 70px;
	width: 20px;
	height: 40px;
	background-color: transparent;
	border-top-right-radius: 20px;
	box-shadow: 0 -20px 0 0 var(--pure-white);
}

/* Uszko dolne — odwrócone zaokrąglenie pod cutoutem */
.video-card-play-cutout::after {
	content: "";
	position: absolute;
	bottom: -40px;
	right: 0px;
	width: 20px;
	height: 40px;
	background-color: transparent;
	border-top-right-radius: 20px;
	box-shadow: 0 -20px 0 0 var(--pure-white);
}

.video-card-duration {
	font-size: 10px;
	font-weight: 500;
	color: var(--black);
	border: 1px solid var(--lite-grey);
	border-radius: 6px;
	padding: 3px 10px;
	white-space: nowrap;
	background-color: var(--pure-white);
}

.video-card-play-btn {
	position: relative;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background-color: var(--red);
	color: var(--pure-white);
	border-radius: 50%;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-card-play-btn:hover {
	background-color: var(--red-deep);
	transform: scale(1.08) translate(3px, -3px);
	color: var(--pure-white);
}

.video-card-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--pure-white);
	line-height: 24px;
	margin: -5px 0 20px 0;
	padding-right: 125px;
	letter-spacing: var(--letter-spacing);
}

.video-card-thumbnail {
	position: relative;
	border-radius: var(--r-15);
	overflow: hidden;
}

.video-card-img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	display: block;
}

.video-card-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--deep-grey);
}

.video-card-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 16px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.video-card-desc {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.video-card-badge {
	align-self: flex-start;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: var(--letter-spacing);
	color: var(--pure-white);
	background-color: var(--red);
	border-radius: 5px;
	padding: 3px 10px;
	text-transform: uppercase;
	line-height: 15px;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1536px) {
	.hero {
		padding: 50px;
	}

	.hero-content {
		margin: 0 0 5vw 50px;
	}

	.hero-title-col {
		flex: 0 0 53%;
	}

	.process-content {
		padding-left: 0;
		width: 580px;
	}

}

@media (max-width: 1366px) {
	.hero-title-col {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.process-content {
		width: 100%;
	}

	.process-inner {
		gap: 0;
	}

	.trust-bar {
		width: calc(100% - 100px);
	}

}

@media (max-width: 1024px) {


	.hero-content {
		margin: 0 0 5vw 0;
	}

	.hero-title-col {
		flex: 0 0 55%;
		max-width: 55%;
	}

	.hero-title {
		font-size: 4.5vw;
	}

	.hero-logo {
		max-width: 30vw;
		max-height: 15vw;
	}

	.hero-desc-col {
		max-width: 340px;
	}

	.process {
		padding: 80px 0 0;
	}

	.process-content {
		padding-left: 0;
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		align-items: start;
	}

	.process-content .process-title {
		font-size: var(--h-l);
		line-height: var(--h-l-lh);
		margin-bottom: 0;
	}

	.process-content .process-desc {
		padding-left: 0;
	}

	.process-content .process-buttons {
		grid-column: 2;
		padding-left: 0;
		display: flex;
		gap: 15px;
		flex-wrap: wrap;
		margin-top: 30px;
	}

	.process-inner {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.process-features {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
		padding: 60px 0 80px;
	}

	.process-feature + .process-feature {
		border-left: none;
		padding-left: 0;
	}

	.process-feature:nth-child(even) {
		border-left: 1px solid var(--navy-sky);
		padding-left: 30px;
	}

	.process-feature-number {
		font-size: 8vw;
	}

	.trust-bar {
		width: calc(100% - 100px);
	}

	.trust-bar-slide {
		gap: 40px;
	}

	.video-card {
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.hero {
		height: auto;
		min-height: calc(100vh - 70px);
		overflow: visible;
	}

	.hero-content {
		flex-direction: column;
		gap: 20px;
		margin: 0 0 50px 0;
	}

	.hero-title-col {
		flex: 0 0 auto;
		max-width: 400px;
		align-self: start;
	}

	.hero-desc-col {
		flex: 0 0 auto;
		max-width: 380px;
	}

	.hero-title {
		font-size: clamp(2rem, 0.9583rem + 3.4722vw, 2.625rem);
	}

	.hero-logo {
		max-width: 40vw;
		max-height: 20vw;
	}

	.process {
		padding: 60px 0 0;
	}

	.process-content {
		grid-template-columns: 1fr;
	}

	.process-content .process-title {
		font-size: var(--h-l);
		margin-bottom: 20px;
		width: 100%;
	}

	.process-content .process-buttons {
		grid-column: 1;
	}

	.process-inner {
		gap: 50px;
	}

	.process-video {
		margin-right: auto;
	}

	.video-card {
		padding: 20px;
		max-width: 430px;
		margin-left: auto;
		border-radius: var(--r-20);
		border-top-right-radius: 0;
	}

	.process-features {
		padding: 50px 0 60px;
	}

	.trust-bar {
		width: calc(100% - 60px);
		padding: 35px 0;
	}

	.trust-bar-slide {
		gap: 30px;
	}

	.trust-bar-logo {
		height: 25px;
	}
}

@media (max-width: 480px) {
	.container {
		width: calc(100% - 40px);
		max-width: 100%;
	}

	.hero {
		padding: 20px 20px 80px 20px;
	}

	.hero-description {
		margin: 0 0 20px 0;
	}

	.hero-logo {
		max-width: 45vw;
		max-height: 25vw;
	}

	.process {
		padding: 40px 0 0;
	}

	.process-features {
		grid-template-columns: 1fr;
		gap: 25px;
		padding: 40px 0 50px;
	}

	.process-feature:nth-child(even) {
		border-left: none;
		padding-left: 0;
	}

	.process-feature + .process-feature {
		border-top: 1px solid var(--navy-sky);
		padding-top: 25px;
	}

	.process-feature-number {
		font-size: 12vw;
	}

	.video-card {
		padding: 16px;
		max-width: 100%;
		width: 100%;
	}

	.video-card-title {
		padding-right: 130px;
	}

	.trust-bar {
		width: calc(100% - 40px);
		padding: 25px 0;
	}

	.trust-bar-slide {
		gap: 24px;
	}

	.trust-bar-logo {
		height: 22px;
	}
}

@media (max-width: 359px) {
	.video-card {
		padding: 14px;
	}

	.video-card-title {
		font-size: 14px;
		padding-right: 80px;
	}

	.process-feature-number {
		font-size: 14vw;
	}
}

/* ==========================================================================
   PRODUCTS SECTION — "Co możemy dla Ciebie wydrukować?"
   ========================================================================== */

.products-section {
	padding: 0;
}

.container-bg {
	background-color: var(--ultra-lite-grey);
	margin: 0 50px;
	border-radius: var(--r-20);
	padding: 150px 100px 100px;
}

/* Header: H2 + Video Card */
.products-section-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	margin-bottom: 80px;
}

.products-section-title {
	font-size: var(--h-xl);
	line-height: var(--h-xl-lh);
	font-weight: 500;
	color: var(--black);
	margin: 0;
	letter-spacing: var(--letter-spacing);
}

.products-section-video {
	justify-self: end;
}

/* Products Grid — staggered 2-column */
.products-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15.625vw;
}

.products-grid-col {
	display: flex;
	flex-direction: column;
	gap: 300px;
}

.products-grid-col--right {
	padding-top: 200px;
}

/* Product Tile */
.product-tile-image-wrapper {
	position: relative;
	border-radius: 30px 30px 0 30px;
	overflow: hidden;
	margin-bottom: 40px;
}

.product-tile-img {
	width: 100%;
	height: 30vw;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.product-tile-placeholder {
	width: 100%;
	height: 30vw;
	background-color: var(--black);
}

/* Arrow cutout with uszki (bottom-right notch) */
.product-tile-arrow-cutout {
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: var(--ultra-lite-grey);
	border-top-left-radius: 30px;
	padding: 10px 10px 0 10px;
}

/* Uszko górne */
.product-tile-arrow-cutout::before {
	content: "";
	position: absolute;
	top: -20px;
	right: 0px;
	width: 40px;
	height: 20px;
	background-color: transparent;
	border-bottom-right-radius: 20px;
	box-shadow: 20px 0 0 0 var(--ultra-lite-grey);
}

/* Uszko lewe */
.product-tile-arrow-cutout::after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: -20px;
	width: 20px;
	height: 40px;
	background-color: transparent;
	border-bottom-right-radius: 20px;
	box-shadow: 0 20px 0 0 var(--ultra-lite-grey);
}

.product-tile-arrow {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.product-tile-arrow:hover {
	transform: scale(1.05);
}

.product-tile-content {
	padding: 0 10px;
}

.product-tile-heading {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.product-tile-title {
	font-size: var(--h-l);
	font-weight: 600;
	color: var(--black);
	line-height: 1.3;
	margin: 0;
}

.product-tile-subtitle {
	font-weight: 400;
	font-size: var(--b-l);
	color: var(--grey);
	margin: 0;
	align-self: center;
}

.product-tile-desc {
	font-size: var(--b-15);
	line-height: 1.7;
	color: var(--black);
	margin-bottom: 30px;
	max-width: 70%;
}

.product-tile-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	font-family: var(--f-f-p);
	font-size: var(--button-text);
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 8px;
	background-color: var(--red);
	color: var(--pure-white);
	transition: all 0.3s ease;
	cursor: pointer;
}

.product-tile-btn:hover {
	background-color: var(--red-deep);
	color: var(--pure-white);
}

/* Products Footer: stat + buttons (Minimal Inline) */
.products-section-footer {
	padding-top: 40px;
	margin-top: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
}

.products-section-stat {
	display: flex;
	align-items: center;
	gap: 20px;
}

.products-section-stat-number {
	font-size: clamp(3rem, 2.5rem + 2vw, 5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--ultra-lite-grey);
	-webkit-text-stroke: 1.5px var(--mid-grey);
	letter-spacing: -2px;
}

.products-section-stat-label {
	font-size: var(--b-m);
	color: var(--grey);
	font-weight: 500;
	max-width: 130px;
	line-height: 1.4;
	margin: 0;
}

.products-section-buttons {
	display: flex;
	gap: 12px;
	align-items: center;
}

.products-section-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	font-family: var(--f-f-p);
	font-size: var(--button-text);
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.products-section-btn--primary {
	background-color: var(--mid-navy);
	color: var(--pure-white);
}

.products-section-btn--primary:hover {
	background-color: var(--navy);
	color: var(--pure-white);
}

.products-section-btn--outline {
	background-color: transparent;
	color: var(--grey);
	border: 1px solid var(--lite-grey);
}

.products-section-btn--outline:hover {
	border-color: var(--mid-grey);
	color: var(--black);
}

/* Products Section — Responsive */

@media (max-width: 1536px) {
	.container-bg {
		margin: 0 20px;
		padding: 60px 60px;
	}
}

@media (max-width: 1366px) {
	.container-bg {
		padding: 50px 50px;
	}

	.products-section-header {
		margin-bottom: 60px;
	}

	.products-grid-col--right {
		padding-top: 100px;
	}
}

@media (max-width: 1024px) {
	.container-bg {
		padding: 40px 30px;
	}

	.products-section-header {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.products-section-video {
		justify-self: start;
	}

	.products-section-video .video-card {
		margin: 0;
	}

	.products-grid-col--right {
		padding-top: 0;
	}

	.product-tile-img,
	.product-tile-placeholder {
		height: 35vw;
	}
}

@media (max-width: 768px) {
	.container-bg {
		margin: 0;
		border-radius: var(--r-15);
		padding: 40px 30px;
	}

	.products-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.products-grid-col {
		gap: 60px;
	}

	.product-tile-desc {
		max-width: 100%;
	}

	.product-tile-img,
	.product-tile-placeholder {
		height: 50vw;
	}

	.products-section-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.products-section-buttons {
		flex-direction: column;
		width: 100%;
	}

	.products-section-buttons .btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.container-bg {
		padding: 50px 16px;
	}

	.products-section-title {
		font-size: var(--h-l);
		line-height: var(--h-l-lh);
		font-weight: 600;
		color: var(--black);
		margin: 0;
		letter-spacing: var(--letter-spacing);
	}

	.products-section-header {
		margin-bottom: 40px;
	}

	.product-tile-img,
	.product-tile-placeholder {
		height: 60vw;
	}

	.product-tile-title {
		font-size: var(--h-m);
	}

	.product-tile-btn {
		padding: 12px 24px;
		font-size: 0.875rem;
	}
}

@media (max-width: 359px) {
	.product-tile-img,
	.product-tile-placeholder {
		height: 65vw;
	}

	.product-tile-arrow {
		width: 40px;
		height: 40px;
	}
}

/* ==========================================================================
   PRODUCTS ACCORDION SECTION — Variant 4C
   ========================================================================== */

.products-section {
	padding: 0;
}

/* Video card uszki — kolor ultra-lite-grey bo wewnątrz container-bg */
.products-section .video-card-play-cutout {
	background-color: var(--ultra-lite-grey);
}

.products-section .video-card-play-cutout::before {
	box-shadow: 0 -20px 0 0 var(--ultra-lite-grey);
}

.products-section .video-card-play-cutout::after {
	box-shadow: 0 -20px 0 0 var(--ultra-lite-grey);
}

/* Video w headerze — uszki też ultra-lite-grey */
.products-header-video .video-card-play-cutout {
	background-color: var(--ultra-lite-grey);
}

.products-header-video .video-card-play-cutout::before {
	box-shadow: 0 -20px 0 0 var(--ultra-lite-grey);
}

.products-header-video .video-card-play-cutout::after {
	box-shadow: 0 -20px 0 0 var(--ultra-lite-grey);
}

.products-header {
	margin-bottom: 60px;
}

.products-header-text h2 {
	font-size: var(--h-xl);
	line-height: var(--h-xl-lh);
	font-weight: 500;
	color: var(--black);
	margin-bottom: 20px;
	letter-spacing: var(--letter-spacing);
}

.products-header-text p {
	font-size: var(--b-l);
	line-height: var(--b-m-lh);
	color: var(--grey);
	max-width: 500px;
	margin: 0;
}

/* Video w headerze — widoczny tylko na tablecie (1024px) */
.products-header-video {
	display: none;
}

.products-header-video .video-card {
	max-width: 100%;
	width: 100%;
	margin: 0;
}

/* Layout: accordion (left) + sticky video (right) */
.products-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	align-items: start;
}

/* Sidebar */
.products-sidebar {
	position: sticky;
	top: 100px;
}

.products-sidebar .video-card {
	max-width: 100%;
	margin-left: 0;
}

/* ── Accordion ── */
.products {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pa-panel {
	background: var(--pure-white);
	border-radius: var(--r-15);
	overflow: hidden;
	cursor: pointer;
	transition: box-shadow 0.3s ease;
}

.pa-panel:hover {
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.pa-panel.is-active {
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

/* Panel header */
.pa-panel-header {
	display: flex;
	align-items: center;
	padding: 24px 30px;
	gap: 20px;
	user-select: none;
}

.pa-panel-number {
	font-size: var(--b-12);
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--mid-grey);
	min-width: 28px;
	transition: color 0.3s ease;
}

.pa-panel.is-active .pa-panel-number {
	color: var(--red);
}

.pa-panel-name-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pa-panel-name {
	font-size: var(--h-s);
	font-weight: 600;
	letter-spacing: var(--letter-spacing);
	transition: color 0.3s ease;
}

.pa-panel.is-active .pa-panel-name {
	color: var(--lite-grey);
}

.pa-panel-tags {
	font-size: var(--b-12);
	color: var(--mid-grey);
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pa-panel-tags-sep {
	color: var(--mid-grey);
	opacity: 0.5;
	margin: 0 4px;
}

.pa-panel-hint {
	font-size: var(--b-m);
	color: var(--mid-grey);
	font-weight: 300;
}

.pa-panel-toggle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ultra-lite-grey);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.pa-panel.is-active .pa-panel-toggle {
	background: var(--lite-grey);
	transform: rotate(180deg);
}

.pa-panel-toggle svg {
	width: 16px;
	height: 16px;
	color: var(--grey);
	transition: color 0.3s ease;
}

.pa-panel.is-active .pa-panel-toggle svg {
	color: var(--deep-grey);
}

/* Panel body (expandable) */
.pa-panel-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pa-panel.is-active .pa-panel-body {
	max-height: 600px;
}

.pa-panel-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	padding: 0 30px 30px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.pa-panel.is-active .pa-panel-inner {
	opacity: 1;
	transform: translateY(0);
}

.pa-panel-image {
	border-radius: var(--r-15);
	overflow: hidden;
	height: 20vw;
}

.pa-panel-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pa-panel-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
}

.pa-panel-title {
	font-size: var(--h-m);
	line-height: var(--h-m-lh);
	font-weight: 600;
	margin: 0;
}

.pa-panel-title span {
	color: var(--grey);
	font-weight: 300;
	display: block;
	font-size: 0.75em;
	margin-top: 4px;
}

.pa-panel-desc {
	font-size: var(--b-m);
	line-height: var(--b-m-lh);
	color: var(--grey);
	margin: 0;
}

.pa-panel-content .btn {
	padding: 10px 20px;
	font-size: var(--b-s);
	width: fit-content;
}

/* ── Footer ── */
.products-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--lite-grey);
	flex-wrap: wrap;
	gap: 30px;
}

.products-stat {
	display: flex;
	align-items: center;
	gap: 20px;
}

.products-stat-number {
	font-size: clamp(3rem, 2.5rem + 2vw, 5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--ultra-lite-grey);
	-webkit-text-stroke: 1.5px var(--mid-grey);
	letter-spacing: -2px;
}

.products-stat-label {
	font-size: var(--b-m);
	color: var(--grey);
	font-weight: 500;
	max-width: 80px;
	line-height: 1.4;
	margin: 0;
}

.products-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ==========================================================================
   PRODUCTS ACCORDION — Responsive
   ========================================================================== */

@media (max-width: 1536px) {
	.products-layout {
		gap: 30px;
	}
}

@media (max-width: 1366px) {
	.products-layout {
		grid-template-columns: 1fr 340px;
		gap: 30px;
	}
}

@media (max-width: 1024px) {
	.products-header {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 40px;
		align-items: center;
	}

	.products-header-text h2 {
		margin-bottom: 30px;
	}

	.products-header-video {
		display: block;
	}

	.products-header-video .video-card {
		max-width: 100%;
		width: 100%;
		margin: 0;
	}

	.products-layout {
		grid-template-columns: 1fr;
	}

	.products-sidebar {
		display: none;
	}

	.pa-panel-hint {
		display: none;
	}

	.pa-panel-inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.pa-panel-image {
		height: 220px;
	}

	.pa-panel.is-active .pa-panel-body {
		max-height: 700px;
	}
}

@media (max-width: 768px) {
	.products-header {
		display: block;
	}

	.products-header-text h2 {
		width: 80%;
	}

	.products-header-video {
		display: none;
	}

	.products-sidebar {
		display: block;
		position: relative;
		top: auto;
		max-width: 430px;
		order: -1;
		margin-bottom: 20px;
	}

	.products-section {
		padding: 0 20px;
	}

	.pa-panel-header {
		padding: 18px 20px;
		gap: 14px;
	}

	.pa-panel-inner {
		padding: 0 20px 24px;
	}

	.products-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.products-buttons {
		flex-direction: column;
		width: 100%;
	}

	.products-buttons .btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.pa-panel-image {
		height: 180px;
	}
}

@media (max-width: 359px) {
	.pa-panel-image {
		height: 150px;
	}
}
