/* ==========================================================================
   Block: Icons Text CTA — Presentation 3 (Info Boxes)
   ========================================================================== */

/* ---- Section ---- */
.icons-text-cta.presentation3 {
	padding-block: 7.5rem;
}

/* ---- Header: title + description above boxes ---- */
.icons-text-cta.presentation3 .icons-text-cta__header {
	text-align: start;
}

.icons-text-cta.presentation3 .icons-text-cta__title {
	color: #020910;
	font-size: 5.625rem;
	font-weight: var(--fw-bold);
	line-height: 5.625rem;
	margin-inline: 0;
	text-transform: uppercase;
}

.icons-text-cta.presentation3 .icons-text-cta__description {
	color: #020910;
	font-size: 1.3125rem;
	font-weight: var(--fw-regular);
	line-height: 1.5;
	margin-inline: 0;
	padding-block-start: 1.25rem;
}

.icons-text-cta.presentation3 .icons-text-cta__description p {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
}

/* ---- Grid: 2 fixed columns, 28px gap ---- */
/* `grid-auto-rows: 1fr` + `align-items: stretch` gives every row — and so
   every box — the height of the tallest box (client note-7). */
.icons-text-cta.presentation3 .icons-text-cta__grid {
	align-items: stretch;
	display: grid;
	gap: 1.75rem;
	grid-auto-rows: 1fr;
	grid-template-columns: repeat(2, 39.125rem);
	margin-block-end: 5.4375rem;
	padding-block-start: 5rem;
}

.icons-text-cta.presentation3 .icons-text-cta__grid:first-child {
	padding-block-start: 0;
}

/* ---- Reset parent item styles ---- */
.icons-text-cta.presentation3 .icons-text-cta__item {
	align-items: flex-start;
	padding: 0;
	text-align: start;
}

.icons-text-cta.presentation3 .icons-text-cta__item-title {
	color: #fff;
	padding-block-start: 0;
	text-align: start;
}

.icons-text-cta.presentation3 .icons-text-cta__item-description {
	color: #fff;
	padding-block-start: 0;
	text-align: start;
}

/* ---- Info Box ---- */
/* Height is driven by a fixed 150px space above the title (client note-7)
   instead of a min-block-size, and `block-size: 100%` inside the 1fr grid
   rows stretches every box to the height of the tallest one. */
.icons-text-cta.presentation3 .info-box {
	block-size: 100%;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-block-end: 2.5rem;
	padding-block-start: 9.375rem;
	padding-inline: 1.6875rem;
}

/* ---- Title ---- */
.icons-text-cta.presentation3 .info-box__title {
	color: #fff;
	font-size: 3.5rem;
	font-weight: var(--fw-bold);
	line-height: 1.1;
	margin: 0;
	padding: 0;
	text-align: start;
	text-transform: uppercase;
}

/* ---- Description ---- */
/* Weight 500 — client note-7 / CR-2 ("paragraph in lighter font style"). */
/* 27px on desktop — the boxes were left out of the site-wide copy reduction,
   so their text ended up looking oversized next to everything else (client
   note-12 follow-up). Mobile keeps the 1.4rem set in note-5. */
.icons-text-cta.presentation3 .info-box__text {
	color: #fff;
	font-size: 1.6875rem;
	font-weight: var(--fw-medium);
	line-height: 1.3;
	padding-block-start: 0.9375rem;
	text-align: start;
}

.icons-text-cta.presentation3 .info-box__text p {
	color: #fff;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0;
}

/* ---- Backgrounds ---- */
.icons-text-cta.presentation3 .info-box--teal {
	background-color: #5BB0B8;
}

.icons-text-cta.presentation3 .info-box--dark-teal {
	background-color: #2A5052;
}

.icons-text-cta.presentation3 .info-box--mint {
	background-color: #66B59A;
}

.icons-text-cta.presentation3 .info-box--purple {
	background-color: #6E628E;
}

.icons-text-cta.presentation3 .info-box--dark {
	background-color: #020910;
}

.icons-text-cta.presentation3 .info-box--gradient {
	background: linear-gradient(82deg, #74B29E -0.52%, #63B1B8 49.25%, #6E628E 99.51%);
}

.icons-text-cta.presentation3 .info-box--reverse-gradient {
	background: linear-gradient(82deg, #6E628E -0.52%, #63B1B8 49.74%, #74B29E 99.51%);
}

/* ---- CTA Button: override parent .cta-button ---- */
.icons-text-cta.presentation3 .cta-button {
	background-color: #020910;
	border: none;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-button);
	color: #fff;
	font-size: 1.5rem;
	font-weight: var(--fw-bold);
	line-height: 1;
	opacity: 1;
	padding-block: 1.1875rem;
	padding-inline: 1.9375rem;
	text-transform: uppercase;
	transition: background-color var(--transition-hover), border-color var(--transition-hover), box-shadow var(--transition-hover), color var(--transition-hover), opacity var(--transition-hover);
	white-space: nowrap;
}

.icons-text-cta.presentation3 .cta-button:hover {
	background-color: #F20786;
	box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.25);
	color: #fff;
	opacity: 1;
	transform: none;
}

