/* ══════════════════════════════════════════════
   PLATFORMS BLOCK  (prefix: pl-)
   ══════════════════════════════════════════════ */

/* ── SECTION ── */
.pl-section {
	padding: 100px 0;
}

/* ── HEADER ── */
.pl-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	margin-bottom: 53px;
}

/* ── EYEBROW ── */
.pl-eyebrow {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 19.2px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--clr-primary);
	text-align: center;
	display: block;
}

/* ── HEADING ── */
.pl-heading {
	font-family: var(--font-main);
	font-size: 50px;
	font-weight: 700;
	line-height: 57px;
	letter-spacing: -1.86px;
	color: var(--clr-white);
	text-align: center;
	margin-bottom: 0;
	max-width: 700px;
}

/* ── INTRO TEXT ── */
.pl-intro {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
	text-align: center;
	max-width: 1000px;
	margin: 0 auto 65px;
}

.pl-intro p {
	font-size: 20px;
	line-height: 30px;
	margin: 0;
}

.pl-intro strong,
.pl-intro b {
	font-weight: 700;
}

/* ── SECTION LABEL (H3) ── */
.pl-section-label {
	font-family: var(--font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 28.9px;
	color: var(--clr-primary);
	margin-bottom: 20px;
}

/* ══════════════════════════════════════════════
   TYPE-1 — Horizontal 4-col logos
   ══════════════════════════════════════════════ */

.pl-layout--type-1 .pl-section-label {
	text-align: left;
}

.pl-layout--type-1 .pl-grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 65px;
	flex-wrap: wrap;
}

.pl-layout--type-1 .pl-card {
	flex: 0 0 calc((100% - 20px * (var(--pl-cols, 4) - 1)) / var(--pl-cols, 4));
	min-width: 0;
}

.pl-layout--type-1 .pl-logo-wrap {
	height: 75px;
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.pl-layout--type-1 .pl-logo {
	max-height: 70px;
	width: auto;
	max-width: 100%;
	display: block;
}

.pl-layout--type-1 .pl-card-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 14px;
}

.pl-layout--type-1 .pl-card-title {
	font-family: var(--font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 28.9px;
	color: var(--clr-white);
	margin-bottom: 0;
}

.pl-layout--type-1 .pl-card-body {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
}

.pl-layout--type-1 .pl-card-body p {
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
}

/* ── Additional Integrations ── */
.pl-additional {
	padding-top: 0;
}

.pl-additional-grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.pl-additional-item {
	flex: 0 0 calc((100% - 20px * (var(--pl-cols, 3) - 1)) / var(--pl-cols, 3));
	min-width: 0;
}

.pl-additional-label {
	display: block;
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
	color: var(--clr-primary);
	margin-bottom: 0;
}

.pl-additional-body {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
	margin: 0;
}

/* ══════════════════════════════════════════════
   TYPE-2 — 2×2 logo + detailed description grid
   ══════════════════════════════════════════════ */

.pl-layout--type-2 .pl-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 67px;
	column-gap: 40px;
}

.pl-layout--type-2 .pl-card {
	flex: 0 0 calc(50% - 20px);
	min-width: 0;
}

.pl-layout--type-2 .pl-logo-wrap {
	height: 75px;
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.pl-layout--type-2 .pl-logo {
	max-height: 70px;
	width: auto;
	max-width: 240px;
	display: block;
}

.pl-layout--type-2 .pl-card-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 14px;
}

.pl-layout--type-2 .pl-card-title {
	font-family: var(--font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 28.9px;
	color: var(--clr-primary);
	margin-bottom: 0;
}

.pl-layout--type-2 .pl-card-body {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
}

.pl-layout--type-2 .pl-card-body p {
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
}

/* ══════════════════════════════════════════════
   TYPE-3 — 4-col logo + cyan title + body
   ══════════════════════════════════════════════ */

.pl-layout--type-3 .pl-section-label {
	text-align: left;
}

.pl-layout--type-3 .pl-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 67px;
	column-gap: 20px;
	margin-bottom: 26px;
}

