/* Strona O nas (/strony/o-nas) — szablon kd-cms-template-about.
   Typografia .kd-product-content-copy jest w kd.css (współdzielona z produktem i stroną główną). */

.kd-cms-template-about > .kd-about-content,
.kd-cms-template-about > .kd-cms-cta {
	width: min(var(--kd-cms-layout, 1200px), 100%) !important;
	max-width: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.kd-cms-template-about > .kd-about-content {
	padding: clamp(32px, 4vw, 48px) 0 0 !important;
	font-size: 16px;
}

.kd-cms-template-about .kd-about-content > :last-child {
	margin-bottom: 0;
}

.kd-cms-template-about .kd-about-lead {
	max-width: 72ch;
	margin: 0 auto 32px;
	color: #50495b;
	font-size: 17px;
	line-height: 1.75;
	text-align: center;
}

.kd-cms-template-about .kd-about-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 44px;
}

.kd-cms-template-about .kd-about-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 18px;
	text-align: center;
	background: #2d1f5e;
	border-radius: 16px;
	color: #fff;
}

.kd-cms-template-about .kd-about-stat strong {
	color: #fff;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
}

.kd-cms-template-about .kd-about-stat span {
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	line-height: 1.45;
}

.kd-cms-template-about .kd-about-section {
	margin: 0 0 36px;
	padding: 24px 26px;
	background: #fff;
	border: 1px solid #e6e1f0;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(23, 20, 38, .04);
}

.kd-cms-template-about .kd-about-section.is-muted {
	border-color: #ece8f4;
	border-style: dotted;
}

.kd-cms-template-about .kd-about-section.is-accent {
	background: linear-gradient(135deg, #443395 0%, #2d1f5e 100%);
	border-color: transparent;
	color: #fff;
}

.kd-cms-template-about .kd-about-section h2 {
	margin: 0 0 12px;
	color: #171426;
	font-size: 22px !important;
	line-height: 1.25;
	letter-spacing: -.02em;
}

.kd-cms-template-about .kd-about-section.is-accent h2,
.kd-cms-template-about .kd-about-section.is-accent p,
.kd-cms-template-about .kd-about-section.is-accent a {
	color: #fff;
}

.kd-cms-template-about .kd-about-section p,
.kd-cms-template-about .kd-about-section ul {
	margin: 0;
	color: #635c72;
	font-size: 15px;
	line-height: 1.7;
}

.kd-cms-template-about .kd-about-section ul {
	margin-top: 10px;
	padding-left: 20px;
}

.kd-cms-template-about .kd-about-section a {
	color: #443395;
	font-weight: 700;
}

.kd-cms-template-about .kd-about-kicker {
	display: inline-flex;
	margin: 0 0 22px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f0fb;
	color: #443395;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.2;
}

.kd-cms-template-about .kd-content-eyebrow {
	margin: 0 0 22px;
}

/* Split i bloki mediów — ten sam odstęp co na stronie głównej i w opisie produktu. */
.kd-cms-template-about .kd-product-blocks {
	display: grid;
	gap: clamp(52px, 7vw, 105px);
}

.kd-cms-template-about .kd-about-split,
.kd-cms-template-about .kd-product-content-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(34px, 5vw, 78px);
	margin: 0;
}

.kd-cms-template-about .kd-about-split.is-reverse .kd-about-split-media,
.kd-cms-template-about .kd-product-content-block.is-image-right figure {
	order: 2;
}

.kd-cms-template-about .kd-about-split.is-reverse .kd-about-split-copy,
.kd-cms-template-about .kd-product-content-block.is-image-right .kd-product-content-copy {
	order: 1;
}

.kd-cms-template-about .kd-about-split-copy,
.kd-cms-template-about .kd-product-content-copy {
	min-width: 0;
}

.kd-cms-template-about .kd-about-split-copy h2 {
	margin: 0 0 20px !important;
	color: #171426;
	font-size: clamp(28px, 3.2vw, 42px) !important;
	line-height: 1.12 !important;
	letter-spacing: -.035em;
}

