/*
Theme Name: Balabaqsha
Theme URI: https://example.kz/
Author: Balabaqsha
Description: Балабақша (мектепке дейінгі ұйым) сайттарына арналған қазақ тіліндегі тақырып. Elementor-ға арналған жеке виджеттер, ашылмалы мәзір, аттестация құжаттары, ата-аналарға және денсаулық беттері. Белсендірген кезде барлық беттер мен мәзір автоматты түрде жасалады.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: balabaqsha
Tags: education, kindergarten, elementor, custom-menu, custom-logo, translation-ready
*/

/* ---------- Токендер ---------- */
:root {
	--bq-primary: #0E5A4E;
	--bq-primary-dark: #0A463D;
	--bq-footer: #0A3F37;
	--bq-accent: #F4B740;
	--bq-ink: #17302B;
	--bq-text: #33463F;
	--bq-muted: #51625E;
	--bq-line: #DCE5E2;
	--bq-line-strong: #C9D7D3;
	--bq-soft: #F4F7F6;
	--bq-tint: #E7F2EF;
	--bq-amber-tint: #FFF3D9;
	--bq-amber-ink: #7A5200;
	--bq-sky: #E8EFF8;
	--bq-on-dark: #BFD3CE;
	--bq-font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bq-font-head: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bq-shadow: 0 16px 40px rgba(14, 50, 44, 0.14);
}

/* ---------- Негіз ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--bq-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--bq-ink);
	background: #FFFFFF;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bq-primary); }
a:hover { color: var(--bq-primary-dark); }
button { font-family: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px; z-index: 1000;
	background: #FFFFFF; color: var(--bq-ink); top: 8px; left: 8px; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--bq-accent); outline-offset: 2px; }

.bq-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bq-container--narrow { max-width: 860px; }

.bq-section { padding: 88px 0; background: #FFFFFF; }
.bq-section--soft { background: var(--bq-soft); }
.bq-section--compact { padding: 56px 0; }
.bq-section--flush-top { padding-top: 0; }
.bq-section--flush-bottom { padding-bottom: 0; }
@media (max-width: 767px) {
	.bq-section { padding: 56px 0; }
	.bq-section--compact { padding: 40px 0; }
	.bq-section--flush-top { padding-top: 0; }
	.bq-section--flush-bottom { padding-bottom: 0; }
}

/* Elementor виджеттерінің шегіністері */
.bq-section.bq-pt-lg { padding-top: 88px; }
.bq-section.bq-pt-md { padding-top: 56px; }
.bq-section.bq-pt-sm { padding-top: 28px; }
.bq-section.bq-pt-xs { padding-top: 7px; }
.bq-section.bq-pt-0 { padding-top: 0; }
.bq-section.bq-pb-lg { padding-bottom: 88px; }
.bq-section.bq-pb-md { padding-bottom: 56px; }
.bq-section.bq-pb-sm { padding-bottom: 28px; }
.bq-section.bq-pb-xs { padding-bottom: 7px; }
.bq-section.bq-pb-0 { padding-bottom: 0; }
@media (max-width: 767px) {
	.bq-section.bq-pt-lg { padding-top: 56px; }
	.bq-section.bq-pt-md { padding-top: 40px; }
	.bq-section.bq-pb-lg { padding-bottom: 56px; }
	.bq-section.bq-pb-md { padding-bottom: 40px; }
}

