/* =========================================================
   YCM Blueprint Promise widget — structural layout only.
   Colors/typography/spacing driven by Elementor Style controls.
   ========================================================= */

.ycm-promise {
	background-color: #1b2a4a;
	padding: 90px 0;
}

.ycm-promise__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

/* --- Header --- */
.ycm-promise__head {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 48px;
}

.ycm-promise__badge {
	display: inline-block;
	background-color: #fce9b5;
	color: #3a2e0a;
	font-size: 15px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.ycm-promise__heading {
	font-size: 54px;
	line-height: 1.1;
	font-weight: 800;
	color: #fff;
	margin: 0 0 18px;
}

.ycm-promise__desc {
	font-size: 17px;
	line-height: 1.6;
	color: #aeb6c6;
	margin: 0 auto;
	max-width: 720px;
}

/* --- Cards (staggered: icon top, text anchored to bottom) --- */
.ycm-promise__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}

.ycm-promise__card {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 18px;
	padding: 32px;
	min-height: 420px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.ycm-promise__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ede9fe;
	color: #7c4dff;
	font-size: 26px;
}

.ycm-promise__icon svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.ycm-promise__icon i {
	font-size: 26px;
	color: inherit;
}

/* Text block pushed to the bottom of the card -> staggered look by text length */
.ycm-promise__card-body {
	margin-top: auto;
	padding-top: 40px;
}

.ycm-promise__card-title {
	font-size: 30px;
	font-weight: 700;
	color: #111;
	margin: 0 0 16px;
}

.ycm-promise__card-desc {
	font-size: 16px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
}

/* --- Buttons --- */
.ycm-promise__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 44px;
}

.ycm-promise__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	padding: 15px 26px;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.ycm-promise__btn:hover {
	transform: translateY(-1px);
}

.ycm-promise__btn--primary {
	background-color: #0f67fe;
	color: #fff;
}

.ycm-promise__btn--secondary {
	background-color: #fff;
	color: #111;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.ycm-promise__heading {
		font-size: 44px;
	}
	.ycm-promise__cards {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin: 0 auto;
	}
	.ycm-promise__card {
		min-height: 0;
	}
	.ycm-promise__card-body {
		padding-top: 24px;
	}
}

@media (max-width: 767px) {
	.ycm-promise {
		padding: 56px 0;
	}
	.ycm-promise__heading {
		font-size: 32px;
	}
	.ycm-promise__actions {
		flex-wrap: wrap;
	}
}

/* ---- Typography: title + content use Roboto ---- */
.ycm-promise__badge,
.ycm-promise__heading,
.ycm-promise__desc,
.ycm-promise__card-title,
.ycm-promise__card-desc,
.ycm-promise__btn {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
