/*
Theme Name: ART ROOM
Theme URI: https://artroom.local
Author: ART ROOM
Description: Тема творческого клуба ART ROOM. Главная страница повторяет макет: программы, преподаватели, отзывы, цены и запись на занятие.
Version: 1.1.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: artroom
*/

:root {
	--ink: #1c1640;
	--muted: #6e6888;
	--purple: #6f4ef2;
	--purple-deep: #5b3de6;
	--line: #ece7f6;
	--shadow: none;
	--shadow-hover: none;
	--radius: 24px;
	--container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	background-color: #ffffff;
}

body {
	margin: 0;
	font-family: Nunito, "Segoe UI", sans-serif;
	font-weight: 600;
	color: var(--ink);
	background-color: #ffffff;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

main,
.site-header,
.site-footer,
.section,
.hero,
.page-main {
	background-color: #ffffff;
}

img {
	max-width: 100%;
	height: auto;
}

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

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

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

button {
	cursor: pointer;
}

::selection {
	background: #e4dbff;
}

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 100;
	background: #fff;
	padding: 8px 12px;
	border-radius: 10px;
	font-weight: 800;
}

.skip-link:focus {
	top: 12px;
}

:focus-visible {
	outline: 3px solid #c4b5fd;
	outline-offset: 2px;
}

.container {
	width: min(var(--container), calc(100% - 40px));
	margin-inline: auto;
}

.header-inner.container {
	width: min(1320px, calc(100% - 40px));
}

