/**
 * Core Values — photo banner with overlapping cards, same shape as the
 * reference component the client supplied, restyled onto the site's own
 * component vocabulary (section-label pill, split-stroke heading, brand
 * primary/secondary hover) instead of the reference's own colors/fonts.
 */
.values-section {
	position: relative;
	padding: clamp(48px, 6vw, 80px) 0;
	background: var(--wp--preset--color--base) url("../images/clear-4.jpg") center / cover no-repeat;
}

.values-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 5.5vw;
	min-height: clamp(320px, 40vw, 440px);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 24px;
	background-color: var(--wp--preset--color--contrast);
	background-size: cover;
	background-position: center;
}
.values-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0.78));
}
.values-banner__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	padding: 0 24px;
	text-align: center;
}
.values-banner .section-label {
	justify-content: center;
	margin: 0 auto 22px;
}
.values-banner h2 {
	margin: 0;
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-transform: uppercase;
	text-wrap: balance;
}
.values-banner h2 span {
	color: transparent;
	-webkit-text-stroke: 1.5px #fff;
}

.values-grid {
	position: relative;
	z-index: 2;
	margin: clamp(-64px, -6vw, -48px) 8.75vw 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.value-card {
	background: var(--wp--preset--color--base);
	border-radius: 20px;
	padding: clamp(28px, 3vw, 40px) 26px;
	text-align: center;
	box-shadow: 0 24px 48px rgba(40, 40, 40, 0.14);
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.value-card:hover {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	transform: translateY(-6px);
}

.value-card__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 24px;
	border-radius: 50%;
	background: rgba(49, 161, 255, 0.12);
	color: var(--wp--preset--color--primary);
	transition: background 0.25s ease, color 0.25s ease;
}
.value-card:hover .value-card__icon {
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
}

.value-card h3 {
	margin: 0 0 12px;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	font-weight: 800;
	transition: color 0.25s ease;
}
.value-card:hover h3 {
	color: var(--wp--preset--color--base);
}

.value-card p {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
	line-height: 1.6;
	transition: color 0.25s ease;
}
.value-card:hover p {
	color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1100px) {
	.values-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 700px) {
	.values-section {
		padding: 48px 0;
	}
	.values-banner {
		min-height: 320px;
	}
	.values-grid {
		grid-template-columns: 1fr;
		margin-top: 32px;
	}
}
