/**
 * Why Etqan section — scoped BEM (avoids .etqan-image collision in Customizer CSS).
 */

.etqan-why {
	direction: rtl;
	background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
	padding: clamp(4rem, 7vw, 6.5rem) 0;
	font-family: "Cairo", sans-serif;
}

.etqan-why__inner {
	width: min(1200px, 92%);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(2.5rem, 5vw, 4.5rem);
}

.etqan-why__media {
	width: 48%;
	position: relative;
	flex-shrink: 0;
	overflow: visible;
}

.etqan-why__photo-frame {
	border: 3px solid var(--etqan-color-accent, #c8a96e);
	border-radius: 16px;
	padding: 10px;
	background: #ffffff;
	box-shadow: 0 16px 48px rgba(63, 91, 45, 0.12);
}

.etqan-why__photo {
	width: 100%;
	height: auto;
	max-height: 620px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	display: block;
	border-radius: 10px;
}

.etqan-why__badge {
	position: absolute;
	top: -20px;
	inset-inline-start: -20px;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: var(--etqan-color-accent, #c8a96e);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px;
	box-sizing: border-box;
	z-index: 2;
	box-shadow: 0 0 0 4px #ffffff, 0 8px 24px rgba(0, 0, 0, 0.12);
}

.etqan-why__badge-number {
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	direction: ltr;
	unicode-bidi: isolate;
}

.etqan-why__badge-label {
	font-size: 12px;
	line-height: 1.35;
	margin-top: 4px;
	max-width: 100%;
}

.etqan-why__content {
	width: 52%;
	flex: 1;
	min-width: 0;
}

.etqan-why__eyebrow {
	margin-bottom: 16px;
	color: var(--etqan-color-accent, #c8a96e);
	font-size: 15px;
	font-weight: 500;
}

.etqan-why__title {
	font-size: clamp(1.85rem, 3.8vw, 2.75rem);
	line-height: 1.25;
	color: var(--etqan-color-sage-dark, #354d26);
	margin: 0;
	font-weight: 700;
}

.etqan-why__title span {
	color: var(--etqan-color-accent, #c8a96e);
}

.etqan-why__desc {
	margin: 16px 0 clamp(1.5rem, 3vw, 2rem);
	color: #666666;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 2;
}

.etqan-why__items {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.etqan-why__item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: clamp(1rem, 2vw, 1.25rem) clamp(1.1rem, 2vw, 1.35rem);
	background: #ffffff;
	border: 1px solid rgba(200, 169, 110, 0.28);
	border-inline-start: 4px solid var(--etqan-color-accent, #c8a96e);
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(63, 91, 45, 0.06);
}

.etqan-why__item-number {
	width: 44px;
	height: 44px;
	background: var(--etqan-color-sage, #3f5b2d);
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	font-size: 17px;
	flex-shrink: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.45);
}

.etqan-why__item-title {
	margin: 0 0 6px;
	color: var(--etqan-color-sage-dark, #354d26);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	font-weight: 700;
	line-height: 1.45;
}

.etqan-why__item-text {
	margin: 0;
	color: #666666;
	line-height: 1.85;
	font-size: clamp(0.9rem, 1.3vw, 1rem);
}

@media (max-width: 992px) {
	.etqan-why__inner {
		flex-direction: column;
	}

	.etqan-why__media,
	.etqan-why__content {
		width: 100%;
	}

	.etqan-why__photo {
		max-height: 480px;
	}

	.etqan-why__badge {
		top: 16px;
		inset-inline-start: 16px;
	}

	.etqan-why__content {
		text-align: center;
	}

	.etqan-why__item {
		flex-direction: column;
		align-items: center;
		text-align: center;
		border-inline-start: none;
		border-top: 4px solid var(--etqan-color-accent, #c8a96e);
	}
}

@media (max-width: 767px) {
	.etqan-why {
		padding: clamp(3rem, 8vw, 4rem) 0;
	}

	.etqan-why__desc {
		font-size: 1rem;
		line-height: 1.9;
	}

	.etqan-why__items {
		gap: 12px;
	}
}
