/**
 * Mission & Vision Widget
 * Colors, type, spacing, and radii come from globals.css tokens.
 *
 * @package HelloElementorChild
 */

.hec-mv,
.hec-mv *,
.hec-mv *::before,
.hec-mv *::after {
	box-sizing: border-box;
}

.hec-mv {
	background-color: var(--color-background);
	padding: var(--space-2xl) 0;
	font-family: var(--font-body);
	color: var(--color-ink);
}

.hec-mv__container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

.hec-mv__header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto var(--space-2xl);
}

.hec-mv__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	background-color: var(--color-surface);
	color: var(--color-secondary);
	border: 1px solid var(--color-border);
	padding: var(--space-xs) var(--space-md);
	border-radius: var(--radius-pill);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: var(--font-weight-semibold);
	line-height: 1.4;
	margin-bottom: var(--space-md);
	box-shadow: var(--shadow-soft);
}

.hec-mv__title {
	font-family: var(--font-heading);
	color: var(--color-ink);
	font-size: 2.5rem;
	font-weight: var(--font-weight-extrabold);
	line-height: 1.2;
	margin: 0 0 var(--space-md);
}

.hec-mv__subtitle {
	margin: 0;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	font-size: 1.1rem;
	line-height: 1.6;
}

.hec-mv__legal {
	background: var(--color-surface);
	border-left: 5px solid var(--color-secondary);
	border-top: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg) var(--space-xl);
	margin: 0 0 var(--space-2xl);
	display: flex;
	align-items: center;
	gap: var(--space-lg);
	box-shadow: var(--shadow-soft);
}

.hec-mv__legal-icon,
.hec-mv__resp-icon {
	background-color: var(--color-background);
	color: var(--color-secondary);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hec-mv__legal-icon {
	width: 54px;
	height: 54px;
	font-size: 1.5rem;
}

.hec-mv__legal-title,
.hec-mv__card-title,
.hec-mv__structure-title,
.hec-mv__level-title,
.hec-mv__resp-title,
.hec-mv__resp-card-title {
	font-family: var(--font-heading);
	color: var(--color-ink);
	font-weight: var(--font-weight-bold);
	line-height: 1.3;
	margin: 0;
}

.hec-mv__legal-title {
	font-size: 1.15rem;
	margin-bottom: var(--space-xs);
}

.hec-mv__legal-text,
.hec-mv__legal-text p,
.hec-mv__card-text,
.hec-mv__card-text p,
.hec-mv__structure-intro,
.hec-mv__level-text,
.hec-mv__level-text p,
.hec-mv__resp-intro,
.hec-mv__resp-card-text {
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	margin: 0;
}

.hec-mv__legal-text,
.hec-mv__legal-text p {
	font-size: 0.95rem;
	line-height: 1.5;
}

.hec-mv__legal-text strong,
.hec-mv__level-text strong {
	color: var(--color-ink);
	font-weight: var(--font-weight-bold);
}

.hec-mv__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-xl);
	margin-bottom: var(--space-2xl);
}

.hec-mv__card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-2xl);
	box-shadow: var(--shadow-soft);
	transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.hec-mv__card:hover {
	box-shadow: var(--shadow-medium);
	transform: translateY(-3px);
}

.hec-mv__card.is-highlight {
	border-top: 4px solid var(--color-secondary);
}

.hec-mv__pill {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	background-color: var(--color-background);
	color: var(--color-secondary);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: var(--font-weight-bold);
	padding: var(--space-xs) var(--space-md);
	border-radius: var(--radius-pill);
	margin-bottom: var(--space-lg);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hec-mv__pill.is-gold {
	color: var(--color-ink);
	background-color: color-mix(in srgb, var(--color-accent) 32%, var(--color-surface));
}

.hec-mv__card-title {
	font-size: 1.6rem;
	margin-bottom: var(--space-md);
}

.hec-mv__card-text,
.hec-mv__card-text p {
	font-size: 1rem;
	line-height: 1.65;
}

.hec-mv__card-text p {
	margin-bottom: var(--space-md);
}

.hec-mv__card-text p:last-child {
	margin-bottom: 0;
}

.hec-mv__structure {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-2xl);
	margin-bottom: var(--space-2xl);
	box-shadow: var(--shadow-soft);
}

.hec-mv__structure-title {
	font-size: 1.4rem;
	margin-bottom: var(--space-xs);
}

.hec-mv__structure-intro {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: var(--space-xl);
}

.hec-mv__levels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg);
}

.hec-mv__level {
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	display: flex;
	align-items: flex-start;
	gap: var(--space-md);
	min-width: 0;
}

.hec-mv__level-mark {
	width: 38px;
	height: 38px;
	border-radius: var(--radius-pill);
	background-color: var(--color-secondary);
	color: var(--color-surface);
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: lowercase;
	flex-shrink: 0;
}

.hec-mv__level-title {
	font-size: 1.1rem;
	margin-bottom: var(--space-xs);
}

.hec-mv__level-text,
.hec-mv__level-text p {
	font-size: 0.9rem;
	line-height: 1.5;
}

.hec-mv__resp {
	margin-top: var(--space-2xl);
}

.hec-mv__resp-title {
	font-size: 1.75rem;
	margin-bottom: var(--space-xs);
}

.hec-mv__resp-intro {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: var(--space-xl);
}

.hec-mv__resp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-lg);
}

.hec-mv__resp-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.hec-mv__resp-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-medium);
	border-color: var(--color-secondary);
}

.hec-mv__resp-icon {
	width: 48px;
	height: 48px;
	font-size: 1.25rem;
	margin-bottom: var(--space-md);
}

.hec-mv__resp-card-title {
	font-size: 1.1rem;
	margin-bottom: var(--space-xs);
}

.hec-mv__resp-card-text {
	font-size: 0.9rem;
	line-height: 1.55;
}

@media (max-width: 992px) {
	.hec-mv__title {
		font-size: 2rem;
	}
}

@media (max-width: 850px) {
	.hec-mv__cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hec-mv__levels {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.hec-mv__legal {
		flex-direction: column;
		align-items: flex-start;
		padding: var(--space-lg);
	}

	.hec-mv__card,
	.hec-mv__structure {
		padding: var(--space-lg);
	}

	.hec-mv__title {
		font-size: 1.75rem;
	}
}
