/**
 * Why Choose Us Block Styles
 * Auto-loaded when the why-choose-us block is present on the page.
 * Design: Figma → Martin Heat · Why Homeowners Pick Us (node 7-565)
 */

/* ── Variables ────────────────────────────────────────────────────────────── */
.why {
	--why-bg:        #F8FAFC;
	--why-dark:      #191032;
	--why-orange:    #F17E25;
	--why-icon-bg:   #FDECE4;
	--why-radius:    20px;
}

/* ── Section ──────────────────────────────────────────────────────────────── */
.why {
	background: var(--why-bg);
	padding-top: 96px;
	padding-bottom: 96px;
	position: relative;
}

/* ── Main Grid ────────────────────────────────────────────────────────────── */
.why__grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 64px;
	align-items: center;
}

/* ── Left media ───────────────────────────────────────────────────────────── */
.why__media-col {
	display: flex;
	justify-content: center;
}

.why__media {
	width: 100%;
	max-width: 506px;
	aspect-ratio: 506 / 724;
}

.why__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--why-radius);
	display: block;
}

/* ── Right content ────────────────────────────────────────────────────────── */
.why__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	max-width: 604px;
}

/* Header */
.why__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.why__title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: 56px;
	line-height: 1.05;
	letter-spacing: -2.5px;
	color: var(--why-dark);
	margin: 0;
}

.why__title span {
	color: var(--why-orange);
}

.why__intro {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--why-dark);
}

.why__intro p {
	margin: 0;
}

/* ── Benefit row ──────────────────────────────────────────────────────────── */
.why__benefit {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	width: 100%;
}

.why__benefit-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 40px;
	flex-shrink: 0;
	background: var(--why-icon-bg);
	border-radius: 10px;
	color: var(--why-orange);
}

.why__benefit-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.why__benefit-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1;
	letter-spacing: 0.5px;
	color: var(--why-dark);
	margin: 0;
}

.why__benefit-content {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(25, 16, 50, 0.7);
}

.why__benefit-content p {
	margin: 0;
}

/* ── CTA Button ───────────────────────────────────────────────────────────── */
.why__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--why-dark);
	border-radius: 9999px;
	padding: 8px 8px 8px 20px;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.why__cta:hover {
	background: #2a1f55;
}

.why__cta-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: 17px;
	letter-spacing: 0.5px;
	line-height: 1;
	white-space: nowrap;
	color: #fff !important;
}

.why__cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--why-orange);
	border-radius: 50%;
	flex-shrink: 0;
	color: var(--why-dark);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
	.why__title {
		font-size: 46px;
		letter-spacing: -2px;
	}

	.why__benefit-title {
		font-size: 21px;
	}
}

@media (max-width: 991px) {
	.why {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.why__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.why__content {
		max-width: 100%;
	}

	.why__title {
		font-size: 40px;
	}

	.why__media {
		max-width: 460px;
		margin: 0 auto;
		aspect-ratio: 16 / 11;
	}
}

@media (max-width: 575px) {
	.why__title {
		font-size: 32px;
		letter-spacing: -1.2px;
	}

	.why__benefit-title {
		font-size: 19px;
		line-height: 1.2;
	}
}
