/* ============ صفحه نمایندگی (کپی استایل kcp + فونت مستقل پلاگین) ============ */

:root {
	--kcp-purple: #7c2ae8;
	--kcp-purple-dark: #5b21b6;
	--kcp-purple-light: #a855f7;
	--kcp-purple-bg: #f5f0ff;
	--kcp-pink: #ff2dbb;
	--kcp-blue: #4f6af5;
	--kcp-text: #3b3b4f;
	--kcp-text-light: #6b687f;
	--kcp-card-bg: linear-gradient(160deg, #ffffff 0%, #f4f4fd 100%);
	--kcp-radius: 16px;
	--kcp-shadow: 0 4px 24px rgba(96, 76, 195, 0.08);
	--kah-font-stack: iransans, Vazirmatn, Tahoma, sans-serif;
}

body.kah-agency-home-active,
body.kah-exam-register-body {
	font-family: var(--kah-font-stack);
}

body.kah-agency-home-active .kcp-site-header,
body.kah-agency-home-active .kcp-site-header .kcp-site-nav,
body.kah-agency-home-active .kcp-site-header .kcp-site-nav-item,
body.kah-agency-home-active .kcp-site-header .kcp-site-brand-text,
body.kah-agency-home-active .kcp-site-header .kcp-site-brand-text strong,
body.kah-agency-home-active .kcp-site-header .kcp-site-brand-text span,
body.kah-agency-home-active .kcp-site-header .kcp-site-phone,
body.kah-agency-home-active .kcp-site-header .kcp-site-phone-text,
body.kah-agency-home-active .kcp-site-header .kcp-site-mobile-branch,
body.kah-agency-home-active .kcp-site-header .kcp-site-menu-toggle {
	font-family: var(--kah-font-stack);
}

.kcp-page {
	font-family: var(--kah-font-stack);
	direction: rtl;
	color: var(--kcp-text);
	background: #fff;
	overflow-x: hidden;
}

html:has(body.kah-agency-home-active),
body.kah-agency-home-active,
body.kah-exam-register-body {
	overflow-x: hidden;
	overscroll-behavior-x: none;
}

/* ============ هدر اختصاصی نمایندگی ============ */

.kcp-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #f3f3f3;
	border-bottom: 1px solid #e5e5e5;
}

.kcp-site-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
	min-height: 78px;
	direction: rtl;
}

.kcp-site-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

.kcp-site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	flex-wrap: wrap;
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
}

.kcp-site-mobile-branch {
	display: none;
}

.kcp-site-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
}

.kcp-site-logo img {
	height: 56px;
	width: auto;
	display: block;
}

.kcp-site-brand-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: #3a3a3a;
	line-height: 1.5;
}

.kcp-site-brand-text strong {
	font-size: 15px;
	font-weight: 800;
	color: #2f2f2f;
}

.kcp-site-brand-text span {
	font-size: 13px;
	font-weight: 500;
	color: #5a5a5a;
}

.kcp-site-nav-item {
	color: #3f3f3f;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.2s;
}

.kcp-site-nav-item:hover {
	color: var(--kcp-purple);
}

.kcp-site-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #333;
	border-radius: 2px;
}

.kcp-site-phone {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 14px;
	background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 55%, #a855f7 100%);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 8px 22px rgba(109, 40, 217, 0.28);
	transition: transform 0.2s, box-shadow 0.2s;
}

.kcp-site-phone:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(109, 40, 217, 0.34);
	color: #fff !important;
}

.kcp-site-phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

.kcp-site-phone-icon svg {
	display: block;
}

.kcp-site-nav-phone {
	display: none;
}

@media (max-width: 960px) {
	.kcp-site-header-inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		min-height: 64px;
		padding-top: 8px;
		padding-bottom: 8px;
		gap: 8px;
		direction: rtl;
	}

	.kcp-site-menu-toggle {
		display: flex;
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}

	.kcp-site-brand {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		gap: 0;
	}

	.kcp-site-brand-text {
		display: none;
	}

	.kcp-site-mobile-branch {
		display: block;
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		font-size: 12px;
		font-weight: 600;
		color: #5a5a5a;
		line-height: 1.4;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}

	.kcp-site-logo img {
		height: 48px;
	}

	.kcp-site-nav {
		display: none;
		grid-column: 1 / -1;
		grid-row: 2;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		padding: 8px 0 12px;
		border-top: 1px solid #e0e0e0;
		margin-top: 8px;
		flex: none;
	}

	.kcp-site-nav.is-open {
		display: flex;
	}

	.kcp-site-nav-item {
		padding: 12px 4px;
		border-bottom: 1px solid #ececec;
	}

	.kcp-site-phone {
		display: none;
	}

	.kcp-site-nav-phone {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-top: 8px;
		padding: 14px 16px !important;
		border-bottom: none !important;
		border-radius: 12px;
		background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
		color: #fff !important;
		font-weight: 800;
	}

	.kcp-site-nav-phone .kcp-site-phone-icon {
		width: 32px;
		height: 32px;
		background: rgba(255, 255, 255, 0.2);
	}
}

.kcp-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.kcp-section {
	padding: 36px 0;
}

.kcp-title {
	text-align: center;
	color: var(--kcp-purple);
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 28px;
}

.kcp-empty {
	text-align: center;
	color: var(--kcp-text-light);
	padding: 32px 0;
	font-family: var(--kah-font-stack);
}

.kcp-archive-empty,
.kcp-exam-prompt,
.kcp-schools-empty {
	font-family: var(--kah-font-stack);
}

body.kah-agency-home-active .kcp-articles-grid,
body.kah-agency-home-active .kcp-articles-grid .kcp-article-card,
body.kah-agency-home-active .kcp-articles-grid .kcp-article-card h4,
body.kah-agency-home-active .kcp-articles-grid .kcp-article-date,
body.kah-agency-home-active .kcp-articles-banner,
body.kah-agency-home-active .kcp-articles-banner h3,
body.kah-agency-home-active .kcp-articles-more,
body.kah-agency-home-active .kcp-empty,
body.kah-agency-home-active .kcp-archive-empty,
body.kah-agency-home-active .kcp-exam-prompt {
	font-family: var(--kah-font-stack);
}

.kcp-btn {
	display: inline-block;
	background: linear-gradient(90deg, var(--kcp-purple) 0%, var(--kcp-purple-light) 100%);
	color: #fff !important;
	border: none;
	border-radius: 10px;
	padding: 11px 24px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
	text-decoration: none !important;
	transition: opacity 0.2s, transform 0.2s;
}

.kcp-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.kcp-btn-sm { padding: 8px 24px; font-size: 13px; border-radius: 8px; }
.kcp-btn-block { display: block; width: 100%; }

/* ============ هیرو: بنر + فرم ============ */

.kcp-hero { padding-top: 24px; }

.kcp-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
	gap: 24px;
	align-items: stretch;
}

.kcp-hero-banner-col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.kcp-hero-banner {
	display: block;
	border-radius: var(--kcp-radius);
	overflow: hidden;
	box-shadow: var(--kcp-shadow);
}

.kcp-hero-banner img {
	display: block;
	width: 100%;
	height: auto;
}

.kcp-quicklinks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 16px;
}

.kcp-quickbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 130px;
	padding: 20px 16px;
	background: #fff;
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	box-shadow: var(--kcp-shadow);
	text-decoration: none !important;
	color: var(--kcp-text) !important;
	transition: transform 0.2s, box-shadow 0.2s;
}

.kcp-quickbox:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(96, 76, 195, 0.12);
}

.kcp-quickbox-plan:hover { color: inherit !important; }

.kcp-quickbox-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	width: 100%;
}

.kcp-quickbox-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none !important;
	color: var(--kcp-text) !important;
	transition: transform 0.2s, color 0.2s;
}

.kcp-quickbox-link:hover {
	transform: translateY(-2px);
	color: var(--kcp-purple) !important;
}

.kcp-quickbox-title {
	font-weight: 800;
	font-size: 14.5px;
	line-height: 1.6;
	text-align: center;
}

.kcp-quickbox-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kcp-quickbox-icon img { max-width: 100%; max-height: 100%; }

.kcp-quickbox-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.kcp-quick-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform 0.2s;
}

.kcp-quick-social:hover { transform: translateY(-2px); }

.kcp-quick-social svg,
.kcp-quick-social img {
	display: block;
	flex-shrink: 0;
}