.icon {
	width: 36px;
	height: 36px;
	display: block;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background-color: #ffffff;
	box-shadow: 0 8px 24px rgba(40, 20, 80, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 88px;
	position: relative;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.brand-logo,
.custom-logo {
	height: 62px;
	width: auto;
	display: block;
}

.brand-tag {
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #6d6788;
	max-width: 148px;
}

.hc-phone-bar {
	display: none;
}

.nav-check {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	border-radius: 12px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 0.2s ease;
}

.header-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex: 1;
	min-width: 0;
}

.nav-list {
	display: flex;
	justify-content: center;
	gap: 18px;
	flex-wrap: nowrap;
}

.nav-list a {
	position: relative;
	font-size: 15px;
	font-weight: 800;
	color: #3d365c;
	padding: 6px 0;
	white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.is-active,
.nav-list .current-menu-item > a {
	color: var(--purple);
}

.nav-list a.is-active::after,
.nav-list .current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	border-radius: 2px;
	background: var(--purple);
}

.site-nav {
	flex: 0 0 auto;
}

.header-contacts {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 18px;
}

.hc-phone,
.hc-address,
.footer-phone,
.footer-address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.hc-phone.hc-phone-bar {
	display: none;
}

.hc-phone,
.footer-phone {
	font-weight: 900;
	color: var(--ink);
	white-space: nowrap;
}

.hc-phone .icon,
.hc-address .icon,
.footer-phone .icon,
.footer-address .icon,
.map-chip .icon {
	width: 18px;
	height: 18px;
	margin-top: 1px;
}

.hc-address,
.footer-address {
	font-size: 12px;
	font-weight: 700;
	color: #7a7494;
	line-height: 1.3;
}

.footer-address {
	text-align: right;
}

.hc-address {
	justify-self: center;
	align-items: center;
	text-align: left;
}

.hc-address span {
	white-space: nowrap;
}

.hero {
	padding: 18px 0 8px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 12px;
}

.hero-title {
	font-size: clamp(36px, 4.5vw, 58px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.wow {
	position: relative;
	display: inline-block;
}

.rays {
	position: absolute;
	left: 50%;
	top: 54%;
	width: 118%;
	height: 230%;
	transform: translate(-50%, -50%);
	z-index: 0;
	pointer-events: none;
	overflow: visible;
}

.wow-text {
	position: relative;
	z-index: 1;
	display: inline-block;
	text-transform: uppercase;
	color: #7a9ec4;
	background: linear-gradient(100deg, #e7a3c4 0%, #f0d09a 34%, #9ecfed 68%, #a9d7b4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-lead {
	max-width: 460px;
	margin-top: 18px;
	color: #5d5778;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 999px;
	padding: 14px 20px;
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

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

.btn-primary {
	background: #f4e7f3;
	color: #6a4d68;
	border: 1.5px solid #ead3e4;
	box-shadow: none;
}

.btn-ghost {
	background: #f3f8fd;
	color: #4f7390;
	border: 1.5px solid #d7e8f4;
	box-shadow: none;
}

.btn-outline {
	background: #fff;
	color: var(--purple);
	border: 1.5px solid #ddd4f7;
	padding: 11px 18px;
	margin-top: 18px;
}

.btn-green {
	width: 100%;
	border-radius: 14px;
	background: linear-gradient(180deg, #45d888 0%, #22c56e 100%);
	color: #fff;
	box-shadow: 0 10px 20px rgba(34, 197, 110, 0.28);
	min-height: 52px;
	font-size: 16px;
}

.hero-visual img {
	width: 100%;
	display: block;
}

.perks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 28px;
	padding: 8px 0 12px;
}

.perks li {
	text-align: center;
}

.perks .perk-icon {
	width: 84px;
	height: 84px;
	margin: 0 auto 12px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.perk-icon .icon {
	width: 66px;
	height: 66px;
	margin: 0;
	display: block;
}

.perk-pink { background: #fdf0f7; }
.perk-blue { background: #ecf7fd; }
.perk-green { background: #eefce9; }
.perk-yellow { background: #fdf8e8; }

.perks li > span:last-child {
	display: block;
	max-width: 180px;
	margin: 0 auto;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: #1c1640;
}

.section {
	padding: 42px 0;
}

.section-last {
	padding-bottom: 18px;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.section-head h2,
.prices h2,
.signup h2 {
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.section-head h2::after {
	content: "";
	display: block;
	width: 168px;
	height: 18px;
	margin-top: -1px;
	background-image: url("img/shtrix.png");
	background-repeat: no-repeat;
	background-size: 190px auto;
	background-position: -11px -27px;
}

.works {
	position: relative;
}

.works-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 2px 0 6px;
}

.works-track::-webkit-scrollbar {
	display: none;
}

.works-slide {
	flex: 0 0 calc((100% - 48px) / 4);
	margin: 0;
	scroll-snap-align: start;
}

.works-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 22px;
}

.works-arrow {
	position: absolute;
	top: 38%;
	z-index: 2;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--purple);
	box-shadow: 0 8px 20px rgba(40, 20, 80, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.works-arrow svg {
	width: 18px;
	height: 18px;
}

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

.works-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.works-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
}

.works-dots button {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: #ddd6ef;
	cursor: pointer;
}

.works-dots button.is-active {
	width: 18px;
	background: var(--purple);
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--purple);
	font-weight: 800;
	font-size: 15px;
	white-space: nowrap;
}

.section-link svg,
.more svg {
	width: 16px;
	height: 16px;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.course-group {
	margin: 28px 0 0;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.course-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 28px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid #ece7f6;
}

.course-list h4 {
	margin-bottom: 4px;
	font-size: 17px;
	font-weight: 800;
}

.course-list p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.course-price {
	font-size: 16px;
	font-weight: 900;
	white-space: nowrap;
	padding-top: 2px;
}

.program-card,
.teacher-card {
	background: #fff;
	border: 1px solid #f3f0fa;
	border-radius: 22px;
	box-shadow: var(--shadow);
	padding: 10px 10px 16px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card:hover,
.teacher-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.program-card:hover {
	border-color: var(--tone);
}

.program-media,
.teacher-media {
	position: relative;
	display: block;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: #ffffff;
	color: inherit;
}

.teacher-media {
	aspect-ratio: 5 / 4.3;
}

.program-media img,
.teacher-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.badge,
.age {
	position: absolute;
	top: 10px;
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.badge {
	left: 10px;
	color: #fff;
	background: var(--tone);
}

.age {
	right: 10px;
	background: #fff;
	color: #2d2748;
	box-shadow: 0 6px 16px rgba(40, 20, 80, 0.08);
}

.tone-pink { --tone: #ec4eaa; }
.tone-orange { --tone: #f39a1f; }
.tone-green { --tone: #3cb44b; }
.tone-purple { --tone: #7c5cfc; }
.tone-blue { --tone: #3b82f6; }

.program-card h3,
.teacher-card h3 {
	margin: 12px 6px 4px;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.program-cost {
	margin: 10px 6px 0;
}

.program-cost strong {
	display: block;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.program-cost-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 2px;
}

.program-cost-row span {
	color: #8a84a3;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.program-cost-row .more {
	margin: 0;
	padding-top: 0;
	white-space: nowrap;
}

.program-card p,
.teacher-card p {
	margin: 0 6px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.program-card > p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	min-height: calc(1.4em * 4);
}

.teacher-card .role {
	color: #8a84a3;
	font-size: 13px;
	margin-bottom: 6px;
}

.more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: auto 6px 0;
	padding-top: 12px;
	color: var(--tone);
	font-weight: 800;
	font-size: 14px;
}

.socials {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.socials-muted {
	margin: 12px 6px 0;
}

.teacher-card .socials {
	margin-top: auto;
}

.socials a {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid #e6e0f4;
	color: #8d87a6;
	display: grid;
	place-items: center;
}

.socials a svg {
	width: 15px;
	height: 15px;
}

.socials a:hover {
	color: var(--purple);
	border-color: #d5ccf5;
}

.ya-board {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

.ya-summary,
.ya-card {
	margin: 0;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 16px;
}

.ya-summary {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
}

.ya-photo {
	position: relative;
	height: 156px;
	background: #ffffff;
}

.ya-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ya-photo .ya-photo-logo {
	position: absolute;
	left: 10px;
	bottom: 10px;
	width: 72px;
	height: 42px;
	object-fit: contain;
	padding: 3px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ya-summary-body {
	padding: 14px 14px 16px;
}

.ya-brand {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.ya-check {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.ya-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
	color: #6d6d6d;
	font-size: 13px;
	font-weight: 700;
}

.ya-badge {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 6px;
	border-radius: 6px;
	background: #2fad4a;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.ya-meta a {
	color: #1c1c1c;
	font-weight: 800;
}

.ya-meta span:last-child {
	color: #8a8a8a;
	font-weight: 600;
}

.ya-open {
	margin-top: 8px;
	color: #2fad4a;
	font-size: 14px;
	font-weight: 700;
}

.ya-place {
	margin-top: 4px;
	color: #6d6d6d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.ya-card {
	padding: 22px 20px;
}

.ya-person {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ya-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f3f3f3;
	color: #666;
	display: grid;
	place-items: center;
	font-weight: 800;
	flex: 0 0 auto;
}

.ya-name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 800;
	font-size: 16px;
}

.ya-card time {
	display: block;
	margin-top: 2px;
	color: #8a8a8a;
	font-size: 13px;
	font-weight: 600;
}

.ya-card > p {
	margin-top: 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	color: #222;
}

.stars {
	display: flex;
	gap: 2px;
}

.stars .icon {
	width: 16px;
	height: 16px;
}

.split {
	display: grid;
	grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
	gap: 22px;
	align-items: stretch;
}

.prices,
.signup {
	border-radius: 28px;
	padding: 26px;
}

.prices {
	background: #fff;
	border: 1px solid #f0eef6;
	box-shadow: var(--shadow);
}

.prices ul {
	margin-top: 18px;
	display: grid;
	gap: 12px;
}

.prices li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 15px;
}

.prices li span:first-child {
	font-weight: 700;
}

.leader {
	flex: 1;
	border-bottom: 1.5px dotted #ddd6ef;
	transform: translateY(-3px);
}

.prices strong {
	font-weight: 900;
	white-space: nowrap;
}

.signup {
	position: relative;
	background: #fff;
	border: 1px solid #f0eef6;
	box-shadow: var(--shadow);
	overflow: hidden;
}

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

.sprout {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
}

.form-notice {
	background: #fff;
	border-radius: 12px;
	padding: 10px 12px;
	margin-bottom: 12px;
	font-weight: 800;
	font-size: 14px;
}

.form-notice.is-ok { color: #15803d; }
.form-notice.is-err { color: #b91c1c; }
.form-notice a { color: inherit; text-decoration: underline; }

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

.form-grid .full {
	grid-column: 1 / -1;
}

.field {
	width: 100%;
	height: 48px;
	border-radius: 12px;
	border: 1px solid #ece8f6;
	background: #fff;
	padding: 0 14px;
	color: var(--ink);
}

textarea.field {
	height: 92px;
	padding: 12px 14px;
	resize: vertical;
	display: block;
}

select.field {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #8d87a8 50%), linear-gradient(135deg, #8d87a8 50%, transparent 50%);
	background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 34px;
}

.field::placeholder {
	color: #a8a2bc;
}

.hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.site-footer {
	position: relative;
	overflow: hidden;
	padding: 12px 0 54px;
}

.footer-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 0.9fr 1.05fr 1.15fr;
	gap: 22px;
	align-items: center;
}

.footer-contacts {
	position: relative;
	display: grid;
	justify-items: start;
	gap: 10px;
	padding-bottom: 18px;
}

.footer-phone {
	font-size: 20px;
}

.footer-address {
	text-align: left;
	font-size: 14px;
}

.footer-leaf {
	width: 72px;
	height: 90px;
	margin-top: 4px;
}

.studio,
.map-card {
	position: relative;
	height: 210px;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: #fff;
}

.studio-sky {
	position: absolute;
	inset: 0;
	background: linear-gradient(#d7ecff 0%, #eef8ff 42%, #d9f5d0 42%, #b7e6a8 100%);
}

.studio-logo {
	position: absolute;
	left: 50%;
	top: 10px;
	width: 62%;
	transform: translateX(-50%);
	z-index: 2;
	filter: drop-shadow(0 8px 10px rgba(40, 20, 60, 0.12));
}

.studio-facade {
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 0;
	height: 46%;
	background: #fff8f2;
	border-radius: 18px 18px 0 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	padding: 0 16px 0;
	z-index: 1;
}

.studio-facade span {
	width: 22%;
	height: 58%;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(#9fd6ff, #d7f0ff);
	box-shadow: inset 0 0 0 3px #f3d7c2;
}

.studio-facade .door {
	width: 16%;
	height: 78%;
	border-radius: 10px 10px 0 0;
	background: linear-gradient(#ffb25a, #f08a3c);
	box-shadow: inset 0 0 0 3px #f3d7c2;
}

.map-card iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.map-chip {
	position: absolute;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	display: flex;
	align-items: flex-start;
	gap: 6px;
	background: #fff;
	border-radius: 14px;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
	box-shadow: 0 8px 18px rgba(40, 20, 80, 0.1);
}

.splash {
	display: none;
}

.splash-left {
	left: -90px;
	bottom: -80px;
	width: 320px;
	height: 240px;
	background:
		radial-gradient(circle at 30% 40%, #ddd6fe 0 34%, transparent 35%),
		radial-gradient(circle at 62% 58%, #67e8f9 0 28%, transparent 29%),
		radial-gradient(circle at 48% 70%, #818cf8 0 22%, transparent 23%);
	border-radius: 60% 40% 50% 50%;
}

.splash-right {
	right: -70px;
	bottom: -90px;
	width: 300px;
	height: 230px;
	background:
		radial-gradient(circle at 40% 45%, #fde047 0 30%, transparent 31%),
		radial-gradient(circle at 68% 60%, #86efac 0 28%, transparent 29%),
		radial-gradient(circle at 30% 70%, #4ade80 0 16%, transparent 17%);
	border-radius: 46% 54% 42% 58%;
}

.page-main {
	padding: 48px 0 72px;
}

.prose {
	max-width: 760px;
}

.prose h1 {
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 900;
	letter-spacing: -0.03em;
	margin-bottom: 16px;
}

.prose p,
.entry-content p {
	margin: 0 0 14px;
	color: #4d4768;
	font-weight: 600;
}

.page-cover {
	margin: 18px 0 22px;
	border-radius: 22px;
	overflow: hidden;
}

.page-cover img {
	display: block;
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

.prose a,
.entry-content a {
	color: var(--purple);
}

.entry + .entry {
	margin-top: 28px;
}

@media (max-width: 1280px) {
	.header-contacts {
		display: flex;
		justify-content: flex-end;
	}

	.hc-address {
		display: none;
	}

	.nav-list {
		gap: 14px;
	}
}

@media (max-width: 1040px) {
	.hc-phone.hc-phone-bar {
		display: flex;
		align-items: center;
		order: 2;
		margin-left: auto;
		font-size: 14px;
		gap: 6px;
	}

	.hc-phone-bar .icon {
		margin-top: 0;
	}

	.nav-toggle {
		display: flex;
		order: 3;
		margin-left: 6px;
	}

	.header-panel {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 5;
		flex-direction: column;
		align-items: stretch;
		min-height: calc(100vh - 88px);
		background: #fff;
		padding: 8px 20px 28px;
		box-shadow: 0 18px 36px rgba(40, 20, 80, 0.08);
	}

	.nav-list a {
		display: block;
		padding: 11px 0;
		font-size: 17px;
	}

	.nav-check:checked ~ .header-panel {
		display: flex;
	}

	.nav-check:checked + .nav-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.nav-check:checked + .nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	.nav-check:checked + .nav-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.header-contacts {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-top: 8px;
	}

	.hc-address {
		display: flex;
		text-align: left;
	}

	.hc-address span {
		white-space: normal;
	}

	.works-slide {
		flex-basis: calc((100% - 16px) / 2);
	}

	.card-grid,
	.perks {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.hero-grid,
	.split,
	.footer-grid,
	.ya-board {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		max-width: 560px;
	}

	.section-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(var(--container), calc(100% - 28px));
	}

	.header-inner {
		gap: 10px;
	}

	.brand-tag {
		display: none;
	}

	.hc-phone-bar {
		font-size: 13px;
	}

	.brand-logo,
	.custom-logo {
		height: 50px;
	}

	.works-slide {
		flex-basis: 100%;
	}

	.works-prev { left: 4px; }
	.works-next { right: 4px; }

	.card-grid,
	.form-grid,
	.course-list li {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.studio,
	.map-card {
		height: 220px;
	}
}

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

	.btn,
	.program-card,
	.teacher-card,
	.nav-toggle span {
		transition: none;
	}
}