/* ---------- Типографика ---------- */
.bq-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--bq-primary); margin: 0;
}
.bq-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--bq-accent); }
.bq-h1, .bq-h2, .bq-h3 { font-family: var(--bq-font-head); color: var(--bq-ink); margin: 0; }
.bq-h1 { font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.bq-h2 { font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; text-wrap: balance; }
.bq-h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.bq-lead { margin: 0; font-size: 1.12rem; line-height: 1.68; color: var(--bq-muted); }
.bq-muted { color: var(--bq-muted); }
.bq-head { display: flex; flex-direction: column; gap: 14px; max-width: 44rem; margin-bottom: 40px; }
.bq-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.bq-head:last-child { margin-bottom: 0; }

/* ---------- Батырмалар ---------- */
.bq-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 13px 24px; border-radius: 12px;
	background: var(--bq-primary); color: #FFFFFF; border: 1px solid var(--bq-primary);
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bq-btn:hover { background: var(--bq-primary-dark); border-color: var(--bq-primary-dark); color: #FFFFFF; }
.bq-btn--ghost { background: #FFFFFF; color: var(--bq-ink); border-color: var(--bq-line-strong); }
.bq-btn--ghost:hover { background: var(--bq-soft); color: var(--bq-ink); border-color: var(--bq-line-strong); }
.bq-btn--accent { background: var(--bq-accent); border-color: var(--bq-accent); color: var(--bq-ink); font-weight: 700; }
.bq-btn--accent:hover { background: #E7A92F; border-color: #E7A92F; color: var(--bq-ink); }
.bq-btn svg { width: 18px; height: 18px; flex: none; }
.bq-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Белгішелер мен плиткалар ---------- */
.bq-ico { display: block; width: 24px; height: 24px; flex: none; }
.bq-tile {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 56px; height: 56px; border-radius: 16px; background: var(--bq-tint); color: var(--bq-primary);
}
.bq-tile .bq-ico { width: 28px; height: 28px; }
.bq-tile--amber { background: var(--bq-amber-tint); }
.bq-tile--sky { background: var(--bq-sky); }
.bq-tile--sm { width: 40px; height: 40px; border-radius: 10px; }
.bq-tile--sm .bq-ico { width: 20px; height: 20px; }

/* Сурет орны */
.bq-ph {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background: var(--bq-tint); color: var(--bq-muted); font-weight: 600; text-align: center; padding: 16px;
	width: 100%; height: 100%;
}
.bq-ph .bq-ico { width: 40px; height: 40px; color: var(--bq-primary); }
.bq-ph--amber { background: var(--bq-amber-tint); }
.bq-ph--sky { background: var(--bq-sky); }
.bq-media { position: relative; overflow: hidden; border-radius: 24px; background: var(--bq-tint); }
.bq-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Жоғарғы жолақ және header ---------- */
.bq-topbar { background: var(--bq-primary); color: #FFFFFF; font-size: 0.875rem; }
.bq-topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.bq-topbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.bq-topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; text-decoration: none; }
a.bq-topbar__item { font-weight: 600; }
a.bq-topbar__item:hover { color: #FFFFFF; text-decoration: underline; }
.bq-topbar__item .bq-ico { width: 16px; height: 16px; color: var(--bq-accent); }
.bq-social { display: flex; flex-wrap: wrap; gap: 2px; }
.bq-social a { padding: 6px 10px; color: #FFFFFF; text-decoration: none; font-weight: 500; }
.bq-social a:hover { color: #FFFFFF; text-decoration: underline; }

.bq-header { position: relative; z-index: 100; background: #FFFFFF; border-bottom: 1px solid var(--bq-line); }
.bq-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.bq-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bq-ink); min-width: 0; }
.bq-brand:hover { color: var(--bq-ink); }
.bq-brand__mark { display: flex; width: 48px; height: 48px; border-radius: 14px; background: var(--bq-primary); align-items: center; justify-content: center; flex: none; }
.bq-brand__mark svg { width: 30px; height: 30px; }
.bq-brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.bq-brand__name { font-family: var(--bq-font-head); font-weight: 700; font-size: 1.15rem; }
.bq-brand__sub { font-size: 0.85rem;
    color: var(--bq-muted);
    font-weight: 700;
    margin-left: 40px; }
.custom-logo-link img, .bq-brand img { max-height: 56px; width: auto; }

.bq-nav ul { list-style: none; margin: 0; padding: 0; }
.bq-nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.bq-nav li { position: relative; }
.bq-nav > ul > li > a {
	display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 10px;
	color: var(--bq-ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
	text-transform: uppercase; letter-spacing: 0.03em;
}
.bq-nav > ul > li > a:hover,
.bq-nav > ul > li:hover > a,
.bq-nav > ul > li:focus-within > a { background: var(--bq-soft); color: var(--bq-primary); }
.bq-nav > ul > li.current-menu-item > a,
.bq-nav > ul > li.current-menu-ancestor > a,
.bq-nav > ul > li.current-menu-parent > a,
.bq-nav > ul > li.current_page_ancestor > a { background: var(--bq-tint); color: var(--bq-primary); }
.bq-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); margin-left: 2px;
}
.bq-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 120; min-width: 300px;
	background: #FFFFFF; border: 1px solid var(--bq-line); border-radius: 14px; box-shadow: var(--bq-shadow);
	padding: 8px; display: none; flex-direction: column;
}
.bq-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.bq-nav > ul > li:last-child .sub-menu,
.bq-nav > ul > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }
.bq-nav li:hover > .sub-menu,
.bq-nav li:focus-within > .sub-menu,
.bq-nav li.is-open > .sub-menu { display: flex; }
.bq-nav .sub-menu a {
	display: block; padding: 11px 14px; border-radius: 10px; color: var(--bq-ink);
	text-decoration: none; font-weight: 500; line-height: 1.35;
}
.bq-nav .sub-menu a:hover, .bq-nav .sub-menu .current-menu-item > a { background: var(--bq-soft); color: var(--bq-primary); }
.bq-subtoggle { display: none; }

.bq-burger {
	display: none; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none;
	border-radius: 12px; border: 1px solid var(--bq-line-strong); background: #FFFFFF; color: var(--bq-ink); cursor: pointer;
}
.bq-burger svg { width: 24px; height: 24px; }
.bq-burger .bq-burger__close { display: none; }
.bq-nav-open .bq-burger .bq-burger__open { display: none; }
.bq-nav-open .bq-burger .bq-burger__close { display: block; }

@media (max-width: 1023px) {
	.bq-burger { display: inline-flex; }
	.bq-header__in { flex-wrap: wrap; }
	.bq-nav { display: none; width: 100%; padding: 8px 0 6px; border-top: 1px solid var(--bq-line); }
	.bq-nav-open .bq-nav { display: block; }
	.bq-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.bq-nav > ul > li { border-bottom: 1px solid var(--bq-line); }
	.bq-nav > ul > li:last-child { border-bottom: 0; }
	.bq-nav > ul > li > a { display: flex; padding: 14px 56px 14px 4px; border-radius: 0; background: transparent !important; }
	.bq-nav .menu-item-has-children > a::after { display: none; }
	.bq-nav li:hover > .sub-menu, .bq-nav li:focus-within > .sub-menu { display: none; }
	.bq-nav li.is-open > .sub-menu { display: flex; }
	.bq-nav .sub-menu { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 12px; min-width: 0; }
	.bq-nav .sub-menu::before { display: none; }
	.bq-subtoggle {
		display: flex; position: absolute; right: 0; top: 2px; width: 48px; height: 48px;
		align-items: center; justify-content: center; border: 0; background: transparent; color: var(--bq-ink); cursor: pointer;
	}
	.bq-subtoggle svg { width: 20px; height: 20px; transition: transform 0.2s; }
	.is-open > .bq-subtoggle svg { transform: rotate(180deg); }
}
@media (max-width: 600px) {
	.bq-topbar__item--address { display: none; }
	.bq-brand__name { font-size: 1.05rem; }
}

/* ---------- Беттің тақырыбы ---------- */
.bq-pagehead { background: var(--bq-soft); border-bottom: 1px solid var(--bq-line); }
.bq-pagehead__in { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; padding-bottom: 44px; }
.bq-pagehead--tabs .bq-pagehead__in { padding-bottom: 0; }
.bq-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.92rem; color: var(--bq-muted); margin: 0; padding: 0; list-style: none; }
.bq-crumbs li { display: inline-flex; gap: 8px; }
.bq-crumbs li + li::before { content: "/"; color: var(--bq-muted); }
.bq-crumbs a { color: var(--bq-primary); text-decoration: none; font-weight: 500; }
.bq-crumbs a:hover { text-decoration: underline; }
.bq-crumbs [aria-current] { color: var(--bq-ink); font-weight: 500; }
.bq-pagehead h1 { font-family: var(--bq-font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0; color: var(--bq-ink); }
.bq-pagehead .bq-lead { max-width: 46rem; }
.bq-tabs { display: flex; gap: 4px; margin-top: 18px; overflow-x: auto; scrollbar-width: thin; }
.bq-tabs a {
	flex: none; padding: 14px 18px; border-bottom: 3px solid transparent; color: var(--bq-muted);
	text-decoration: none; font-weight: 600; white-space: nowrap;
}
.bq-tabs a:hover { color: var(--bq-primary); }
.bq-tabs a[aria-current="page"] { color: var(--bq-primary); border-bottom-color: var(--bq-primary); }

/* ---------- Мазмұн (классикалық редактор) ---------- */
.bq-content { padding: 56px 0 96px; }
.bq-prose { font-size: 1.08rem; line-height: 1.75; color: var(--bq-text); }
.bq-prose > * { margin-top: 0; margin-bottom: 22px; }
.bq-prose > *:last-child { margin-bottom: 0; }
.bq-prose h2, .bq-prose h3, .bq-prose h4 { font-family: var(--bq-font-head); color: var(--bq-ink); line-height: 1.25; margin-top: 40px; }
.bq-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 600; }
.bq-prose h3 { font-size: 1.3rem; font-weight: 600; }
.bq-prose h4 { font-size: 1.1rem; font-weight: 600; }
.bq-prose ul, .bq-prose ol { padding-left: 1.4em; }
.bq-prose li { margin-bottom: 8px; }
.bq-prose ul li::marker { color: var(--bq-primary); }
.bq-prose img { border-radius: 20px; }
.bq-prose blockquote { margin-left: 0; padding: 18px 22px; border-radius: 16px; background: var(--bq-soft); color: var(--bq-ink); }
.bq-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; border: 1px solid var(--bq-line); border-radius: 16px; }
.bq-prose th, .bq-prose td { padding: 13px 18px; border-bottom: 1px solid var(--bq-line); text-align: left; }
.bq-prose thead th { background: var(--bq-soft); font-weight: 600; color: var(--bq-ink); }
.bq-prose tr:last-child td { border-bottom: 0; }
.bq-prose .wp-block-file, .bq-prose .wp-block-button { margin-bottom: 14px; }

/* Ішкі беттер торы (ата-бет) */
.bq-children { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: 8px; }
.bq-child {
	display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--bq-line); border-radius: 18px;
	text-decoration: none; color: var(--bq-ink); font-weight: 600; background: #FFFFFF; transition: border-color 0.15s, background 0.15s;
}
.bq-child:hover { border-color: var(--bq-primary); color: var(--bq-primary); background: var(--bq-soft); }
.bq-child span:last-child { margin-left: auto; color: var(--bq-primary); }

