/* =========================================================
   Kitaphana — негізгі стильдер
   Түстер мен қаріптер theme.json-да (--wp--preset--*).
   ========================================================= */

:root {
	--kt-primary: var(--wp--preset--color--primary, #0E5E5A);
	--kt-primary-dark: var(--wp--preset--color--primary-dark, #0B2F31);
	--kt-accent: var(--wp--preset--color--accent, #E2A33B);
	--kt-ink: var(--wp--preset--color--ink, #10282B);
	--kt-muted: var(--wp--preset--color--muted, #4A6366);
	--kt-line: var(--wp--preset--color--line, #E1E8E6);
	--kt-ground: var(--wp--preset--color--ground, #F4F6F5);
	--kt-soft: var(--wp--preset--color--primary-soft, #E3F0EE);
	--kt-radius: 14px;
	--kt-wrap: 1240px;
	--kt-display: var(--wp--preset--font-family--display, Geologica, Inter, sans-serif);
}

body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.wp-block-navigation-item__content:focus-visible {
	outline: 3px solid var(--kt-accent);
	outline-offset: 2px;
}

.kt-icon { flex-shrink: 0; display: block; }

/* Flow-layout блок аралықтары flex контейнерлерді бұзбасын */
.kt-header__inner > *,
.kt-topbar__inner > *,
.kt-pagehead > * { margin-block: 0 !important; }

.kt-wrap {
	max-width: var(--kt-wrap);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.kt-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.kt-skip {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 1000;
	background: var(--kt-accent);
	color: var(--kt-ink);
	padding: 12px 16px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
}
.kt-skip:focus { top: 12px; }

/* ---------- Қолжетімділік жолағы ---------- */
.kt-topbar {
	background: var(--kt-primary-dark);
	color: #D7E6E4;
	font-size: 13px;
}
.kt-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	padding-bottom: 8px;
}
.kt-topbar__info,
.kt-topbar__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: center;
}
.kt-topbar__tools { gap: 8px; }
.kt-topbar__info span,
.kt-topbar__info a { display: flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.kt-tbtn {
	font: inherit;
	cursor: pointer;
	background: transparent;
	color: #D7E6E4;
	border: 1px solid #2E5759;
	border-radius: 8px;
	min-height: 32px;
	padding: 5px 10px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	text-decoration: none;
}
.kt-tbtn:hover { border-color: #5E9C97; color: #FFFFFF; }
.kt-tbtn[aria-pressed="true"],
.kt-tbtn.is-active { background: var(--kt-accent); border-color: var(--kt-accent); color: var(--kt-ink); font-weight: 600; }
.kt-tbtn--sq { width: 34px; justify-content: center; padding: 5px 0; }
.kt-topbar__sep { width: 1px; height: 20px; background: #2E5759; }
/* Тіл ауыстырғыш (ҚАЗ / РУС) — ықшам */
.kt-topbar__tools .kt-tbtn[lang] { min-height: 0; height: 26px; padding: 0 8px; font-size: 11px; line-height: 1; letter-spacing: .04em; border-radius: 6px; }

/* ---------- Header ---------- */
.kt-header {
	background: #FFFFFF;
	border-bottom: 1px solid var(--kt-line);
	position: relative;
	z-index: 50;
}
.kt-header__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	padding-bottom: 14px;
}
.kt-brand {
	display: flex;
	gap: 14px;
	align-items: center;
	text-decoration: none;
	color: var(--kt-ink);
}
.kt-brand__mark {
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--kt-primary);
	color: #F6E7C8;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.kt-brand__text { display: flex; flex-direction: column; gap: 2px; }
.kt-brand__name { font-family: var(--kt-display); font-weight: 600; font-size: 16px; line-height: 1.2; }
.kt-brand__sub { font-size: 13px; color: var(--kt-muted); }

.kt-nav.wp-block-navigation { font-size: 15px; font-weight: 500; gap: 22px; }
.kt-nav .wp-block-navigation-item__content {
	color: #1B3A3D;
	padding: 10px 2px !important;
	border-bottom: 2px solid transparent;
	text-decoration: none;
}
.kt-nav .wp-block-navigation-item__content:hover,
.kt-nav .current-menu-item > .wp-block-navigation-item__content,
.kt-nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--kt-primary);
	border-bottom-color: var(--kt-accent);
}
/* Мобильді мәзір (WordPress-тің ақ фонын басу үшін селектор күшейтілген) */
.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: radial-gradient(420px 320px at 100% 0%, rgba(226, 163, 59, .18), transparent 70%), linear-gradient(170deg, var(--kt-primary) 0%, var(--kt-primary-dark) 70%) !important;
	color: #FFFFFF !important;
	padding: 20px 24px 110px;
	animation: kt-menu-in .35s cubic-bezier(.2,.7,.2,1) both;
}
.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; padding-top: 56px; }
.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 4px !important; width: 100%; }
.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; animation: kt-in-up .45s cubic-bezier(.2,.7,.2,1) both; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .04s; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .08s; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .12s; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .16s; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .2s; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(7) { animation-delay: .24s; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item:nth-child(8) { animation-delay: .28s; }
.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #FFFFFF !important;
	font-family: var(--kt-display);
	font-size: 22px;
	font-weight: 600;
	padding: 14px 16px !important;
	border: 0;
	border-radius: 14px;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	transition: background .2s ease, padding .2s ease;
}
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item__content::after { content: "→"; font-family: var(--wp--preset--font-family--body); font-size: 18px; opacity: .45; transition: transform .2s ease, opacity .2s ease; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { background: rgba(255, 255, 255, .08); }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item__content:hover::after { transform: translateX(4px); opacity: 1; }
.wp-block-navigation.kt-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation-item__content[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #F2C26B !important; box-shadow: inset 4px 0 0 var(--kt-accent); }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: #FFFFFF; background: rgba(255, 255, 255, .1); top: 20px; right: 20px; }
.wp-block-navigation.kt-nav .is-menu-open .wp-block-navigation__responsive-container-close:hover { background: rgba(255, 255, 255, .2); }
@keyframes kt-menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open,
	.wp-block-navigation.kt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { animation: none; }
}
.kt-nav .wp-block-navigation__responsive-container-open,
.kt-nav .wp-block-navigation__responsive-container-close {
	width: 44px; height: 44px;
	border-radius: 12px;
	align-items: center; justify-content: center;
}
.kt-nav .wp-block-navigation__responsive-container-open { border: 1px solid var(--kt-line); }

/* Компьютерде мәзір header-дің екінші жолында */
@media (min-width: 600px) {
	.kt-header__inner { row-gap: 0; }
	nav.kt-nav.wp-block-navigation {
		order: 3;
		flex: 0 0 100%;
		justify-content: flex-start;
		column-gap: 28px;
		border-top: 1px solid var(--kt-line);
		margin-top: 14px !important;
		padding-top: 4px;
	}
	.kt-header__inner { padding-bottom: 4px; }
	nav.kt-nav .wp-block-navigation__container { justify-content: flex-start; column-gap: 28px; }
}

.kt-btn {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	box-sizing: border-box;
	transition: background .15s ease;
}
.kt-btn--primary { background: var(--kt-primary); color: #FFFFFF; }
.kt-btn--primary:hover { background: #0A4A47; color: #FFFFFF; }
.kt-btn--accent { background: var(--kt-accent); color: var(--kt-ink); }
.kt-btn--accent:hover { background: #D4922A; color: var(--kt-ink); }

/* ---------- Бет тақырыбы (hero жолағы) ---------- */
.kt-pagehead {
	background: var(--kt-primary);
	color: #FFFFFF;
}
.kt-pagehead .wp-block-post-title,
.kt-pagehead .wp-block-query-title,
.kt-pagehead h1 {
	color: #FFFFFF;
	font-family: var(--kt-display);
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 40px);
	margin: 0;
}
.kt-pagehead .kt-crumbs { font-size: 14px; color: #BFE0DC; }
.kt-pagehead .kt-crumbs a { color: #BFE0DC; }

.kt-content > * { max-width: 760px; }
.kt-content .alignwide { max-width: var(--kt-wrap); }
.kt-content .alignfull { max-width: none; }

/* ---------- Footer ---------- */
.kt-footer {
	background: var(--kt-primary-dark);
	color: #B9D3D0;
	font-size: 15px;
}
.kt-footer a { color: #B9D3D0; text-decoration: none; }
.kt-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.kt-footer__top {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
	padding-top: 56px;
	padding-bottom: 40px;
}
.kt-footer__about { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 14px; }
.kt-footer__name { font-family: var(--kt-display); color: #FFFFFF; font-weight: 600; font-size: 17px; line-height: 1.35; }
.kt-footer__col { display: flex; flex-direction: column; gap: 10px; }
.kt-footer__title { color: #FFFFFF; font-weight: 600; }
.kt-footer__sub { flex: 0 1 300px; display: flex; flex-direction: column; gap: 10px; }
.kt-footer__form { display: flex; gap: 8px; }
.kt-footer__form input {
	flex: 1; min-width: 0;
	border: 0; border-radius: 12px;
	padding: 0 14px; height: 48px;
	font: inherit; font-size: 15px;
}
.kt-social { display: flex; gap: 10px; }
.kt-social a {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: #164245;
	color: #FFFFFF;
	display: flex; align-items: center; justify-content: center;
}
.kt-social a:hover { background: var(--kt-primary); text-decoration: none; }
.kt-footer__bottom {
	border-top: 1px solid #1E4C4F;
	padding-top: 22px;
	padding-bottom: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	font-size: 13px;
}

/* ---------- Мобильді төменгі мәзір ---------- */
.kt-mnav { display: none; }

@media (max-width: 781px) {
	.kt-topbar__info { display: none; }
	.kt-topbar__inner { justify-content: flex-end; }
	.kt-topbar__tools { flex-wrap: nowrap; }
	.kt-tbtn__label {
		position: absolute; width: 1px; height: 1px;
		overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
	.kt-tbtn { min-height: 36px; }
	.kt-tbtn[data-kt-a11y] { width: 40px; justify-content: center; padding: 5px 0; }
	.kt-header__inner { padding-top: 10px; padding-bottom: 10px; }
	.kt-brand__mark { width: 40px; height: 40px; border-radius: 11px; }
	.kt-brand__mark svg { width: 22px; height: 22px; }
	.kt-brand__name { font-size: 13px; }
	.kt-brand__sub { font-size: 12px; }
	.kt-header__cta { display: none; }
	.kt-footer__top { padding-top: 40px; gap: 28px; }

	.kt-mnav {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 90;
		background: #FFFFFF;
		border-top: 1px solid var(--kt-line);
		padding: 6px 4px calc(10px + env(safe-area-inset-bottom));
	}
	.kt-mnav a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		padding: 6px 0;
		min-height: 44px;
		text-decoration: none;
		color: var(--kt-muted);
		font-size: 11px;
		font-weight: 500;
	}
	.kt-mnav a[aria-current="page"] { color: var(--kt-primary); font-weight: 700; }
	body { padding-bottom: 72px; }
}

@media (max-width: 599px) {
	.kt-header__inner { flex-wrap: nowrap; }
}

/* =========================================================
   Көзі нашар жандарға арналған режим
   ========================================================= */
html.kt-fs-1 body { zoom: 1.15; }
html.kt-fs-2 body { zoom: 1.3; }

html.kt-contrast body,
html.kt-contrast body *:not(svg):not(path):not(circle):not(rect) {
	background-color: #FFFFFF !important;
	background-image: none !important;
	color: #000000 !important;
	border-color: #000000 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
html.kt-contrast body a { text-decoration: underline !important; }
html.kt-contrast body img { filter: grayscale(1) contrast(1.1); }
html.kt-contrast .kt-topbar,
html.kt-contrast .kt-topbar *:not(svg):not(path):not(circle):not(rect) {
	background-color: #000000 !important;
	color: #FFFFFF !important;
	border-color: #FFFFFF !important;
}
html.kt-contrast .kt-tbtn[aria-pressed="true"],
html.kt-contrast .kt-tbtn.is-active {
	background-color: #FFFFFF !important;
	color: #000000 !important;
}
html.kt-contrast .kt-btn,
html.kt-contrast button,
html.kt-contrast input,
html.kt-contrast select,
html.kt-contrast textarea { border: 2px solid #000000 !important; }
html.kt-contrast :focus-visible { outline: 4px solid #000000 !important; outline-offset: 3px !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   2-кезең: кітап және іс-шара карточкалары
   ========================================================= */
.kt-crumbs { font-size: 14px; color: #BFE0DC; }
.kt-crumbs a { color: #BFE0DC; }
.kt-crumbs a:hover { color: #FFFFFF; }

.kt-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.kt-btn--ghost { background: #FFFFFF; color: var(--kt-ink); border: 1.5px solid #C9D6D3; }
.kt-btn--ghost:hover { border-color: var(--kt-primary); color: var(--kt-primary); }
.kt-btn[disabled] { opacity: .55; cursor: not-allowed; }

.kt-badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.kt-badge--ok { color: #1F6B45; background: #E1F2E8; }
.kt-badge--wait { color: #8A5A10; background: #FBEFD9; }

.kt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kt-tag { font-size: 12px; font-weight: 600; color: var(--kt-primary); background: var(--kt-soft); padding: 4px 10px; border-radius: 999px; }

.kt-note { font-size: 14px; color: var(--kt-muted); margin: 0; }
.kt-note--light { color: #D4EBE8; }

/* Мұқаба */
.kt-cover { display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #D9E6E3; }
.kt-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kt-cover--color {
	background: var(--kt-cover);
	color: var(--kt-cover-ink);
	padding: 16px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: inset 6px 0 0 rgba(0, 0, 0, .18);
}
.kt-cover__author { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.kt-cover__title { font-family: var(--kt-display); font-weight: 600; font-size: 17px; line-height: 1.25; }
.kt-cover--lg .kt-cover__title { font-size: 26px; }
.kt-cover--lg .kt-cover__author { font-size: 13px; }

/* Каталог торы */
.kt-books-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
}
.kt-books-grid > li { margin: 0 !important; }
.kt-book {
	height: 100%;
	box-sizing: border-box;
	background: #FFFFFF;
	border: 1px solid var(--kt-line);
	border-radius: 18px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.kt-book:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(14, 60, 58, .12); }
.kt-book__coverlink { display: block; text-decoration: none; }
.kt-book__body { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; flex: 1; }
.kt-book__title { margin: 0; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.35; }
.kt-book__title a { color: var(--kt-ink); text-decoration: none; }
.kt-book__title a:hover { color: var(--kt-primary); text-decoration: underline; }
.kt-book__author { font-size: 14px; color: var(--kt-muted); }
.kt-book__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; flex-wrap: wrap; }

/* Кітаптың жеке беті */
.kt-bookd { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.kt-bookd__cover { flex: 0 1 300px; }
.kt-bookd__info { flex: 999 1 420px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.kt-bookd__author { margin: 0; font-size: 20px; font-weight: 600; }
.kt-dl { margin: 0; width: 100%; max-width: 560px; display: grid; gap: 0; border-top: 1px solid var(--kt-line); }
.kt-dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--kt-line); }
.kt-dl dt { color: var(--kt-muted); font-size: 15px; }
.kt-dl dd { margin: 0; font-weight: 500; }
.kt-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Іс-шаралар тізімі */
.kt-events-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.kt-events-list > li { margin: 0 !important; }
.kt-event {
	background: #FFFFFF;
	border: 1px solid var(--kt-line);
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}
.kt-event__date {
	flex: 0 0 72px;
	height: 80px;
	border-radius: 14px;
	background: var(--kt-sanat-bg);
	color: var(--kt-ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.kt-event__day { font-family: var(--kt-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.kt-event__mon { font-size: 12px; text-transform: uppercase; }
.kt-event__body { flex: 999 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-event__tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--kt-ink); background: var(--kt-sanat-bg); }
.kt-event__title { margin: 0; font-family: inherit; font-size: 19px; font-weight: 600; line-height: 1.35; }
.kt-event__title a { color: var(--kt-ink); text-decoration: none; }
.kt-event__title a:hover { color: var(--kt-primary); text-decoration: underline; }
.kt-event__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--kt-muted); }
.kt-event__meta span { display: inline-flex; gap: 6px; align-items: center; }
.kt-event > .kt-btn { flex: 0 0 auto; min-height: 48px; padding: 0 20px; }

.kt-bar { height: 6px; border-radius: 99px; background: #E9EFED; overflow: hidden; max-width: 320px; width: 100%; }
.kt-bar span { display: block; height: 100%; border-radius: 99px; background: var(--kt-primary); }
.kt-bar.is-full span { background: #A2433A; }
.kt-bar--light { background: #0B4A47; max-width: none; }
.kt-bar--light span { background: var(--kt-accent); }

/* Іс-шараның жеке беті */
.kt-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.kt-split__main { flex: 999 1 520px; min-width: 0; }
.kt-eventd {
	flex: 1 1 320px;
	max-width: 420px;
	box-sizing: border-box;
	background: var(--kt-primary);
	color: #FFFFFF;
	border-radius: 24px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: stretch;
}
.kt-eventd__tag { align-self: flex-start; background: var(--kt-accent); color: var(--kt-ink); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.kt-dl--light { border-top-color: #2B7A75; max-width: none; }
.kt-dl--light > div { border-bottom-color: #2B7A75; grid-template-columns: 110px 1fr; }
.kt-dl--light dt { color: #BFE0DC; }
.kt-eventd .kt-btn { min-height: 52px; }

@media (max-width: 599px) {
	.kt-books-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.kt-book { padding: 10px; border-radius: 14px; }
	.kt-book__foot .kt-btn { width: 100%; }
	.kt-cover__title { font-size: 14px; }
	.kt-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.kt-event > .kt-btn { width: 100%; }
}

/* =========================================================
   3-кезең: басты бет
   ========================================================= */
.kt-home > * { margin-block: 0 !important; }
.kt-section { padding: 72px 0; }
.kt-section--tight { padding: 0 0 24px; }
.kt-section--ground { background: var(--kt-ground); }
.kt-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.kt-section__title { margin: 0; font-family: var(--kt-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--kt-ink); }
.kt-section__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--kt-primary); text-decoration: none; }
.kt-section__more:hover { text-decoration: underline; }
.kt-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kt-accent); }

/* Hero */
.kt-hero {
	background: radial-gradient(1200px 500px at 85% -10%, #1C7A74 0%, transparent 60%), linear-gradient(160deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%);
	color: #FFFFFF;
	padding: 64px 0 96px;
}
.kt-hero__inner { display: flex; flex-direction: column; gap: 32px; }
.kt-hero__text { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.kt-hero__eyebrow { font-size: 14px; font-weight: 600; color: var(--kt-accent); }
.kt-hero__title { margin: 0; font-family: var(--kt-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; color: #FFFFFF; }
.kt-hero__lead { margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: #D4EBE8; max-width: 620px; }

/* Іздеу формасы */
.kt-search {
	background: #FFFFFF;
	color: var(--kt-ink);
	border-radius: 20px;
	padding: 18px;
	box-shadow: 0 24px 60px rgba(5, 30, 30, .28);
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 920px;
}
.kt-search--inline { margin-top: 20px; box-shadow: none; }
.kt-search__tabs { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.kt-search__tab { position: relative; cursor: pointer; }
.kt-search__tab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kt-search__tab span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--kt-muted); }
.kt-search__tab:hover span { background: var(--kt-ground); }
.kt-search__tab input:checked + span { background: var(--kt-soft); color: var(--kt-primary); }
.kt-search__tab input:focus-visible + span { outline: 3px solid var(--kt-accent); outline-offset: 2px; }
.kt-search__row { display: flex; align-items: center; gap: 10px; border: 1.5px solid #C9D6D3; border-radius: 14px; padding: 6px 6px 6px 14px; }
.kt-search__row:focus-within { border-color: var(--kt-primary); }
.kt-search__icon { color: var(--kt-muted); }
.kt-search__input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 10px 0; background: transparent; color: var(--kt-ink); }
.kt-search__input:focus-visible { outline: 0; }
.kt-search__row .kt-btn { min-height: 48px; padding: 0 26px; }
.kt-search__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--kt-muted); }
.kt-search__popular a { color: var(--kt-primary); background: var(--kt-ground); padding: 5px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.kt-search__popular a:hover { background: var(--kt-soft); }

/* Жылдам қызметтер */
.kt-services { list-style: none; margin: -48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; position: relative; }
.kt-services > li { margin: 0 !important; }
.kt-service {
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	background: #FFFFFF;
	border: 1px solid var(--kt-line);
	border-radius: 18px;
	color: var(--kt-ink);
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(14, 60, 58, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}
.kt-service:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(14, 60, 58, .14); }
.kt-service__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--kt-soft); color: var(--kt-primary); display: grid; place-items: center; margin-bottom: 4px; }
.kt-service__title { font-weight: 700; font-size: 16px; }
.kt-service__text { font-size: 14px; line-height: 1.45; color: var(--kt-muted); }

/* Жаңа түсімдер — жанр чиптері */
.kt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.kt-chips[hidden] { display: none; }
.kt-chip { font: inherit; font-size: 14px; font-weight: 600; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #C9D6D3; background: #FFFFFF; color: var(--kt-ink); cursor: pointer; }
.kt-chip:hover { border-color: var(--kt-primary); }
.kt-chip[aria-pressed="true"] { background: var(--kt-primary); border-color: var(--kt-primary); color: #FFFFFF; }
.kt-newbooks__empty { padding: 24px 0; }

/* Кітапхана есімі */
.kt-about { background: var(--kt-ground); }
.kt-about__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.kt-about__inner > * { margin-block: 0 !important; }
.kt-about__portrait {
	flex: 0 1 340px;
	aspect-ratio: 4 / 5;
	border-radius: 24px;
	background: linear-gradient(160deg, #D9E6E3, #BFD5D1);
	color: var(--kt-primary);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
}
.kt-about__portrait--photo { margin: 0; padding: 0; display: block; background: #E4E4E2; }
.kt-about__portrait--photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s ease; }
.kt-about__portrait--photo:hover img { transform: scale(1.03); }
.kt-about__portrait--photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(11, 47, 49, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #FFFFFF; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-align: center; }
.kt-about__text { flex: 999 1 420px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.kt-about__text > * { margin-block: 0 !important; }
.kt-about__text p { font-size: 17px; line-height: 1.65; color: var(--kt-muted); max-width: 680px; }
.kt-about__text .kt-eyebrow { font-size: 13px; color: #8A5A0C; } /* 4.5:1-ден жоғары контраст */
.kt-stats { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.kt-stats li { background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 140px; }
.kt-stats strong { font-family: var(--kt-display); font-size: 24px; font-weight: 600; color: var(--kt-primary); }
.kt-stats span { font-size: 14px; color: var(--kt-muted); }

/* Екі бағанды секция */
.kt-twocol { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.kt-twocol__main { flex: 999 1 560px; min-width: 0; }
.kt-twocol__side { flex: 1 1 340px; min-width: 0; }
.kt-twocol__main > .kt-section__title { margin-bottom: 24px; }

/* Алдағы іс-шаралар */
.kt-upcoming { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.kt-upcoming > li { margin: 0 !important; }
.kt-upc { position: relative; display: flex; gap: 18px; align-items: center; background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 18px; padding: 16px; transition: box-shadow .2s ease; }
.kt-upc:hover { box-shadow: 0 12px 28px rgba(14, 60, 58, .1); }
.kt-upc__date { flex: 0 0 64px; height: 68px; border-radius: 14px; background: var(--kt-sanat); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.kt-upc__date span { font-family: var(--kt-display); font-size: 24px; font-weight: 600; line-height: 1.05; }
.kt-upc__date small { font-size: 12px; text-transform: uppercase; }
.kt-upc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kt-upc__meta { font-size: 13px; font-weight: 600; color: var(--kt-muted); }
.kt-upc__title { margin: 0; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.35; }
.kt-upc__title a { color: var(--kt-ink); text-decoration: none; }
.kt-upc__title a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.kt-upc__title a:focus-visible { outline: 0; }
.kt-upc:focus-within { outline: 3px solid var(--kt-accent); outline-offset: 2px; }
.kt-upc__link { font-size: 14px; font-weight: 600; color: var(--kt-primary); text-decoration: none; }

/* Электронды кітапхана */
.kt-elib {
	flex: 1 1 320px;
	box-sizing: border-box;
	align-self: stretch;
	border-radius: 24px;
	padding: 32px;
	background: linear-gradient(160deg, var(--kt-primary), var(--kt-primary-dark));
	color: #D4EBE8;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
	justify-content: flex-end;
	min-height: 320px;
}
.kt-elib__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: var(--kt-accent); display: grid; place-items: center; margin-bottom: auto; }
.kt-elib__title { margin: 0; font-family: var(--kt-display); font-weight: 600; font-size: 24px; color: #FFFFFF; }
.kt-elib p { margin: 0; line-height: 1.6; }

/* Жаңалықтар */
.kt-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.kt-news > li { margin: 0 !important; }
.kt-newsc { height: 100%; background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.kt-newsc__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.kt-newsc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kt-news__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--kt-primary); }
.kt-news__ph .kt-icon { width: 40px; height: 40px; opacity: .6; }
.kt-newsc__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.kt-newsc__body time { font-size: 13px; color: var(--kt-muted); }
.kt-newsc__title { margin: 0; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.35; }
.kt-newsc__title a { color: var(--kt-ink); text-decoration: none; }
.kt-newsc__title a:hover { color: var(--kt-primary); text-decoration: underline; }
.kt-newsc__body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--kt-muted); }

/* Сұрақ-жауап */
.kt-faq { display: flex; flex-direction: column; gap: 12px; }
.kt-faq__item { background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 16px; }
.kt-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 16px; }
.kt-faq__item summary::-webkit-details-marker { display: none; }
.kt-faq__icon { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--kt-soft); position: relative; }
.kt-faq__icon::before, .kt-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--kt-primary); transform: translate(-50%, -50%); transition: transform .2s ease; }
.kt-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.kt-faq__item[open] .kt-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.kt-faq__a { padding: 0 20px 18px; color: var(--kt-muted); font-size: 15px; line-height: 1.6; }
.kt-faq__a > :first-child { margin-top: 0; }
.kt-faq__a > :last-child { margin-bottom: 0; }

/* Формалар */
.kt-qform { background: var(--kt-ground); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.kt-qform > * { margin: 0; }
.kt-qform__title { font-family: var(--kt-display); font-weight: 600; font-size: 22px; }
.kt-qform__lead { font-size: 14px; color: var(--kt-muted); }
.kt-qform label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.kt-qform input[type="text"], .kt-qform input[type="email"], .kt-qform textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #C9D6D3; border-radius: 12px; background: #FFFFFF; color: var(--kt-ink);
}
.kt-qform input:focus, .kt-qform textarea:focus { border-color: var(--kt-primary); }
.kt-qform .kt-btn { align-self: flex-start; min-height: 48px; padding: 0 28px; }
.kt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kt-alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.kt-alert--ok { background: #E1F2E8; color: #1F6B45; }
.kt-alert--err { background: #F8E1DE; color: #8F2F25; }
.kt-footer__msg { margin: 0; font-size: 14px; color: #BFE8CF; }
.kt-footer__msg--err { color: #F6C1BA; }

/* Байланыс */
.kt-contacts { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.kt-contacts__info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 24px; }
.kt-contacts__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.kt-contacts__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--kt-primary); }
.kt-contacts__list span { display: flex; flex-direction: column; gap: 2px; color: var(--kt-ink); line-height: 1.5; }
.kt-contacts__list strong { font-size: 13px; color: var(--kt-muted); font-weight: 600; }
.kt-map { flex: 999 1 460px; min-height: 320px; border-radius: 24px; background: repeating-linear-gradient(45deg, #DCE7E4 0 12px, #E6EEEC 12px 24px); color: var(--kt-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }

/* Іздеу нәтижелері */
.kt-results-count { margin: 0; font-size: 16px; color: var(--kt-muted); }
.kt-results-count strong { color: var(--kt-ink); }
.kt-empty { background: var(--kt-ground); border-radius: 20px; padding: 32px; }
.kt-empty p { margin: 0 0 14px; }
.kt-empty p:last-child { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.kt-book--text { gap: 8px; }

@media (max-width: 781px) {
	.kt-section { padding: 48px 0; }
	.kt-section--tight { padding: 0 0 8px; }
	.kt-hero { padding: 40px 0 80px; }
	.kt-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: -56px; }
	.kt-service { padding: 16px; }
	.kt-service__text { display: none; }
	.kt-about__portrait { flex-basis: 100%; max-width: 280px; }
	.kt-elib { min-height: 0; padding: 24px; }
}
@media (max-width: 599px) {
	.kt-wrap { padding-left: 16px; padding-right: 16px; }
	.kt-search { padding: 12px; border-radius: 16px; }
	.kt-search__row { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
	.kt-search__row .kt-btn { flex: 1 0 100%; }
	.kt-search__tab span { padding: 0 10px; font-size: 13px; }
	.kt-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
	.kt-chip { flex: 0 0 auto; }
	.kt-upc { gap: 14px; padding: 12px; }
	.kt-upc__date { flex-basis: 56px; height: 60px; }
	.kt-qform { padding: 20px; }
	.kt-qform .kt-btn { align-self: stretch; }
	.kt-map { min-height: 220px; }
}
/* =========================================================
   4-кезең: каталог, сүзгілер, ұсыныстар, брондау
   ========================================================= */
.kt-pagehead__inner { padding-top: 40px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 10px; }
.kt-catalog { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 32px; padding-bottom: 80px; }
.kt-filters { flex: 1 1 260px; max-width: 300px; position: sticky; top: 16px; }
.kt-catalog__main { flex: 999 1 560px; min-width: 0; transition: opacity .15s ease; }
.kt-catalog__main[aria-busy="true"] { opacity: .5; }
.kt-filters__box { background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 18px; }
.kt-filters__head { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.kt-filters__head::-webkit-details-marker { display: none; }
.kt-filters__head::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--kt-muted); border-bottom: 2px solid var(--kt-muted); transform: rotate(45deg); transition: transform .2s ease; }
.kt-filters__box[open] .kt-filters__head::after { transform: rotate(-135deg); }
.kt-filters__body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 18px; }
.kt-filters__group { border: 0; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--kt-line); display: flex; flex-direction: column; gap: 6px; }
.kt-filters__group legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--kt-muted); }
.kt-check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: 15px; }
.kt-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--kt-primary); flex-shrink: 0; }
.kt-check span { flex: 1; }
.kt-check small { font-size: 12px; color: var(--kt-muted); background: var(--kt-ground); border-radius: 999px; padding: 2px 8px; }
.kt-filters__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kt-filters__actions [hidden] { display: none; }

.kt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.kt-toolbar__count { margin: 0; color: var(--kt-muted); }
.kt-toolbar__count strong { color: var(--kt-ink); }
.kt-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--kt-muted); }
.kt-toolbar__sort select { font: inherit; font-size: 14px; color: var(--kt-ink); min-height: 40px; padding: 0 12px; border: 1.5px solid #C9D6D3; border-radius: 10px; background: #FFFFFF; }
.kt-books-query .wp-block-query-pagination { margin-top: 32px; gap: 6px; }
.kt-books-query .wp-block-query-pagination a,
.kt-books-query .wp-block-query-pagination .current { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--kt-ink); border: 1px solid var(--kt-line); background: #FFFFFF; box-sizing: border-box; }
.kt-books-query .wp-block-query-pagination .current { background: var(--kt-primary); border-color: var(--kt-primary); color: #FFFFFF; }

/* Ұсыныстар */
.kt-suggest { position: relative; }
.kt-suggest__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px; background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(5, 30, 30, .18); text-align: left; }
.kt-suggest__list[hidden] { display: none; }
.kt-suggest__list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--kt-ink); }
.kt-suggest__list a span { font-weight: 600; }
.kt-suggest__list a small { font-size: 13px; color: var(--kt-muted); }
.kt-suggest__list li[aria-selected="true"] a,
.kt-suggest__list a:hover { background: var(--kt-soft); }

/* Брондау панелі */
.kt-bron { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; scroll-margin-top: 24px; }
.kt-bron > * { margin: 0; }
.kt-bron__state { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--kt-soft); }
.kt-bron__state strong { font-size: 16px; }
.kt-bron form { margin: 0; }
.kt-btn[disabled] { opacity: .5; cursor: not-allowed; }

@media (max-width: 781px) {
	.kt-catalog { gap: 20px; padding-top: 20px; }
	.kt-filters { position: static; max-width: none; flex-basis: 100%; }
	.kt-toolbar__sort { width: 100%; }
	.kt-toolbar__sort select { flex: 1; }
}
/* =========================================================
   5-кезең: іс-шараға тіркелу (қараңғы панель ішінде)
   ========================================================= */
.kt-tir { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.kt-tir > * { margin: 0; }
.kt-tir__form { display: flex; flex-direction: column; gap: 12px; }
.kt-tir__form > p { margin: 0; }
.kt-tir__form label { display: block; font-size: 14px; font-weight: 600; color: #D4EBE8; margin-bottom: 6px; }
.kt-tir__form input[type="text"], .kt-tir__form input[type="tel"], .kt-tir__form select {
	width: 100%; box-sizing: border-box; min-height: 48px; font: inherit; font-size: 16px; padding: 10px 14px;
	border: 1.5px solid #2B7A75; border-radius: 12px; background: #FFFFFF; color: var(--kt-ink);
}
.kt-tir__form input:focus, .kt-tir__form select:focus { border-color: var(--kt-accent); }
.kt-tir__form .kt-tir__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 0; cursor: pointer; }
.kt-tir__check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--kt-accent); flex-shrink: 0; }
.kt-tir__form .kt-btn { width: 100%; }
.kt-tir__state { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #D4EBE8; }
.kt-tir__state strong { color: #FFFFFF; font-size: 17px; }
.kt-tir form { margin: 0; }
.kt-tir .kt-btn--ghost { width: 100%; }
.kt-eventd .kt-alert--ok { background: #DDF3E6; color: #1F6B45; }
.kt-eventd .kt-alert--err { background: #F8E1DE; color: #8F2F25; }
html.kt-contrast .kt-tir__form label { color: #000000 !important; }
/* =========================================================
   6-кезең: кіру/тіркелу және оқырман кабинеті
   ========================================================= */
.kt-cab-wrap { padding-top: 32px; padding-bottom: 80px; }
.kt-pagehead .wp-block-post-title { margin: 0; }

/* Ортақ форма өрістері */
.kt-form { display: flex; flex-direction: column; gap: 14px; }
.kt-form > * { margin: 0; }
.kt-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kt-field > label { font-size: 14px; font-weight: 600; }
.kt-field small, .kt-form legend small { font-weight: 400; color: var(--kt-muted); }
.kt-field input[type="text"], .kt-field input[type="email"], .kt-field input[type="tel"], .kt-field input[type="password"], .kt-field input[type="number"] {
	width: 100%; box-sizing: border-box; min-height: 48px; font: inherit; font-size: 16px; padding: 10px 14px;
	border: 1.5px solid #C9D6D3; border-radius: 12px; background: #FFFFFF; color: var(--kt-ink);
}
.kt-field input:focus { border-color: var(--kt-primary); }
.kt-field input[disabled] { background: var(--kt-ground); color: var(--kt-muted); }
.kt-field input[aria-invalid="true"] { border-color: #B5463A; }
.kt-field__err { font-size: 13px; color: #A2332A; font-weight: 600; }
.kt-field .kt-check { min-height: 0; align-items: flex-start; font-size: 14px; }
.kt-field .kt-check input { margin-top: 2px; }
.kt-form__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.kt-form__row a { color: var(--kt-primary); }
.kt-form .kt-btn { min-height: 50px; }
.kt-form > .kt-btn { align-self: stretch; }

/* Кіру / тіркелу */
.kt-auth { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.kt-auth__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.kt-auth__intro h2 { margin: 0; font-family: var(--kt-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); }
.kt-auth__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kt-auth__perks li { position: relative; padding-left: 30px; line-height: 1.5; color: var(--kt-muted); }
.kt-auth__perks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--kt-soft); box-shadow: inset 0 0 0 5px var(--kt-soft), inset 0 0 0 9px var(--kt-primary); }
.kt-auth__card { flex: 1 1 420px; max-width: 520px; background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 22px; padding: 24px; box-shadow: 0 16px 40px rgba(14, 60, 58, .08); }
.kt-auth__tabs { display: flex; gap: 6px; background: var(--kt-ground); border-radius: 14px; padding: 5px; margin-bottom: 20px; }
.kt-auth__tabs a { flex: 1; text-align: center; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; text-decoration: none; color: var(--kt-muted); }
.kt-auth__tabs a[aria-selected="true"] { background: #FFFFFF; color: var(--kt-primary); box-shadow: 0 2px 8px rgba(14, 60, 58, .1); }
.kt-form[hidden] { display: none; }

/* Кабинет */
.kt-cab { display: flex; flex-direction: column; gap: 24px; }
.kt-cab > * { margin: 0; }
.kt-cab__hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kt-cab__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--kt-primary); color: #FFFFFF; display: grid; place-items: center; font-family: var(--kt-display); font-size: 26px; font-weight: 600; flex-shrink: 0; }
.kt-cab__who { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.kt-cab__who h2 { margin: 0; font-family: var(--kt-display); font-weight: 600; font-size: 24px; }
.kt-cab__who span { color: var(--kt-muted); font-size: 14px; overflow-wrap: anywhere; }
.kt-cab__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kt-cab__stats li { background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.kt-cab__stats strong { font-family: var(--kt-display); font-size: 28px; font-weight: 600; color: var(--kt-primary); }
.kt-cab__stats span { font-size: 14px; color: var(--kt-muted); }
.kt-cab__nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.kt-cab__nav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--kt-line); color: var(--kt-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.kt-cab__nav a:hover { border-color: var(--kt-primary); color: var(--kt-primary); }
.kt-cab__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.kt-panel { background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; min-width: 0; }
.kt-panel > * { margin: 0; }
.kt-panel--wide { grid-column: 1 / -1; }
.kt-panel h3 { font-family: var(--kt-display); font-weight: 600; font-size: 19px; }
.kt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kt-list__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--kt-line); }
.kt-list__item:first-child { border-top: 0; padding-top: 0; }
.kt-list__item.is-late .kt-list__due { color: #A2332A; font-weight: 600; }
.kt-list__main { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kt-list__main strong a { color: var(--kt-ink); text-decoration: none; }
.kt-list__main strong a:hover { color: var(--kt-primary); text-decoration: underline; }
.kt-list__main > span { font-size: 14px; color: var(--kt-muted); }
.kt-status { align-self: flex-start; font-size: 12px !important; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--kt-ground); color: var(--kt-ink) !important; }
.kt-status--dayin { background: #E1F2E8; color: #1F6B45 !important; }
.kt-status--kutu { background: #FBEFD9; color: #8A5A10 !important; }
.kt-status--kezekte { background: #E3ECF7; color: #2D5B94 !important; }
.kt-inline-form { margin: 0; }
.kt-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-notes__item { padding: 12px 14px 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; border-left: 4px solid; }
.kt-notes__item--ok { background: #EAF6EF; border-color: #2E8B57; }
.kt-notes__item--warn { background: #FDF3E1; border-color: var(--kt-accent); }
.kt-notes__item--err { background: #FBE9E6; border-color: #B5463A; }
.kt-goal { font-size: 15px; color: var(--kt-muted); }
.kt-goal strong { font-family: var(--kt-display); font-size: 32px; color: var(--kt-primary); }
.kt-bar--goal { height: 10px; max-width: none; }
.kt-goal__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.kt-goal__form input { width: 90px; min-height: 40px; font: inherit; padding: 0 10px; border: 1.5px solid #C9D6D3; border-radius: 10px; }
.kt-stars { display: flex; margin: 0; }
.kt-star { border: 0; background: none; cursor: pointer; font-size: 24px; line-height: 1; padding: 6px 3px; color: #C9D6D3; }
.kt-star.is-on { color: var(--kt-accent); }
.kt-stars:hover .kt-star { color: var(--kt-accent); }
.kt-stars .kt-star:hover ~ .kt-star { color: #C9D6D3; }
.kt-books-grid--sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.kt-form--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }
.kt-form--grid > .kt-btn { grid-column: 1 / -1; justify-self: start; min-width: 200px; }
.kt-form__pwd { grid-column: 1 / -1; border: 1px solid var(--kt-line); border-radius: 14px; padding: 16px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.kt-form__pwd legend { padding: 0 6px; font-weight: 700; font-size: 14px; }

@media (max-width: 781px) {
	.kt-cab__grid { grid-template-columns: minmax(0, 1fr); }
	.kt-cab__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kt-auth { gap: 24px; }
	.kt-auth__intro { order: 2; }
	.kt-auth__card { padding: 18px; max-width: none; }
	.kt-panel { padding: 18px; }
	.kt-cab__who h2 { font-size: 20px; }
	.kt-cab__avatar { width: 52px; height: 52px; font-size: 22px; }
	.kt-cab__stats li { padding: 12px 14px; }
	.kt-cab__stats strong { font-size: 22px; }
	.kt-list__item .kt-inline-form { width: 100%; }
	.kt-list__item .kt-inline-form .kt-btn { width: 100%; }
	.kt-form--grid > .kt-btn { justify-self: stretch; }
}
/* Байланыс деректері */
.kt-map__addr { max-width: 320px; text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--kt-ink); padding: 0 16px; }
.kt-map .kt-btn { letter-spacing: 0; margin-top: 6px; }
.kt-contacts__list a { color: var(--kt-ink); text-decoration: none; }
.kt-contacts__list a:hover { color: var(--kt-primary); text-decoration: underline; }
.kt-footer__contact { display: flex; gap: 10px; align-items: center; font-size: 14px; color: inherit; text-decoration: none; }
.kt-footer__contact:hover { text-decoration: underline; }
.kt-rekv { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--kt-line); max-width: 760px; }
.kt-rekv > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--kt-line); }
.kt-rekv dt { color: var(--kt-muted); font-size: 14px; }
.kt-rekv dd { margin: 0; }
@media (max-width: 599px) { .kt-rekv > div { grid-template-columns: 1fr; gap: 2px; } }
/* =========================================================
   Безендіру: жаңалықтар, байланыс, реквизиттер, hero анимациясы
   ========================================================= */
html.kt-js .kt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
html.kt-js .kt-reveal.is-in { opacity: 1; transform: none; }

/* --- Жаңалық карточкалары --- */
.kt-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important; gap: 28px; }
.kt-news > li { margin: 0 !important; display: flex; }
.kt-newsc { position: relative; width: 100%; height: 100%; background: #FFFFFF; border: 1px solid var(--kt-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(16, 40, 43, .04); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.kt-newsc:hover, .kt-newsc:focus-within { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(14, 94, 90, .35); border-color: #CFE0DC; }
.kt-newsc__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--kt-soft); }
.kt-newsc__img > img, .kt-newsc__img > svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.kt-newsc:hover .kt-newsc__img > img, .kt-newsc:hover .kt-newsc__img > svg { transform: scale(1.06); }
.kt-newsc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 47, 49, .28)); pointer-events: none; }
.kt-newsc__date { position: absolute; left: 16px; top: 16px; z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 7px 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--kt-muted); font-size: 12px; font-weight: 600; line-height: 1.1; box-shadow: 0 6px 18px rgba(11, 47, 49, .18); backdrop-filter: blur(6px); }
.kt-newsc__date b { font-family: var(--kt-display); font-size: 22px; font-weight: 700; color: var(--kt-primary); }
.kt-newsc__body { flex: 1; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.kt-newsc__body time { font-size: 13px; color: var(--kt-muted); }
.kt-newsc__title { margin: 0; font-family: var(--kt-display); font-size: 19px; font-weight: 600; line-height: 1.3; }
.kt-newsc__title a { color: var(--kt-ink); text-decoration: none; }
.kt-newsc__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.kt-newsc__title a:focus-visible { outline: none; }
.kt-newsc:focus-within { outline: 3px solid var(--kt-accent); outline-offset: 3px; }
.kt-newsc:hover .kt-newsc__title a { color: var(--kt-primary); }
.kt-newsc__body p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--kt-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kt-newsc__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--kt-primary); }
.kt-newsc__more .kt-icon { transition: transform .3s ease; }
.kt-newsc:hover .kt-newsc__more .kt-icon { transform: translateX(5px); }
.kt-ncover .kt-tw { transform-box: fill-box; transform-origin: center; animation: kt-twinkle 3.2s ease-in-out infinite; }
.kt-ncover .kt-tw:nth-of-type(2n) { animation-delay: 1.1s; }
.kt-newscover { margin: 0 0 32px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--kt-soft); box-shadow: 0 24px 50px -24px rgba(11, 47, 49, .35); }
.kt-newscover > img, .kt-newscover > svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-block-query .kt-news + .wp-block-query-pagination { margin-top: 40px; }
@keyframes kt-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.7) rotate(20deg); } }

/* --- Көшіру батырмасы --- */
.kt-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--kt-line); border-radius: 999px; background: #FFFFFF; color: var(--kt-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.kt-copy:hover { color: var(--kt-primary); border-color: var(--kt-primary); }
.kt-copy.is-done { color: #1F6B45; border-color: #9ED3B4; background: #E9F7EF; }
.kt-copy--icon { width: 36px; height: 36px; padding: 0; justify-content: center; flex: 0 0 auto; }
.kt-copy--light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #FFFFFF; }
.kt-copy--light:hover { background: rgba(255, 255, 255, .2); color: #FFFFFF; border-color: #FFFFFF; }

/* --- Байланыс беті --- */
.kt-content > .kt-contact, .kt-content > :has(> .kt-contact) { max-width: none; }
.kt-contact { display: flex; flex-direction: column; gap: 36px; }
.kt-contact__lead { margin: 0; max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--kt-muted); }
.kt-ccards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.kt-ccard { position: relative; margin: 0; padding: 26px 24px 24px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--kt-line); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.kt-ccard::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--kt-soft) 0%, transparent 70%); transition: transform .5s ease; }
.kt-ccard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--kt-primary), var(--kt-accent)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.kt-ccard:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(14, 94, 90, .38); border-color: #CFE0DC; }
.kt-ccard:hover::before { transform: scale(1.6); }
.kt-ccard:hover::after { transform: scaleX(1); }
.kt-ccard__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px; background: var(--kt-soft); color: var(--kt-primary); transition: background .35s ease, color .35s ease, transform .35s ease; }
.kt-ccard:hover .kt-ccard__icon { background: var(--kt-primary); color: #FFFFFF; transform: rotate(-8deg) scale(1.05); }
.kt-ccard__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kt-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kt-ccard__value { font-family: var(--kt-display); font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--kt-ink); text-decoration: none; word-break: break-word; }
.kt-ccard__value--sm { font-family: inherit; font-size: 16px; line-height: 1.5; }
a.kt-ccard__value:hover { color: var(--kt-primary); text-decoration: underline; text-underline-offset: 3px; }
.kt-ccard__hint { font-size: 14px; color: var(--kt-muted); }
.kt-ccard .kt-copy { margin-top: auto; }
.kt-ccard > .kt-ccard__hint + .kt-copy { margin-top: 10px; }
.kt-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.kt-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kt-status.is-open { background: #E1F2E8; color: #1F6B45; }
.kt-status.is-open::before { animation: kt-pulse 1.8s ease-out infinite; }
.kt-status.is-closed { background: #F8E7E4; color: #8F2F25; }
@keyframes kt-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 107, 69, .5); } 100% { box-shadow: 0 0 0 8px rgba(31, 107, 69, 0); } }
.kt-week { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.kt-week li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 10px; border-radius: 8px; color: var(--kt-ink); }
.kt-week li span:first-child { font-weight: 600; color: var(--kt-muted); }
.kt-week li.is-off span:last-child { color: #A2433A; }
.kt-week li.is-today { background: var(--kt-accent-soft, #FBEFD9); font-weight: 700; }
.kt-week li.is-today span:first-child { color: var(--kt-ink); }

.kt-contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.kt-contact__form { padding: 34px; border-radius: 26px; background: linear-gradient(160deg, #FFFFFF 0%, #F6FAF9 100%); border: 1px solid var(--kt-line); box-shadow: 0 30px 60px -36px rgba(11, 47, 49, .35); }
.kt-contact__form h2 { margin: 12px 0 6px; font-family: var(--kt-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
.kt-contact__form > p { margin: 0 0 18px; color: var(--kt-muted); }
.kt-contact__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--kt-soft); color: var(--kt-primary); font-size: 13px; font-weight: 700; }
.kt-contact__form .kt-qform { background: none; padding: 0; border-radius: 0; }
.kt-contact__form .kt-qform__title, .kt-contact__form .kt-qform__lead { display: none; }
.kt-contact__form .kt-qform input, .kt-contact__form .kt-qform textarea { transition: border-color .2s, box-shadow .2s; }
.kt-contact__form .kt-qform input:focus, .kt-contact__form .kt-qform textarea:focus { border-color: var(--kt-primary); box-shadow: 0 0 0 4px rgba(14, 94, 90, .12); }
.kt-contact__side { display: flex; flex-direction: column; gap: 16px; }
.kt-mapcard { border-radius: 26px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--kt-line); transition: box-shadow .35s ease, transform .35s ease; }
.kt-mapcard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(14, 94, 90, .4); }
.kt-mapcard__art { position: relative; aspect-ratio: 400 / 200; }
.kt-mapcard__art svg { display: block; width: 100%; height: 100%; }
.kt-mapcard__route { animation: kt-dash 1.6s linear infinite; }
@keyframes kt-dash { to { stroke-dashoffset: -32; } }
.kt-mapcard__pin { position: absolute; left: 59%; top: 45.5%; width: 44px; height: 44px; margin: -50px 0 0 -22px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--kt-accent); color: var(--kt-ink); display: grid; place-items: center; box-shadow: 0 10px 20px rgba(11, 47, 49, .3); animation: kt-bounce 2.4s ease-in-out infinite; }
.kt-mapcard__pin .kt-icon { transform: rotate(45deg); }
.kt-mapcard__pin::after { content: ""; position: absolute; left: -6px; bottom: -6px; width: 14px; height: 14px; border-radius: 50%; background: rgba(226, 163, 59, .45); animation: kt-ping 2.4s ease-out infinite; }
@keyframes kt-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes kt-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
.kt-mapcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.kt-mapcard__body strong { font-family: var(--kt-display); font-size: 19px; font-weight: 600; }
.kt-mapcard__body > span { color: var(--kt-muted); font-size: 15px; line-height: 1.5; }
.kt-mapcard__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.kt-person { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--kt-line); color: var(--kt-ink); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.kt-person__avatar { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--kt-primary), #1C7A74); color: #FFFFFF; font-family: var(--kt-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.kt-person__avatar--icon { border-radius: 16px; background: var(--kt-accent-soft, #FBEFD9); color: #8A5A0C; }
.kt-person__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kt-person__role { font-size: 13px; color: var(--kt-muted); }
.kt-person__text strong { font-size: 16px; line-height: 1.35; }
.kt-person__arrow { color: var(--kt-primary); transition: transform .3s ease; }
.kt-person--link:hover { transform: translateY(-3px); border-color: #CFE0DC; box-shadow: 0 16px 30px -20px rgba(14, 94, 90, .45); }
.kt-person--link:hover .kt-person__arrow { transform: translateX(5px); }
.kt-person--link:hover strong { color: var(--kt-primary); }

/* --- Реквизиттер (визитка) --- */
.kt-rcard { max-width: 980px; border-radius: 28px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--kt-line); box-shadow: 0 34px 70px -44px rgba(11, 47, 49, .45); }
.kt-rcard__head { position: relative; display: flex; align-items: flex-start; gap: 20px; padding: 32px 34px; color: #FFFFFF; background: radial-gradient(500px 220px at 100% 0%, rgba(226, 163, 59, .28), transparent 70%), linear-gradient(135deg, var(--kt-primary) 0%, var(--kt-primary-dark) 100%); overflow: hidden; }
.kt-rcard__head::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .05); pointer-events: none; }
.kt-rcard__seal { flex: 0 0 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: var(--kt-accent); }
.kt-rcard__names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-rcard__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F2C26B; }
.kt-rcard__name { margin: 0; font-family: var(--kt-display); font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; line-height: 1.35; }
.kt-rcard__alt { margin: 0; font-size: 14px; line-height: 1.5; color: #BFE0DC; }
.kt-rcard__head .kt-copy { position: relative; z-index: 1; flex: 0 0 auto; }
.kt-rcard__grid { margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.kt-rcard__item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; transition: background .25s ease; }
.kt-rcard__item:hover { background: var(--kt-ground); }
.kt-rcard__icon { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--kt-soft); color: var(--kt-primary); transition: background .3s, color .3s, transform .3s; }
.kt-rcard__item:hover .kt-rcard__icon { background: var(--kt-primary); color: #FFFFFF; transform: scale(1.06); }
.kt-rcard__text { flex: 1; min-width: 0; }
.kt-rcard__text dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kt-muted); margin-bottom: 4px; }
.kt-rcard__text dd { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--kt-ink); word-break: break-word; }
.kt-rcard__text dd a { color: var(--kt-ink); text-decoration: none; }
.kt-rcard__text dd a:hover { color: var(--kt-primary); text-decoration: underline; }
.kt-rcard__muted { color: var(--kt-muted); font-weight: 400; }
.kt-rcard__item .kt-copy--icon { opacity: 0; transition: opacity .2s ease, color .2s, border-color .2s; }
.kt-rcard__item:hover .kt-copy--icon, .kt-rcard__item .kt-copy--icon:focus-visible, .kt-rcard__item .kt-copy--icon.is-done { opacity: 1; }
.kt-rcard__foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 30px 28px; border-top: 1px solid var(--kt-line); }

/* --- Hero анимациясы --- */
.kt-hero { position: relative; overflow: hidden; }
.kt-hero__inner { position: relative; }
.kt-hero__art { display: none; }
@media (min-width: 1180px) {
	.kt-hero__art { display: block; position: absolute; right: 8px; top: -34px; width: clamp(320px, 27vw, 400px); height: 300px; pointer-events: none; }
	.kt-hero__text, .kt-search { position: relative; z-index: 1; }
}
.kt-hero__glow { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 163, 59, .35) 0%, rgba(226, 163, 59, .08) 45%, transparent 70%); animation: kt-glow 6s ease-in-out infinite; }
.kt-hero__ring { position: absolute; left: 50%; top: 46%; width: 250px; height: 250px; margin: -125px 0 0 -125px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .22); animation: kt-spin 40s linear infinite; }
.kt-hero__ring::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--kt-accent); box-shadow: 0 0 12px var(--kt-accent); }
.kt-book3d { z-index: 2; position: absolute; left: 50%; top: 46%; width: 230px; height: 150px; margin: -75px 0 0 -115px; perspective: 900px; animation: kt-float 6s ease-in-out infinite; }
.kt-book3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(38deg) rotateZ(-8deg); }
.kt-book3d__cover { position: absolute; inset: -7px -9px -9px; border-radius: 10px; background: linear-gradient(135deg, #E2A33B, #B9771B); box-shadow: 0 2px 0 #8F5A10, 0 3px 0 #FBEFD9, 0 5px 0 #8F5A10; }
.kt-book3d__page, .kt-book3d__flip { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(180deg, #FFFDF7, #F6EBD6); }
.kt-book3d__page--l { left: 0; border-radius: 6px 2px 2px 6px; background-image: linear-gradient(90deg, transparent 80%, rgba(120, 80, 20, .16)), linear-gradient(180deg, #FFFDF7, #F6EBD6); }
.kt-book3d__page--r { right: 0; border-radius: 2px 6px 6px 2px; background-image: linear-gradient(270deg, transparent 80%, rgba(120, 80, 20, .16)), linear-gradient(180deg, #FFFDF7, #F6EBD6); }
.kt-book3d__page::before { content: ""; position: absolute; inset: 16px 14px; background: repeating-linear-gradient(180deg, rgba(14, 94, 90, .28) 0 2px, transparent 2px 11px); border-radius: 2px; }
.kt-book3d__page--l::before { right: 18px; }
.kt-book3d__page--r::before { left: 18px; inset-block: 16px 34px; }
.kt-book3d__flip { right: 0; border-radius: 2px 6px 6px 2px; transform-origin: left center; transform-style: preserve-3d; opacity: 0; animation: kt-flip 7.2s cubic-bezier(.45,.05,.35,1) infinite; animation-delay: var(--d); box-shadow: inset 12px 0 18px -12px rgba(120, 80, 20, .3); }
.kt-book3d__flip::before { content: ""; position: absolute; inset: 16px 14px 16px 18px; background: repeating-linear-gradient(180deg, rgba(14, 94, 90, .2) 0 2px, transparent 2px 11px); }
.kt-book3d__mark { position: absolute; right: 22%; top: -6px; width: 12px; height: 46px; background: #C8492F; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); transform: translateZ(1px); }
.kt-book3d__shadow { position: absolute; left: 10%; right: 10%; bottom: -46px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .32); filter: blur(10px); animation: kt-shadow 6s ease-in-out infinite; }
.kt-hero__letter { z-index: 1; position: absolute; left: calc(50% + var(--x)); top: 42%; font-family: var(--kt-display); font-weight: 700; font-size: var(--fs); line-height: 1; color: #F2C26B; opacity: 0; text-shadow: 0 0 18px rgba(226, 163, 59, .45); animation: kt-rise var(--dur) ease-in infinite; animation-delay: var(--delay); }
.kt-hero__letter:nth-of-type(3n) { color: #FFFFFF; }
.kt-hero__letter:nth-of-type(4n) { color: #8FD3CB; }
.kt-hero__spark { position: absolute; left: var(--sx); top: var(--sy); width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .6); animation: kt-blink 3.6s ease-in-out infinite; animation-delay: var(--sd); }
@keyframes kt-flip {
	0% { transform: rotateY(0deg); opacity: 0; }
	6% { opacity: 1; }
	42% { transform: rotateY(-178deg); opacity: 1; }
	50%, 100% { transform: rotateY(-178deg); opacity: 0; }
}
@keyframes kt-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes kt-shadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.85); opacity: .6; } }
@keyframes kt-glow { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes kt-spin { to { transform: rotate(360deg); } }
@keyframes kt-blink { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes kt-rise {
	0% { transform: translate(0, 0) rotate(0) scale(.6); opacity: 0; }
	15% { opacity: .95; }
	70% { opacity: .6; }
	100% { transform: translate(var(--dx), -190px) rotate(var(--r)) scale(1.1); opacity: 0; }
}

@media (max-width: 900px) {
	.kt-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.kt-rcard__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
	.kt-contact__lead { font-size: 16px; }
	.kt-contact__form { padding: 22px 18px; border-radius: 22px; }
	.kt-ccard { padding: 22px 20px; }
	.kt-ccard__value { font-size: 19px; }
	.kt-rcard { border-radius: 22px; }
	.kt-rcard__head { flex-wrap: wrap; padding: 24px 20px; gap: 14px; }
	.kt-rcard__seal { flex-basis: 52px; height: 52px; border-radius: 16px; }
	.kt-rcard__grid { padding: 6px; }
	.kt-rcard__item { padding: 14px 12px; }
	.kt-rcard__item .kt-copy--icon { opacity: 1; }
	.kt-rcard__foot { padding: 16px 18px 22px; }
	.kt-rcard__foot .kt-btn { flex: 1 1 100%; }
	.kt-newsc__body { padding: 18px; }
}
@media (hover: none) { .kt-rcard__item .kt-copy--icon { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	html.kt-js .kt-reveal { opacity: 1; transform: none; transition: none; }
	.kt-hero__art *, .kt-ncover .kt-tw, .kt-mapcard__route, .kt-mapcard__drop, .kt-mapcard__ping, .kt-status::before { animation: none !important; }
	.kt-hero__letter, .kt-book3d__flip { display: none; }
	.kt-newsc, .kt-ccard, .kt-mapcard, .kt-person, .kt-newsc__img > * { transition: none; }
	.kt-newsc:hover, .kt-ccard:hover, .kt-mapcard:hover, .kt-person--link:hover { transform: none; }
}
html.kt-contrast .kt-ccard, html.kt-contrast .kt-newsc, html.kt-contrast .kt-rcard, html.kt-contrast .kt-contact__form { border-color: #000000; }
/* =========================================================
   Басты бет: эффектілер мен анимациялар
   ========================================================= */
/* Hero кіру анимациясы */
.kt-hero__eyebrow, .kt-hero__title, .kt-hero__lead, .kt-hero .kt-search { animation: kt-in-up .8s cubic-bezier(.2,.7,.2,1) both; }
.kt-hero__title { animation-delay: .08s; }
.kt-hero__lead { animation-delay: .18s; }
.kt-hero .kt-search { animation-delay: .3s; }
.kt-hero__art { animation: kt-in-fade 1.2s ease .3s both; }
.kt-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.kt-hero__eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--kt-accent); animation: kt-grow .9s cubic-bezier(.2,.7,.2,1) .4s both; transform-origin: left; }
@keyframes kt-in-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kt-in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kt-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Іздеу формасы */
.kt-search { transition: box-shadow .35s ease, transform .35s ease; }
.kt-search:focus-within { box-shadow: 0 0 0 4px rgba(226, 163, 59, .35), 0 30px 70px rgba(5, 30, 30, .35); }
.kt-search__row { transition: border-color .25s ease, box-shadow .25s ease; }
.kt-search__row:focus-within { box-shadow: 0 0 0 4px rgba(14, 94, 90, .1); }
.kt-search__tab span { transition: background .2s ease, color .2s ease; }
.kt-search__row .kt-btn { position: relative; overflow: hidden; }
.kt-search__row .kt-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: kt-shine 4.5s ease-in-out 2s infinite; }
@keyframes kt-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.kt-search__popular a { transition: background .2s ease, transform .2s ease, color .2s ease; }
.kt-search__popular a:hover { transform: translateY(-2px); background: var(--kt-primary); color: #FFFFFF; }

/* Қызметтер */
.kt-services > li { animation: kt-in-up .7s cubic-bezier(.2,.7,.2,1) both; }
.kt-services > li:nth-child(1) { animation-delay: .35s; }
.kt-services > li:nth-child(2) { animation-delay: .42s; }
.kt-services > li:nth-child(3) { animation-delay: .49s; }
.kt-services > li:nth-child(4) { animation-delay: .56s; }
.kt-services > li:nth-child(5) { animation-delay: .63s; }
.kt-services > li:nth-child(6) { animation-delay: .7s; }
.kt-service { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.kt-service::before { content: ""; position: absolute; z-index: -1; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 163, 59, .18), transparent 70%); transform: scale(.4); opacity: 0; transition: transform .5s ease, opacity .5s ease; }
.kt-service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--kt-primary), var(--kt-accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.kt-service:hover { transform: translateY(-6px); border-color: #CFE0DC; box-shadow: 0 22px 40px -16px rgba(14, 60, 58, .28); }
.kt-service:hover::before { transform: scale(1.4); opacity: 1; }
.kt-service:hover::after { transform: scaleX(1); }
.kt-service__icon { transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.3,1.6,.5,1); }
.kt-service:hover .kt-service__icon { background: var(--kt-primary); color: #FFFFFF; transform: translateY(-3px) rotate(-8deg); }
.kt-service__go { position: absolute; right: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--kt-primary); background: var(--kt-soft); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.kt-service:hover .kt-service__go, .kt-service:focus-visible .kt-service__go { opacity: 1; transform: none; }

/* Секция тақырыптарының астындағы сызық */
.kt-home .kt-section__title:not(.kt-sr)::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--kt-accent), #F2C26B); transform-origin: left; transition: transform .8s cubic-bezier(.2,.7,.2,1) .25s, width .4s ease; }
html.kt-js .kt-home .kt-reveal:not(.is-in) .kt-section__title::after, html.kt-js .kt-home .kt-section__title.kt-reveal:not(.is-in)::after { transform: scaleX(0); }
.kt-home .kt-section__head:hover .kt-section__title::after { width: 96px; }
.kt-section__more { transition: gap .25s ease, color .2s ease; }
.kt-section__more:hover { gap: 10px; text-decoration: none; }

/* Кітап карточкалары: 3D иілу және жылтыр */
.kt-book { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.kt-book:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px rgba(14, 60, 58, .3); }
.kt-book__coverlink { perspective: 800px; }
.kt-book .kt-cover { position: relative; transform-origin: left center; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; box-shadow: 0 2px 6px rgba(11, 47, 49, .12); }
.kt-book:hover .kt-cover { transform: rotateY(-14deg); box-shadow: 14px 10px 24px -8px rgba(11, 47, 49, .35); }
.kt-book .kt-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 62%); transform: translateX(-120%); transition: transform .8s ease; pointer-events: none; }
.kt-book:hover .kt-cover::after { transform: translateX(120%); }
.kt-book .kt-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .18), transparent); pointer-events: none; }
.kt-chip { transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.kt-chip:hover { transform: translateY(-2px); }

/* Кітапхана есімі: портрет */
.kt-about__portrait { position: relative; overflow: hidden; isolation: isolate; transition: transform .5s ease, box-shadow .5s ease; box-shadow: 0 30px 60px -30px rgba(11, 47, 49, .4); }
.kt-about__portrait:hover { transform: translateY(-4px) rotate(-1deg); }
.kt-about__portrait > .kt-icon { animation: kt-float 6s ease-in-out infinite; }
.kt-about__ring { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(14, 94, 90, .25); animation: kt-spin 50s linear infinite; }
.kt-about__ring::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--kt-accent); box-shadow: 0 0 14px rgba(226, 163, 59, .8); }
.kt-about__dot { position: absolute; z-index: -1; border-radius: 50%; }
.kt-about__dot--a { width: 140px; height: 140px; right: -40px; top: -40px; background: radial-gradient(circle, rgba(226, 163, 59, .35), transparent 70%); animation: kt-glow 7s ease-in-out infinite; }
.kt-about__dot--b { width: 180px; height: 180px; left: -60px; bottom: -60px; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); animation: kt-glow 8s ease-in-out 1s infinite; }
.kt-stats li { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.kt-stats li:hover { transform: translateY(-4px); border-color: #CFE0DC; box-shadow: 0 16px 30px -18px rgba(14, 60, 58, .35); }

/* Алдағы іс-шаралар */
.kt-upc { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.kt-upc:hover { transform: translateX(6px); border-color: #CFE0DC; box-shadow: 0 18px 34px -20px rgba(14, 60, 58, .35); }
.kt-upc__date { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.kt-upc:hover .kt-upc__date { transform: scale(1.08) rotate(-4deg); }
.kt-upc:hover .kt-upc__title a { color: var(--kt-primary); }

/* Электронды кітапхана баннері */
.kt-elib { position: relative; overflow: hidden; isolation: isolate; background-size: 200% 200%; background-image: linear-gradient(135deg, var(--kt-primary) 0%, #13706A 40%, var(--kt-primary-dark) 100%); animation: kt-bgpan 12s ease-in-out infinite alternate; transition: transform .4s ease, box-shadow .4s ease; }
.kt-elib:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -24px rgba(11, 47, 49, .55); }
@keyframes kt-bgpan { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.kt-elib__deco { position: absolute; z-index: -1; right: 24px; top: 26px; display: flex; align-items: flex-end; gap: 6px; height: 120px; opacity: .9; }
.kt-elib__deco i { display: block; width: 18px; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--c); box-shadow: inset -4px 0 0 rgba(0, 0, 0, .12), inset 0 10px 0 rgba(255, 255, 255, .18); transform-origin: bottom center; animation: kt-sway 4.8s ease-in-out infinite; animation-delay: var(--d); }
.kt-elib__deco i:nth-child(2) { width: 22px; }
.kt-elib__deco i:nth-child(4) { transform: rotate(8deg); }
.kt-elib__deco::after { content: ""; position: absolute; left: -10px; right: -10px; bottom: -6px; height: 6px; border-radius: 3px; background: rgba(226, 163, 59, .6); }
@keyframes kt-sway { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-3deg); } }
.kt-elib__icon { animation: kt-pulse-ring 2.6s ease-out infinite; }
@keyframes kt-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(226, 163, 59, .45); } 100% { box-shadow: 0 0 0 16px rgba(226, 163, 59, 0); } }
.kt-elib .kt-btn { transition: transform .25s ease, box-shadow .25s ease; }
.kt-elib .kt-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(226, 163, 59, .8); }

/* Жиі қойылатын сұрақтар */
.kt-faq__item { transition: border-color .25s ease, box-shadow .25s ease; }
.kt-faq__item:hover { border-color: #CFE0DC; }
.kt-faq__item[open] { border-color: var(--kt-primary); box-shadow: 0 16px 34px -22px rgba(14, 94, 90, .45); }
.kt-faq__item summary { transition: color .2s ease; }
.kt-faq__item summary:hover, .kt-faq__item[open] summary { color: var(--kt-primary); }
.kt-faq__icon { transition: background .3s ease, transform .3s ease; }
.kt-faq__item[open] .kt-faq__icon { background: var(--kt-primary); transform: rotate(180deg); }
.kt-faq__item[open] .kt-faq__icon::before, .kt-faq__item[open] .kt-faq__icon::after { background: #FFFFFF; }
.kt-faq__item[open] .kt-faq__a { animation: kt-in-up .4s ease both; }
.kt-home .kt-qform { transition: box-shadow .35s ease; box-shadow: 0 1px 0 rgba(0, 0, 0, 0); }
.kt-home .kt-qform:focus-within { box-shadow: 0 26px 50px -30px rgba(14, 94, 90, .45); }
.kt-qform input, .kt-qform textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.kt-qform input:focus, .kt-qform textarea:focus { border-color: var(--kt-primary); box-shadow: 0 0 0 4px rgba(14, 94, 90, .12); }

/* Байланыс (басты бет) */
.kt-contacts__map { flex: 999 1 460px; align-self: flex-start; }
.kt-contacts__map .kt-mapcard__art { aspect-ratio: 16 / 7; }
.kt-mapcard__drop { animation: kt-bounce 2.4s ease-in-out infinite; filter: drop-shadow(0 6px 6px rgba(11, 47, 49, .3)); }
.kt-mapcard__ping { transform-box: fill-box; transform-origin: center; animation: kt-ping 2.4s ease-out infinite; }
.kt-contacts__list li { padding: 10px 12px; margin: -10px -12px; border-radius: 14px; transition: background .25s ease, transform .25s ease; }
.kt-contacts__list li:hover { background: #FFFFFF; transform: translateX(4px); }
.kt-contacts__list li > .kt-icon { flex: 0 0 auto; box-sizing: content-box; padding: 9px; border-radius: 12px; background: #FFFFFF; transition: background .25s ease, color .25s ease; }
.kt-contacts__list li:hover > .kt-icon { background: var(--kt-primary); color: #FFFFFF; }

/* Жоғарыға батырмасы */
.kt-totop { position: fixed; z-index: 50; right: 20px; bottom: 24px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #FFFFFF; color: var(--kt-primary); cursor: pointer; box-shadow: 0 12px 30px -8px rgba(11, 47, 49, .4); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease; }
.kt-totop.is-on { opacity: 1; visibility: visible; transform: none; }
.kt-totop:hover { background: var(--kt-primary); color: #FFFFFF; }
.kt-totop svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.kt-totop path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transform-origin: 24px 24px; }
.kt-totop__track { fill: none; stroke: var(--kt-line); stroke-width: 3; }
.kt-totop__bar { fill: none; stroke: var(--kt-accent); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.kt-totop:hover .kt-totop__track { stroke: rgba(255, 255, 255, .25); }
@media (max-width: 781px) { .kt-totop { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; } }

@media (prefers-reduced-motion: reduce) {
	.kt-hero__eyebrow, .kt-hero__title, .kt-hero__lead, .kt-hero .kt-search, .kt-hero__art, .kt-hero__eyebrow::before, .kt-services > li,
	.kt-search__row .kt-btn::after, .kt-about__portrait > .kt-icon, .kt-about__ring, .kt-about__dot, .kt-elib, .kt-elib__deco i, .kt-elib__icon, .kt-faq__item[open] .kt-faq__a { animation: none !important; }
	.kt-service:hover, .kt-book:hover, .kt-book:hover .kt-cover, .kt-upc:hover, .kt-upc:hover .kt-upc__date, .kt-about__portrait:hover, .kt-elib:hover, .kt-stats li:hover, .kt-contacts__list li:hover, .kt-search__popular a:hover, .kt-chip:hover { transform: none; }
	.kt-book .kt-cover::after { display: none; }
	.kt-totop { transition: none; }
}