:root {
	--ink: #0b1526;
	--muted: #637083;
	--line: #dfe4ea;
	--paper: #f7f8f5;
	--white: #ffffff;
	--blue: #324e8b;
	--blue-dark: #233867;
	--lime: #dff56a;
	--sand: #f1e5d2;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--paper);
	color: var(--ink);
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 400;
}

button,
input,
textarea,
select {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 4px;
}

.section-kicker {
	margin: 0 0 20px;
	color: var(--blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.button {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 0 24px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
	box-shadow: 0 12px 28px rgba(11, 21, 38, .12);
	transform: translateY(-2px);
}

.button-primary {
	border-color: var(--blue);
	background: var(--blue);
	color: white;
}

.button-ghost {
	background: transparent;
}

/*
 * Ядро WordPress добавляет `:where(.wp-site-blocks) > * { margin-block-start: 24px }`
 * из block gap, из-за чего появлялся отступ под шапкой и над подвалом.
 * Секции темы задают свои отступы сами, поэтому здесь он обнуляется.
 */
.wp-site-blocks > * {
	margin-block-start: 0;
}

.wp-site-blocks > main {
	min-height: 50vh;
}

.kp-page-hero,
.kp-course-hero,
.kp-text-page {
	padding: clamp(58px, 7vw, 110px) 3.4vw clamp(34px, 5vw, 70px);
}

.kp-page-hero h1,
.kp-text-page h1 {
	max-width: 980px;
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 5.6rem);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -.055em;
}

.kp-course-hero h1 {
	max-width: 1120px;
	margin: 0;
	color: var(--blue);
	font-size: clamp(2.2rem, 3.4vw, 4rem);
	font-weight: 750;
	line-height: 1;
	letter-spacing: -.045em;
}

.kp-page-hero p,
.kp-course-hero > p:not(.section-kicker),
.kp-text-page p {
	max-width: 760px;
	color: var(--muted);
	line-height: 1.7;
}

.kp-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	color: var(--muted);
	font-size: 12px;
}

.kp-breadcrumbs a {
	color: var(--blue);
}

.kp-archive {
	min-height: 100vh;
	background: var(--paper);
}

.kp-courses-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	min-height: 690px;
	padding: 68px 3.4vw 90px;
	overflow: hidden;
}

.kp-courses-hero-copy {
	position: relative;
	z-index: 2;
	align-self: center;
	max-width: 880px;
}

.kp-archive-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 70px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.kp-archive-breadcrumbs a:hover {
	color: var(--blue);
}

.kp-courses-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(3.4rem, 6.2vw, 7rem);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -.06em;
}

.kp-courses-hero h1 strong {
	display: block;
	color: var(--blue);
	font-weight: 800;
}

.kp-courses-visual {
	position: relative;
	min-height: 530px;
}

.kp-courses-orb {
	position: absolute;
	top: 6%;
	right: 4%;
	display: grid;
	width: min(32vw, 470px);
	aspect-ratio: 1;
	place-content: center;
	border-radius: 50%;
	background: var(--blue);
	color: white;
	text-align: center;
	box-shadow: inset -70px -70px 120px rgba(8, 26, 80, .24);
}

.kp-courses-orb span {
	font-size: clamp(4.5rem, 8vw, 8rem);
	font-weight: 700;
	line-height: .9;
	letter-spacing: -.08em;
}

.kp-courses-orb small {
	margin-top: 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.kp-courses-ring {
	position: absolute;
	inset: 0 0 2%;
	border: 1px solid rgba(50, 78, 139, .2);
	border-radius: 50%;
}

.kp-courses-badge {
	position: absolute;
	left: 2%;
	bottom: 4%;
	display: grid;
	width: min(17vw, 220px);
	aspect-ratio: 1;
	place-items: center;
	border-radius: 50%;
	background: var(--lime);
	font-size: clamp(1.3rem, 2.3vw, 2.5rem);
	font-weight: 700;
}

.kp-courses-arrow {
	position: absolute;
	right: 20%;
	bottom: 4%;
	color: white;
	font-size: clamp(5rem, 9vw, 9rem);
	line-height: 1;
}

.kp-category-hero {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	min-height: 650px;
	align-items: center;
	gap: 6vw;
	padding: 70px 3.4vw 85px;
	overflow: hidden;
}

.kp-category-hero h1 {
	max-width: 950px;
	margin: 0;
	font-size: clamp(3rem, 5.9vw, 6.7rem);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -.06em;
	text-wrap: balance;
}

.kp-category-art {
	position: relative;
	display: grid;
	width: min(37vw, 520px);
	aspect-ratio: 1;
	place-items: center;
	justify-self: center;
	border-radius: 50%;
	background: var(--blue);
	color: white;
	box-shadow: inset -75px -70px 130px rgba(6, 19, 62, .25);
}

.kp-category-art::before {
	position: absolute;
	width: 125%;
	aspect-ratio: 1;
	border: 1px solid rgba(50, 78, 139, .22);
	border-radius: 50%;
	content: "";
}

.kp-category-art > span {
	font-size: clamp(5rem, 10vw, 10rem);
	font-weight: 700;
	letter-spacing: -.08em;
}

.kp-category-art small {
	position: absolute;
	right: 2%;
	bottom: 9%;
	display: grid;
	width: 105px;
	height: 105px;
	place-items: center;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	font-size: 28px;
	font-weight: 700;
}

.kp-category-art i {
	position: absolute;
	top: 13%;
	right: 14%;
	font-size: 46px;
	font-style: normal;
}

.kp-catalog-section {
	scroll-margin-top: 82px;
	padding: 110px 3.4vw 120px;
	background: var(--ink);
	color: white;
}

.kp-catalog-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 58px;
}