.pl-layout--type-3 .pl-card {
	flex: 0 0 calc((100% - 20px * (var(--pl-cols, 4) - 1)) / var(--pl-cols, 4));
	min-width: 0;
}

.pl-layout--type-3 .pl-logo-wrap {
	height: 75px;
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.pl-layout--type-3 .pl-logo {
	max-height: 70px;
	width: auto;
	max-width: 220px;
	display: block;
}

.pl-layout--type-3 .pl-card-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 14px;
}

.pl-layout--type-3 .pl-card-title {
	font-family: var(--font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 28.9px;
	color: var(--clr-primary);
	margin-bottom: 0;
}

.pl-layout--type-3 .pl-card-body {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
}

.pl-layout--type-3 .pl-card-body p {
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
}

/* ── Footer text (type-3) ── */
.pl-footer-text {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
	max-width: 1000px;
	margin-top: 26px;
}

.pl-footer-text p {
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
}

/* ══════════════════════════════════════════════
   TYPE-4 — Two bordered card groups
   ══════════════════════════════════════════════ */

.pl-layout--type-4 .pl-intro {
	margin-bottom: 58px;
}

.pl-layout--type-4 .pl-group {
	display: flex;
	flex-direction: column;
	gap: 26px;
	margin-bottom: 65px;
}

.pl-layout--type-4 .pl-group--last {
	margin-bottom: 0;
}

.pl-layout--type-4 .pl-section-label {
	text-align: left;
}

/* ── Card grids ── */
.pl-layout--type-4 .pl-card-grid {
	display: flex;
	align-items: stretch;
	/* justify-content: space-between; */
	gap: 20px;
	flex-wrap: wrap;
}

.pl-layout--type-4 .pl-card-grid .pl-card-bordered {
	flex: 0 0 calc((100% - 20px * (var(--pl-cols, 4) - 1)) / var(--pl-cols, 4));
	min-width: 0;
}

/* ── Bordered card ── */
.pl-layout--type-4 .pl-card-bordered,
.pl-layout--type-5 .pl-card-bordered {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 6px;
	min-height: 239px;
	display: flex;
	align-items: center;
}

/* ── Dot-pattern background ── */
.pl-layout--type-4 .pl-card-bg,
.pl-layout--type-5 .pl-card-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--clr-black);
	border-radius: 6px;
}