.kcp-quick-social-whatsapp { background: #25d366; }
.kcp-quick-social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.kcp-quick-social-telegram { background: #229ed9; }
.kcp-quick-social-bale { background: #3bb08f; }
.kcp-quick-social-rubika { background: linear-gradient(135deg, #6f2dbd 0%, #8b3fd6 100%); }

.kcp-quick-social-rubika img {
	filter: brightness(0) invert(1);
}

.kcp-quickbox-empty {
	margin: 0;
	font-size: 12.5px;
	color: var(--kcp-text-light);
	text-align: center;
}

/* ============ شهریه ثبت نام آزمون ============ */

.kcp-section-reg-fees {
	padding: 36px 0;
}

.kcp-reg-fees {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.kcp-reg-fees-tabs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	background: #fff;
	border: 2px solid #d4c0f5;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(124, 42, 232, 0.07);
}

.kcp-reg-fees-tab {
	appearance: none;
	border: none;
	background: #7c2ae8;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	cursor: default;
	transition: background 0.2s, color 0.2s;
}

.kcp-reg-fees-tab.is-active {
	background: #7c2ae8;
	color: #fff;
}

.kcp-reg-fees-panel { display: none; }
.kcp-reg-fees-panel.is-active {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 12px;
}

.kcp-reg-packages-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kcp-reg-fees-cta-wrap {
	display: flex;
	justify-content: center;
	padding: 4px 0 2px;
}

.kcp-reg-package {
	background: #fff;
	border: 2px solid #d4c0f5;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(124, 42, 232, 0.07);
}

.kcp-reg-package-title {
	padding: 8px 16px 0;
	font-size: 14px;
	font-weight: 800;
	color: #6d28d9;
}

.kcp-reg-package-body {
	display: grid;
	grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
	gap: 12px 18px;
	padding: 10px 16px 10px;
	align-items: center;
}

.kcp-reg-package-side {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	text-align: right;
}

.kcp-reg-package-icon {
	display: block;
	flex: 0 0 auto;
	width: 88px;
	max-width: 88px;
	height: auto;
}

.kcp-reg-package-features {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 0;
	min-width: 0;
}

.kcp-reg-package-features li {
	position: relative;
	padding: 2px 12px 2px 0;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.55;
	color: #4c3d6b;
	text-align: right;
}

.kcp-reg-package-features li:first-child {
	font-weight: 900;
	color: #e11d48;
}

.kcp-reg-package-features li::before {
	content: '';
	position: absolute;
	right: 0;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #b794f6;
}

.kcp-reg-feature-em {
	color: inherit;
	font-weight: inherit;
}

.kcp-reg-package-pricing {
	min-width: 0;
}

.kcp-reg-price-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
}

.kcp-reg-price-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: none;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	box-shadow: none;
}

.kcp-reg-price-group-head {
	background: #f3ecff;
	border: 1px solid #e5d8fb;
	color: #6d28d9;
	text-align: center;
	font-size: 12px;
	font-weight: 800;
	padding: 6px 8px;
	line-height: 1.4;
	border-radius: 10px;
}

.kcp-reg-price-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 8px;
	row-gap: 4px;
	padding: 0 2px;
	background: transparent;
}

.kcp-reg-price-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	padding: 0;
	text-align: center;
	border: none;
	min-width: 0;
}

.kcp-reg-price-col-label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 72px;
	min-height: 24px;
	padding: 3px 4px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e5ddf5;
	border-radius: 7px;
	font-size: 10px;
	font-weight: 700;
	color: #7c6b9a;
	line-height: 1.3;
}