.kp-catalog-head {
	margin-bottom: 58px;
}

.kp-catalog-top h2,
.kp-catalog-head h2 {
	margin: 0;
	font-size: clamp(2.5rem, 4.8vw, 5.4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.055em;
}

.kp-catalog-section .section-kicker {
	color: #d2dbf0;
}

.kp-archive-search {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	width: min(560px, 100%);
	min-height: 62px;
	padding: 0 20px;
	border: 1px solid #536078;
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	transition: border-color .2s ease, background .2s ease;
}

.kp-archive-search:focus-within {
	border-color: #d2dbf0;
	background: rgba(255, 255, 255, .07);
}

.kp-archive-search span {
	color: #d2dbf0;
	font-size: 25px;
}

.kp-archive-search input {
	width: 100%;
	height: 60px;
	border: 0;
	outline: 0;
	background: transparent;
	color: white;
	font-size: 15px;
}

.kp-archive-search input::placeholder {
	color: #9eabc1;
}

.kp-archive-search button {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid #536078;
	border-radius: 50%;
	background: transparent;
	color: white;
	cursor: pointer;
}

.kp-archive-search .search-results {
	right: 0;
	width: min(560px, 92vw);
	color: var(--ink);
	text-align: left;
}

.kp-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.kp-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 24px 0 36px;
	border-top: 1px solid #38445a;
	border-bottom: 1px solid #38445a;
}

.kp-filter-chips a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 0 17px;
	border: 1px solid #536078;
	border-radius: 999px;
	color: #c5cfdf;
	font-size: 12px;
	font-weight: 700;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.kp-filter-chips a:hover,
.kp-filter-chips .is-active {
	border-color: var(--lime);
	background: var(--lime);
	color: var(--ink);
}

.kp-result-line {
	display: flex;
	min-height: 80px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #9eabc1;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.kp-result-line a {
	border-bottom: 1px solid currentColor;
	color: #c5cfdf;
	font-size: 11px;
}

.kp-course-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.kp-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 46px;
	padding-top: 32px;
	border-top: 1px solid #38445a;
}

.kp-pagination .page-numbers {
	display: inline-flex;
	min-width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid #536078;
	border-radius: 999px;
	background: rgba(255, 255, 255, .035);
	color: #c5cfdf;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition:
		background .2s ease,
		border-color .2s ease,
		color .2s ease,
		transform .2s ease;
}

.kp-pagination .page-numbers:hover,
.kp-pagination .page-numbers:focus-visible {
	border-color: var(--lime);
	background: rgba(223, 245, 106, .1);
	color: white;
	transform: translateY(-2px);
}

.kp-pagination .page-numbers:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 3px;
}

.kp-pagination .page-numbers.current {
	border-color: var(--lime);
	background: var(--lime);
	color: var(--ink);
}

.kp-pagination .page-numbers.dots {
	min-width: 28px;
	border-color: transparent;
	background: transparent;
	color: #748096;
}

.kp-pagination .prev,
.kp-pagination .next {
	min-width: 108px;
	padding-inline: 18px;
}

.kp-course-card {
	display: flex;
	min-height: 470px;
	flex-direction: column;
	justify-content: space-between;
	padding: 25px;
	overflow: hidden;
	border-radius: 26px;
	color: var(--ink);
	transition: transform .25s ease;
}

.kp-course-card:hover {
	transform: translateY(-6px);
}

.kp-course-card.tone-blue {
	background: #c8d3ec;
}

.kp-course-card.tone-lime {
	background: var(--lime);
}

.kp-course-card.tone-sand {
	background: var(--sand);
}

.kp-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
}

.kp-card-top span:last-child {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(11, 21, 38, .28);
	border-radius: 50%;
}

.kp-card-body {
	margin: auto 0 25px;
}