.pl-layout--type-4 .pl-card-bg img,
.pl-layout--type-5 .pl-card-bg img {
	position: absolute;
	left: 24.08%;
	top: 29.13%;
	width: 100%;
	height: 101.99%;
	max-width: none;
	object-fit: cover;
	opacity: 0;
	transform: translate(24px, 24px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.pl-layout--type-4 .pl-card-bordered:hover .pl-card-bg img,
.pl-layout--type-5 .pl-card-bordered:hover .pl-card-bg img {
	opacity: 1;
	transform: translate(0, 0);
}

/* ── Card inner content ── */
.pl-layout--type-4 .pl-card-inner,
.pl-layout--type-5 .pl-card-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 40px 50px;
	display: flex;
	flex-direction: column;
	gap: 21px;
}

.pl-layout--type-4 .pl-card-title,
.pl-layout--type-5 .pl-card-title {
	font-family: var(--font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 28.9px;
	color: var(--clr-primary);
	margin-bottom: 0;
}

.pl-layout--type-4 .pl-card-body,
.pl-layout--type-5 .pl-card-body {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
}

.pl-layout--type-4 .pl-card-body p,
.pl-layout--type-5 .pl-card-body p {
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
}

/* ══════════════════════════════════════════════
   TYPE-5 — Per-column label + bordered card
   ══════════════════════════════════════════════ */

.pl-layout--type-5 .pl-section-label {
	text-align: left;
}

.pl-layout--type-5 .pl-col-grid {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0;
}

.pl-layout--type-5 .pl-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pl-layout--type-5 .pl-col .pl-card-bordered {
	flex: 1;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 991.98px) {
	.pl-section {
		padding: 72px 0;
	}

	.pl-heading {
		font-size: 38px;
		line-height: 1.1;
		letter-spacing: -1px;
	}

	/* Type-1: 2 cols */
	.pl-layout--type-1 .pl-grid {
		flex-wrap: wrap;
		row-gap: 40px;
	}

	.pl-layout--type-1 .pl-card {
		flex: 0 0 calc(50% - 10px);
	}

	/* Type-2: 1 col */
	.pl-layout--type-2 .pl-card {
		flex: 0 0 100%;
	}

	/* Type-3: 2 cols */
	.pl-layout--type-3 .pl-grid {
		row-gap: 40px;
	}

	.pl-layout--type-3 .pl-card {
		flex: 0 0 calc(50% - 10px);
	}

	/* Additional items: 1 col on tablet */
	.pl-additional-grid {
		flex-wrap: wrap;
		row-gap: 32px;
	}

	.pl-additional-item {
		flex: 0 0 100%;
	}

	/* Type-4: 2 cols on tablet */
	.pl-layout--type-4 .pl-card-grid {
		flex-wrap: wrap;
		row-gap: 20px;
	}

	.pl-layout--type-4 .pl-card-grid .pl-card-bordered {
		flex: 0 0 calc(50% - 10px);
	}

	.pl-layout--type-4 .pl-group {
		margin-bottom: 48px;
	}

	/* Type-5: stack to 1 col on tablet */
	.pl-layout--type-5 .pl-col-grid {
		row-gap: 48px;
	}

	.pl-layout--type-5 .pl-col {
		flex: 0 0 100%;
	}
}

@media (max-width: 767.98px) {
	.pl-section {
		padding: 56px 0;
	}

	.pl-heading {
		font-size: 30px;
		letter-spacing: -0.5px;
	}

	.pl-intro {
		font-size: 18px;
		line-height: 28px;
		margin-bottom: 48px;
	}

	.pl-intro p {
		font-size: 18px;
		line-height: 28px;
	}

	.pl-card-title,
	.pl-layout--type-1 .pl-card-title,
	.pl-layout--type-2 .pl-card-title,
	.pl-layout--type-3 .pl-card-title,
	.pl-layout--type-4 .pl-card-title,
	.pl-layout--type-5 .pl-card-title {
		font-size: 24px;
		line-height: 1.2;
	}

	.pl-card-body,
	.pl-layout--type-1 .pl-card-body,
	.pl-layout--type-2 .pl-card-body,
	.pl-layout--type-3 .pl-card-body,
	.pl-layout--type-4 .pl-card-body,
	.pl-layout--type-5 .pl-card-body,
	.pl-card-body p {
		font-size: 17px;
		line-height: 26px;
	}

	.pl-layout--type-4 .pl-card-body p,
	.pl-layout--type-5 .pl-card-body p {
		font-size: 17px;
		line-height: 26px;
	}

	.pl-layout--type-4 .pl-card-inner,
	.pl-layout--type-5 .pl-card-inner {
		padding: 32px 36px;
	}

	.pl-section-label {
		font-size: 24px;
	}

	.pl-additional-label,
	.pl-additional-body {
		font-size: 17px;
		line-height: 26px;
	}

	.pl-footer-text,
	.pl-footer-text p {
		font-size: 17px;
		line-height: 26px;
	}
}

@media (max-width: 575.98px) {
	.pl-section {
		padding: 40px 0;
	}

	.pl-heading {
		font-size: 26px;
	}

	/* Type-1: 1 col */
	.pl-layout--type-1 .pl-card {
		flex: 0 0 100%;
	}

	/* Type-3: 1 col */
	.pl-layout--type-3 .pl-card {
		flex: 0 0 100%;
	}

	/* Type-4: 1 col */
	.pl-layout--type-4 .pl-card-grid .pl-card-bordered {
		flex: 0 0 100%;
	}

	.pl-layout--type-4 .pl-card-inner,
	.pl-layout--type-5 .pl-card-inner {
		padding: 28px 28px;
	}

	.pl-layout--type-1 .pl-grid,
	.pl-layout--type-3 .pl-grid {
		row-gap: 32px;
	}

	.pl-layout--type-2 .pl-grid {
		row-gap: 40px;
	}
}