.kcp-reg-price-col strong {
	display: block;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.kcp-reg-price-col--rate strong { color: #9ca3af; }
.kcp-reg-price-col--discount strong { color: #ef4444; }
.kcp-reg-price-col--pay strong { color: #10b981; }

.kcp-reg-price-col em {
	display: block;
	margin-top: 0;
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	color: #a8a0b8;
}

.kcp-reg-package-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 16px 10px;
	background: transparent;
}

.kcp-reg-package-info {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 6px;
	align-items: baseline;
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.55;
	color: #3f3f4f;
}

.kcp-reg-package-info > strong {
	color: #e11d48;
	font-weight: 900;
	flex: 0 0 auto;
}

.kcp-reg-package-info > span {
	font-weight: 400;
	color: #3f3f4f;
}

.kcp-reg-footer-text {
	font-weight: 400;
	color: #3f3f4f;
}

.kcp-reg-package-info .kcp-reg-footer-em {
	font-weight: 700;
	color: #3f3f4f;
}

.kcp-reg-package-cta {
	display: inline-block;
	flex: 0 0 auto;
	margin-top: 0;
	background: #10b981;
	color: #fff !important;
	border-radius: 12px;
	padding: 12px 36px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
	transition: transform 0.2s, background 0.2s;
	white-space: nowrap;
}

.kcp-reg-fees-cta-wrap .kcp-reg-package-cta {
	min-width: 220px;
	text-align: center;
}

.kcp-reg-package-cta:hover {
	transform: translateY(-1px);
	background: #0d9668;
}

.kcp-reg-package-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	padding: 0;
	background: transparent;
	border: none;
}

/* فرم پیش ثبت نام */

.kcp-reg-card {
	background: linear-gradient(180deg, #faf6ff 0%, #f3ebff 100%);
	border: 1px solid #e6dbff;
	border-radius: var(--kcp-radius);
	overflow: hidden;
	box-shadow: var(--kcp-shadow);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.kcp-reg-head {
	background: linear-gradient(90deg, #6d28d9 0%, #8b5cf6 100%);
	color: #fff;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
}

.kcp-reg-head-icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.18);
	display: grid;
	place-items: center;
	line-height: 0;
}

.kcp-reg-head-icon svg {
	display: block;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	margin: 0;
}

.kcp-reg-head strong { display: block; font-size: 15px; margin-bottom: 4px; }
.kcp-reg-head > div span { display: block; font-size: 12px; opacity: 0.9; }

.kcp-reg-form {
	padding: 18px 20px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kcp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.kcp-field { display: flex; flex-direction: column; gap: 6px; }

.kcp-field > span {
	font-size: 13px;
	font-weight: 700;
	color: var(--kcp-purple-dark);
}

.kcp-field input,
.kcp-field select {
	width: 100%;
	height: 46px;
	border: 1px solid #ddd2f2;
	border-radius: 10px;
	background: #fff;
	padding: 0 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--kcp-text);
	direction: rtl;
	text-align: right;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.kcp-field input::placeholder { color: #b9b3cc; font-size: 12.5px; }

.kcp-field input:focus,
.kcp-field select:focus {
	outline: none;
	border-color: var(--kcp-purple-light);
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.kcp-reg-note {
	background: #fdf2ff;
	border: 1px dashed #e3c8f7;
	color: #8b3fb8;
	font-size: 12.5px;
	line-height: 2;
	border-radius: 10px;
	padding: 12px 14px;
	margin: 4px 0 16px;
}

.kcp-reg-note strong {
	color: #dc2626;
}

#submit-btn-new {
	display: block;
	width: 100%;
	height: 52px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(90deg, #6d28d9 0%, #8b5cf6 100%);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: opacity 0.2s;
	margin-top: auto;
}

#submit-btn-new:disabled { background: #b9b3cc; cursor: not-allowed; }
#submit-btn-new:not(:disabled):hover { opacity: 0.92; }

.kcp-form-message {
	display: none;
	margin-top: 14px;
	padding: 13px;
	border-radius: 10px;
	text-align: center;
	font-size: 13.5px;
	line-height: 1.9;
}

.kcp-form-message.is-error { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.kcp-form-message.is-warning { display: block; background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.kcp-form-message.is-success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ============ خدمات نمایندگی ============ */

.kcp-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.kcp-service-box {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--kcp-card-bg);
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	padding: 22px 24px;
	text-decoration: none !important;
	box-shadow: var(--kcp-shadow);
	transition: transform 0.2s, box-shadow 0.2s;
}

.kcp-service-box:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(96, 76, 195, 0.15);
}

.kcp-service-icon {
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: linear-gradient(135deg, #4f6af5 0%, #6d8bff 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.kcp-service-box strong {
	display: block;
	color: var(--kcp-text);
	font-size: 15px;
	margin-bottom: 6px;
}

.kcp-service-box span:not(.kcp-service-icon) {
	display: block;
	color: var(--kcp-text-light);
	font-size: 12.5px;
}

/* ============ نتایج درخشان ============ */

.kcp-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 0;
}

#kcp-stats-section .kcp-stats-grid {
	margin-bottom: 0;
}

#kcp-stats-section .kcp-students-block {
	margin-top: 40px;
}

#kcp-stats-section .kcp-stats-grid + .kcp-students-block {
	margin-top: 36px;
}

.kcp-stat-card {
	background: var(--kcp-card-bg);
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	padding: 24px 20px;
	text-align: center;
	box-shadow: var(--kcp-shadow);
	display: block;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.kcp-stat-card:hover {
	transform: translateY(-3px);
	border-color: #d8c4f7;
	box-shadow: 0 12px 28px rgba(109, 40, 217, 0.12);
}

.kcp-stat-num {
	color: var(--kcp-purple-light);
	font-size: 40px;
	font-weight: 900;
	line-height: 1;
}

.kcp-stat-unit { color: var(--kcp-purple-light); font-size: 17px; font-weight: 700; }

.kcp-stat-label {
	margin-top: 12px;
	color: var(--kcp-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.9;
}

.kcp-medal { font-size: 18px; margin-left: 4px; }

/* ============ تب‌ها ============ */

.kcp-tabs-nav {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	border-bottom: 3px solid #e8e4f5;
	padding-bottom: 0;
	margin-bottom: 24px;
	justify-content: flex-start;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.kcp-tabs-nav::-webkit-scrollbar { display: none; }

.kcp-tab-btn {
	background: #fff;
	border: 1px solid #e8e4f5;
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	padding: 11px 22px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--kcp-text-light);
	cursor: pointer;
	transition: all 0.2s;
	flex: 0 0 auto;
	white-space: nowrap;
}

.kcp-tab-btn.is-active {
	background: linear-gradient(90deg, #7c2ae8 0%, #a855f7 100%);
	color: #fff;
	border-color: transparent;
}

.kcp-tab-panel { display: none; }
.kcp-tab-panel.is-active { display: block; width: 100%; min-width: 0; box-sizing: border-box; }

/* ============ کارت نفرات برتر ============ */

.kcp-students-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	align-items: stretch;
	gap: 16px;
}

/* کاروسل نفرات برتر در صفحه مرکز */
.kcp-students-carousel {
	position: relative;
	padding: 0 48px;
	width: 100%;
	box-sizing: border-box;
}

.kcp-students-carousel .kcp-students-track {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	display: block;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.kcp-students-carousel .kcp-students-track::-webkit-scrollbar { display: none; }

.kcp-students-carousel .kcp-students-grid {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 16px;
	grid-template-columns: none;
	min-height: 100%;
	width: max-content;
	min-width: 100%;
	box-sizing: border-box;
}

.kcp-students-carousel .kcp-student-card {
	flex: 0 0 200px;
	min-width: 200px;
	max-width: 260px;
	width: 200px;
	align-self: stretch;
	height: auto;
	box-sizing: border-box;
}

.kcp-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: linear-gradient(90deg, #7c2ae8 0%, #a855f7 100%);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(124, 42, 232, 0.35);
	z-index: 2;
	transition: opacity 0.2s, transform 0.2s;
}

.kcp-carousel-btn:hover { transform: translateY(-50%) scale(1.05); }
.kcp-carousel-btn:disabled { opacity: 0.35; cursor: default; transform: translateY(-50%); }

.kcp-carousel-prev { right: 0; }
.kcp-carousel-next { left: 0; }

.kcp-konkur-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.kcp-konkur-filter {
	border: none;
	border-radius: 10px;
	padding: 10px 18px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.2s, transform 0.2s;
}

.kcp-konkur-filter.is-active,
.kcp-konkur-filter:hover { opacity: 1; transform: translateY(-1px); }

.kcp-konkur-filter--all { background: #6b7280; }
.kcp-konkur-filter--1 { background: #2271b1; }
.kcp-konkur-filter--2 { background: #00a32a; }
.kcp-konkur-filter--3 { background: #dba617; color: #1f2937; }
.kcp-konkur-filter--5 { background: #d63638; }

.kcp-student-card {
	background: var(--kcp-card-bg);
	border: 1.5px solid #d4cce8;
	border-radius: 14px;
	padding: 14px;
	text-align: center;
	box-shadow: var(--kcp-shadow);
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
}

.kcp-student-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.kcp-student-top {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	margin-bottom: 10px;
}

.kcp-student-medal {
	position: relative;
	width: 56px;
	height: 70px;
	display: inline-block;
	flex: 0 0 auto;
	filter: drop-shadow(0 3px 8px rgba(120, 80, 0, 0.18));
}

.kcp-student-medal img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.kcp-student-medal__value {
	position: absolute;
	top: 24%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	min-width: 22px;
	text-align: center;
	font-size: 17px;
	font-weight: 900;
	color: #5a3d06;
	line-height: 1;
	letter-spacing: -0.03em;
	text-shadow: 0 1px 0 rgba(255, 248, 220, 0.9);
	pointer-events: none;
}

.kcp-student-photo {
	width: 74px;
	height: 92px;
	object-fit: cover;
	border-radius: 8px;
}

.kcp-student-name {
	color: var(--kcp-purple);
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 8px;
}

.kcp-student-meta {
	color: var(--kcp-text-light);
	font-size: 12px;
	line-height: 2.1;
	margin-bottom: 10px;
}

.kcp-student-more {
	display: block;
	margin-top: auto;
	padding: 10px 16px;
	text-align: center;
	text-decoration: none !important;
	border: 2px solid var(--kcp-purple);
	border-radius: 12px;
	background: transparent;
	color: var(--kcp-purple) !important;
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
	align-self: stretch;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kcp-student-more:hover,
.kcp-student-more:focus-visible {
	background: rgba(91, 33, 182, 0.06);
	border-color: #7c3aed;
	color: #7c3aed !important;
}

.kcp-tab-more {
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
}

/* ============ بنر تخفیف ============ */

.kcp-gift-banner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	direction: ltr;
	background: linear-gradient(90deg, #7c3aed 0%, #6d5ce8 28%, #5b8def 62%, #4f9cf5 100%);
	border-radius: 28px;
	padding: 34px 42px;
	color: #fff;
	overflow: hidden;
}

.kcp-gift-art {
	flex: 0 0 auto;
	width: min(34%, 300px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.kcp-gift-art img {
	display: block;
	width: 100%;
	max-height: 210px;
	height: auto;
	object-fit: contain;
}

.kcp-gift-body {
	flex: 1;
	min-width: 0;
	direction: rtl;
	text-align: right;
}

.kcp-gift-body h3 {
	color: #ffffff;
	font-size: 26px;
	font-weight: 900;
	margin: 0 0 22px;
	line-height: 1.75;
	-webkit-text-stroke: 2.4px #ff2dbb;
	paint-order: stroke fill;
	text-shadow: 0 0 0 #ff2dbb;
}

.kcp-gift-btn {
	display: inline-block;
	background: #ff2dbb;
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	border-radius: 14px;
	padding: 14px 30px;
	text-decoration: none !important;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
	box-shadow: 0 10px 24px rgba(255, 45, 187, 0.35);
}

.kcp-gift-btn:hover {
	transform: scale(1.03);
	background: #ff1493;
	box-shadow: 0 12px 28px rgba(255, 45, 187, 0.45);
}

/* ============ دوره‌ها و کلاس‌ها ============ */

.kcp-tabs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: nowrap;
	margin-bottom: 24px;
}

/* «مشاهده همه» بعد از تب‌ها می‌آید و در RTL سمت چپ قرار می‌گیرد */
.kcp-btn-view-all { flex: 0 0 auto; white-space: nowrap; }

.kcp-courses-tabs .kcp-tabs-nav { border-bottom: none; margin-bottom: 0; min-width: 0; }

.kcp-course-tab {
	border: 1px solid #e3c8f7;
	border-radius: 12px;
	background: #fdfaff;
	color: var(--kcp-purple);
	min-width: 132px;
	padding: 12px 16px;
	line-height: 1.8;
	font-size: 12.5px;
}

.kcp-course-tab.is-active {
	background: linear-gradient(180deg, #f6edff, #ecdcff);
	border-color: var(--kcp-purple-light);
	color: var(--kcp-purple-dark);
}

.kcp-courses-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.kcp-course-card {
	background: var(--kcp-card-bg);
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	overflow: hidden;
	box-shadow: var(--kcp-shadow);
	display: flex;
	flex-direction: column;
}

.kcp-course-image {
	background: #f4f2fa;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	min-height: 160px;
}

.kcp-course-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: contain;
}

.kcp-course-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }

.kcp-course-title {
	color: var(--kcp-purple-dark);
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 10px;
	text-align: center;
}

.kcp-course-teacher {
	text-align: center;
	color: var(--kcp-text-light);
	font-size: 13px;
	margin-bottom: 12px;
}

.kcp-course-teacher strong { color: var(--kcp-text); }

.kcp-course-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 14px;
}

.kcp-course-tag {
	background: #e4f7f0;
	color: #1a936f;
	font-size: 12px;
	font-weight: 700;
	border-radius: 8px;
	padding: 6px 14px;
}

.kcp-course-specs {
	border-top: 1px dashed #e5e0f5;
	padding-top: 12px;
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--kcp-text-light);
}

.kcp-course-specs > div {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
}

.kcp-course-delivery {
	font-weight: 700;
}

.kcp-course-delivery.is-in-person {
	color: #2563eb;
}

.kcp-course-delivery.is-online {
	color: #16a34a;
}

.kcp-course-delivery.is-mixed {
	color: #7c3aed;
}

.kcp-course-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	margin-bottom: 14px;
}

.kcp-course-price strong { color: #e11d48; font-size: 20px; font-weight: 900; }

/* ============ دبیران ============ */

.kcp-section-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.kcp-teachers-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.kcp-teacher-card {
	border-radius: var(--kcp-radius);
	overflow: hidden;
	background: #f6f6fb;
	box-shadow: var(--kcp-shadow);
}

.kcp-teacher-card img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
	object-position: top center;
}

.kcp-teacher-info {
	background: #d99a4e;
	color: #fff;
	text-align: center;
	padding: 12px;
}

.kcp-teacher-info strong { display: block; font-size: 15px; margin-bottom: 4px; }
.kcp-teacher-info span { display: block; font-size: 12.5px; opacity: 0.95; line-height: 1.65; }

/* ============ چرا قلم چی ============ */

.kcp-why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 24px;
	max-width: 980px;
	margin: 0 auto;
}

.kcp-why-item {
	background: #fff;
	border: 1px solid #ece8f8;
	border-radius: 16px;
	padding: 20px 22px;
	box-shadow: 0 8px 24px rgba(124, 42, 232, 0.06);
	text-align: right;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kcp-why-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(124, 42, 232, 0.1);
}

.kcp-why-item h3 {
	font-size: 18px;
	font-weight: 900;
	margin: 0 0 10px;
	line-height: 1.75;
	text-align: right;
	-webkit-text-stroke: 0;
	paint-order: normal;
}

.kcp-why-item p {
	color: #4b5563;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.95;
	text-align: right;
	margin: 0;
}

.kcp-why-blue {
	color: #4338ca;
}

.kcp-why-sky {
	color: #0284c7;
}

.kcp-why-green {
	color: #15803d;
}

.kcp-why-orange {
	color: #c2410c;
}

.kcp-why-item:has(.kcp-why-blue) {
	border-right: 4px solid #6366f1;
}

.kcp-why-item:has(.kcp-why-sky) {
	border-right: 4px solid #38bdf8;
}

.kcp-why-item:has(.kcp-why-green) {
	border-right: 4px solid #22c55e;
}

.kcp-why-item:has(.kcp-why-orange) {
	border-right: 4px solid #fb923c;
}

/* ============ کتاب‌ها ============ */

.kcp-books-banner {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 24px;
	background: linear-gradient(120deg, #7c3aed 0%, #a855f7 55%, #ec4899 100%);
	border-radius: 24px;
	padding: 32px;
	align-items: center;
}

.kcp-books-side { text-align: center; color: #fff; }

.kcp-books-side-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.kcp-books-side-art { font-size: 64px; margin-bottom: 0; flex-shrink: 0; }
.kcp-books-side-art img { display: inline-block; max-height: 150px; width: auto; }
.kcp-books-side h3 { color: #fff; font-size: 18px; font-weight: 900; margin: 0; line-height: 1.8; }

.kcp-books-shop-btn {
	display: inline-block;
	background: #fff;
	color: var(--kcp-purple) !important;
	font-weight: 800;
	font-size: 14px;
	border-radius: 10px;
	padding: 12px 28px;
	text-decoration: none !important;
}

.kcp-books-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.kcp-book-card {
	position: relative;
	background: #fff;
	border-radius: 14px;
	padding: 14px;
	text-align: center;
}

.kcp-book-image img {
	width: 100%;
	height: 190px;
	object-fit: contain;
	border-radius: 8px;
}

.kcp-book-title { font-size: 13px; font-weight: 700; color: var(--kcp-text); margin: 10px 0; }

.kcp-book-prices {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.kcp-book-discount {
	background: #e11d48;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	border-radius: 6px;
	padding: 3px 8px;
}

.kcp-book-old { color: #f87171; text-decoration: line-through; font-size: 12px; }
.kcp-book-new { color: var(--kcp-text); font-weight: 800; font-size: 14px; }

.kcp-book-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #fb923c;
	border-radius: 10px;
	text-decoration: none !important;
	font-size: 18px;
}

/* ============ نمونه سوالات ============ */

.kcp-exams-wrap {
	position: relative;
	background: #faf5ff;
	border: 1px solid #e9d8fd;
	border-radius: 20px;
	padding: 56px 32px 32px;
}

.kcp-exams-badge {
	position: absolute;
	top: -22px;
	right: 50%;
	transform: translateX(50%);
	background: linear-gradient(90deg, #6d28d9, #a855f7);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	border-radius: 12px;
	padding: 13px 42px;
	white-space: nowrap;
}

.kcp-exams-text h3 { color: #7c2ae8; font-size: 18px; font-weight: 900; margin: 0 0 12px; }
.kcp-exams-text p { color: var(--kcp-text-light); font-size: 13.5px; line-height: 2.3; margin: 0 0 8px; }

.kcp-exams-intro {
	display: flex;
	gap: 28px;
	align-items: center;
}

.kcp-exams-image { flex: 0 0 340px; }

.kcp-exams-image img {
	display: block;
	width: 100%;
	border-radius: 14px;
}

.kcp-exams-picker {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 28px 0;
}

.kcp-exams-picker select {
	width: 280px;
	height: 50px;
	border: 1px solid #cbb7ef;
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: var(--kcp-text);
	padding: 0 18px;
	direction: rtl;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c3aed' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 16px center;
	cursor: pointer;
}

.kcp-exams-picker select:focus {
	outline: none;
	border-color: var(--kcp-purple-light);
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

/* هماهنگ‌سازی ظاهر select2 (که تم روی سلکت‌ها اعمال می‌کند) */
.kcp-exams-picker .select2-container {
	width: 280px !important;
	max-width: 100%;
}

.kcp-exams-picker .select2-container .select2-selection--single,
.kcp-reg-form .select2-container .select2-selection--single {
	height: 50px !important;
	min-height: 50px !important;
	border: 1px solid #cbb7ef !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-sizing: border-box;
	display: flex;
	align-items: center;
}

.kcp-reg-form .select2-container { width: 100% !important; }
.kcp-reg-form .select2-container .select2-selection--single {
	height: 46px !important;
	min-height: 46px !important;
	border-color: #ddd2f2 !important;
	border-radius: 10px !important;
}

.kcp-exams-picker .select2-selection__rendered,
.kcp-reg-form .select2-selection__rendered {
	line-height: normal !important;
	padding: 0 18px !important;
	font-size: 14px;
	font-weight: 700;
	color: var(--kcp-text) !important;
	width: 100%;
	text-align: right;
	direction: rtl;
}

.kcp-exams-picker .select2-selection__arrow,
.kcp-reg-form .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	left: 10px !important;
	right: auto !important;
}

.kcp-exams-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 16px;
}

.kcp-exams-grid.is-hidden { display: none; }

.kcp-exam-prompt {
	text-align: center;
	color: var(--kcp-text-light);
	padding: 28px 16px;
	font-size: 14px;
	line-height: 2;
	margin: 0;
	font-family: var(--kah-font-stack);
}

.kcp-exam-prompt.is-hidden { display: none; }

.kcp-exam-card {
	display: flex;
	gap: 0;
	background: #fff;
	border: 1px solid #e9dffa;
	border-radius: 14px;
	overflow: hidden;
	align-items: stretch;
}

.kcp-exam-cover {
	width: 96px;
	object-fit: cover;
	flex: 0 0 auto;
}

.kcp-exam-body {
	flex: 1;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
	align-items: flex-end;
}

.kcp-exam-body strong { color: var(--kcp-text); font-size: 14px; font-weight: 800; }
.kcp-exam-body span { color: var(--kcp-text-light); font-size: 12.5px; }

.kcp-exam-download {
	display: block;
	width: 100%;
	background: #f0e4ff;
	color: var(--kcp-purple) !important;
	font-size: 13.5px;
	font-weight: 700;
	text-align: center;
	border-radius: 8px;
	padding: 10px;
	text-decoration: none !important;
	margin-top: auto;
}

/* ============ مقالات ============ */

.kcp-articles-grid-wrap {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	align-items: stretch;
}

.kcp-articles-banner {
	background: linear-gradient(160deg, #7c3aed 0%, #a855f7 100%);
	border-radius: 20px;
	color: #fff;
	text-align: center;
	padding: 32px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.kcp-articles-banner-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.kcp-articles-art { font-size: 68px; flex-shrink: 0; }
.kcp-articles-art img { display: block; max-height: 160px; width: auto; margin: 0 auto; }
.kcp-articles-banner h3 { color: #fff; font-size: 20px; font-weight: 900; margin: 0; }

.kcp-articles-more {
	display: inline-block;
	background: transparent;
	border: 2px solid #fff;
	color: #fff !important;
	border-radius: 10px;
	padding: 12px 32px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

.kcp-articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	font-family: var(--kah-font-stack);
}

.kcp-article-card {
	background: var(--kcp-card-bg);
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	overflow: hidden;
	text-decoration: none !important;
	box-shadow: var(--kcp-shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s;
	font-family: var(--kah-font-stack);
}

.kcp-article-card:hover { transform: translateY(-3px); }

.kcp-article-thumb {
	background: #f4f2fa;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	min-height: 150px;
}

.kcp-article-thumb img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 200px;
	object-fit: contain;
}

.kcp-article-card h4 {
	color: var(--kcp-text);
	font-size: 15px;
	font-weight: 800;
	line-height: 2;
	margin: 0;
	padding: 14px 16px 6px;
	font-family: var(--kah-font-stack);
}

.kcp-article-date {
	color: var(--kcp-text-light);
	font-size: 12.5px;
	padding: 0 16px 16px;
	margin-top: auto;
	font-family: var(--kah-font-stack);
}

/* ============ اطلاعات تماس نمایندگی ============ */

.kcp-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.kcp-contact-card {
	background: var(--kcp-card-bg);
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	padding: 24px;
	box-shadow: var(--kcp-shadow);
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.kcp-contact-card h3 {
	color: var(--kcp-purple-dark);
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.kcp-contact-icon { font-size: 20px; }

.kcp-contact-list { list-style: none; margin: 0; padding: 0; }

.kcp-contact-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 4px 8px;
	padding: 9px 0;
	border-bottom: 1px dashed #e8e4f5;
	font-size: 14px;
	line-height: 1.75;
	min-width: 0;
}

.kcp-contact-list li:last-child { border-bottom: none; }
.kcp-contact-list li > span { color: var(--kcp-text-light); flex: 0 0 auto; }
.kcp-contact-list li strong {
	color: var(--kcp-text);
	font-weight: 700;
	min-width: 0;
	flex: 1 1 0;
	word-break: break-word;
	overflow-wrap: anywhere;
}
.kcp-contact-list li a {
	color: var(--kcp-purple);
	text-decoration: none;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.kcp-contact-maps {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.kcp-socials {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	width: 100%;
}

.kcp-social {
	display: flex;
	align-items: center;
	gap: 12px;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none !important;
	color: #fff !important;
	transition: transform 0.2s;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

.kcp-social:hover { transform: translateY(-2px); }

.kcp-social svg,
.kcp-social img {
	flex-shrink: 0;
}

.kcp-social-whatsapp { background: #25d366; }
.kcp-social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.kcp-social-telegram { background: #229ed9; }
.kcp-social-bale { background: #3bb08f; }
.kcp-social-rubika { background: linear-gradient(135deg, #6f2dbd 0%, #8b3fd6 100%); }

.kcp-social-rubika img {
	display: block;
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
}

/* ============ ریسپانسیو ============ */

@media (max-width: 1080px) {
	.kcp-hero-grid { grid-template-columns: 1fr; }
	.kcp-students-grid { grid-template-columns: repeat(3, 1fr); }
	.kcp-students-carousel .kcp-student-card {
		flex: 0 0 200px;
		min-width: 200px;
		max-width: 240px;
		width: 200px;
	}
	.kcp-reg-package-body {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 8px 14px 8px;
	}
	.kcp-reg-package-icon {
		width: 64px;
		max-width: 64px;
	}
	.kcp-reg-price-groups {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}
	.kcp-courses-grid { grid-template-columns: repeat(2, 1fr); }
	.kcp-teachers-grid { grid-template-columns: repeat(2, 1fr); }
	.kcp-books-banner { grid-template-columns: 1fr; }
	.kcp-books-grid { grid-template-columns: repeat(2, 1fr); }
	.kcp-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.kcp-articles-grid-wrap { grid-template-columns: 1fr; }
	.kcp-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.kcp-title { font-size: 18px; }
	.kcp-services-grid { grid-template-columns: 1fr; }
	.kcp-students-grid { grid-template-columns: repeat(2, 1fr); }
	.kcp-students-carousel { padding: 0 34px; }
	.kcp-students-carousel .kcp-student-card {
		flex-basis: min(88%, 260px);
		min-width: min(88%, 260px);
		max-width: 260px;
	}
	.kcp-students-tabs .kcp-tabs-header {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-bottom: 16px;
	}
	.kcp-students-tabs .kcp-tabs-nav {
		order: 1;
		margin-bottom: 0;
	}
	.kcp-students-tabs .kcp-btn-view-all {
		order: 2;
		align-self: flex-end;
		width: auto;
		max-width: max-content;
		padding: 8px 14px;
		font-size: 12px;
	}
	.kcp-students-carousel .kcp-carousel-btn {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}
	.kcp-student-card {
		padding: 12px 10px;
	}
	.kcp-student-top {
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}
	.kcp-student-photo {
		width: 64px;
		height: 80px;
	}
	.kcp-student-medal {
		width: 48px;
		height: 60px;
	}
	.kcp-student-name {
		font-size: 13px;
	}
	.kcp-student-meta {
		font-size: 11px;
		line-height: 1.8;
		word-break: break-word;
	}
	.kcp-student-more {
		padding: 8px 12px;
		font-size: 12px;
		border-width: 1.5px;
	}
	.kcp-teachers-grid {
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
	}
	.kcp-teachers-grid::-webkit-scrollbar { display: none; }
	.kcp-teachers-grid .kcp-teacher-card {
		flex: 0 0 calc((100% - 14px) / 1.5);
		min-width: calc((100% - 14px) / 1.5);
		scroll-snap-align: start;
	}
	.kcp-teachers-grid .kcp-teacher-card img {
		height: 190px;
	}
	.kcp-books-banner {
		padding: 18px 14px;
		gap: 14px;
		border-radius: 18px;
	}
	.kcp-books-side-head {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 10px;
		margin-bottom: 12px;
	}
	.kcp-books-side-art {
		font-size: 28px;
	}
	.kcp-books-side-art img {
		max-height: 44px;
	}
	.kcp-books-side h3 {
		font-size: 16px;
		line-height: 1.5;
	}
	.kcp-books-shop-btn {
		padding: 10px 20px;
		font-size: 13px;
	}
	.kcp-books-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.kcp-book-image img {
		height: 130px;
	}
	.kcp-articles-grid-wrap {
		gap: 14px;
	}
	.kcp-articles-banner {
		padding: 16px 14px;
		gap: 12px;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		text-align: right;
	}
	.kcp-articles-banner-head {
		flex-direction: row;
		align-items: center;
		gap: 10px;
		flex: 1 1 auto;
	}
	.kcp-articles-art {
		font-size: 28px;
	}
	.kcp-articles-art img {
		max-height: 44px;
	}
	.kcp-articles-banner h3 {
		font-size: 16px;
	}
	.kcp-articles-more {
		padding: 8px 16px;
		font-size: 12px;
		flex: 0 0 auto;
	}
	.kcp-article-thumb {
		min-height: 120px;
		padding: 8px;
	}
	.kcp-article-thumb img {
		max-height: 160px;
	}
	.kcp-carousel-btn { width: 34px; height: 34px; font-size: 20px; }
	.kcp-courses-grid { grid-template-columns: 1fr; }
	.kcp-form-row { grid-template-columns: 1fr; }
	.kcp-quicklinks { grid-template-columns: 1fr; }
	.kcp-reg-package-body { grid-template-columns: 1fr; padding: 8px 10px 6px; gap: 8px; }
	.kcp-reg-package-title { padding: 6px 10px 0; font-size: 13px; }
	.kcp-reg-package-side {
		flex-direction: row;
		align-items: flex-start;
		justify-content: flex-start;
		text-align: right;
		gap: 8px;
	}
	.kcp-reg-package-icon {
		width: 40px;
		max-width: 40px;
		height: auto;
		flex-shrink: 0;
	}
	.kcp-reg-package-features {
		flex: 1 1 auto;
		width: 100%;
		text-align: right;
		padding: 0 4px;
		box-sizing: border-box;
	}
	.kcp-reg-package-features li {
		font-size: 11.5px;
		line-height: 1.45;
		padding: 1px 12px 1px 0;
		word-break: break-word;
	}
	.kcp-reg-package-bottom {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding: 0 10px 8px;
	}
	.kcp-reg-package-info { padding: 0; font-size: 11px; line-height: 1.45; }
	.kcp-reg-package-actions { padding: 0; }
	.kcp-reg-package-cta { width: 100%; text-align: center; box-sizing: border-box; white-space: normal; padding: 11px 16px; }
	.kcp-reg-fees-cta-wrap .kcp-reg-package-cta { min-width: 0; width: 100%; }
	.kcp-reg-price-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.kcp-reg-price-cols { column-gap: 4px; }
	.kcp-reg-price-group-head { font-size: 10px; padding: 5px 4px; }
	.kcp-reg-price-col-label { max-width: none; font-size: 9px; min-height: 20px; }
	.kcp-reg-price-col strong { font-size: 16px; }
	.kcp-reg-price-col em { font-size: 9px; }
	.kcp-reg-fees-panel.is-active { gap: 10px; padding-top: 10px; }
	.kcp-reg-packages-stack { gap: 10px; }
	.kcp-reg-fees-tab { font-size: 13px; padding: 10px; }
	.kcp-gift-banner {
		flex-direction: column;
		direction: rtl;
		padding: 28px 20px;
	}
	.kcp-gift-body { text-align: center; }
	.kcp-gift-body h3 { font-size: 18px; -webkit-text-stroke-width: 1.8px; }
	.kcp-gift-art { width: 100%; max-width: 220px; order: -1; }
	.kcp-exams-grid { grid-template-columns: 1fr; }
	.kcp-exams-badge { font-size: 13px; padding: 11px 22px; }
	.kcp-exams-intro { flex-direction: column; }
	.kcp-exams-image { flex: none; width: 100%; }
	.kcp-exams-picker select,
	.kcp-exams-picker .select2-container { width: 100% !important; }
	.kcp-articles-grid { grid-template-columns: 1fr; }
	.kcp-why-grid { grid-template-columns: 1fr; gap: 14px; }
	.kcp-why-item { padding: 16px 18px; text-align: right; }
	.kcp-why-item h3 { font-size: 16px; text-align: right; }
	.kcp-why-item p { font-size: 13.5px; text-align: right; }
	.kcp-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.kcp-stat-num { font-size: 32px; }

	/* تب‌ها: یک ردیف با اسکرول افقی (کاروسل) */
	.kcp-tabs-header {
		flex-wrap: nowrap;
		gap: 10px;
	}
	.kcp-tabs-header .kcp-btn-view-all { padding: 10px 14px; font-size: 12px; }
	.kcp-tab-btn { padding: 10px 16px; font-size: 12.5px; }
	.kcp-course-tab { min-width: 118px; padding: 10px 12px; font-size: 11.5px; }

	.kcp-contact-card { padding: 18px 14px; }
	.kcp-contact-list li {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		line-height: 1.65;
	}
	.kcp-contact-list li strong,
	.kcp-contact-list li a { flex: none; width: 100%; }
	.kcp-contact-maps {
		flex-direction: column;
		gap: 8px;
	}
	.kcp-contact-maps .kcp-btn {
		display: block;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
	.kcp-social { padding: 11px 14px; font-size: 14px; }
}

/* ============ صفحه آرشیو نمایندگی ============ */

.kcp-archive-page .kcp-archive-hero {
	padding-top: 28px;
	padding-bottom: 8px;
}

.kcp-archive-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--kcp-text-light);
	margin-bottom: 12px;
}

.kcp-archive-breadcrumb a {
	color: var(--kcp-purple);
	text-decoration: none;
}

.kcp-archive-intro {
	margin: 0 0 8px;
	color: var(--kcp-text-light);
	font-size: 14px;
}

.kcp-archive-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 28px;
	align-items: start;
	padding-bottom: 48px;
}

.kcp-archive-sidebar {
	position: sticky;
	top: 90px;
	background: var(--kcp-card-bg);
	border-radius: var(--kcp-radius);
	box-shadow: var(--kcp-shadow);
	padding: 16px;
	border: 1px solid rgba(124, 42, 232, 0.08);
}

.kcp-archive-sidebar-toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e8e4f5;
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: var(--kcp-purple-dark);
	cursor: pointer;
	margin-bottom: 12px;
}

#kcp-archive-toggle-label {
	flex: 1;
	min-width: 0;
	text-align: right;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kcp-archive-toggle-icon {
	flex-shrink: 0;
}

.kcp-archive-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.kcp-archive-nav-item,
.kcp-archive-subnav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 11px 14px;
	border: none;
	border-radius: 10px;
	background: transparent;
	font-family: inherit;
	font-size: 13.5px;
	color: var(--kcp-text);
	text-align: right;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.kcp-archive-nav-item:hover,
.kcp-archive-subnav-item:hover {
	background: rgba(124, 42, 232, 0.06);
}

.kcp-archive-nav-item.is-active {
	background: linear-gradient(135deg, var(--kcp-purple) 0%, var(--kcp-purple-light) 100%);
	color: #fff;
	font-weight: 700;
}

.kcp-archive-subnav {
	display: none;
	flex-direction: column;
	gap: 2px;
	padding: 4px 0 8px 12px;
	border-right: 2px solid rgba(124, 42, 232, 0.15);
	margin-right: 14px;
	margin-bottom: 4px;
}

.kcp-archive-subnav.is-open {
	display: flex;
}

.kcp-archive-subnav-item {
	font-size: 12.5px;
	padding: 8px 12px;
	color: var(--kcp-text-light);
}

.kcp-archive-subnav-item.is-active {
	background: rgba(124, 42, 232, 0.1);
	color: var(--kcp-purple-dark);
	font-weight: 700;
}

.kcp-archive-main {
	min-width: 0;
}

.kcp-archive-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding: 14px 16px;
	background: #faf9ff;
	border-radius: 12px;
	border: 1px solid #ece8f8;
}

.kcp-archive-search {
	width: min(100%, 320px);
	padding: 10px 14px;
	border: 1px solid #ddd8ee;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
}

.kcp-archive-sort-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--kcp-text-light);
}

.kcp-archive-sort {
	padding: 9px 12px;
	border: 1px solid #ddd8ee;
	border-radius: 10px;
	font-family: inherit;
	font-size: 13px;
	background: #fff;
	min-width: 150px;
}

.kcp-archive-results-meta {
	font-size: 13px;
	color: var(--kcp-text-light);
	margin-bottom: 14px;
}

.kcp-archive-panel {
	display: none;
}

.kcp-archive-panel.is-active {
	display: block;
}

.kcp-archive-panel-title {
	font-size: 20px;
	color: var(--kcp-purple-dark);
	margin: 0 0 18px;
}

.kcp-archive-card.is-filtered-out,
.kcp-archive-card.is-page-hidden {
	display: none !important;
}

.kcp-archive-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	align-items: center;
	margin: 20px 0 8px;
	padding: 12px 0 4px;
}

.kcp-archive-pagination[hidden] {
	display: none !important;
}

.kcp-archive-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #e5e0f5;
	border-radius: 10px;
	background: #fff;
	color: var(--kcp-text);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.kcp-archive-page-btn:hover:not(:disabled) {
	border-color: #c4b5fd;
	color: var(--kcp-purple-dark);
	background: #faf5ff;
}

.kcp-archive-page-btn.is-active {
	background: linear-gradient(135deg, var(--kcp-purple) 0%, var(--kcp-purple-light) 100%);
	border-color: transparent;
	color: #fff;
}

.kcp-archive-page-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.kcp-archive-page-ellipsis {
	color: #9ca3af;
	padding: 0 4px;
	font-weight: 700;
}

.kcp-archive-no-results {
	text-align: center;
	padding: 32px;
	color: var(--kcp-text-light);
	font-size: 15px;
}

.kcp-archive-no-results.is-hidden {
	display: none;
}

.kcp-archive-books-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.kcp-archive-exams-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.kcp-exam-meta {
	display: block;
	font-size: 12px;
	color: var(--kcp-text-light);
	margin-top: 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 900px) {
	.kcp-archive-page {
		overflow-x: hidden;
	}

	.kcp-archive-layout {
		grid-template-columns: 1fr;
		gap: 16px;
		padding-bottom: 32px;
	}

	.kcp-archive-sidebar {
		position: static;
	}

	.kcp-archive-sidebar-toggle {
		display: flex;
	}

	.kcp-archive-nav {
		display: none;
	}

	.kcp-archive-sidebar.is-open .kcp-archive-nav {
		display: flex;
	}

	.kcp-archive-page .kcp-courses-grid,
	.kcp-archive-page .kcp-teachers-grid,
	.kcp-archive-page .kcp-articles-grid,
	.kcp-archive-page .kcp-students-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}

@media (max-width: 640px) {
	.kcp-archive-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.kcp-archive-search {
		width: 100%;
	}

	.kcp-archive-sort-wrap {
		flex-direction: column;
		align-items: stretch;
	}

	.kcp-archive-sort {
		width: 100%;
	}

	.kcp-archive-books-grid,
	.kcp-archive-exams-grid,
	.kcp-archive-page .kcp-courses-grid,
	.kcp-archive-page .kcp-teachers-grid,
	.kcp-archive-page .kcp-articles-grid,
	.kcp-archive-page .kcp-students-grid {
		grid-template-columns: 1fr;
	}

	.kcp-archive-panel-title {
		font-size: 17px;
	}
}

@media (max-width: 480px) {
	.kcp-archive-books-grid,
	.kcp-archive-exams-grid {
		grid-template-columns: 1fr;
	}
}

/* ============ اسلایدشو بنر هیرو ============ */

.kcp-hero-slider {
	position: relative;
}

.kcp-hero-slider-track {
	position: relative;
}

.kcp-hero-slide {
	display: none;
}

.kcp-hero-slide.is-active {
	display: block;
}

.kcp-hero-slider-prev,
.kcp-hero-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--kcp-purple-dark);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--kcp-shadow);
	z-index: 2;
}

.kcp-hero-slider-prev { right: 12px; }
.kcp-hero-slider-next { left: 12px; }

.kcp-hero-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.kcp-hero-slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: #d8c4f7;
	cursor: pointer;
	padding: 0;
}

.kcp-hero-slider-dot.is-active {
	background: var(--kcp-purple);
}

/* ============ کاروسل مدیران ============ */

.kcp-managers-carousel {
	position: relative;
}

.kcp-managers-track {
	overflow: hidden;
}

.kcp-managers-grid {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 0;
}

.kcp-managers-grid::-webkit-scrollbar { display: none; }

.kcp-manager-card {
	flex: 0 0 calc(25% - 15px);
	min-width: 220px;
	scroll-snap-align: start;
}

.kcp-managers-prev,
.kcp-managers-next {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: var(--kcp-purple-dark);
	font-size: 26px;
	box-shadow: var(--kcp-shadow);
	cursor: pointer;
	z-index: 2;
}

.kcp-managers-prev { right: -12px; }
.kcp-managers-next { left: -12px; }

.kcp-course-discount-badge {
	display: inline-block;
	background: #fee2e2;
	color: #dc2626;
	font-size: 12px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 6px;
}

/* ============ صفحه جزئیات دوره ============ */

.kcp-course-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	color: var(--kcp-text-light);
	font-size: 13px;
	margin-bottom: 20px;
}

.kcp-course-breadcrumb a {
	color: var(--kcp-purple);
	text-decoration: none;
}

.kcp-course-detail-grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 28px;
	margin-bottom: 28px;
}

.kcp-course-detail-media img,
.kcp-course-detail-placeholder {
	display: block;
	width: 100%;
	border-radius: var(--kcp-radius);
	box-shadow: var(--kcp-shadow);
}

.kcp-course-detail-placeholder {
	height: 280px;
	display: grid;
	place-items: center;
	font-size: 64px;
	background: #f5f0ff;
}

.kcp-course-detail-title {
	color: var(--kcp-purple-dark);
	font-size: 28px;
	font-weight: 900;
	margin: 0 0 12px;
}

.kcp-course-detail-teacher {
	color: var(--kcp-text-light);
	margin-bottom: 14px;
}

.kcp-course-detail-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.kcp-course-detail-specs {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 14px;
}

.kcp-course-detail-specs div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: #faf8ff;
	border-radius: 10px;
}

.kcp-course-detail-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.kcp-course-detail-discount {
	background: #fee2e2;
	color: #dc2626;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
}

.kcp-course-detail-old {
	color: var(--kcp-text-light);
	text-decoration: line-through;
}

.kcp-course-detail-new {
	color: var(--kcp-purple-dark);
	font-size: 24px;
	font-weight: 900;
}

.kcp-course-cash-banner {
	margin: 24px 0;
	border-radius: var(--kcp-radius);
	overflow: hidden;
}

.kcp-course-cash-banner a {
	display: block;
}

.kcp-course-cash-banner img {
	display: block;
	width: 100%;
	height: auto;
}

.kcp-course-detail-sections {
	display: grid;
	gap: 24px;
}

.kcp-course-detail-tabs {
	margin-top: 28px;
	background: #fff;
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	padding: 20px 22px 24px;
	box-shadow: var(--kcp-shadow);
}

.kcp-course-detail-tabs .kcp-tabs-nav {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	padding: 6px;
	background: #f4f0ff;
	border-radius: 14px;
	border-bottom: none;
}

.kcp-course-detail-tabs .kcp-tab-btn {
	border: none;
	border-radius: 10px;
	padding: 12px 24px;
	background: transparent;
	color: var(--kcp-text-light);
	box-shadow: none;
}

.kcp-course-detail-tabs .kcp-tab-btn.is-active {
	background: linear-gradient(90deg, #7c2ae8 0%, #a855f7 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(124, 42, 232, 0.22);
}

.kcp-course-detail-tabs .kcp-tab-panel {
	padding-top: 4px;
}

.kcp-course-detail-block {
	background: #fff;
	border: 1px solid #ececf6;
	border-radius: var(--kcp-radius);
	padding: 22px;
	box-shadow: var(--kcp-shadow);
}

.kcp-course-detail-block h2 {
	margin: 0 0 14px;
	color: var(--kcp-purple-dark);
	font-size: 20px;
}

.kcp-course-rich-content {
	line-height: 2;
	font-size: 14px;
}

/* مودال ثبت نام دوره */

.kcp-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(24, 16, 48, 0.55);
}

.kcp-modal.is-open {
	display: flex;
}

.kcp-modal-card {
	width: min(520px, 100%);
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	padding: 22px 22px 26px;
}

.kcp-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.kcp-modal-head h3 {
	margin: 0;
	color: var(--kcp-purple-dark);
	font-size: 18px;
	font-weight: 900;
}

.kcp-modal-close {
	border: none;
	background: #f3f0ff;
	color: var(--kcp-purple-dark);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.kcp-course-register-form .kcp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 12px;
}

.kcp-course-register-form .kcp-field select,
.kcp-course-register-form .kcp-field input {
	width: 100%;
	border: 1px solid #ddd6f5;
	border-radius: 10px;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 14px;
}

.kcp-course-register-form .kcp-field > span {
	font-size: 13px;
	font-weight: 700;
	color: var(--kcp-purple-dark);
	margin-bottom: 6px;
}

@media (max-width: 900px) {
	.kcp-course-detail-grid { grid-template-columns: 1fr; }
	.kcp-manager-card { flex-basis: calc(50% - 10px); min-width: 180px; }
}

@media (max-width: 640px) {
	.kcp-manager-card { flex-basis: 85%; min-width: 0; }
}

/* ============ آموزشگاه‌های هماهنگ ============ */

.kcp-section-schools {
	background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
	padding: 48px 0 36px;
	margin-top: 8px;
}

.kcp-section-schools .kcp-title {
	margin-bottom: 18px;
}

.kcp-schools-tabs .kcp-tabs-header {
	margin-bottom: 14px;
}

.kcp-schools-tabs .kcp-tabs-nav {
	border-bottom: none;
	margin-bottom: 0;
	gap: 8px;
}

.kcp-schools-tabs .kcp-tab-btn {
	border: 1px solid #e3c8f7;
	border-radius: 12px;
	border-bottom: 1px solid #e3c8f7;
	background: #fdfaff;
	color: var(--kcp-purple);
	padding: 10px 16px;
	font-size: 12.5px;
	line-height: 1.6;
}

.kcp-schools-tabs .kcp-tab-btn.is-active {
	background: linear-gradient(90deg, #7c2ae8 0%, #a855f7 100%);
	color: #fff;
	border-color: transparent;
}

.kcp-schools-tabs .kcp-btn-view-all {
	padding: 10px 18px;
	font-size: 12.5px;
	border-radius: 12px;
}

.kcp-schools-banner {
	display: flex;
	align-items: center;
	gap: 20px;
	background: linear-gradient(135deg, #f3eeff 0%, #eef5ff 55%, #fdf4ff 100%);
	border: 1px solid rgba(124, 58, 237, 0.12);
	border-radius: 18px;
	padding: 16px 20px;
	box-shadow: 0 8px 24px rgba(124, 58, 237, 0.06);
}

.kcp-schools-info {
	flex: 0 0 210px;
	text-align: center;
}

.kcp-schools-name {
	font-size: 17px;
	font-weight: 900;
	color: var(--kcp-purple-dark);
	margin: 0 0 6px;
	line-height: 1.6;
}

.kcp-schools-subtitle {
	font-size: 13px;
	font-weight: 700;
	color: #6b7280;
	margin: 0 0 12px;
}

.kcp-schools-contact-btn {
	min-width: 150px;
	padding: 10px 18px !important;
	font-size: 13px !important;
}

.kcp-schools-carousel {
	position: relative;
	flex: 1;
	min-width: 0;
}

.kcp-schools-track {
	overflow: hidden;
}

.kcp-schools-grid {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 2px 0;
	justify-content: flex-start;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.kcp-schools-grid::-webkit-scrollbar { display: none; }

.kcp-school-staff-card {
	flex: 0 0 170px;
	min-width: 170px;
	max-width: 170px;
	scroll-snap-align: start;
}

.kcp-schools-grid .kcp-teacher-card img {
	height: 175px;
}

.kcp-schools-grid .kcp-teacher-info {
	padding: 8px 10px;
}

.kcp-schools-grid .kcp-teacher-info strong {
	font-size: 13px;
	margin-bottom: 2px;
}

.kcp-schools-grid .kcp-teacher-info span {
	font-size: 11.5px;
}

.kcp-school-staff-placeholder {
	width: 100%;
	height: 175px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 14px;
}

.kcp-schools-prev,
.kcp-schools-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 34px;
	height: 34px;
	font-size: 18px;
}

.kcp-schools-prev { right: -8px; }
.kcp-schools-next { left: -8px; }

.kcp-schools-empty {
	margin: 0;
	text-align: center;
	padding: 12px;
	font-size: 13px;
}

.kcp-schools-all-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.kcp-schools-all-card {
	background: #fff;
	border: 1px solid rgba(124, 58, 237, 0.1);
	border-radius: 14px;
	padding: 14px 16px;
	text-align: center;
	box-shadow: 0 6px 18px rgba(124, 58, 237, 0.05);
}

.kcp-schools-all-card h4 {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 800;
	color: var(--kcp-purple-dark);
}

.kcp-schools-all-card p {
	margin: 0 0 10px;
	font-size: 12px;
	color: #6b7280;
}

.kcp-school-contact-card {
	max-width: 720px;
	width: calc(100% - 32px);
}

.kcp-school-contact-body {
	display: grid;
	gap: 16px;
}

.kcp-school-contact-block {
	background: linear-gradient(135deg, #faf8ff 0%, #f5f3ff 100%);
	border: 1px solid rgba(124, 58, 237, 0.12);
	border-radius: 16px;
	padding: 18px 20px;
}

.kcp-school-contact-block h4 {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 800;
	color: var(--kcp-purple-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.kcp-school-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kcp-school-contact-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	padding: 8px 0;
	border-bottom: 1px dashed rgba(124, 58, 237, 0.12);
	font-size: 14px;
}

.kcp-school-contact-list li:last-child { border-bottom: none; }

.kcp-school-contact-list span {
	color: #6b7280;
	font-weight: 600;
}

.kcp-school-contact-list strong,
.kcp-school-contact-list a {
	color: var(--kcp-text);
	font-weight: 800;
}

.kcp-school-contact-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.kcp-school-contact-socials a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid rgba(124, 58, 237, 0.15);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--kcp-purple) !important;
	text-decoration: none !important;
}

@media (max-width: 1024px) {
	.kcp-schools-banner { flex-direction: column; align-items: stretch; }
	.kcp-schools-info { flex: none; }
	.kcp-school-staff-card { flex-basis: 160px; min-width: 160px; max-width: 160px; }
	.kcp-schools-all-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.kcp-school-staff-card { flex-basis: 145px; min-width: 145px; max-width: 145px; }
	.kcp-schools-grid .kcp-teacher-card img { height: 150px; }
	.kcp-school-staff-placeholder { height: 150px; }
	.kcp-schools-all-grid { grid-template-columns: 1fr; }
	.kcp-schools-banner { padding: 14px 12px; }
}

/* ============ گالری تصاویر ============ */
.kcp-section-gallery {
	background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
}

.kcp-gallery-tabs .kcp-tabs-nav {
	flex-wrap: wrap;
	gap: 8px;
}

.kcp-gallery-carousel {
	position: relative;
	padding: 0 8px;
}

.kcp-gallery-track {
	overflow: hidden;
}

.kcp-gallery-grid {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 0;
}

.kcp-gallery-grid::-webkit-scrollbar { display: none; }

.kcp-gallery-item {
	flex: 0 0 calc(25% - 12px);
	min-width: 240px;
	scroll-snap-align: start;
	margin: 0;
	background: #fff;
	border: 1px solid rgba(124, 58, 237, 0.1);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(124, 58, 237, 0.06);
}

.kcp-gallery-item img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.kcp-gallery-item figcaption {
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.7;
	color: #4b5563;
	text-align: center;
}

.kcp-gallery-prev,
.kcp-gallery-next {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: var(--kcp-purple-dark);
	font-size: 26px;
	box-shadow: var(--kcp-shadow);
	cursor: pointer;
	z-index: 2;
}

.kcp-gallery-prev { right: -12px; }
.kcp-gallery-next { left: -12px; }

@media (max-width: 1024px) {
	.kcp-gallery-item { flex-basis: calc(33.333% - 11px); min-width: 220px; }
}

@media (max-width: 768px) {
	.kcp-gallery-item { flex-basis: calc(50% - 8px); min-width: 200px; }
}

@media (max-width: 480px) {
	.kcp-gallery-item { flex-basis: 85%; min-width: 0; }
	.kcp-gallery-item img { height: 200px; }
	.kcp-gallery-prev { right: -4px; }
	.kcp-gallery-next { left: -4px; }
}

/* ============ فوتر اختصاصی نمایندگی ============ */

.kah-site-footer {
	--kah-footer-bg: #f4f5f6;
	--kah-footer-bg-soft: #eceeef;
	--kah-footer-border: #e2e4e6;
	--kah-footer-text: #5c6166;
	--kah-footer-muted: #8a9096;
	--kah-footer-heading: #3d4248;
	--kah-footer-link: #5c6166;
	--kah-footer-link-hover: #2f343a;
	margin-top: 48px;
	background:
		linear-gradient(180deg, #f7f8f9 0%, var(--kah-footer-bg) 40%, var(--kah-footer-bg-soft) 100%);
	border-top: 1px solid var(--kah-footer-border);
	color: var(--kah-footer-text);
	font-family: var(--kah-font-stack);
}

.kah-footer-main {
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) minmax(0, 2fr) minmax(160px, 0.9fr);
	gap: 40px 32px;
	padding: 48px 20px 36px;
	align-items: start;
}

.kah-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.kah-footer-logo {
	display: inline-flex;
	align-items: center;
	max-width: 180px;
}

.kah-footer-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 64px;
	object-fit: contain;
}

.kah-footer-about {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--kah-footer-text);
	max-width: 280px;
}

.kah-footer-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
}

.kah-footer-col-title {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	color: var(--kah-footer-heading);
	letter-spacing: -0.01em;
}

.kah-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kah-footer-menu a {
	display: inline-block;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--kah-footer-link);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.kah-footer-menu a:hover,
.kah-footer-menu a:focus-visible {
	color: var(--kah-footer-link-hover);
	transform: translateX(-2px);
}

.kah-footer-trust {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: stretch;
}

.kah-footer-enamad,
.kah-footer-licenses {
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--kah-footer-border);
	border-radius: 12px;
	padding: 14px;
}

.kah-footer-enamad {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

.kah-footer-enamad .kah-footer-trust-body {
	min-height: 0;
	justify-content: center;
}

.kah-footer-trust-label {
	display: block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--kah-footer-muted);
}

.kah-footer-trust-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
}

.kah-footer-trust-body img,
.kah-footer-trust-body iframe {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 90px;
}

.kah-footer-trust-body a {
	display: inline-flex;
}

.kah-footer-bottom {
	border-top: 1px solid var(--kah-footer-border);
	background: rgba(255, 255, 255, 0.35);
	padding: 14px 0;
}

.kah-footer-bottom p {
	margin: 0;
	text-align: center;
	font-size: 12.5px;
	color: var(--kah-footer-muted);
	line-height: 1.7;
}

@media (max-width: 1024px) {
	.kah-footer-main {
		grid-template-columns: 1fr 1.4fr;
		gap: 32px 24px;
	}

	.kah-footer-trust {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.kah-footer-enamad,
	.kah-footer-licenses {
		flex: 1 1 220px;
	}

	.kah-footer-enamad {
		flex: 0 0 auto;
	}
}

@media (max-width: 768px) {
	.kah-site-footer {
		margin-top: 32px;
	}

	.kah-footer-main {
		grid-template-columns: 1fr;
		padding: 36px 16px 28px;
		gap: 28px;
	}

	.kah-footer-brand {
		text-align: center;
		align-items: center;
	}

	.kah-footer-about {
		max-width: 420px;
	}

	.kah-footer-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px 12px;
		text-align: center;
	}

	.kah-footer-menu {
		align-items: center;
	}

	.kah-footer-menu a:hover,
	.kah-footer-menu a:focus-visible {
		transform: none;
	}

	.kah-footer-trust {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.kah-footer-columns {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.kah-footer-col {
		padding-bottom: 18px;
		border-bottom: 1px solid var(--kah-footer-border);
	}

	.kah-footer-col:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.kah-footer-logo img {
		max-height: 56px;
	}

	.kah-footer-bottom {
		padding: 12px 0;
	}

	.kah-footer-bottom p {
		font-size: 12px;
		padding: 0 12px;
	}
}
