/* =========================================================
   How We Work — Elementor Widget
   Reference: Somatic Therapy infographic style
   Color base: #07290F
   ========================================================= */

.hww-wrap {
	background-color: #f0f5f1;
	padding: 48px 32px;
	border-radius: 4px;
	box-sizing: border-box;
	width: 100%;
}

/* ---- Heading ---- */
.hww-heading {
	margin: 0 0 36px;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 42px;
	font-weight: 500;
	line-height: 1.2;
	color: #07290F;
	letter-spacing: -0.01em;
}

.hww-heading .hww-heading-text {
	margin-right: 0.28em;
}

.hww-heading .hww-accent {
	color: #07290F;
	font-weight: 600;
}

/* ---- Steps row ---- */
.hww-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

/* Card: left icon box + right content */
.hww-card {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 240px;
	max-width: 320px;
	min-width: 200px;
	background-color: #e3ede5;
	border-radius: 14px;
	border-top: 3px solid #07290F;
	padding: 16px 18px 16px 14px;
	box-sizing: border-box;
	box-shadow: 0 2px 10px rgba(7, 41, 15, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hww-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(7, 41, 15, 0.1);
}

/* Left icon with own background (reference style) */
.hww-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 52px;
	height: 64px;
	background-color: #d3e3d7;
	border-radius: 10px;
	color: #07290F;
	line-height: 1;
}

.hww-card-icon i {
	font-size: 22px;
	line-height: 1;
}

.hww-card-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.hww-card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	flex: 1;
}

.hww-card-title {
	margin: 0;
	padding: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #07290F;
}

.hww-card-desc {
	margin: 0;
	padding: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: #3d5244;
}

/* Plus separators between cards */
.hww-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	align-self: center;
	width: 22px;
	height: 22px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #07290F;
	user-select: none;
}

/* ---- Bracket connector (cards → outcome) ---- */
.hww-connector {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 8px 0 4px;
	padding: 0 8%;
	box-sizing: border-box;
	color: #a8c4b0;
}

.hww-connector-bracket {
	width: 100%;
	max-width: 720px;
	height: 28px;
	border: 2px solid currentColor;
	border-top: none;
	border-radius: 0 0 18px 18px;
	box-sizing: border-box;
}

.hww-connector-arrow {
	width: 0;
	height: 0;
	margin-top: -1px;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 10px solid currentColor;
}

/* ---- Outcome / highlight card ---- */
.hww-outcome {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 860px;
	margin: 12px auto 0;
	background-color: #dceade;
	border-radius: 14px;
	padding: 18px 24px 18px 16px;
	box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(7, 41, 15, 0.07);
}

.hww-outcome-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	background-color: #07290F;
	border-radius: 12px;
	color: #ffffff;
	line-height: 1;
}

.hww-outcome-icon i {
	font-size: 28px;
	line-height: 1;
}

.hww-outcome-icon svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.hww-outcome-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	flex: 1;
}

.hww-outcome-title {
	margin: 0;
	padding: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: #07290F;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.hww-outcome-desc {
	margin: 0;
	padding: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #3d5244;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
	.hww-heading {
		font-size: 34px;
	}

	.hww-card {
		flex: 1 1 calc(50% - 40px);
		max-width: none;
	}

	.hww-plus {
		display: none;
	}

	.hww-connector {
		padding: 0 4%;
	}

	.hww-connector-bracket {
		max-width: 100%;
	}
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
	.hww-wrap {
		padding: 32px 16px;
	}

	.hww-heading {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.hww-row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.hww-card {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}

	.hww-card-icon {
		width: 48px;
		height: 56px;
	}

	.hww-plus {
		display: none;
	}

	/* Vertical connector on mobile */
	.hww-connector {
		padding: 0;
		margin: 4px 0;
	}

	.hww-connector-bracket {
		display: none;
	}

	.hww-connector-arrow {
		border-left-width: 6px;
		border-right-width: 6px;
		border-top-width: 12px;
	}

	.hww-outcome {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		padding: 14px 16px;
		max-width: none;
		margin-top: 8px;
	}

	.hww-outcome-icon {
		width: 56px;
		height: 56px;
	}

	.hww-outcome-title {
		font-size: 15px;
	}

	.hww-outcome-desc {
		font-size: 14px;
	}
}

/* Very small phones: stack outcome icon above text if needed */
@media (max-width: 400px) {
	.hww-outcome {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
}
