/* BEAMSTEE "Why" section widget */

.bfcwhy {
	--bfcwhy-accent: #ff6b00;
	--bfcwhy-text-fr: 1.1fr;
	--bfcwhy-section-gap: 48px;

	box-sizing: border-box;
	width: 100%;
	background-color: #e9e9e9;
	padding: 60px;
	display: flex;
	flex-direction: column;
	gap: var(--bfcwhy-section-gap);
}

.bfcwhy *,
.bfcwhy *::before,
.bfcwhy *::after {
	box-sizing: border-box;
}

/* ---------- Top row ---------- */
.bfcwhy__top {
	display: grid;
	grid-template-columns: var(--bfcwhy-text-fr) 1fr;
	gap: 40px;
	align-items: center;
}

.bfcwhy--image-left .bfcwhy__top {
	grid-template-columns: 1fr var(--bfcwhy-text-fr);
}
.bfcwhy--image-left .bfcwhy__content {
	order: 2;
}
.bfcwhy--image-left .bfcwhy__media {
	order: 1;
}

.bfcwhy__eyebrow {
	color: var(--bfcwhy-accent);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	line-height: 1.2;
	margin: 0 0 22px;
}

.bfcwhy__heading {
	color: #0b0b0b;
	font-size: clamp(34px, 4.2vw, 60px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.04;
	margin: 0 0 28px;
	padding: 0;
}

.bfcwhy__body {
	color: #1c1c1c;
	font-size: 19px;
	line-height: 1.55;
	max-width: 640px;
}

.bfcwhy__body p {
	margin: 0 0 16px;
}
.bfcwhy__body p:last-child {
	margin-bottom: 0;
}

/* ---------- Image ---------- */
.bfcwhy__media {
	position: relative;
	overflow: hidden;
	min-height: 340px;
	border-radius: 28px;
	align-self: stretch;
}

.bfcwhy__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Cards ---------- */
.bfcwhy__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.bfcwhy-card {
	display: block;
	background: #fff;
	border: 1px solid #dadada;
	border-radius: 18px;
	padding: 24px 40px 28px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.bfcwhy-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.bfcwhy-card__icon {
	color: var(--bfcwhy-accent);
	font-size: 56px;
	line-height: 1;
	margin: 0 0 14px;
	display: inline-flex;
}

.bfcwhy-card__icon svg {
	width: 56px;
	height: 56px;
	display: block;
	fill: none;
	stroke: currentColor;
}

/* Font-icon / Elementor SVG icons: keep them filled with the accent */
.bfcwhy-card__icon i {
	color: inherit;
}
.bfcwhy-card__icon .e-font-icon-svg {
	fill: currentColor;
	stroke: none;
}

.bfcwhy-card__title {
	color: #0b0b0b;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 8px;
	padding: 0;
}

.bfcwhy-card__text {
	color: #1c1c1c;
	font-size: 19px;
	line-height: 1.45;
	margin: 0;
}

/* ---------- Extended copy ---------- */
.bfcwhy__extended {
	color: #1c1c1c;
	font-size: 17px;
	line-height: 1.65;
	max-width: 820px;
}
.bfcwhy__extended p {
	margin: 0 0 14px;
}
.bfcwhy__extended ul {
	margin: 0 0 14px;
	padding-left: 22px;
}
.bfcwhy__extended li {
	margin-bottom: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.bfcwhy__eyebrow {
		font-size: 14px;
	}
	.bfcwhy__body,
	.bfcwhy-card__text {
		font-size: 17px;
	}
	.bfcwhy-card__title {
		font-size: 26px;
	}
	.bfcwhy-card {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (max-width: 767px) {
	.bfcwhy__top,
	.bfcwhy--image-left .bfcwhy__top {
		grid-template-columns: 1fr;
	}
	.bfcwhy--image-left .bfcwhy__content,
	.bfcwhy--image-left .bfcwhy__media {
		order: initial;
	}
	.bfcwhy__media {
		min-height: 240px;
		order: 2;
	}
	.bfcwhy__cards {
		grid-template-columns: 1fr;
	}
	.bfcwhy__body,
	.bfcwhy-card__text {
		font-size: 16px;
	}
	.bfcwhy-card__title {
		font-size: 24px;
	}
	.bfcwhy-card__icon,
	.bfcwhy-card__icon svg {
		font-size: 44px;
	}
}