.icons-text-cta.presentation3 .info-box__cta {
	padding-block-start: 1.875rem;
}

/* ---- Work Single: larger box titles ---- */
.icons-text-cta.presentation3.icons-text-cta--subpage.icons-text-cta--work-single .info-box__title {
	font-size: 3.5rem;
	line-height: 1.1;
}

/* ---- Section CTA wrapper ---- */
.icons-text-cta.presentation3 .icons-text-cta__cta-wrapper {
	padding-block-start: 6.25rem;
}

/* ---- Animation: clip-path reveal + text fade ---- */
.icons-text-cta.presentation3 .info-box {
	clip-path: inset(100% 0 0 0);
	transition: clip-path 0.6s ease-out;
}

.icons-text-cta.presentation3 .info-box__title,
.icons-text-cta.presentation3 .info-box__text,
.icons-text-cta.presentation3 .info-box__cta {
	opacity: 0;
	transition: opacity 0.4s ease-out 0.5s;
}

.icons-text-cta.presentation3 .info-box.info-box--visible {
	clip-path: inset(0 0 0 0);
}

.icons-text-cta.presentation3 .info-box.info-box--visible .info-box__title,
.icons-text-cta.presentation3 .info-box.info-box--visible .info-box__text,
.icons-text-cta.presentation3 .info-box.info-box--visible .info-box__cta {
	opacity: 1;
}

/* ---- Stagger: even items (right column) offset down 87px ---- */
.icons-text-cta.presentation3 .info-box:nth-child(even) {
	transform: translateY(5.4375rem);
}

/* ---- Non-homepage: same title size as homepage ---- */
.icons-text-cta.presentation3.icons-text-cta--subpage .info-box__title {
	font-size: 3.5rem;
	line-height: 1.1;
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 48rem) {
	.icons-text-cta.presentation3 {
		padding-block: 5rem;
	}

	.icons-text-cta.presentation3 .icons-text-cta__title {
		font-size: 2.2rem;
		line-height: 2.5rem;
	}

	.icons-text-cta.presentation3 .icons-text-cta__description {
		font-size: 1.125rem;
		line-height: 1.571;
	}

	.icons-text-cta.presentation3 .icons-text-cta__grid {
		gap: 1rem;
		grid-template-columns: 1fr;
		margin-block-end: 0;
		padding-block-start: 2.5rem;
	}

	.icons-text-cta.presentation3 .icons-text-cta__cta-wrapper {
		padding-block-start: 3.75rem;
		text-align: center;
	}

	/* Full-width CTA on narrow screens: the pill spans the container and the
	   label wraps inside it, so no empty space is left beside the pill
	   (client note-5: "remove this additional size restriction"). */
	.icons-text-cta.presentation3 .cta-button {
		inline-size: 100%;
		text-align: center;
		white-space: normal;
	}

	.icons-text-cta.presentation3 .info-box,
	.icons-text-cta.presentation3 .info-box:nth-child(even),
	.icons-text-cta.presentation3 .info-box.info-box--visible,
	.icons-text-cta.presentation3 .info-box.info-box--visible:nth-child(even) {
		clip-path: none;
		transform: none;
		transition: none;
	}

	.icons-text-cta.presentation3 .info-box__title,
	.icons-text-cta.presentation3 .info-box__text,
	.icons-text-cta.presentation3 .info-box__cta,
	.icons-text-cta.presentation3 .info-box.info-box--visible .info-box__title,
	.icons-text-cta.presentation3 .info-box.info-box--visible .info-box__text,
	.icons-text-cta.presentation3 .info-box.info-box--visible .info-box__cta {
		opacity: 1;
		transition: none;
	}

	/* min-inline-size: 0 removes the grid item's default `auto` minimum, which
	   otherwise lets a long German word (e.g. "AUFMERKSAMKEIT") stretch the
	   column past the viewport and make the whole page scroll sideways —
	   which is what made every section look off-centre (client note-5). */
	.icons-text-cta.presentation3 .info-box {
		block-size: auto;
		justify-content: flex-end;
		min-block-size: 0;
		min-inline-size: 0;
		padding-block-end: 1.875rem;
		padding-block-start: 3.125rem;
		padding-inline: 1.25rem;
	}

	.icons-text-cta.presentation3 .info-box__title {
		font-size: 2rem;
		hyphens: auto;
		line-height: 1.2;
		overflow-wrap: anywhere;
	}

	/* No gap between the box title and its text on mobile — the 20px the
	   desktop layout needs makes the pair read as two separate things at this
	   size (client note-12 follow-up). */
	.icons-text-cta.presentation3 .info-box__text {
		font-size: 1.4rem;
		hyphens: auto;
		line-height: 1.3;
		overflow-wrap: anywhere;
		padding-block-start: 0;
	}

	.icons-text-cta.presentation3.icons-text-cta--subpage .info-box__title,
	.icons-text-cta.presentation3.icons-text-cta--subpage.icons-text-cta--work-single .info-box__title {
		font-size: 2rem;
		line-height: 1.2;
	}
}