.kd-cms-template-about .kd-about-split-copy p {
	margin: 0 0 18px;
	color: #635c72;
	font-size: 16px;
	line-height: 1.75;
}

.kd-cms-template-about .kd-about-split-copy p:last-child,
.kd-cms-template-about .kd-product-content-copy p:last-child {
	margin-bottom: 0;
}

.kd-cms-template-about .kd-about-split-media img,
.kd-cms-template-about .kd-product-content-block figure {
	min-height: 0;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.kd-cms-template-about .kd-product-content-block figure img,
.kd-cms-template-about .kd-about-split-media img {
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: none;
	display: block;
	object-fit: contain;
	border-radius: 20px;
}

.kd-cms-template-about .kd-product-content-block:hover figure img {
	transform: none;
}

.kd-cms-template-about .kd-about-visual {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 22px;
	background: #f3f2f6;
	border-radius: 20px;
}

.kd-cms-template-about .kd-about-visual span {
	aspect-ratio: 1;
	border-radius: 18px;
	background: #443395;
}

.kd-cms-template-about .kd-about-visual span.is-accent {
	background: #ff557c;
}

.kd-cms-template-about .kd-about-section.is-accent .kd-about-kicker {
	background: rgba(255, 255, 255, .14);
	color: #fff;
}

.kd-cms-template-about .kd-about-milestones {
	display: grid;
	gap: 12px;
	margin: 0 0 36px;
}

.kd-cms-template-about .kd-about-milestone {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e6e1f0;
	border-radius: 14px;
}

.kd-cms-template-about .kd-about-milestone-year {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 10px;
	border-radius: 999px;
	background: #443395;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.kd-cms-template-about .kd-about-milestone h3 {
	margin: 0 0 6px;
	color: #171426;
	font-size: 16px !important;
	line-height: 1.35;
	letter-spacing: -.015em;
}

.kd-cms-template-about .kd-about-milestone p {
	margin: 0;
	color: #635c72;
	font-size: 14px;
	line-height: 1.65;
}

.kd-cms-template-about .kd-about-shops {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.kd-cms-template-about .kd-about-shop {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 14px;
	text-decoration: none !important;
	transition: background .2s ease, border-color .2s ease;
}

.kd-cms-template-about .kd-about-shop:hover {
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .28);
}

.kd-cms-template-about .kd-about-shop strong {
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
}

.kd-cms-template-about .kd-about-shop span {
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
	line-height: 1.5;
}

.kd-cms-template-about .kd-about-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.kd-cms-template-about .kd-about-platform {
	display: inline-flex;
	padding: 6px 12px;
	background: #f3f0fb;
	border: 1px solid #ded8ef;
	border-radius: 999px;
	color: #443395;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.kd-cms-template-about > .kd-cms-cta {
	margin-top: 48px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

@media (max-width: 960px) {
	.kd-cms-template-about .kd-about-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.kd-cms-template-about .kd-about-split,
	.kd-cms-template-about .kd-product-content-block {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.kd-cms-template-about .kd-about-split.is-reverse .kd-about-split-media,
	.kd-cms-template-about .kd-about-split.is-reverse .kd-about-split-copy,
	.kd-cms-template-about .kd-product-content-block.is-image-right figure,
	.kd-cms-template-about .kd-product-content-block.is-image-right .kd-product-content-copy {
		order: initial;
	}
}

@media (max-width: 720px) {
	.kd-cms-template-about .kd-about-shops,
	.kd-cms-template-about .kd-about-milestone {
		grid-template-columns: 1fr;
	}

	.kd-cms-template-about .kd-about-milestone-year {
		width: fit-content;
	}
}

@media (max-width: 560px) {
	.kd-cms-template-about .kd-about-stats {
		grid-template-columns: 1fr;
	}
}
