.ismf-follow,
.ismf-follow * { box-sizing: border-box; }
.ismf-follow { width: 100%; }
.ismf-panel {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: linear-gradient(135deg, #fbfdff 0%, #f7faff 100%);
	border-radius: 24px;
	padding: 44px 36px 34px;
}
.ismf-header {
	position: relative;
	z-index: 1;
	margin: 0 auto 34px;
	max-width: 820px;
	text-align: center;
}
.ismf-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff0e7;
	color: #e85b13;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.ismf-badge__icon { display: inline-flex; }
.ismf-title {
	margin: 0 0 14px;
	color: #06214a;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -.035em;
}
.ismf-title__highlight { color: #ff5b0b; }
.ismf-description {
	margin: 0;
	color: #4d5768;
	font-size: clamp(15px, 1.4vw, 19px);
	line-height: 1.55;
}
.ismf-decor {
	position: absolute;
	top: 70%;
	z-index: -1;
	color: #ff6a1a;
	font-size: 46px;
	line-height: 1;
	opacity: .45;
	pointer-events: none;
	transform: rotate(10deg);
}
.ismf-decor.is-left { left: -110px; }
.ismf-decor.is-right { right: -110px; transform: rotate(-10deg); }
.ismf-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.ismf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	min-width: 0;
	min-height: 330px;
	padding: 24px 18px 18px;
	background: #fff;
	border: 1px solid rgba(9,37,78,.07);
	border-radius: 18px;
	box-shadow: 0 10px 26px rgba(15,38,74,.06);
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ismf-card::before,
.ismf-card::after {
	content: '';
	position: absolute;
	top: 42px;
	width: 58px;
	height: 34px;
	border-radius: 999px;
	background: var(--ismf-soft, #f1f5f9);
	opacity: .72;
	z-index: 0;
}
.ismf-card::before { left: calc(50% - 70px); }
.ismf-card::after { right: calc(50% - 70px); }
.ismf-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 38px rgba(15,38,74,.12);
	border-color: color-mix(in srgb, var(--ismf-brand) 22%, transparent);
}
.ismf-card__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 78px;
	height: 78px;
	border-radius: 18px;
	background: var(--ismf-brand, #0a234b);
	color: #fff;
	box-shadow: 0 12px 25px color-mix(in srgb, var(--ismf-brand) 25%, transparent);
	transition: transform .25s ease;
}
.ismf-card:hover .ismf-card__icon { transform: scale(1.06) rotate(-2deg); }
.ismf-card__icon i { font-size: 42px; }
.ismf-card__icon svg { width: 42px; height: 42px; fill: currentColor; }
.ismf-card__title {
	margin: 2px 0 0;
	color: #09254e;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
}
.ismf-card__description {
	margin: 0;
	color: #5a6475;
	font-size: 14px;
	line-height: 1.5;
}
.ismf-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: auto;
	padding: 12px 14px;
	border: 0;
	border-radius: 12px;
	background: var(--ismf-soft, #f3f5f8);
	color: var(--ismf-brand, #0a234b);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ismf-card__button:hover,
.ismf-card__button:focus-visible {
	color: var(--ismf-brand, #0a234b);
	filter: saturate(1.08) brightness(.98);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ismf-brand) 16%, transparent);
}
.ismf-card__button-icon { display: inline-flex; }
.ismf-card__button i { font-size: 16px; }
.ismf-card__button svg { width: 16px; height: 16px; fill: currentColor; }
.ismf-cta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 28px;
	padding: 14px 20px;
	border-radius: 18px;
	background: #edf4ff;
	color: #0a234b;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
	transition: transform .22s ease, box-shadow .22s ease;
}
.ismf-cta:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,38,74,.08); }
.ismf-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #ff5b0b;
}
.ismf-cta__icon i { font-size: 28px; }
.ismf-cta__icon svg { width: 28px; height: 28px; fill: currentColor; }
.ismf-cta__highlight { color: #ff5b0b; }

@media (max-width: 1024px) {
	.ismf-panel { padding: 36px 24px 28px; }
	.ismf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ismf-decor { display: none; }
}
@media (max-width: 767px) {
	.ismf-panel { padding: 28px 16px 22px; border-radius: 18px; }
	.ismf-header { margin-bottom: 24px; }
	.ismf-title { font-size: clamp(30px, 10vw, 40px); }
	.ismf-grid { grid-template-columns: 1fr; gap: 14px; }
	.ismf-card {
		min-height: 0;
		padding: 20px 16px 16px;
		gap: 11px;
	}
	.ismf-card__description { max-width: 360px; }
	.ismf-cta {
		align-items: flex-start;
		justify-content: flex-start;
		text-align: left;
		gap: 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ismf-card,
	.ismf-card__icon,
	.ismf-card__button,
	.ismf-cta { transition: none !important; }
}