.kp-card-body > p {
	margin: 0 0 20px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kp-card-body h2 {
	margin: 0 0 30px;
	font-size: clamp(1.35rem, 2vw, 2.35rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.045em;
	text-wrap: balance;
}

.kp-card-body dl {
	display: grid;
	gap: 12px;
	margin: 0;
}

.kp-card-body dl > div {
	display: grid;
	grid-template-columns: minmax(110px, .8fr) 1.2fr;
	gap: 15px;
	padding-top: 12px;
	border-top: 1px solid rgba(11, 21, 38, .2);
}

.kp-card-body dt {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.kp-card-body dd {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

.kp-card-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	border-top: 1px solid rgba(11, 21, 38, .26);
	font-size: 12px;
	font-weight: 800;
}

.kp-card-link b {
	font-size: 22px;
}

.kp-empty {
	display: grid;
	min-height: 430px;
	place-items: center;
	align-content: center;
	padding: 45px;
	border: 1px solid #38445a;
	border-radius: 28px;
	text-align: center;
}

.kp-empty > span {
	color: #d2dbf0;
	font-size: 50px;
}

.kp-empty h3 {
	margin: 18px 0 10px;
	font-size: 28px;
}

.kp-empty p {
	margin: 0 0 28px;
	color: #9eabc1;
}

.kp-single-course {
	padding-bottom: 90px;
}

.kp-course-hero {
	position: relative;
	min-height: 650px;
	padding: 70px max(3.4vw, calc((100vw - 1420px) / 2)) 90px;
	overflow: hidden;
}

.kp-course-hero::after {
	position: absolute;
	z-index: 0;
	top: 90px;
	right: 4vw;
	color: var(--blue);
	font-size: clamp(10rem, 22vw, 24rem);
	font-weight: 700;
	line-height: .75;
	opacity: .08;
	content: "↗";
}

.kp-course-hero .kp-breadcrumbs,
.kp-course-hero h1,
.kp-course-hero .course-facts,
.kp-course-hero .hero-actions {
	position: relative;
	z-index: 1;
}

.kp-course-hero h1 {
	max-width: 1050px;
	margin: 0;
	color: var(--ink);
	font-size: clamp(2.2rem, 3.4vw, 4rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.05em;
	text-wrap: balance;
}

.kp-course-hero .course-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 330px));
	gap: 12px;
	margin: 48px 0 0;
}

.kp-course-hero .course-facts div {
	display: grid;
	gap: 10px;
	padding: 18px 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
}

.kp-course-hero .course-facts span {
	color: var(--muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kp-course-hero .course-facts strong {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.kp-course-content {
	display: grid;
	grid-template-columns: .28fr .72fr;
	gap: 6vw;
	padding: 110px max(3.4vw, calc((100vw - 1420px) / 2));
	background: white;
}

.kp-course-content-label {
	align-self: start;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}

.kp-course-content-label span {
	color: var(--blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kp-course-content-label p {
	margin: 18px 0 0;
	font-size: 24px;
	font-weight: 700;
}

.kp-course-content .course-program {
	max-width: 900px;
	margin: 0;
	color: #273143;
	font-size: 16px;
	line-height: 1.8;
}

.kp-course-content .course-program > :first-child {
	margin-top: 0;
}

.kp-text-page {
	max-width: 980px;
}

.kp-info-page {
	min-height: 100vh;
	background: var(--paper);
}

.kp-info-hero {
	padding: 75px 3.4vw 95px;
}

.kp-info-hero .kp-breadcrumbs {
	margin-bottom: 65px;
}

.kp-info-hero h1 {
	max-width: 1150px;
	margin: 0;
	font-size: clamp(3.2rem, 6.2vw, 7rem);
	line-height: .98;
	letter-spacing: -.06em;
	text-wrap: balance;
}

.kp-info-lead {
	max-width: 720px;
	margin: 32px 0 0;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.75;
}

.kp-info-content {
	padding: 105px 3.4vw 120px;
	background: white;
}

.kp-info-content-dark {
	padding: 105px 3.4vw 120px;
	background: var(--ink);
	color: white;
}

.kp-info-section-head {
	max-width: 950px;
	margin-bottom: 50px;
}

.kp-info-section-head h2 {
	margin: 0;
	font-size: clamp(2.3rem, 4.2vw, 4.9rem);
	line-height: 1.04;
	letter-spacing: -.05em;
}

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	display: grid;
	grid-template-columns: auto minmax(330px, 1fr) auto;
	min-height: 96px;
	align-items: center;
	gap: clamp(20px, 2.2vw, 38px);
	padding: 0 clamp(22px, 3.2vw, 58px);
	border-bottom: 1px solid var(--line);
	background: rgba(247, 248, 250, .95);
	backdrop-filter: blur(18px);
}

.brand {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid transparent;
	border-radius: 18px;
	transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.brand::after {
	position: absolute;
	right: 18px;
	bottom: 4px;
	left: 18px;
	height: 2px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--blue), var(--lime));
	content: "";
	transform: scaleX(.28);
	transform-origin: left;
	transition: transform .28s ease;
}

.brand:hover {
	border-color: rgba(50, 78, 139, .13);
	background: white;
	box-shadow: 0 10px 28px rgba(11, 21, 38, .08);
	transform: translateY(-1px);
}

.brand:hover::after {
	transform: scaleX(1);
}

.brand-logo {
	display: block;
	width: 218px;
	height: 72px;
	object-fit: contain;
	object-position: left center;
}

.nav {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 2vw, 32px);
	font-size: 14px;
	font-weight: 600;
}

.nav > a,
.catalog-button {
	padding: 36px 0;
	line-height: 1;
	white-space: nowrap;
	transition: color .2s ease;
}

.nav > a:hover,
.catalog-button:hover {
	color: var(--blue);
}

.catalog-menu {
	position: relative;
}

.catalog-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.catalog-chevron {
	display: block;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s ease, margin .25s ease;
}

.catalog-button-open .catalog-chevron {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.catalog-dropdown {
	position: absolute;
	top: calc(100% - 5px);
	left: 50%;
	display: grid;
	width: min(780px, 88vw);
	grid-template-columns: repeat(2, 1fr);
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 22px;
	visibility: hidden;
	background: white;
	box-shadow: 0 25px 70px rgba(11, 21, 38, .16);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -10px) scale(.985);
	transform-origin: top center;
	transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.catalog-dropdown-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0) scale(1);
}

.catalog-dropdown a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-radius: 11px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.35;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.catalog-dropdown a:hover {
	background: var(--paper);
	color: var(--blue);
	transform: translateX(3px);
}

.catalog-dropdown .all-courses {
	grid-column: 1 / -1;
	margin-bottom: 5px;
	background: var(--blue);
	color: white;
	font-weight: 700;
}

.catalog-dropdown .all-courses:hover {
	background: var(--blue-dark);
	color: white;
}

.catalog-dropdown .nav-schedule-link {
	grid-column: 1 / -1;
	margin-bottom: 9px;
	border: 1px solid rgba(50, 78, 139, .28);
	background: rgba(50, 78, 139, .06);
	color: var(--blue);
	font-weight: 700;
}

.catalog-dropdown .nav-schedule-link:hover {
	border-color: var(--blue);
	background: rgba(50, 78, 139, .12);
	color: var(--blue);
}

.nav-dropdown-compact .catalog-dropdown {
	width: max-content;
	min-width: 220px;
	max-width: 88vw;
	grid-template-columns: 1fr;
	padding: 12px;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.header-search {
	position: relative;
	display: grid;
	width: clamp(210px, 18vw, 285px);
	height: 48px;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 0 7px 0 15px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: white;
	transition: width .25s ease, border-color .2s ease, box-shadow .2s ease;
}

.header-search:focus-within {
	width: clamp(250px, 21vw, 330px);
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(50, 78, 139, .1);
}

.search-icon {
	color: var(--blue);
	font-size: 22px;
	line-height: 1;
}

.header-search input {
	width: 100%;
	min-width: 0;
	height: 44px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-size: 13px;
}

.header-search input::placeholder {
	color: #8791a2;
}

.header-search > button {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--blue);
	color: white;
	font-size: 17px;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease;
}

.header-search > button:hover {
	background: var(--blue-dark);
	transform: rotate(8deg);
}

.search-results {
	position: absolute;
	z-index: 60;
	top: calc(100% + 12px);
	right: 0;
	display: grid;
	width: min(430px, 92vw);
	max-height: min(520px, 70vh);
	overflow: auto;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 20px;
	visibility: hidden;
	background: white;
	box-shadow: 0 24px 70px rgba(11, 21, 38, .18);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-8px) scale(.985);
	transform-origin: top right;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.search-results-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.search-result {
	position: relative;
	display: grid;
	gap: 5px;
	padding: 13px 42px 13px 13px;
	border-radius: 12px;
	transition: background .18s ease, transform .18s ease;
}

.search-result:hover {
	background: var(--paper);
	transform: translateX(3px);
}

.search-result > span {
	color: var(--blue);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.search-result strong {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.search-result i {
	position: absolute;
	top: 50%;
	right: 14px;
	color: var(--blue);
	font-size: 17px;
	font-style: normal;
	transform: translateY(-50%);
}

.search-empty {
	margin: 0;
	padding: 22px 14px;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.search-all {
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	margin-top: 5px;
	padding: 0 14px;
	border-radius: 11px;
	background: var(--ink);
	color: white;
	font-size: 11px;
	font-weight: 700;
}

.whatsapp-button {
	display: inline-flex;
	min-width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	border-radius: 999px;
	background: #21b65b;
	color: white;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.whatsapp-button:hover {
	background: #159447;
	box-shadow: 0 10px 24px rgba(21, 148, 71, .22);
	transform: translateY(-2px);
}

.whatsapp-icon {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .58);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 800;
}

.phone {
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.menu-button {
	display: none;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.site-footer {
	padding: 28px 3.4vw 24px;
	overflow: hidden;
	background: #080f1d;
	color: white;
}

.footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 36px 40px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 28px;
	background: linear-gradient(120deg, rgba(50, 78, 139, .24), rgba(223, 245, 106, .08));
}

.footer-cta > div {
	display: grid;
	gap: 9px;
}

.footer-cta p {
	margin: 0;
	color: #d4def2;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.footer-cta strong {
	max-width: 780px;
	font-size: clamp(1.25rem, 2.3vw, 2.45rem);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -.04em;
}

.footer-cta > a {
	display: inline-flex;
	min-height: 52px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--lime);
	color: var(--ink);
	font-size: 11px;
	font-weight: 800;
	transition: transform .2s ease, box-shadow .2s ease;
}

.footer-cta > a:hover {
	box-shadow: 0 12px 32px rgba(223, 245, 106, .18);
	transform: translateY(-2px);
}

.footer-main {
	display: grid;
	grid-template-columns: 1.35fr .72fr .9fr 1fr;
	gap: clamp(34px, 5vw, 80px);
	padding: 64px 10px 58px;
}

.footer-brand-block {
	min-width: 0;
}

.footer-brand-logo {
	max-width: 290px;
	padding: 8px 14px;
	border-color: rgba(255, 255, 255, .16);
	background: white;
}

.footer-brand-logo .brand-logo {
	width: 248px;
	max-width: 100%;
	height: 76px;
}

.footer-brand-block > p {
	max-width: 360px;
	margin: 28px 0 18px;
	color: #a4afc1;
	font-size: 12px;
	line-height: 1.7;
}

.footer-brand-block > span {
	display: block;
	max-width: 390px;
	color: #6f7c91;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.65;
	text-transform: uppercase;
}

.footer-column {
	min-width: 0;
}

.footer-column h2 {
	margin: 4px 0 22px;
	color: #77849a;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.footer-column > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 11px 0;
	color: #d7ddea;
	font-size: 12px;
	line-height: 1.5;
	transition: color .2s ease, transform .2s ease;
}

.footer-column > a:hover {
	color: var(--lime);
	transform: translateX(3px);
}

.footer-column > p {
	margin: 0;
	color: #b6c0d1;
	font-size: 12px;
	line-height: 1.75;
}

.footer-column > span {
	display: block;
	margin-top: 14px;
	color: #667287;
	font-size: 9px;
	letter-spacing: .1em;
}

.footer-column .footer-phone {
	justify-content: flex-start;
	font-size: 14px;
	font-weight: 600;
}

.footer-column .footer-whatsapp {
	width: max-content;
	margin-top: 18px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #21b65b;
	color: white;
	font-size: 10px;
	font-weight: 800;
}

.footer-bottom {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 22px 10px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	color: #657187;
	font-size: 9px;
	letter-spacing: .04em;
}

.footer-bottom a:hover {
	color: white;
}

.footer-bottom a:last-child {
	margin-left: auto;
	color: #b4bdcc;
}

@media (max-width: 1100px) {
	.kp-course-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (hover: hover) and (min-width: 1321px) {
	.catalog-menu:hover .catalog-dropdown,
	.catalog-menu:focus-within .catalog-dropdown {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: translate(-50%, 0) scale(1);
	}

	.catalog-menu:hover .catalog-chevron,
	.catalog-menu:focus-within .catalog-chevron {
		margin-top: 4px;
		transform: rotate(-135deg);
	}
}

@media (max-width: 1380px) {
	.site-header {
		grid-template-columns: auto minmax(290px, 1fr) auto;
		gap: 18px;
		padding-inline: 24px;
	}

	.brand-logo {
		width: 190px;
	}

	.nav {
		gap: 18px;
		font-size: 13px;
	}

	.header-search {
		width: 205px;
	}

	.header-search:focus-within {
		width: 250px;
	}

	.whatsapp-label {
		display: none;
	}

	.whatsapp-button {
		width: 48px;
		padding: 0;
	}
}

.kp-teachers-page {
	min-height: 100vh;
	background: var(--paper);
}

.kp-teachers-hero {
	padding: 48px 3.4vw 92px;
	overflow: hidden;
	background: var(--paper);
}

.kp-teachers-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 72px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
}

.kp-teachers-breadcrumbs a {
	transition: color .2s ease;
}

.kp-teachers-breadcrumbs a:hover {
	color: var(--blue);
}

.kp-teachers-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
	align-items: end;
	gap: clamp(50px, 8vw, 150px);
}

.kp-teachers-kicker {
	margin: 0 0 18px;
	color: var(--blue);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.kp-teachers-hero h1 {
	margin: 0;
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: clamp(2.4rem, 5.6vw, 6rem);
	font-weight: 700;
	line-height: .92;
	letter-spacing: -.06em;
	overflow-wrap: break-word;
	hyphens: none;
}

.kp-teachers-lead {
	max-width: 650px;
	margin: 0 0 7px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.8;
}

.kp-teachers-directory {
	padding: 110px 3.4vw 125px;
	background: var(--white);
}

.kp-teachers-directory-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 60px;
	margin-bottom: 38px;
}

.kp-teachers-directory-head h2 {
	max-width: 760px;
	margin: 0;
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: clamp(2.15rem, 4vw, 4.5rem);
	font-weight: 650;
	line-height: 1.02;
	letter-spacing: -.055em;
}

.kp-teachers-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 45px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.kp-teachers-filter {
	min-height: 42px;
	padding: 0 19px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--muted);
	font-size: 10px;
	font-weight: 750;
	cursor: pointer;
	transition:
		border-color .2s ease,
		background .2s ease,
		color .2s ease,
		transform .2s ease;
}

.kp-teachers-filter:hover {
	border-color: var(--blue);
	color: var(--blue);
	transform: translateY(-1px);
}

.kp-teachers-filter.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.kp-teachers-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.kp-teacher-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 305px;
	flex-direction: column;
	padding: 27px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 25px;
	background: var(--paper);
	cursor: pointer;
	transition:
		border-color .25s ease,
		box-shadow .25s ease,
		transform .25s ease;
}

.kp-teacher-card[hidden] {
	display: none;
}

.kp-teacher-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: var(--blue);
	transform: scaleX(.28);
	transform-origin: left;
	transition: transform .25s ease;
}

.kp-teacher-card:nth-child(3n+2)::before {
	background: var(--lime);
}

.kp-teacher-card:nth-child(3n+3)::before {
	background: var(--sand);
}

.kp-teacher-card:hover,
.kp-teacher-card:focus-within {
	border-color: rgba(50, 78, 139, .32);
	box-shadow: 0 20px 50px rgba(11, 21, 38, .09);
	transform: translateY(-4px);
}

.kp-teacher-card:hover::before,
.kp-teacher-card:focus-within::before {
	transform: scaleX(1);
}

.kp-teacher-card-button {
	display: flex;
	width: 100%;
	flex: 1;
	flex-direction: column;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.kp-teacher-top {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 15px;
}

.kp-teacher-photo,
.kp-teacher-avatar {
	display: block;
	width: 64px;
	height: 64px;
	flex: 0 0 auto;
	border-radius: 50%;
}

.kp-teacher-photo {
	object-fit: cover;
	object-position: center top;
}

.kp-teacher-avatar {
	display: grid;
	place-items: center;
	background: var(--blue);
	color: var(--lime);
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: 14px;
	font-weight: 800;
}

.kp-teacher-name {
	margin: 3px 0 6px;
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.3;
}

.kp-teacher-position {
	margin: 0;
	color: var(--blue);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.45;
}

.kp-teacher-bio {
	margin: 26px 0 30px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.72;
}

.kp-teacher-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: auto;
}

.kp-teacher-tag {
	max-width: 100%;
	padding: 7px 10px;
	border-radius: 999px;
	background: var(--white);
	color: #48556a;
	font-size: 9px;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.kp-teacher-more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
	padding-top: 15px;
	border-top: 1px solid var(--line);
	color: var(--blue);
	font-size: 10px;
	font-weight: 800;
}

.kp-teacher-more span {
	font-size: 17px;
}

.kp-teachers-empty {
	grid-column: 1 / -1;
	padding: 55px 30px;
	border: 1px solid var(--line);
	border-radius: 25px;
	background: var(--paper);
	color: var(--muted);
	text-align: center;
}

.kp-teachers-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 55px;
	padding: 78px 3.4vw;
	background: var(--ink);
	color: var(--white);
}

