/* Why We're Different widget: structural layout. Colors/typography come from Elementor's own controls. */

.hf-why-different {
	width: 100%;
	padding: 100px 32px;
	box-sizing: border-box;
	background-color: var(--color-bg-alt, #F9F2F6);
}

.hf-why-different__header {
	max-width: 640px;
	margin: 0 auto 56px;
	text-align: center;
}

.hf-why-different__title {
	margin: 0 0 12px;
	line-height: 1.2;
}

.hf-why-different__title em {
	font-style: italic;
}

.hf-why-different__eyebrow {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hf-why-different__grid {
	display: grid;
	grid-template-columns: minmax(300px, 480px) 1fr;
	gap: 32px;
	max-width: 1250px;
	margin: 0 auto;
	align-items: stretch;
}

.hf-why-different__card {
	display: flex;
	flex-direction: column;
	padding: 48px;
	border-radius: 20px;
	box-sizing: border-box;
}

.hf-why-different__reasons {
	display: flex;
	flex-direction: column;
	margin-bottom: 32px;
}

.hf-why-different__reason {
	padding: 20px 0;
}

.hf-why-different__reason:first-child {
	padding-top: 0;
}

.hf-why-different__reason-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	color: var(--color-heading, #4A0B2B);
}

.hf-why-different__reason-icon img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.hf-why-different__reason-title {
	margin: 0 0 10px;
	font-family: 'Oswald', sans-serif;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
}

.hf-why-different__reason-text {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
}

.hf-why-different__divider {
	margin: 0;
	border: none;
	border-top: 1px solid var(--color-border, #E8DEE3);
}

.hf-why-different__button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	margin-top: auto;
	padding: 8px 8px 8px 24px;
	border-radius: 999px;
	text-decoration: none;
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	transition: opacity 0.2s ease;
}

.hf-why-different__button:hover {
	opacity: 0.88;
}

.hf-why-different__button-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.15);
	flex-shrink: 0;
}

/* Media column with glass fade */
.hf-why-different__media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 360px;
}

.hf-why-different__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hf-why-different__media-placeholder {
	width: 100%;
	height: 100%;
	min-height: 360px;
	background-color: var(--color-card-highlight, #F5E5ED);
	border: 1px dashed var(--color-border, #E8DEE3);
	box-sizing: border-box;
}

.hf-why-different__media-glass {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 30%;
	background: linear-gradient(
		to top,
		rgba(255, 255, 255, 0.9) 0%,
		rgba(255, 255, 255, 0.5) 45%,
		rgba(255, 255, 255, 0) 100%
	);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	-webkit-mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
	mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
	pointer-events: none;
}

@media (max-width: 900px) {
	.hf-why-different__grid {
		grid-template-columns: 1fr;
		max-width: 560px;
	}

	.hf-why-different__media {
		min-height: 280px;
	}
}

@media (max-width: 560px) {
	.hf-why-different {
		padding: 64px 24px;
	}

	.hf-why-different__card {
		padding: 32px 24px;
	}
}