/* ---------- Басты экран (слайдер) ---------- */
.bq-hero { background: var(--bq-soft); padding: 64px 0 72px; }
.bq-hero__grid { display: grid; gap: 48px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.bq-hero__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.bq-hero__visual { position: relative; display: flex; flex-direction: column; gap: 16px; }
.bq-hero__visual::before {
	content: ""; position: absolute; top: -22px; right: -22px; width: 140px; height: 140px; border-radius: 50%;
	background: var(--bq-accent); opacity: 0.85;
}
.bq-slider { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--bq-tint); }
.bq-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.bq-slide.is-active { opacity: 1; visibility: visible; }
.bq-slide img { width: 100%; height: 100%; object-fit: cover; }
.bq-slider__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bq-dots { display: flex; align-items: center; gap: 2px; }
.bq-dot { display: flex; align-items: center; justify-content: center; padding: 17px 5px; border: 0; background: transparent; cursor: pointer; }
.bq-dot span { display: block; width: 10px; height: 10px; border-radius: 999px; background: #B9CCC7; transition: width 0.2s, background 0.2s; }
.bq-dot.is-active span { width: 28px; background: var(--bq-primary); }
.bq-arrows { display: flex; gap: 8px; }
.bq-arrow {
	display: flex; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--bq-line-strong);
	background: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; color: var(--bq-ink);
}
.bq-arrow--next { background: var(--bq-primary); border-color: var(--bq-primary); color: #FFFFFF; }
.bq-arrow svg { width: 20px; height: 20px; }

/* ---------- Бақша туралы ---------- */
.bq-about { display: grid; gap: 56px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.bq-about__visual { position: relative; }
.bq-about__visual .bq-media { aspect-ratio: 5 / 4; border-radius: 28px; }
.bq-about__badge {
	position: absolute; left: 20px; bottom: -24px; background: #FFFFFF; border: 1px solid var(--bq-line);
	border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 12px 32px rgba(14, 50, 44, 0.12);
}
.bq-about__num { font-family: var(--bq-font-head); font-weight: 700; font-size: 2rem; color: var(--bq-primary); line-height: 1; }
.bq-about__label { font-weight: 500; color: var(--bq-muted); line-height: 1.3; }
.bq-about__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.bq-about__body { font-size: 1.08rem; line-height: 1.7; color: var(--bq-muted); }
.bq-about__body p { margin: 0 0 14px; }
.bq-about__body p:last-child { margin-bottom: 0; }

/* ---------- Карточкалар ---------- */
.bq-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--bq-min, 250px)), 1fr)); }
.bq-card { background: #FFFFFF; border: 1px solid var(--bq-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bq-section--soft .bq-card--auto { background: #FFFFFF; }
.bq-card p { margin: 0; line-height: 1.6; color: var(--bq-muted); }
.bq-card--flat { border: 0; }

/* ---------- Сандар ---------- */
.bq-stats {
	background: var(--bq-primary); border-radius: 28px; padding: clamp(32px, 5vw, 56px);
	display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.bq-stat { display: flex; flex-direction: column; gap: 6px; }
.bq-stat__num { font-family: var(--bq-font-head); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.2rem); line-height: 1; color: var(--bq-accent); }
.bq-stat__label { color: #FFFFFF; font-weight: 500; }

/* ---------- Галерея ---------- */
.bq-gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--bq-min, 240px)), 1fr)); }
.bq-gallery__item { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--bq-tint); }
.bq-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
a.bq-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .bq-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* ---------- Құжаттар ---------- */
.bq-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bq-doc {
	display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--bq-line); border-radius: 14px;
	text-decoration: none; color: var(--bq-ink); background: #FFFFFF; transition: border-color 0.15s, background 0.15s;
}
a.bq-doc:hover { border-color: var(--bq-primary); color: var(--bq-ink); background: var(--bq-soft); }
.bq-doc__n { flex: none; min-width: 26px; font-weight: 600; color: var(--bq-muted); font-variant-numeric: tabular-nums; }
.bq-doc .bq-tile--sm { background: var(--bq-soft); }
.bq-doc__title { flex: 1; min-width: 0; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.bq-doc__type { flex: none; font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--bq-amber-tint); color: var(--bq-amber-ink); }
.bq-doc__type--xlsx, .bq-doc__type--xls { background: var(--bq-tint); color: var(--bq-primary); }
.bq-doc__type--doc, .bq-doc__type--docx { background: var(--bq-sky); color: #1E4E8C; }
.bq-doc__dl { width: 20px; height: 20px; flex: none; color: var(--bq-muted); }
@media (max-width: 480px) { .bq-doc { gap: 10px; padding: 12px; } .bq-doc .bq-tile--sm { display: none; } }

.bq-acc { border: 1px solid var(--bq-line); border-radius: 18px; background: #FFFFFF; overflow: hidden; }
.bq-acc + .bq-acc { margin-top: 14px; }
.bq-acc summary {
	list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; color: var(--bq-ink);
}
.bq-acc summary::-webkit-details-marker { display: none; }
.bq-acc[open] summary { background: var(--bq-soft); }
.bq-acc__num {
	display: flex; width: 40px; height: 40px; border-radius: 12px; background: var(--bq-tint); color: var(--bq-primary);
	align-items: center; justify-content: center; flex: none; font-family: var(--bq-font-head); font-weight: 700;
}
.bq-acc__title { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.bq-acc__title strong { font-family: var(--bq-font-head); font-weight: 600; font-size: 1.15rem; }
.bq-acc__count { font-size: 0.9rem; color: var(--bq-muted); }
.bq-acc__chev { width: 22px; height: 22px; color: var(--bq-primary); flex: none; transition: transform 0.2s; }
.bq-acc[open] .bq-acc__chev { transform: rotate(180deg); }
.bq-acc .bq-docs { padding: 4px 22px 22px; }
.bq-acc[open] .bq-docs { padding-top: 16px; }

.bq-block { border: 1px solid var(--bq-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; background: #FFFFFF; }
.bq-block + .bq-block { margin-top: 20px; }
.bq-block__head { display: flex; align-items: flex-start; gap: 16px; }
.bq-block__head .bq-acc__num { background: var(--bq-amber-tint); color: var(--bq-amber-ink); }
.bq-block__head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bq-block__head p { margin: 0; color: var(--bq-muted); line-height: 1.6; }
.bq-block__head .bq-h3 { line-height: 1.35; }

/* ---------- Қадамдар ---------- */
.bq-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.bq-step { border: 1px solid var(--bq-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; }
.bq-step__n {
	display: flex; width: 48px; height: 48px; border-radius: 14px; background: var(--bq-primary); color: #FFFFFF;
	align-items: center; justify-content: center; font-family: var(--bq-font-head); font-weight: 700; font-size: 1.25rem;
}
.bq-step p { margin: 0; line-height: 1.65; color: var(--bq-muted); }
.bq-steps + .bq-actions { margin-top: 32px; }

/* ---------- Тізім карточкалары ---------- */
.bq-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.bq-checks li { display: flex; align-items: flex-start; gap: 12px; }
.bq-checks .bq-check { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.bq-checkcard { background: #FFFFFF; border: 1px solid var(--bq-line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.bq-checkcard__head { display: flex; align-items: center; gap: 14px; }
.bq-checkcard__head .bq-h3 { font-size: 1.4rem; }
.bq-note { margin: 4px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--bq-soft); color: var(--bq-muted); line-height: 1.55; }

/* ---------- Уақыт кезеңдері ---------- */
.bq-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.bq-timeline li { border-top: 4px solid var(--bq-accent); background: var(--bq-soft); border-radius: 4px 4px 18px 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.bq-timeline li:last-child { border-top-color: var(--bq-primary); }
.bq-section--soft .bq-timeline li { background: #FFFFFF; }
.bq-timeline strong { font-family: var(--bq-font-head); font-weight: 700; font-size: 1.35rem; color: var(--bq-primary); }

/* ---------- Кеңестер ---------- */
.bq-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.bq-tip { background: var(--bq-soft); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bq-section--soft .bq-tip { background: #FFFFFF; }
.bq-tip__n { font-family: var(--bq-font-head); font-weight: 700; font-size: 2rem; color: var(--bq-accent); line-height: 1; }
.bq-tip p { margin: 0; color: var(--bq-muted); line-height: 1.6; }

/* ---------- Маман карточкасы ---------- */
.bq-person { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.bq-person__card { flex: 1 1 300px; border: 1px solid var(--bq-line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; background: #FFFFFF; }
.bq-person__photo { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; background: var(--bq-tint); }
.bq-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.bq-person__photo .bq-ph .bq-ico { width: 44px; height: 44px; }
.bq-person__role { color: var(--bq-primary); font-weight: 600; }
.bq-person__rows { margin: 6px 0 0; width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.bq-person__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bq-soft); }
.bq-person__rows dt { color: var(--bq-muted); }
.bq-person__rows dd { margin: 0; font-weight: 600; text-align: right; }
.bq-person__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bq-person__main .bq-card { padding: 22px; gap: 10px; border-radius: 18px; }
.bq-person__main .bq-tile { width: 48px; height: 48px; border-radius: 14px; }
.bq-person__main .bq-tile .bq-ico { width: 24px; height: 24px; }

/* ---------- Үндеу жолағы ---------- */
.bq-cta { background: var(--bq-primary); border-radius: 28px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.bq-cta__text { display: flex; flex-direction: column; gap: 8px; max-width: 36rem; }
.bq-cta .bq-h2 { color: #FFFFFF; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.bq-cta p { margin: 0; line-height: 1.6; color: #D4E4E0; }

/* ---------- Байланыс ---------- */
.bq-contacts { display: grid; gap: 28px; align-items: stretch; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.bq-contacts__list { display: flex; flex-direction: column; gap: 14px; }
.bq-contact { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--bq-line); border-radius: 18px; text-decoration: none; color: var(--bq-ink); }
a.bq-contact:hover { border-color: var(--bq-primary); color: var(--bq-ink); }
.bq-contact__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bq-contact__label { font-size: 0.9rem; color: var(--bq-muted); }
.bq-contact__value { font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.bq-contact .bq-tile { width: 52px; height: 52px; border-radius: 14px; }
.bq-contact .bq-tile .bq-ico { width: 24px; height: 24px; }
.bq-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.bq-pills a { padding: 12px 18px; border-radius: 12px; border: 1px solid var(--bq-line-strong); color: var(--bq-ink); text-decoration: none; font-weight: 600; }
.bq-pills a:hover { background: var(--bq-soft); color: var(--bq-ink); }
.bq-map { min-height: 440px; border-radius: 24px; overflow: hidden; background: var(--bq-tint); position: relative; }
.bq-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bq-map .bq-ph { position: absolute; inset: 0; }

/* ---------- Баннер ---------- */
.bq-banner { aspect-ratio: 21 / 7; min-height: 180px; border-radius: 24px; overflow: hidden; background: var(--bq-sky); }
.bq-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.bq-footer { background: var(--bq-footer); color: #FFFFFF; }
.bq-footer__in { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 40px; }
.bq-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bq-footer__col { display: flex; flex-direction: column; gap: 10px; }
.bq-footer p { margin: 0; line-height: 1.6; color: var(--bq-on-dark); }
.bq-footer .bq-brand { color: #FFFFFF; }
.bq-footer .bq-brand__mark { background: var(--bq-primary); width: 44px; height: 44px; border-radius: 12px; }
.bq-footer .bq-brand__mark svg { width: 26px; height: 26px; }
.bq-footer .bq-brand__sub { color: var(--bq-on-dark); }
.bq-footer__title { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bq-accent); margin: 0 0 2px; }
.bq-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bq-footer ul a { display: inline-block; padding: 6px 0; }
.bq-footer a { color: #FFFFFF; text-decoration: none; }
.bq-footer a:hover { color: var(--bq-accent); }
.bq-footer__muted { color: var(--bq-on-dark); line-height: 1.5; }
.bq-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--bq-on-dark); font-size: 0.9rem; }
.bq-footer__top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; }
.bq-footer__top svg { width: 16px; height: 16px; }

/* ---------- Жаңалықтар / мұрағат ---------- */
.bq-posts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.bq-post { border: 1px solid var(--bq-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #FFFFFF; }
.bq-post__img { aspect-ratio: 16 / 10; background: var(--bq-tint); }
.bq-post__img img { width: 100%; height: 100%; object-fit: cover; }
.bq-post__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.bq-post__body h2 { font-family: var(--bq-font-head); font-size: 1.2rem; font-weight: 600; margin: 0; line-height: 1.3; }
.bq-post__body h2 a { color: var(--bq-ink); text-decoration: none; }
.bq-post__date { font-size: 0.9rem; color: var(--bq-muted); }
.bq-post__body p { margin: 0; color: var(--bq-muted); }
.bq-pagination { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.bq-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--bq-line); border-radius: 10px; text-decoration: none; color: var(--bq-ink); }
.bq-pagination .current { background: var(--bq-primary); border-color: var(--bq-primary); color: #FFFFFF; }

/* ---------- Elementor үйлесімділігі ---------- */
.elementor-widget-container > .bq-section,
.elementor-widget-container > .bq-hero { width: 100%; }
.bq-elementor-page .elementor-section.elementor-section-full_width > .elementor-container,
.bq-elementor-page .e-con.e-con-full { max-width: none; }
.bq-wrap .bq-h1, .bq-wrap .bq-h2, .bq-wrap .bq-h3 { font-family: var(--bq-font-head); color: var(--bq-ink); }
.bq-cta .bq-h2 { color: #FFFFFF !important; }

/* WordPress стандарт класстары */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 0.9rem; color: var(--bq-muted); }

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