.kp-teachers-cta .kp-teachers-kicker {
	color: #d2dbf0;
}

.kp-teachers-cta h2 {
	max-width: 850px;
	margin: 0;
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: clamp(2rem, 3.7vw, 4.25rem);
	font-weight: 650;
	line-height: 1.04;
	letter-spacing: -.055em;
}

.kp-teachers-cta-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.kp-teachers-cta-primary,
.kp-teachers-cta-phone {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 800;
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		background .2s ease;
}

.kp-teachers-cta-primary {
	gap: 25px;
	padding: 0 22px;
	background: var(--lime);
	color: var(--ink);
}

.kp-teachers-cta-primary:hover {
	box-shadow: 0 12px 32px rgba(223, 245, 106, .18);
	transform: translateY(-2px);
}

.kp-teachers-cta-phone {
	padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, .22);
	color: var(--white);
}

.kp-teachers-cta-phone:hover {
	background: rgba(255, 255, 255, .07);
	transform: translateY(-2px);
}

.kp-teacher-modal[hidden] {
	display: none;
}

.kp-teacher-modal {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 16px;
}

.kp-teacher-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(5, 12, 24, .76);
	backdrop-filter: blur(10px);
}

.kp-teacher-modal-panel {
	position: relative;
	z-index: 1;
	width: min(1080px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow: auto;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 30px;
	background: var(--white);
	box-shadow: 0 35px 100px rgba(0, 0, 0, .35);
	color: var(--ink);
}

.kp-teacher-modal-close {
	position: sticky;
	z-index: 5;
	top: 18px;
	float: right;
	display: grid;
	width: 44px;
	height: 44px;
	margin: 18px 18px -62px 0;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--ink);
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 25px rgba(11, 21, 38, .12);
}

.kp-teacher-modal-close:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.kp-teacher-modal-state {
	padding: 70px 62px;
	color: var(--muted);
	font-size: 14px;
}

.kp-teacher-modal-hero {
	display: grid;
	grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
	min-height: 390px;
	background: var(--paper);
}

.kp-teacher-modal-media {
	position: relative;
	min-height: 390px;
	overflow: hidden;
	background: var(--blue);
}

.kp-teacher-modal-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 390px;
	object-fit: cover;
	object-position: center top;
}

.kp-teacher-modal-photo-fallback {
	display: grid;
	min-height: 390px;
	place-items: center;
	background: var(--blue);
	color: var(--lime);
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: clamp(4rem, 8vw, 7rem);
	font-weight: 800;
}

.kp-teacher-modal-intro {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: flex-end;
	padding: 65px 62px 55px;
}

.kp-teacher-modal-direction {
	margin: 0 0 18px;
	color: var(--blue);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.kp-teacher-modal-intro h2 {
	max-width: 620px;
	margin: 0;
	font-family: var(--font-montserrat), Montserrat, Arial, sans-serif;
	font-size: clamp(2.3rem, 4.3vw, 4.8rem);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -.06em;
}

.kp-teacher-modal-position {
	max-width: 650px;
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.65;
}

.kp-teacher-modal-content {
	padding: 62px;
	background: var(--white);
}

.kp-teacher-modal-section {
	display: grid;
	grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
	gap: 50px;
	padding: 38px 0;
	border-top: 1px solid var(--line);
}

.kp-teacher-modal-section:first-child {
	padding-top: 0;
	border-top: 0;
}

.kp-teacher-modal-section h3 {
	margin: 0;
	color: var(--blue);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.kp-teacher-modal-section-content {
	color: #273247;
	font-size: 14px;
	line-height: 1.8;
}

.kp-teacher-modal-section-content p:first-child {
	margin-top: 0;
}

.kp-teacher-modal-section-content p:last-child {
	margin-bottom: 0;
}

.kp-teacher-modal-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kp-teacher-modal-list li {
	position: relative;
	padding-left: 22px;
}

.kp-teacher-modal-list li::before {
	content: "";
	position: absolute;
	top: .72em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(223, 245, 106, .25);
}

.kp-teacher-certificates {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.kp-teacher-certificate {
	position: relative;
	aspect-ratio: .72;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 15px;
	background: var(--paper);
	cursor: pointer;
}

.kp-teacher-certificate img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .25s ease;
}

.kp-teacher-certificate:hover img {
	transform: scale(1.035);
}

.kp-teacher-resumes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kp-teacher-resume-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 18px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 10px;
	font-weight: 800;
	transition:
		border-color .2s ease,
		color .2s ease,
		transform .2s ease;
}

.kp-teacher-resume-link:hover {
	border-color: var(--blue);
	color: var(--blue);
	transform: translateY(-1px);
}

body.kp-teacher-modal-open {
	overflow: hidden;
}

@media (max-width: 1050px) {
	.kp-teachers-hero-grid,
	.kp-teachers-cta {
		grid-template-columns: 1fr;
	}

	.kp-teachers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kp-teachers-directory-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.kp-teacher-modal-hero {
		grid-template-columns: 280px minmax(0, 1fr);
	}

	.kp-teacher-modal-intro,
	.kp-teacher-modal-content {
		padding: 48px;
	}

	.kp-teacher-certificates {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.kp-teachers-hero {
		padding: 38px 20px 74px;
	}

	.kp-teachers-breadcrumbs {
		margin-bottom: 54px;
	}

	.kp-teachers-hero-grid {
		gap: 34px;
	}

	.kp-teachers-hero h1 {
		font-size: clamp(2rem, 8.2vw, 3rem);
		line-height: .98;
		letter-spacing: -.035em;
	}

	.kp-teachers-lead {
		font-size: 14px;
	}

	.kp-teachers-directory {
		padding: 82px 20px 90px;
	}

	.kp-teachers-filters {
		flex-wrap: nowrap;
		margin-right: -20px;
		padding-right: 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.kp-teachers-filter {
		flex: 0 0 auto;
	}

	.kp-teachers-grid {
		grid-template-columns: 1fr;
	}

	.kp-teacher-card {
		min-height: 280px;
		padding: 23px;
	}

	.kp-teachers-cta {
		gap: 38px;
		padding: 75px 20px;
	}

	.kp-teachers-cta-actions {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
	}

	.kp-teachers-cta-primary,
	.kp-teachers-cta-phone {
		width: 100%;
		white-space: normal;
		text-align: center;
	}

	.kp-teacher-modal {
		padding: 8px;
	}

	.kp-teacher-modal-panel {
		width: calc(100vw - 16px);
		max-height: calc(100vh - 16px);
		border-radius: 22px;
	}

	.kp-teacher-modal-hero {
		grid-template-columns: 1fr;
	}

	.kp-teacher-modal-media,
	.kp-teacher-modal-media img,
	.kp-teacher-modal-photo-fallback {
		min-height: 340px;
		max-height: 430px;
	}

	.kp-teacher-modal-intro {
		padding: 38px 24px 34px;
	}

	.kp-teacher-modal-content {
		padding: 34px 24px 42px;
	}

	.kp-teacher-modal-section {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 30px 0;
	}

	.kp-teacher-certificates {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.kp-teacher-card,
	.kp-teacher-card::before,
	.kp-teachers-filter,
	.kp-teacher-certificate img,
	.kp-teachers-cta-primary,
	.kp-teachers-cta-phone {
		transition: none;
	}
}

@media (max-width: 1320px) {
	.site-header {
		grid-template-columns: 1fr auto;
		min-height: 88px;
	}

	.brand-logo {
		width: 205px;
		height: 66px;
	}

	.phone {
		display: none;
	}

	.menu-button {
		display: grid;
		width: 46px;
		height: 46px;
		place-content: center;
		gap: 6px;
		border-radius: 50%;
	}

	.menu-button span {
		display: block;
		width: 23px;
		height: 2px;
		background: var(--ink);
		transition: transform .2s ease;
	}

	.nav {
		position: absolute;
		z-index: 55;
		top: 88px;
		right: 0;
		left: 0;
		display: flex;
		max-height: 0;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		overflow: hidden;
		padding: 0 24px;
		border-bottom: 1px solid var(--line);
		visibility: hidden;
		background: var(--paper);
		opacity: 0;
		transform: translateY(-8px);
		transition: max-height .35s ease, opacity .25s ease, transform .25s ease, visibility .25s ease, padding .25s ease;
	}

	.nav-open {
		max-height: calc(100vh - 88px);
		overflow: auto;
		padding: 15px 24px 28px;
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
	}

	.nav > a,
	.catalog-button {
		display: flex;
		width: 100%;
		min-height: 50px;
		align-items: center;
		justify-content: space-between;
		padding: 12px 0;
		text-align: left;
	}

	.catalog-dropdown {
		position: static;
		width: 100%;
		max-height: 0;
		grid-template-columns: 1fr;
		overflow: hidden;
		padding: 0 8px;
		border: 0;
		visibility: hidden;
		box-shadow: none;
		opacity: 0;
		transform: translateY(-6px) scale(1);
		transition: max-height .35s ease, opacity .22s ease, transform .22s ease, visibility .22s ease, padding .22s ease, margin .22s ease;
	}

	.catalog-dropdown-open {
		max-height: 900px;
		margin-bottom: 10px;
		padding: 8px;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.catalog-dropdown .all-courses,
	.catalog-dropdown .nav-schedule-link {
		grid-column: auto;
	}

	.nav-dropdown-compact .catalog-dropdown {
		width: 100%;
		min-width: 0;
		max-width: none;
		padding: 0 8px;
	}

	.nav-dropdown-compact .catalog-dropdown-open {
		padding: 8px;
	}

}

@media (max-width: 1180px) {
	.footer-main {
		grid-template-columns: 1.2fr 1fr 1fr;
	}

	.footer-brand-block {
		grid-column: 1 / -1;
	}

	.kp-courses-hero,
	.kp-category-hero {
		grid-template-columns: 1fr;
	}

	.kp-courses-visual {
		min-height: 500px;
		margin-top: 40px;
	}

	.kp-courses-orb {
		width: min(70vw, 470px);
	}

	.kp-courses-badge {
		width: min(34vw, 220px);
	}

	.kp-category-art {
		width: min(70vw, 480px);
	}

	.kp-catalog-top {
		align-items: stretch;
		flex-direction: column;
	}

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

	.kp-course-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.site-header {
		min-height: 142px;
		align-content: start;
		padding: 8px 20px 14px;
	}

	.brand-logo {
		width: 178px;
		max-width: 52vw;
		height: 64px;
	}

	.header-actions {
		align-self: center;
	}

	.header-search {
		position: absolute;
		right: 20px;
		bottom: 13px;
		left: 20px;
		width: auto;
		height: 48px;
	}

	.header-search:focus-within {
		width: auto;
	}

	.search-results {
		right: 0;
		left: 0;
		width: auto;
		transform-origin: top center;
	}

	.nav {
		top: 142px;
	}

	.nav-open {
		max-height: calc(100vh - 142px);
	}

	.site-footer {
		padding: 20px 20px 24px;
	}

	.footer-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 28px 24px;
		border-radius: 22px;
	}

	.footer-cta > a {
		width: 100%;
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 38px 24px;
		padding: 50px 4px 44px;
	}

	.footer-brand-block {
		grid-column: 1 / -1;
	}

	.footer-bottom {
		flex-wrap: wrap;
		gap: 12px 24px;
		padding-inline: 4px;
	}

	.kp-courses-hero,
	.kp-category-hero,
	.kp-course-hero {
		min-height: auto;
		padding: 55px 20px 70px;
	}

	.kp-courses-hero {
		padding-top: 38px;
	}

	.kp-archive-breadcrumbs,
	.kp-breadcrumbs {
		margin-bottom: 42px;
	}

	.kp-courses-hero h1,
	.kp-category-hero h1 {
		font-size: clamp(2.65rem, 12.5vw, 4.4rem);
	}

	.kp-courses-visual {
		min-height: 355px;
		margin-top: 35px;
	}

	.kp-courses-orb {
		width: min(78vw, 330px);
	}

	.kp-courses-badge {
		width: 132px;
	}

	.kp-courses-arrow {
		right: 13%;
		font-size: 5.2rem;
	}

	.kp-category-art {
		width: 78vw;
		margin-top: 20px;
	}

	.kp-category-art small {
		width: 82px;
		height: 82px;
	}

	.kp-catalog-section {
		scroll-margin-top: 72px;
		padding: 80px 20px;
	}

	.kp-catalog-top {
		margin-bottom: 42px;
	}

	.kp-catalog-head {
		margin-bottom: 42px;
	}

	.kp-archive-search {
		min-height: 56px;
		padding: 0 15px;
	}

	.kp-archive-search input {
		height: 54px;
		font-size: 14px;
	}

	.kp-filter-chips {
		flex-wrap: nowrap;
		margin-inline: -20px;
		padding: 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.kp-filter-chips::-webkit-scrollbar {
		display: none;
	}

	.kp-filter-chips a {
		flex: 0 0 auto;
		max-width: 270px;
	}

	.kp-result-line {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
	}

	.kp-course-grid {
		grid-template-columns: 1fr;
	}

	.kp-pagination {
		justify-content: flex-start;
		gap: 5px;
		margin-top: 34px;
		padding-top: 24px;
	}

	.kp-pagination .page-numbers {
		min-width: 34px;
		height: 34px;
		padding-inline: 8px;
		font-size: 10px;
	}

	.kp-pagination .prev,
	.kp-pagination .next {
		min-width: 76px;
		padding-inline: 10px;
	}

	.kp-course-card {
		min-height: 430px;
		padding: 22px;
		border-radius: 20px;
	}

	.kp-card-body h2 {
		font-size: clamp(1.65rem, 8vw, 2.25rem);
	}

	.kp-card-body dl > div {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.kp-course-hero h1 {
		font-size: clamp(1.9rem, 8.5vw, 3rem);
	}

	.kp-course-hero .course-facts {
		grid-template-columns: 1fr;
	}

	.kp-course-content {
		padding: 82px 20px;
	}

	.kp-course-content .course-program {
		font-size: 15px;
	}

	.kp-info-hero {
		padding: 55px 20px 75px;
	}

	.kp-info-hero .kp-breadcrumbs {
		margin-bottom: 42px;
	}

	.kp-info-hero h1 {
		font-size: clamp(2.7rem, 13vw, 4.6rem);
	}

	.kp-info-content,
	.kp-info-content-dark {
		padding: 82px 20px;
	}
}

@media (max-width: 430px) {
	.site-header {
		padding-inline: 14px;
	}

	.brand-logo {
		width: 148px;
	}

	.header-search {
		right: 14px;
		left: 14px;
	}

	.whatsapp-button {
		width: 44px;
		height: 44px;
		min-width: 44px;
	}

	.menu-button {
		width: 44px;
		height: 44px;
	}

	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-brand-block {
		grid-column: auto;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-bottom a:last-child {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ============================================================
 * Декоративные иллюстрации в героях информационных страниц
 * ============================================================ */

.kp-hero-grid {
	display: grid;
	align-items: center;
	gap: clamp(30px, 5vw, 80px);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}

.kp-hero-grid > div {
	min-width: 0;
}

.kp-hero-art {
	justify-self: end;
	width: 100%;
	max-width: 424px;
}

.kp-hero-art svg {
	display: block;
	width: 100%;
	height: auto;
}

.kp-hero-ring {
	fill: none;
	stroke: var(--line);
	stroke-width: 1.5;
}

.kp-hero-ring-soft {
	stroke-dasharray: 5 9;
	opacity: .75;
}

.kp-hero-card {
	fill: var(--white);
	stroke: var(--line);
	stroke-width: 1.5;
}

.kp-hero-blue {
	fill: var(--blue);
}

.kp-hero-blue-soft {
	fill: rgba(50, 78, 139, .14);
}

.kp-hero-lime {
	fill: var(--lime);
}

.kp-hero-sand {
	fill: var(--sand);
}

.kp-hero-ink {
	fill: var(--ink);
}

.kp-hero-white {
	fill: var(--white);
}

.kp-hero-muted {
	fill: var(--line);
}

.kp-hero-stroke-ink {
	fill: none;
	stroke: var(--ink);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kp-hero-stroke-blue {
	fill: none;
	stroke: var(--blue);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kp-hero-stroke-line {
	fill: none;
	stroke: var(--line);
	stroke-width: 1.5;
	stroke-dasharray: 4 8;
	stroke-linecap: round;
}

/* Планшет: иллюстрация уже, но остаётся рядом с текстом. */
@media (max-width: 1024px) {
	.kp-hero-grid {
		gap: clamp(24px, 4vw, 44px);
		grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	}
}

/* Мобильные: иллюстрация уходит вниз и уменьшается. */
@media (max-width: 760px) {
	.kp-hero-grid {
		gap: 30px;
		grid-template-columns: minmax(0, 1fr);
	}

	.kp-hero-art {
		max-width: 280px;
		justify-self: start;
	}
}

@media (max-width: 430px) {
	.kp-hero-art {
		max-width: 228px;
	}
}
