:root {
	--ma-color-turquoise: #10aaa9;
	--ma-color-turquoise-dark: #078d91;
	--ma-color-navy: #102d4d;
	--ma-color-navy-light: #294b69;
	--ma-color-purple: #8b5aa8;
	--ma-color-orange: #e38b43;
	--ma-color-yellow: #e2b93b;
	--ma-color-green: #4f9b85;
	--ma-color-white: #ffffff;
	--ma-color-bg: #f8fbfb;
	--ma-color-line: #dcebed;
	--ma-color-shadow: 0 10px 30px rgba(16, 45, 77, 0.08);
	--ma-container: 1180px;
	--ma-radius: 6px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ma-color-white);
	color: var(--ma-color-navy);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

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

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

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

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

.ma-section {
	padding: 72px 0;
}

.ma-section__title {
	margin: 0 0 14px;
	color: var(--ma-color-navy);
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.15;
	font-weight: 700;
}

.ma-section__description {
	max-width: 680px;
	margin: 0 0 32px;
	color: var(--ma-color-navy-light);
	font-size: 17px;
}

.ma-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid var(--ma-color-turquoise);
	border-radius: 4px;
	background: var(--ma-color-turquoise);
	color: var(--ma-color-white);
	font-size: 14px;
	font-weight: 700;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.ma-button:hover {
	border-color: var(--ma-color-turquoise-dark);
	background: var(--ma-color-turquoise-dark);
	color: var(--ma-color-white);
	transform: translateY(-1px);
}

.ma-button--outline {
	background: transparent;
	color: var(--ma-color-turquoise-dark);
}

.ma-button--outline:hover {
	color: var(--ma-color-white);
}

/* --------------------------------------------------------------------------
   Шапка
-------------------------------------------------------------------------- */

.ma-site {
	overflow: hidden;
}

.ma-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--ma-color-line);
	background: rgba(255, 255, 255, 0.96);
}

.ma-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 78px;
}

.ma-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 78px;
	height: 48px;
	border: 1px dashed #9daebe;
	color: var(--ma-color-navy);
	text-align: center;
}

.ma-logo__placeholder {
	font-size: 8px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.05em;
}

.ma-header__tagline {
	flex: 0 0 auto;
	margin: 0;
	color: var(--ma-color-navy-light);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
}

.ma-navigation {
	flex: 1 1 auto;
	margin-left: auto;
}

.ma-navigation__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ma-navigation__list a {
	position: relative;
	display: inline-block;
	padding: 10px 0;
	color: var(--ma-color-navy);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.ma-navigation__list a::after {
	position: absolute;
	right: 0;
	bottom: 5px;
	left: 0;
	height: 1px;
	background: var(--ma-color-turquoise);
	content: "";
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.2s ease;
}

.ma-navigation__list a:hover::after,
.ma-navigation__list .current-menu-item a::after {
	transform: scaleX(1);
	transform-origin: left center;
}

.ma-header__partner-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 15px;
	border-radius: 3px;
	background: var(--ma-color-turquoise);
	color: var(--ma-color-white);
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

.ma-header__partner-button:hover {
	background: var(--ma-color-turquoise-dark);
	color: var(--ma-color-white);
}

.ma-menu-toggle,
.ma-mobile-menu {
	display: none;
}

/* --------------------------------------------------------------------------
   Первый экран
-------------------------------------------------------------------------- */

.ma-hero {
	position: relative;
	isolation: isolate;
	min-height: 470px;
	border-bottom: 1px solid var(--ma-color-line);
	background: #eef6f5;
}

.ma-hero__background {
	position: absolute;
	z-index: -2;
	inset: 0;
	background-image:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.98) 0%,
			rgba(255, 255, 255, 0.92) 32%,
			rgba(255, 255, 255, 0.45) 54%,
			rgba(255, 255, 255, 0.03) 75%
		),
		url("../images/hero-main.jpg");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ma-hero::before {
	position: absolute;
	z-index: -1;
	right: -140px;
	bottom: -120px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(16, 170, 169, 0.16);
	border-radius: 50%;
	content: "";
}

.ma-hero::after {
	position: absolute;
	z-index: -1;
	bottom: -1px;
	left: 0;
	width: 260px;
	height: 180px;
	opacity: 0.24;
	background-image:
		linear-gradient(30deg, transparent 48%, #8ebdbc 49%, #8ebdbc 51%, transparent 52%),
		linear-gradient(-30deg, transparent 48%, #8ebdbc 49%, #8ebdbc 51%, transparent 52%);
	background-size: 42px 42px;
	content: "";
}

.ma-hero__inner {
	display: flex;
	align-items: center;
	min-height: 470px;
	padding-top: 46px;
	padding-bottom: 46px;
}

.ma-hero__content {
	width: min(100%, 610px);
}

.ma-hero__eyebrow {
	margin: 0 0 12px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ma-hero__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(38px, 4vw, 59px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.ma-hero__description {
	max-width: 510px;
	margin: 22px 0 0;
	color: var(--ma-color-navy);
	font-size: 16px;
	line-height: 1.6;
}

.ma-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ma-hero .ma-button {
	min-height: 42px;
	padding-right: 16px;
	padding-left: 16px;
	font-size: 12px;
}

.ma-button--navy {
	border-color: var(--ma-color-navy);
	background: var(--ma-color-navy);
	color: var(--ma-color-white);
}

.ma-button--navy:hover {
	border-color: #071c35;
	background: #071c35;
	color: var(--ma-color-white);
}

/* --------------------------------------------------------------------------
   Адаптивность шапки и первого экрана
-------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.ma-header__tagline {
		display: none;
	}

	.ma-navigation__list {
		gap: 14px;
	}

	.ma-navigation__list a {
		font-size: 10px;
	}
}

@media (max-width: 900px) {
	.ma-header__inner {
		min-height: 68px;
	}

	.ma-navigation,
	.ma-header__partner-button {
		display: none;
	}

	.ma-menu-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		width: 42px;
		height: 42px;
		margin-left: auto;
		padding: 0;
		border: 1px solid var(--ma-color-line);
		border-radius: 3px;
		background: var(--ma-color-white);
		cursor: pointer;
	}

	.ma-menu-toggle span {
		display: block;
		width: 18px;
		height: 2px;
		background: var(--ma-color-navy);
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.ma-menu-toggle.is-active span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.ma-menu-toggle.is-active span:nth-child(2) {
		opacity: 0;
	}

	.ma-menu-toggle.is-active span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.ma-mobile-menu {
		display: block;
		max-height: 0;
		overflow: hidden;
		border-top: 1px solid transparent;
		background: var(--ma-color-white);
		transition: max-height 0.3s ease, border-color 0.3s ease;
	}

	.ma-mobile-menu.is-open {
		max-height: 620px;
		border-top-color: var(--ma-color-line);
	}

	.ma-mobile-menu__list {
		display: grid;
		gap: 0;
		margin: 0;
		padding: 16px 0 10px;
		list-style: none;
	}

	.ma-mobile-menu__list a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--ma-color-line);
		color: var(--ma-color-navy);
		font-size: 14px;
		font-weight: 700;
	}

	.ma-mobile-menu__button {
		width: 100%;
		margin: 8px 0 20px;
	}

	.ma-hero,
	.ma-hero__inner {
		min-height: 520px;
	}

	.ma-hero__background {
		background-image:
			linear-gradient(
				90deg,
				rgba(255, 255, 255, 0.98) 0%,
				rgba(255, 255, 255, 0.92) 52%,
				rgba(255, 255, 255, 0.52) 100%
			),
			url("../images/hero-main.jpg");
		background-position: 64% center;
	}
}

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

	.ma-logo {
		width: 70px;
		height: 44px;
	}

	.ma-hero,
	.ma-hero__inner {
		min-height: auto;
	}

	.ma-hero__inner {
		align-items: flex-start;
		padding-top: 56px;
		padding-bottom: 210px;
	}

	.ma-hero__background {
		background-image:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.98) 0%,
				rgba(255, 255, 255, 0.94) 48%,
				rgba(255, 255, 255, 0.2) 100%
			),
			url("../images/hero-main.jpg");
		background-position: 66% bottom;
	}

	.ma-hero__eyebrow {
		font-size: 10px;
	}

	.ma-hero__title {
		font-size: clamp(34px, 10vw, 46px);
	}

	.ma-hero__description {
		font-size: 15px;
	}

	.ma-hero__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.ma-hero .ma-button {
		width: 100%;
		padding: 0 10px;
		font-size: 11px;
		text-align: center;
	}
}

.ma-main--home {
	overflow: hidden;
}

.ma-hero__description--editor p {
	margin: 0;
}

.ma-hero__description--editor p + p {
	margin-top: 14px;
}

.ma-hero__description--editor a {
	color: var(--ma-color-turquoise-dark);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ma-main--home {
	overflow: hidden;
}

.ma-hero__description--editor p {
	margin: 0;
}

.ma-hero__description--editor p + p {
	margin-top: 14px;
}

.ma-hero__description--editor a {
	color: var(--ma-color-turquoise-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Собственная шапка Малоэтажной Академии
   ========================================================================== */

.ma-site {
	overflow: hidden;
}

.ma-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--ma-color-line);
	background: rgba(255, 255, 255, 0.98);
}

.ma-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 78px;
}

.ma-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 48px;
	border: 1px dashed #9aaebe;
	color: var(--ma-color-navy);
	text-align: center;
	transition: border-color 0.2s ease;
}

.ma-logo:hover {
	border-color: var(--ma-color-turquoise);
}

.ma-logo__placeholder {
	font-size: 8px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
}

.ma-header__tagline {
	flex: 0 0 auto;
	margin: 0;
	color: var(--ma-color-navy-light);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
}

.ma-navigation {
	flex: 1 1 auto;
	margin-left: auto;
}

.ma-navigation__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ma-navigation__list a {
	position: relative;
	display: inline-block;
	padding: 10px 0;
	color: var(--ma-color-navy);
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
}

.ma-navigation__list a::after {
	position: absolute;
	right: 0;
	bottom: 5px;
	left: 0;
	height: 1px;
	background: var(--ma-color-turquoise);
	content: "";
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.2s ease;
}

.ma-navigation__list a:hover::after,
.ma-navigation__list .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left center;
}

.ma-header__partner-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 15px;
	border-radius: 3px;
	background: var(--ma-color-turquoise);
	color: var(--ma-color-white);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ma-header__partner-button:hover {
	background: var(--ma-color-turquoise-dark);
	color: var(--ma-color-white);
	transform: translateY(-1px);
}

.ma-menu-toggle,
.ma-mobile-menu {
	display: none;
}

/* Временный подвал до сборки финального footer-блока */

.ma-footer {
	border-top: 1px solid var(--ma-color-line);
	background: var(--ma-color-navy);
	color: var(--ma-color-white);
}

.ma-footer__inner {
	padding: 20px 0;
}

.ma-footer p {
	margin: 0;
	font-size: 13px;
}

/* Планшеты */

@media (max-width: 1120px) {
	.ma-header__tagline {
		display: none;
	}

	.ma-navigation__list {
		gap: 13px;
	}

	.ma-navigation__list a {
		font-size: 9px;
	}
}

/* Мобильное меню */

@media (max-width: 900px) {
	.ma-header__inner {
		min-height: 68px;
	}

	.ma-navigation,
	.ma-header__partner-button {
		display: none;
	}

	.ma-menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		width: 42px;
		height: 42px;
		margin-left: auto;
		padding: 0;
		border: 1px solid var(--ma-color-line);
		border-radius: 3px;
		background: var(--ma-color-white);
		cursor: pointer;
	}

	.ma-menu-toggle span {
		display: block;
		width: 18px;
		height: 2px;
		background: var(--ma-color-navy);
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.ma-menu-toggle.is-active span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.ma-menu-toggle.is-active span:nth-child(2) {
		opacity: 0;
	}

	.ma-menu-toggle.is-active span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.ma-mobile-menu {
		display: block;
		max-height: 0;
		overflow: hidden;
		border-top: 1px solid transparent;
		background: var(--ma-color-white);
		transition: max-height 0.3s ease, border-color 0.3s ease;
	}

	.ma-mobile-menu.is-open {
		max-height: 650px;
		border-top-color: var(--ma-color-line);
	}

	.ma-mobile-menu__list {
		display: grid;
		gap: 0;
		margin: 0;
		padding: 16px 0 8px;
		list-style: none;
	}

	.ma-mobile-menu__list a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--ma-color-line);
		color: var(--ma-color-navy);
		font-size: 14px;
		font-weight: 700;
	}

	.ma-mobile-menu__button {
		width: 100%;
		margin: 10px 0 20px;
	}
}

@media (max-width: 640px) {
	.ma-logo {
		width: 70px;
		height: 44px;
	}
}
/* ==========================================================================
   Header Builder Blocksy — Малоэтажная Академия
   ========================================================================== */

[data-header*="type-1"] {
	border-bottom: 1px solid #dcebed;
	background: #ffffff;
}

.ma-header-tagline {
	color: var(--ma-color-navy-light);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.ma-header-tagline {
		display: none;
	}
}
/* Hover пунктов меню Blocksy */

.ct-header [data-id="menu"] > ul > li > a:hover,
.ct-header [data-id="menu"] > ul > li.current-menu-item > a,
.ct-header [data-id="menu"] > ul > li.current_page_item > a {
	color: #078D91;
}

/* ==========================================================================
   Header Builder Blocksy — Малоэтажная Академия
   ========================================================================== */

[data-header*="type-1"] {
	border-bottom: 1px solid #dcebed;
	background: #ffffff;
}

.ma-header-tagline {
	color: var(--ma-color-navy-light);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.ma-header-tagline {
		display: none;
	}
}

/* ==========================================================================
   Статистика на главной
   ========================================================================== */

.ma-statistics {
	position: relative;
	z-index: 5;
	margin-top: -16px;
	padding: 0 0 42px;
}

.ma-statistics__card {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: var(--ma-color-shadow);
}

.ma-statistics__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 105px;
	padding: 20px 24px;
	border-right: 1px solid var(--ma-color-line);
}

.ma-statistics__item:last-child {
	border-right: 0;
}

.ma-statistics__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--ma-color-turquoise);
}

.ma-statistics__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.ma-statistics__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ma-statistics__number {
	color: var(--ma-color-navy);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.95;
}

.ma-statistics__label {
	margin-top: 7px;
	color: var(--ma-color-navy-light);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
}

.ma-statistics__cities {
	margin: 16px 0 0;
	color: var(--ma-color-navy-light);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

@media (max-width: 850px) {
	.ma-statistics {
		margin-top: -28px;
		padding-bottom: 30px;
	}

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

	.ma-statistics__item:nth-child(2) {
		border-right: 0;
	}

	.ma-statistics__item:nth-child(-n + 2) {
		border-bottom: 1px solid var(--ma-color-line);
	}
}

@media (max-width: 520px) {
	.ma-statistics {
		margin-top: -18px;
	}

	.ma-statistics__card {
		grid-template-columns: 1fr;
	}

	.ma-statistics__item,
	.ma-statistics__item:nth-child(2) {
		justify-content: flex-start;
		min-height: 82px;
		padding: 16px 20px;
		border-right: 0;
		border-bottom: 1px solid var(--ma-color-line);
	}

	.ma-statistics__item:last-child {
		border-bottom: 0;
	}

	.ma-statistics__number {
		font-size: 34px;
	}

	.ma-statistics__cities {
		font-size: 11px;
	}
}
/* ==========================================================================
   Профессиональная строительная траектория
   ========================================================================== */

.ma-trajectory {
	padding: 26px 0 62px;
	background: var(--ma-color-white);
}

.ma-trajectory__title {
	max-width: 900px;
	margin: 0 auto 34px;
	color: var(--ma-color-navy);
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	text-align: center;
}

.ma-trajectory__steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
}

.ma-trajectory__step {
	display: flex;
	flex: 0 1 140px;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	text-align: center;
}

.ma-trajectory__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 10px;
	color: var(--ma-color-turquoise);
}

.ma-trajectory__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

.ma-trajectory__step h3 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.ma-trajectory__arrow {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding-top: 17px;
	color: var(--ma-color-navy);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
}

.ma-trajectory__description {
	max-width: 700px;
	margin: 30px auto 0;
	color: var(--ma-color-navy-light);
	font-size: 14px;
	line-height: 1.55;
	text-align: center;
}

.ma-trajectory__description span {
	color: var(--ma-color-turquoise-dark);
	font-weight: 700;
}

/* Планшет: три шага в верхнем ряду, три — в нижнем */

@media (max-width: 900px) {
	.ma-trajectory {
		padding-bottom: 50px;
	}

	.ma-trajectory__steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 30px 16px;
		max-width: 620px;
		margin: 0 auto;
	}

	.ma-trajectory__step {
		width: 100%;
	}

	.ma-trajectory__arrow {
		display: none;
	}
}

/* Телефон: последовательная вертикальная траектория */

@media (max-width: 560px) {
	.ma-trajectory {
		padding: 20px 0 44px;
	}

	.ma-trajectory__title {
		margin-bottom: 28px;
		font-size: 25px;
	}

	.ma-trajectory__steps {
		grid-template-columns: 1fr;
		gap: 0;
		max-width: 300px;
	}

	.ma-trajectory__step {
		position: relative;
		padding-bottom: 30px;
	}

	.ma-trajectory__step:not(:last-child)::after {
		position: absolute;
		bottom: 5px;
		left: 50%;
		width: 1px;
		height: 20px;
		background: var(--ma-color-turquoise);
		content: "";
		transform: translateX(-50%);
	}

	.ma-trajectory__icon {
		width: 56px;
		height: 56px;
		margin-bottom: 7px;
	}

	.ma-trajectory__description {
		margin-top: 26px;
		font-size: 13px;
	}
}

/* ==========================================================================
   Направления Малоэтажной Академии
   ========================================================================== */

.ma-directions {
	padding: 10px 0 68px;
	background: var(--ma-color-bg);
}

.ma-directions__title {
	margin: 0 0 28px;
	color: var(--ma-color-navy);
	font-size: clamp(26px, 2.7vw, 38px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

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

.ma-direction-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 294px;
	border: 1px solid #e2ecee;
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 6px 18px rgba(16, 45, 77, 0.07);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ma-direction-card:hover {
	box-shadow: 0 14px 30px rgba(16, 45, 77, 0.12);
	transform: translateY(-5px);
}

.ma-direction-card__visual {
	position: relative;
	min-height: 136px;
	overflow: hidden;
	background-color: #e6f2f2;
}

.ma-direction-card__visual::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(16, 45, 77, 0.08), transparent 55%),
		repeating-linear-gradient(
			-45deg,
			rgba(255, 255, 255, 0.2) 0,
			rgba(255, 255, 255, 0.2) 1px,
			transparent 1px,
			transparent 12px
		);
	content: "";
	pointer-events: none;
}

.ma-direction-card__number {
	position: absolute;
	z-index: 2;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px;
	padding: 0 8px;
	color: var(--ma-color-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.ma-direction-card__content {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 18px 16px;
}

.ma-direction-card__content h3 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.ma-direction-card__content p {
	margin: 10px 0 15px;
	color: var(--ma-color-navy-light);
	font-size: 13px;
	line-height: 1.45;
}

.ma-direction-card__content a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: auto;
	margin-left: auto;
	color: var(--ma-color-turquoise-dark);
	font-size: 24px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.ma-direction-card:hover .ma-direction-card__content a {
	transform: translateX(4px);
}

/* Цвета направлений */

.ma-direction-card--turquoise .ma-direction-card__number {
	background: var(--ma-color-turquoise);
}

.ma-direction-card--purple .ma-direction-card__number {
	background: var(--ma-color-purple);
}

.ma-direction-card--green .ma-direction-card__number {
	background: var(--ma-color-green);
}

.ma-direction-card--orange .ma-direction-card__number {
	background: var(--ma-color-orange);
}

.ma-direction-card--yellow .ma-direction-card__number {
	background: var(--ma-color-yellow);
	color: var(--ma-color-navy);
}

.ma-direction-card--blue .ma-direction-card__number {
	background: #4e8eb8;
}

.ma-direction-card--navy .ma-direction-card__number {
	background: var(--ma-color-navy);
}

/* Временные фоны карточек.
   Позже заменим на реальные изображения в assets/images/directions/. */

.ma-direction-card__visual--clubs {
	background:
		linear-gradient(135deg, rgba(16, 170, 169, 0.78), rgba(16, 45, 77, 0.22)),
		linear-gradient(135deg, #7caeae, #dceeed);
}

.ma-direction-card__visual--architecture {
	background:
		linear-gradient(135deg, rgba(139, 90, 168, 0.74), rgba(255, 255, 255, 0.12)),
		linear-gradient(135deg, #d2b8df, #eee8f2);
}

.ma-direction-card__visual--village {
	background:
		linear-gradient(135deg, rgba(79, 155, 133, 0.72), rgba(255, 255, 255, 0.1)),
		linear-gradient(135deg, #91c5a9, #edf6e9);
}

.ma-direction-card__visual--polygon {
	background:
		linear-gradient(135deg, rgba(227, 139, 67, 0.75), rgba(16, 45, 77, 0.18)),
		linear-gradient(135deg, #e1a367, #f9e5cc);
}

.ma-direction-card__visual--gto {
	background:
		linear-gradient(135deg, rgba(226, 185, 59, 0.82), rgba(255, 255, 255, 0.15)),
		linear-gradient(135deg, #d2bc61, #fcf4d1);
}

.ma-direction-card__visual--trajectory {
	background:
		linear-gradient(135deg, rgba(79, 155, 133, 0.72), rgba(255, 255, 255, 0.12)),
		linear-gradient(135deg, #b7dfd4, #effbf7);
}

.ma-direction-card__visual--franchise {
	background:
		linear-gradient(135deg, rgba(78, 142, 184, 0.72), rgba(255, 255, 255, 0.12)),
		linear-gradient(135deg, #a9cfe4, #eef8fd);
}

.ma-direction-card__visual--association {
	background:
		linear-gradient(135deg, rgba(16, 45, 77, 0.76), rgba(16, 170, 169, 0.28)),
		linear-gradient(135deg, #7fa3b5, #e0edef);
}

/* Адаптивность */

@media (max-width: 1050px) {
	.ma-directions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ma-direction-card {
		min-height: 270px;
	}
}

@media (max-width: 640px) {
	.ma-directions {
		padding: 42px 0;
	}

	.ma-directions__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ma-direction-card {
		min-height: 0;
	}

	.ma-direction-card__visual {
		min-height: 150px;
	}
}

/* ==========================================================================
   Практика: участники пробуют себя в деле
   ========================================================================== */

.ma-practice {
	padding: 74px 0;
	background: var(--ma-color-bg);
}

.ma-practice__heading {
	max-width: 820px;
	margin: 0 auto 34px;
	text-align: center;
}

.ma-practice__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-practice__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(29px, 3.2vw, 44px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.12;
}

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

.ma-practice-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(120px, 0.85fr);
	min-height: 290px;
	overflow: hidden;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 8px 22px rgba(16, 45, 77, 0.07);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ma-practice-card:hover {
	box-shadow: 0 15px 30px rgba(16, 45, 77, 0.13);
	transform: translateY(-4px);
}

.ma-practice-card__content {
	display: flex;
	flex-direction: column;
	padding: 24px 0 22px 24px;
}

.ma-practice-card__icon {
	width: 38px;
	height: 38px;
	margin-bottom: 16px;
	color: var(--ma-color-turquoise);
}

.ma-practice-card__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.55;
}

.ma-practice-card__content h3 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.16;
}

.ma-practice-card__content p {
	margin: 14px 0 18px;
	color: var(--ma-color-navy-light);
	font-size: 13px;
	line-height: 1.5;
}

.ma-practice-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
}

.ma-practice-card__link span {
	font-size: 18px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.ma-practice-card:hover .ma-practice-card__link span {
	transform: translateX(4px);
}

.ma-practice-card__visual {
	min-height: 100%;
	background-position: center;
	background-size: cover;
}

.ma-practice-card__visual--architecture {
	background:
		linear-gradient(135deg, rgba(139, 90, 168, 0.2), rgba(255, 255, 255, 0.08)),
		linear-gradient(135deg, #a988b3, #ece1ef);
}

.ma-practice-card__visual--construction {
	background:
		linear-gradient(135deg, rgba(16, 170, 169, 0.28), rgba(16, 45, 77, 0.12)),
		linear-gradient(135deg, #6a9fa3, #dbeeed);
}

.ma-practice-card__visual--polygon {
	background:
		linear-gradient(135deg, rgba(227, 139, 67, 0.3), rgba(16, 45, 77, 0.14)),
		linear-gradient(135deg, #bd8250, #f2e0c8);
}

@media (max-width: 1000px) {
	.ma-practice__grid {
		grid-template-columns: 1fr;
		max-width: 700px;
		margin: 0 auto;
	}

	.ma-practice-card {
		grid-template-columns: minmax(0, 1.2fr) minmax(200px, 0.8fr);
		min-height: 250px;
	}
}

@media (max-width: 580px) {
	.ma-practice {
		padding: 52px 0;
	}

	.ma-practice__title {
		font-size: 29px;
	}

	.ma-practice-card {
		grid-template-columns: 1fr;
	}

	.ma-practice-card__content {
		min-height: 250px;
		padding: 24px;
	}

	.ma-practice-card__visual {
		min-height: 170px;
	}
}

/* ==========================================================================
   Аудитории Малоэтажной Академии
   ========================================================================== */

.ma-audiences {
	padding: 74px 0;
	background: var(--ma-color-white);
}

.ma-audiences__heading {
	max-width: 820px;
	margin: 0 auto 34px;
	text-align: center;
}

.ma-audiences__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-audiences__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.13;
}

.ma-audiences__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.ma-audience-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 276px;
	padding: 22px 18px 18px;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 6px 16px rgba(16, 45, 77, 0.055);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ma-audience-card:hover {
	border-color: rgba(16, 170, 169, 0.48);
	box-shadow: 0 14px 26px rgba(16, 45, 77, 0.1);
	transform: translateY(-4px);
}

.ma-audience-card__icon {
	width: 43px;
	height: 43px;
	margin-bottom: 18px;
	color: var(--ma-color-turquoise);
}

.ma-audience-card__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

.ma-audience-card h3 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.ma-audience-card p {
	margin: 12px 0 16px;
	color: var(--ma-color-navy-light);
	font-size: 12px;
	line-height: 1.48;
}

.ma-audience-card > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	margin-top: auto;
	margin-left: auto;
	color: var(--ma-color-turquoise-dark);
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

.ma-audience-card:hover > a {
	transform: translateX(4px);
}

@media (max-width: 1180px) {
	.ma-audiences__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}

	.ma-audience-card {
		min-height: 235px;
	}
}

@media (max-width: 720px) {
	.ma-audiences {
		padding: 54px 0;
	}

	.ma-audiences__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.ma-audience-card {
		min-height: 245px;
		padding: 20px 16px 16px;
	}
}

@media (max-width: 460px) {
	.ma-audiences__grid {
		grid-template-columns: 1fr;
	}

	.ma-audience-card {
		min-height: 210px;
	}
}

/* ==========================================================================
   География проекта / Академия в регионах России
   ========================================================================== */

.ma-regions {
	padding: 74px 0;
	overflow: hidden;
	background:
		linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.ma-regions__heading {
	margin-bottom: 28px;
}

.ma-regions__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-regions__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.13;
}

.ma-regions__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 34px;
	align-items: center;
}

.ma-regions__map {
	position: relative;
	min-height: 390px;
	overflow: hidden;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background:
		linear-gradient(135deg, rgba(16, 170, 169, 0.03), rgba(255, 255, 255, 0)),
		#ffffff;
}

.ma-regions__map::before {
	position: absolute;
	top: -130px;
	right: -80px;
	width: 310px;
	height: 310px;
	border: 1px solid rgba(16, 170, 169, 0.12);
	border-radius: 50%;
	content: "";
}

.ma-regions__map::after {
	position: absolute;
	bottom: -60px;
	left: -50px;
	width: 220px;
	height: 220px;
	opacity: 0.4;
	background-image:
		linear-gradient(30deg, transparent 48%, rgba(16, 170, 169, 0.25) 49%, rgba(16, 170, 169, 0.25) 51%, transparent 52%),
		linear-gradient(-30deg, transparent 48%, rgba(16, 170, 169, 0.25) 49%, rgba(16, 170, 169, 0.25) 51%, transparent 52%);
	background-size: 36px 36px;
	content: "";
}

.ma-regions__map-shape {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 92%;
	opacity: 0.65;
	transform: translate(-50%, -50%);
}

.ma-regions__map-shape svg {
	display: block;
	width: 100%;
	height: auto;
	stroke: #9acccd;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.25;
}

.ma-map-point {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--ma-color-navy);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.ma-map-point__dot {
	display: block;
	width: 9px;
	height: 9px;
	border: 2px solid var(--ma-color-white);
	border-radius: 50%;
	background: var(--ma-color-turquoise);
	box-shadow: 0 0 0 1px rgba(7, 141, 145, 0.34);
}

.ma-map-point--kaliningrad {
	top: 48%;
	left: 8%;
}

.ma-map-point--spb {
	top: 26%;
	left: 22%;
}

.ma-map-point--istra {
	top: 44%;
	left: 26%;
}

.ma-map-point--moscow {
	top: 52%;
	left: 30%;
}

.ma-map-point--smolensk {
	top: 54%;
	left: 20%;
}

.ma-map-point--sochi {
	top: 76%;
	left: 29%;
}

.ma-map-point--kazan {
	top: 49%;
	left: 44%;
}

.ma-map-point--ekb {
	top: 51%;
	left: 59%;
}

.ma-map-point--vladivostok {
	top: 68%;
	left: 84%;
}

.ma-map-point--artek {
	top: 80%;
	left: 19%;
}

.ma-regions__cta {
	position: relative;
	padding: 30px 28px;
	border: 1px solid rgba(16, 45, 77, 0.28);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 10px 28px rgba(16, 45, 77, 0.08);
}

.ma-regions__cta::after {
	position: absolute;
	right: 16px;
	bottom: 14px;
	width: 84px;
	height: 54px;
	opacity: 0.25;
	background-image:
		linear-gradient(30deg, transparent 48%, var(--ma-color-turquoise) 49%, var(--ma-color-turquoise) 51%, transparent 52%),
		linear-gradient(-30deg, transparent 48%, var(--ma-color-turquoise) 49%, var(--ma-color-turquoise) 51%, transparent 52%);
	background-size: 16px 16px;
	content: "";
	pointer-events: none;
}

.ma-regions__cta-kicker {
	display: inline-block;
	margin-bottom: 13px;
	color: var(--ma-color-turquoise-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-regions__cta h3 {
	max-width: 250px;
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.14;
}

.ma-regions__cta p {
	margin: 17px 0 23px;
	color: var(--ma-color-navy-light);
	font-size: 14px;
	line-height: 1.55;
}

.ma-regions__cta .ma-button {
	position: relative;
	z-index: 1;
}

@media (max-width: 900px) {
	.ma-regions__layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ma-regions__cta {
		max-width: 620px;
	}

	.ma-regions__map {
		min-height: 350px;
	}
}

@media (max-width: 560px) {
	.ma-regions {
		padding: 54px 0;
	}

	.ma-regions__map {
		min-height: 290px;
	}

	.ma-regions__map-shape {
		width: 125%;
	}

	.ma-map-point {
		font-size: 8px;
	}

	.ma-map-point__dot {
		width: 7px;
		height: 7px;
	}

	.ma-regions__cta {
		padding: 25px 21px;
	}

	.ma-regions__cta h3 {
		font-size: 25px;
	}
}

/* ==========================================================================
   Карта России: фоновое изображение вместо SVG-заглушки
   ========================================================================== */

.ma-regions__map {
	background-color: #ffffff;
	background-image:
		linear-gradient(
			135deg,
			rgba(16, 170, 169, 0.03),
			rgba(255, 255, 255, 0)
		),
		url("../images/russia-map.png");
	background-position: center, center;
	background-size: cover, contain;
	background-repeat: no-repeat, no-repeat;
}
.ma-regions__map-shape,
.ma-map-point {
	display: none;
}

/* ==========================================================================
   Партнёрство для подготовки кадров
   ========================================================================== */

.ma-partnership {
	padding: 76px 0;
	background: var(--ma-color-bg);
}

.ma-partnership__intro {
	display: flex;
	justify-content: space-between;
	margin-bottom: 34px;
}

.ma-partnership__heading {
	max-width: 770px;
}

.ma-partnership__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-partnership__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(29px, 3vw, 42px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.13;
}

.ma-partnership__text {
	max-width: 680px;
	margin: 18px 0 22px;
	color: var(--ma-color-navy-light);
	font-size: 15px;
	line-height: 1.6;
}

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

.ma-partnership-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 265px;
	padding: 28px 24px 22px;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 7px 20px rgba(16, 45, 77, 0.065);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-partnership-card:hover {
	box-shadow: 0 15px 30px rgba(16, 45, 77, 0.12);
	transform: translateY(-4px);
}

.ma-partnership-card__icon {
	width: 46px;
	height: 46px;
	margin-bottom: 20px;
	color: var(--ma-color-turquoise);
}

.ma-partnership-card--purple .ma-partnership-card__icon {
	color: var(--ma-color-purple);
}

.ma-partnership-card--navy .ma-partnership-card__icon {
	color: var(--ma-color-navy);
}

.ma-partnership-card__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

.ma-partnership-card h3 {
	max-width: 300px;
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.ma-partnership-card p {
	max-width: 330px;
	margin: 13px 0 18px;
	color: var(--ma-color-navy-light);
	font-size: 13px;
	line-height: 1.5;
}

.ma-partnership-card > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--ma-color-turquoise-dark);
	font-size: 13px;
	font-weight: 700;
}

.ma-partnership-card > a span {
	font-size: 19px;
	transition: transform 0.2s ease;
}

.ma-partnership-card:hover > a span {
	transform: translateX(4px);
}

@media (max-width: 850px) {
	.ma-partnership__grid {
		grid-template-columns: 1fr;
		max-width: 650px;
	}

	.ma-partnership-card {
		min-height: 220px;
	}
}

@media (max-width: 560px) {
	.ma-partnership {
		padding: 54px 0;
	}

	.ma-partnership__text {
		font-size: 14px;
	}

	.ma-partnership-card {
		min-height: 0;
		padding: 24px 20px 21px;
	}

	.ma-partnership-card h3 {
		font-size: 19px;
	}
}

/* ==========================================================================
   Ближайшие мероприятия
   ========================================================================== */

.ma-events {
	padding: 76px 0;
	background: var(--ma-color-white);
}

.ma-events__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.ma-events__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-events__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(29px, 3vw, 42px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.13;
}

.ma-events__all-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	color: var(--ma-color-turquoise-dark);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: color 0.2s ease, gap 0.2s ease;
}

.ma-events__all-link:hover {
	color: var(--ma-color-navy);
	gap: 14px;
}

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

.ma-event-card {
	display: grid;
	grid-template-columns: 92px 132px minmax(0, 1fr);
	min-height: 190px;
	overflow: hidden;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 7px 18px rgba(16, 45, 77, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-event-card:hover {
	box-shadow: 0 14px 28px rgba(16, 45, 77, 0.11);
	transform: translateY(-4px);
}

.ma-event-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 10px;
	border-right: 1px solid var(--ma-color-line);
	background: #f8fbfb;
	text-align: center;
}

.ma-event-card__date-label {
	display: inline-flex;
	padding: 4px 6px;
	border: 1px solid rgba(16, 170, 169, 0.42);
	color: var(--ma-color-turquoise-dark);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.ma-event-card__date strong {
	color: var(--ma-color-navy);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.ma-event-card__visual {
	background-position: center;
	background-size: cover;
}

.ma-event-card__visual--academy {
	background:
		linear-gradient(135deg, rgba(16, 170, 169, 0.25), rgba(16, 45, 77, 0.08)),
		linear-gradient(135deg, #729fa0, #dcefee);
}

.ma-event-card__visual--festival {
	background:
		linear-gradient(135deg, rgba(139, 90, 168, 0.26), rgba(16, 45, 77, 0.06)),
		linear-gradient(135deg, #a884ac, #eee6ee);
}

.ma-event-card__visual--gto {
	background:
		linear-gradient(135deg, rgba(227, 139, 67, 0.33), rgba(16, 45, 77, 0.08)),
		linear-gradient(135deg, #bd8250, #f0dfc8);
}

.ma-event-card__content {
	display: flex;
	flex-direction: column;
	padding: 18px 17px 14px;
}

.ma-event-card__place {
	margin: 0 0 7px;
	color: var(--ma-color-turquoise-dark);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.ma-event-card__content h3 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

.ma-event-card__text {
	margin: 9px 0 12px;
	color: var(--ma-color-navy-light);
	font-size: 12px;
	line-height: 1.45;
}

.ma-event-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--ma-color-turquoise-dark);
	font-size: 11px;
	font-weight: 700;
}

.ma-event-card__link span {
	font-size: 17px;
	transition: transform 0.2s ease;
}

.ma-event-card:hover .ma-event-card__link span {
	transform: translateX(4px);
}

@media (max-width: 1120px) {
	.ma-events__grid {
		grid-template-columns: 1fr;
		max-width: 760px;
	}

	.ma-event-card {
		grid-template-columns: 100px 180px minmax(0, 1fr);
		min-height: 175px;
	}
}

@media (max-width: 620px) {
	.ma-events {
		padding: 54px 0;
	}

	.ma-events__heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 24px;
	}

	.ma-event-card {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	.ma-event-card__visual {
		display: none;
	}

	.ma-event-card__date strong {
		font-size: 21px;
	}

	.ma-event-card__content {
		padding: 18px 15px 15px;
	}
}

/* ==========================================================================
   Новости Академии
   ========================================================================== */

.ma-news {
	padding: 76px 0;
	background: var(--ma-color-bg);
}

.ma-news__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.ma-news__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-news__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(29px, 3vw, 42px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.13;
}

.ma-news__all-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	color: var(--ma-color-turquoise-dark);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: color 0.2s ease, gap 0.2s ease;
}

.ma-news__all-link:hover {
	color: var(--ma-color-navy);
	gap: 14px;
}

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

.ma-news-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ma-color-line);
	border-radius: var(--ma-radius);
	background: var(--ma-color-white);
	box-shadow: 0 6px 17px rgba(16, 45, 77, 0.055);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-news-card:hover {
	box-shadow: 0 14px 28px rgba(16, 45, 77, 0.11);
	transform: translateY(-4px);
}

.ma-news-card__visual {
	min-height: 156px;
	background-position: center;
	background-size: cover;
}

.ma-news-card__visual--village {
	background:
		linear-gradient(135deg, rgba(79, 155, 133, 0.28), rgba(255, 255, 255, 0.08)),
		linear-gradient(135deg, #a4c8ad, #eaf3e5);
}

.ma-news-card__visual--polygon {
	background:
		linear-gradient(135deg, rgba(227, 139, 67, 0.36), rgba(16, 45, 77, 0.08)),
		linear-gradient(135deg, #bd8250, #f1dfc8);
}

.ma-news-card__visual--construction {
	background:
		linear-gradient(135deg, rgba(16, 170, 169, 0.32), rgba(16, 45, 77, 0.07)),
		linear-gradient(135deg, #719fa2, #dceeed);
}

.ma-news-card__visual--festival {
	background:
		linear-gradient(135deg, rgba(139, 90, 168, 0.26), rgba(16, 45, 77, 0.06)),
		linear-gradient(135deg, #a884ac, #eee6ee);
}

.ma-news-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 17px 16px;
}

.ma-news-card__meta {
	margin: 0 0 9px;
	color: var(--ma-color-turquoise-dark);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.35;
}

.ma-news-card h3 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.ma-news-card__content > p:not(.ma-news-card__meta) {
	margin: 11px 0 15px;
	color: var(--ma-color-navy-light);
	font-size: 12px;
	line-height: 1.48;
}

.ma-news-card__content > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--ma-color-turquoise-dark);
	font-size: 11px;
	font-weight: 700;
}

.ma-news-card__content > a span {
	font-size: 17px;
	transition: transform 0.2s ease;
}

.ma-news-card:hover .ma-news-card__content > a span {
	transform: translateX(4px);
}

@media (max-width: 1050px) {
	.ma-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ma-news-card__visual {
		min-height: 190px;
	}
}

@media (max-width: 620px) {
	.ma-news {
		padding: 54px 0;
	}

	.ma-news__heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 24px;
	}

	.ma-news__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ma-news-card__visual {
		min-height: 205px;
	}
}

/* ==========================================================================
   Партнёры
   ========================================================================== */

.ma-partners {
	padding: 76px 0 68px;
	background: var(--ma-color-white);
	border-top: 1px solid rgba(220, 235, 237, 0.75);
}

.ma-partners__heading {
	max-width: 920px;
	margin: 0 auto 36px;
	text-align: center;
}

.ma-partners__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-partners__title {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(27px, 2.9vw, 40px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.ma-partners__logos {
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	align-items: center;
	gap: 14px;
	padding: 25px 0;
	border-top: 1px solid var(--ma-color-line);
	border-bottom: 1px solid var(--ma-color-line);
}

.ma-partners__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 5px;
	color: var(--ma-color-navy);
	font-size: clamp(11px, 1.1vw, 15px);
	font-weight: 700;
	line-height: 1.1;
	opacity: 0.8;
	text-align: center;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.ma-partners__logo:hover {
	color: var(--ma-color-turquoise-dark);
	opacity: 1;
}

.ma-partners__description {
	max-width: 940px;
	margin: 24px auto 0;
	color: var(--ma-color-navy-light);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

@media (max-width: 1000px) {
	.ma-partners__logos {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ma-partners {
		padding: 54px 0 48px;
	}

	.ma-partners__heading {
		margin-bottom: 28px;
	}

	.ma-partners__logos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
		padding: 18px 0;
	}

	.ma-partners__logo {
		min-height: 38px;
		font-size: 12px;
	}

	.ma-partners__description {
		margin-top: 20px;
		font-size: 12px;
	}
}

/* ==========================================================================
   Финальный CTA
   ========================================================================== */

.ma-final-cta {
	position: relative;
	overflow: hidden;
	padding: 92px 0;
	background: var(--ma-color-navy);
	color: var(--ma-color-white);
}

.ma-final-cta__grid {
	position: absolute;
	inset: 0;
	opacity: 0.18;
	background-image:
		linear-gradient(
			30deg,
			transparent 48%,
			rgba(103, 219, 216, 0.62) 49%,
			rgba(103, 219, 216, 0.62) 51%,
			transparent 52%
		),
		linear-gradient(
			-30deg,
			transparent 48%,
			rgba(103, 219, 216, 0.62) 49%,
			rgba(103, 219, 216, 0.62) 51%,
			transparent 52%
		);
	background-position: 0 0, 0 0;
	background-size: 70px 70px;
	mask-image: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.35) 46%,
		transparent 77%
	);
	pointer-events: none;
}

.ma-final-cta::before {
	position: absolute;
	top: -245px;
	right: -140px;
	width: 640px;
	height: 640px;
	border: 1px solid rgba(103, 219, 216, 0.18);
	border-radius: 50%;
	content: "";
}

.ma-final-cta::after {
	position: absolute;
	right: 8%;
	bottom: -190px;
	width: 480px;
	height: 300px;
	border: 1px solid rgba(103, 219, 216, 0.15);
	border-radius: 50% 50% 0 0;
	content: "";
	transform: rotate(-17deg);
}

.ma-final-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
	gap: 70px;
	align-items: center;
}

.ma-final-cta__content {
	max-width: 710px;
}

.ma-final-cta__eyebrow {
	margin: 0 0 15px;
	color: #71d8d6;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ma-final-cta__title {
	max-width: 690px;
	margin: 0;
	color: var(--ma-color-white);
	font-size: clamp(34px, 4vw, 57px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.06;
}

.ma-final-cta__text {
	max-width: 650px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 17px;
	line-height: 1.65;
}

.ma-final-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 32px;
}

.ma-button--light {
	border-color: var(--ma-color-turquoise);
	background: var(--ma-color-turquoise);
	color: var(--ma-color-white);
}

.ma-button--light:hover {
	border-color: #55c9c7;
	background: #55c9c7;
	color: var(--ma-color-navy);
}

.ma-button--light-outline {
	border-color: rgba(255, 255, 255, 0.75);
	background: transparent;
	color: var(--ma-color-white);
}

.ma-button--light-outline:hover {
	border-color: var(--ma-color-white);
	background: var(--ma-color-white);
	color: var(--ma-color-navy);
}

.ma-final-cta__side {
	position: relative;
	min-height: 310px;
}

.ma-final-cta__scheme {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(103, 219, 216, 0.28);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.ma-final-cta__scheme::before,
.ma-final-cta__scheme::after {
	position: absolute;
	border: 1px solid rgba(103, 219, 216, 0.22);
	border-radius: 50%;
	content: "";
}

.ma-final-cta__scheme::before {
	inset: 28px;
}

.ma-final-cta__scheme::after {
	inset: 64px;
}

.ma-final-cta__scheme-line {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 130px;
	height: 1px;
	background: rgba(103, 219, 216, 0.5);
	transform-origin: left center;
}

.ma-final-cta__scheme-line--one {
	transform: rotate(18deg);
}

.ma-final-cta__scheme-line--two {
	transform: rotate(138deg);
}

.ma-final-cta__scheme-line--three {
	transform: rotate(255deg);
}

.ma-final-cta__scheme-dot {
	position: absolute;
	width: 10px;
	height: 10px;
	border: 2px solid #71d8d6;
	border-radius: 50%;
	background: var(--ma-color-navy);
}

.ma-final-cta__scheme-dot--one {
	top: 60px;
	right: 48px;
}

.ma-final-cta__scheme-dot--two {
	bottom: 55px;
	left: 52px;
}

.ma-final-cta__scheme-dot--three {
	top: 132px;
	left: 14px;
}

@media (max-width: 850px) {
	.ma-final-cta {
		padding: 70px 0;
	}

	.ma-final-cta__inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ma-final-cta__side {
		min-height: 180px;
	}

	.ma-final-cta__scheme {
		width: 190px;
		height: 190px;
	}

	.ma-final-cta__scheme::before {
		inset: 19px;
	}

	.ma-final-cta__scheme::after {
		inset: 43px;
	}

	.ma-final-cta__scheme-line {
		width: 86px;
	}

	.ma-final-cta__scheme-dot--one {
		top: 38px;
		right: 30px;
	}

	.ma-final-cta__scheme-dot--two {
		bottom: 36px;
		left: 33px;
	}

	.ma-final-cta__scheme-dot--three {
		top: 88px;
		left: 8px;
	}
}

@media (max-width: 560px) {
	.ma-final-cta {
		padding: 58px 0;
	}

	.ma-final-cta__title {
		font-size: 36px;
	}

	.ma-final-cta__text {
		font-size: 15px;
	}

	.ma-final-cta__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ma-final-cta__actions .ma-button {
		width: 100%;
	}

	.ma-final-cta__side {
		display: none;
	}
}

/* ==========================================================================
   Footer Builder Blocksy — Малоэтажная Академия
   ========================================================================== */

footer.ct-footer {
	background: #102d4d;
	color: rgba(255, 255, 255, 0.76);
}

footer.ct-footer a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

footer.ct-footer a:hover {
	color: #71d8d6;
}

footer.ct-footer .ma-footer-about {
	max-width: 320px;
}

footer.ct-footer .ma-footer-about p {
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.6;
}

footer.ct-footer .ma-footer-title {
	margin: 0 0 16px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

footer.ct-footer .ct-footer-menu,
footer.ct-footer .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

footer.ct-footer .ct-footer-menu li,
footer.ct-footer .menu li {
	margin: 0 0 10px;
}

footer.ct-footer .ct-footer-menu a,
footer.ct-footer .menu a {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

footer.ct-footer .ma-footer-contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

footer.ct-footer .ma-footer-contacts a {
	font-size: 14px;
	font-weight: 600;
}

footer.ct-footer .ma-footer-contacts__note {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 12px;
	line-height: 1.55;
}

footer.ct-footer .ma-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 16px;
}

footer.ct-footer .ma-footer-legal a {
	font-size: 11px;
	line-height: 1.45;
}

footer.ct-footer .ct-footer-copyright,
footer.ct-footer [class*="copyright"] {
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
}

@media (max-width: 767px) {
	footer.ct-footer .ma-footer-legal {
		justify-content: flex-start;
		margin-top: 10px;
	}

	footer.ct-footer .ma-footer-about {
		max-width: none;
	}
}

/* ==========================================================================
   Исправление цветов Footer Builder Blocksy Free
   ========================================================================== */

footer.ct-footer,
footer.ct-footer .ct-container,
footer.ct-footer .ct-footer [class*="ct-container"] {
	background-color: #102d4d !important;
	color: rgba(255, 255, 255, 0.78) !important;
}

/* Все обычные текстовые элементы в футере */

footer.ct-footer p,
footer.ct-footer span,
footer.ct-footer li,
footer.ct-footer div,
footer.ct-footer .widget,
footer.ct-footer .ct-widget {
	color: rgba(255, 255, 255, 0.78);
}

/* Ссылки */

footer.ct-footer a,
footer.ct-footer a:visited {
	color: #ffffff !important;
}

footer.ct-footer a:hover,
footer.ct-footer a:focus {
	color: #71d8d6 !important;
}

/* Заголовки: Проект, Контакты и т.д. */

footer.ct-footer h1,
footer.ct-footer h2,
footer.ct-footer h3,
footer.ct-footer h4,
footer.ct-footer h5,
footer.ct-footer h6,
footer.ct-footer .widget-title,
footer.ct-footer .ma-footer-title {
	color: #ffffff !important;
}

/* Авторские классы из HTML-блоков */

footer.ct-footer .ma-footer-about,
footer.ct-footer .ma-footer-about p,
footer.ct-footer .ma-footer-contacts,
footer.ct-footer .ma-footer-contacts__note,
footer.ct-footer .ma-footer-legal,
footer.ct-footer .ma-footer-legal a,
footer.ct-footer .ct-footer-copyright,
footer.ct-footer [class*="copyright"] {
	color: rgba(255, 255, 255, 0.78) !important;
}

/* Нижняя граница у copyright-строки */

footer.ct-footer [class*="copyright"] {
	border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ==========================================================================
   Новости из записей WordPress
   ========================================================================== */

.ma-news-card__visual {
	display: block;
	background-color: #dceeed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ma-news-card h3 a {
	color: inherit;
}

.ma-news-card h3 a:hover {
	color: var(--ma-color-turquoise-dark);
}

.ma-news__empty {
	padding: 28px;
	border: 1px dashed var(--ma-color-line);
	border-radius: var(--ma-radius);
	color: var(--ma-color-navy-light);
	text-align: center;
}

.ma-news__empty p {
	margin: 0;
}

/* ==========================================================================
   Ближайшие мероприятия — данные The Events Calendar
   ========================================================================== */

.ma-event-card__visual {
	display: block;
	background-color: #dceeed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ma-event-card__content h3 a {
	color: inherit;
}

.ma-event-card__content h3 a:hover {
	color: var(--ma-color-turquoise-dark);
}

.ma-events__empty {
	padding: 28px;
	border: 1px dashed var(--ma-color-line);
	border-radius: var(--ma-radius);
	color: var(--ma-color-navy-light);
	text-align: center;
}

.ma-events__empty p {
	margin: 0;
}

/* ==========================================================================
   Карточки мероприятий — вертикальная структура
   ========================================================================== */

.ma-events__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ma-event-card {
	display: flex;
	flex-direction: column;
	min-height: 420px;
}

.ma-event-card__top {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	min-height: 68px;
	border-bottom: 1px solid var(--ma-color-line);
}

.ma-event-card__date {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border-right: 1px solid var(--ma-color-line);
	background: #f8fbfb;
}

.ma-event-card__date-label {
	padding: 0;
	border: 0;
	color: var(--ma-color-turquoise-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

.ma-event-card__date strong {
	color: var(--ma-color-navy);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.ma-event-card__place {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 12px 16px;
	color: var(--ma-color-navy-light);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}

.ma-event-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 21px 20px 18px;
}

.ma-event-card__content h3 {
	font-size: 20px;
	line-height: 1.18;
}

.ma-event-card__text {
	margin: 12px 0 18px;
	font-size: 13px;
	line-height: 1.52;
}

.ma-event-card__visual {
	display: block;
	flex: 0 0 156px;
	min-height: 156px;
	border-top: 1px solid var(--ma-color-line);
	background-color: #dceeed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* На планшете: карточки по две. */

@media (max-width: 1050px) {
	.ma-events__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}
}

/* Телефон: одна карточка в строку. */

@media (max-width: 620px) {
	.ma-events__grid {
		grid-template-columns: 1fr;
	}

	.ma-event-card {
		min-height: 0;
	}

	.ma-event-card__visual {
		flex-basis: 190px;
		min-height: 190px;
	}
}

/* Картинка события между датой и текстом */

.ma-event-card__top + .ma-event-card__visual {
	border-top: 0;
	border-bottom: 1px solid var(--ma-color-line);
}

.ma-event-card__content {
	min-height: 195px;
}
/* ==========================================================================
   Направления из админки WordPress
   ========================================================================== */

.ma-direction-card__visual {
	display: block;
	background-color: #dceeed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ma-direction-card__content h3 a {
	color: inherit;
}

.ma-direction-card__content h3 a:hover {
	color: var(--ma-color-turquoise-dark);
}

.ma-directions__empty {
	padding: 28px;
	border: 1px dashed var(--ma-color-line);
	border-radius: var(--ma-radius);
	color: var(--ma-color-navy-light);
	text-align: center;
}

.ma-directions__empty p {
	margin: 0;
}
/* ==========================================================================
   Исправление динамических карточек направлений
   ========================================================================== */

/* Подзаголовок — фирменный тёмный бирюзовый */

.ma-directions__eyebrow {
	color: #078d91 !important;
}

/* Сетка и равная высота карточек */

.ma-directions__grid--three {
	align-items: stretch;
}

/* Карточка должна удерживать контент внутри */

.ma-directions__grid--three .ma-direction-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 430px;
	overflow: hidden;
}

/* Верхнее изображение фиксированной высоты */

.ma-directions__grid--three .ma-direction-card__visual {
	display: block;
	flex: 0 0 185px;
	min-height: 185px;
	padding: 0;
	overflow: hidden;
}

/* Номер направления остаётся поверх изображения */

.ma-directions__grid--three .ma-direction-card__number {
	top: 12px;
	left: 12px;
}

/* Контент растягивается и удерживает ссылку снизу */

.ma-directions__grid--three .ma-direction-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 20px 20px 18px;
}

/* Заголовок: не вылезает за границы */

.ma-directions__grid--three .ma-direction-card__content h3 {
	margin: 0;
	overflow-wrap: anywhere;
	color: var(--ma-color-navy);
	font-size: clamp(18px, 1.55vw, 21px);
	line-height: 1.16;
}

/* Ссылка

/* ==========================================================================
   Финальный сброс карточек направлений
   ========================================================================== */

.ma-directions__grid--three {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.ma-directions__grid--three .ma-direction-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.ma-directions__grid--three .ma-direction-card__visual {
	display: block;
	width: 100%;
	flex: 0 0 185px;
	min-width: 0;
	min-height: 185px;
	padding: 0;
	background-color: #dceeed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ma-directions__grid--three .ma-direction-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: auto;
	min-width: 0;
	padding: 20px;
}

.ma-directions__grid--three .ma-direction-card__content h3 {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	overflow-wrap: normal;
	word-break: normal;
	color: var(--ma-color-navy);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.ma-directions__grid--three .ma-direction-card__content h3 a {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-wrap: normal;
	word-break: normal;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	white-space: normal;
}

.ma-directions__grid--three .ma-direction-card__content h3 a:hover {
	color: var(--ma-color-turquoise-dark);
}

.ma-directions__grid--three .ma-direction-card__content > p {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 12px 0 18px;
	overflow: hidden;
	color: var(--ma-color-navy-light);
	font-size: 13px;
	line-height: 1.5;
}

.ma-directions__grid--three .ma-direction-card__content > a:last-child {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 7px;
	width: auto;
	max-width: 100%;
	min-width: 0;
	margin: auto 0 0;
	padding: 8px 0 0;
	color: var(--ma-color-turquoise-dark);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.ma-directions__grid--three .ma-direction-card__content > a:last-child span {
	display: inline;
	width: auto;
	font-size: 18px;
	line-height: 1;
}

@media (max-width: 900px) {
	.ma-directions__grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ma-directions__grid--three {
		grid-template-columns: 1fr;
	}

	.ma-directions__grid--three .ma-direction-card__visual {
		flex-basis: 190px;
		min-height: 190px;
	}
}

/* ==========================================================================
   Статистика — финальная версия
   ========================================================================== */

.ma-statistics {
	position: relative;
	z-index: 3;
	margin: 0;
	padding: 16px 0 54px;
	background: #ffffff;
}

.ma-statistics__card {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	overflow: hidden;
	border: 1px solid #dcebed;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(16, 45, 77, 0.08);
}

.ma-statistics__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-width: 0;
	min-height: 156px;
	padding: 20px 24px;
	border-right: 1px solid #dcebed;
}

.ma-statistics__item:last-child {
	border-right: 0;
}

.ma-statistics__icon {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #10aaa9;
}

.ma-statistics__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.45;
}

.ma-statistics__content {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.ma-statistics__number {
	display: block;
	color: #102d4d;
	font-size: clamp(31px, 3.1vw, 43px);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.95;
	white-space: nowrap;
}

.ma-statistics__label {
	display: block;
	margin-top: 7px;
	color: #38536c;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
}

.ma-statistics__cities {
	margin: 14px auto 0;
	color: #38536c;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

/* Планшет */

@media (max-width: 900px) {
	.ma-statistics__card {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ma-statistics__item {
		justify-content: flex-start;
		min-height: 96px;
		padding: 18px 24px;
	}

	.ma-statistics__item:nth-child(2) {
		border-right: 0;
	}

	.ma-statistics__item:nth-child(-n + 2) {
		border-bottom: 1px solid #dcebed;
	}
}

/* Телефон */

@media (max-width: 560px) {
	.ma-statistics {
		padding: 20px 0 42px;
	}

	.ma-statistics__card {
		grid-template-columns: 1fr;
	}

	.ma-statistics__item,
	.ma-statistics__item:nth-child(2) {
		min-height: 82px;
		padding: 15px 19px;
		border-right: 0;
		border-bottom: 1px solid #dcebed;
	}

	.ma-statistics__item:last-child {
		border-bottom: 0;
	}

	.ma-statistics__icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.ma-statistics__number {
		font-size: 34px;
	}

	.ma-statistics__label {
		margin-top: 5px;
		font-size: 11px;
	}

	.ma-statistics__cities {
		max-width: 340px;
		font-size: 10px;
	}
}

/* ==========================================================================
   Fluent Forms — заявки Малоэтажной Академии
   ========================================================================== */

.ma-form-page {
	width: min(100% - 48px, 820px);
	margin: 72px auto;
	padding: 42px;
	border: 1px solid var(--ma-color-line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(16, 45, 77, 0.08);
}

.ma-form-page__intro {
	max-width: 650px;
	margin-bottom: 30px;
}

.ma-form-page__eyebrow {
	margin: 0 0 10px;
	color: var(--ma-color-turquoise-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ma-form-page h1 {
	margin: 0;
	color: var(--ma-color-navy);
	font-size: clamp(31px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.ma-form-page__intro > p:last-child {
	margin: 18px 0 0;
	color: var(--ma-color-navy-light);
	font-size: 16px;
	line-height: 1.6;
}

/* Поля */

.ma-form-page .ff-el-group {
	margin-bottom: 19px;
}

.ma-form-page .ff-el-group label {
	display: block;
	margin-bottom: 7px;
	color: var(--ma-color-navy);
	font-size: 13px;
	font-weight: 700;
}

.ma-form-page .ff-el-form-control,
.ma-form-page .ff-el-form-control[type="text"],
.ma-form-page .ff-el-form-control[type="email"],
.ma-form-page textarea,
.ma-form-page select {
	width: 100%;
	min-height: 46px;
	border: 1px solid #cbdde0;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: none;
	color: var(--ma-color-navy);
	font-size: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ma-form-page textarea {
	min-height: 120px;
	padding-top: 12px;
	resize: vertical;
}

.ma-form-page .ff-el-form-control:focus,
.ma-form-page textarea:focus,
.ma-form-page select:focus {
	border-color: var(--ma-color-turquoise);
	box-shadow: 0 0 0 3px rgba(16, 170, 169, 0.12);
	outline: 0;
}

.ma-form-page .ff-el-form-check-label {
	color: var(--ma-color-navy-light);
	font-size: 12px;
	line-height: 1.45;
}

.ma-form-page .ff-btn-submit {
	min-height: 46px;
	padding: 0 24px;
	border: 1px solid var(--ma-color-turquoise) !important;
	border-radius: 3px;
	background: var(--ma-color-turquoise) !important;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ma-form-page .ff-btn-submit:hover {
	border-color: var(--ma-color-turquoise-dark) !important;
	background: var(--ma-color-turquoise-dark) !important;
	transform: translateY(-1px);
}

.ma-form-page .text-danger,
.ma-form-page .error {
	color: #bf3c3c;
	font-size: 12px;
}

@media (max-width: 640px) {
	.ma-form-page {
		width: min(100% - 32px, 820px);
		margin: 42px auto;
		padding: 27px 20px;
	}

	.ma-form-page h1 {
		font-size: 32px;
	}
}

/* ==========================================================================
   Кнопки с разными цветами фона
   ========================================================================== */

/* Тёмно-синяя кнопка (как была ранее) */
.ma-academy-button {
	background: var(--ma-color-navy) !important;
	border-color: var(--ma-color-navy) !important;
	color: #ffffff !important;
}

.ma-academy-button:hover {
	background: var(--ma-color-navy-light) !important;
	border-color: var(--ma-color-navy-light) !important;
}

/* Белая кнопка с бирюзовой обводкой */
.ma-club-button {
	background: #ffffff !important;
	border-color: var(--ma-color-turquoise) !important;
	color: var(--ma-color-turquoise) !important;
}

.ma-club-button:hover {
	background: var(--ma-color-turquoise) !important;
	border-color: var(--ma-color-turquoise) !important;
	color: #ffffff !important;
}

/* ==========================================================================
   Страница новостей — цвет ссылок при наведении
   ========================================================================== */

.category-novosti .ma-news-item a:hover,
.category-novosti article a:hover,
.category-novosti .post-title a:hover {
	color: var(--ma-color-turquoise) !important;
}

/* ==========================================================================
   Новости: одинаковая высота заголовков и изображений
   ========================================================================== */

.category .entry-card,
.category .post,
.category article {
	display: flex;
	flex-direction: column;
}

.category .entry-card .entry-header,
.category .post .entry-header,
.category article .entry-header {
	min-height: 150px;
	display: flex;
	flex-direction: column;
}

.category .entry-card .entry-title,
.category .post .entry-title,
.category article .entry-title {
	margin-bottom: 24px;
}

.category .entry-card .entry-content,
.category .post .entry-content,
.category article .entry-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.category .entry-card .post-thumbnail,
.category .post .post-thumbnail,
.category article .post-thumbnail {
	width: 100%;
	height: 430px;
	overflow: hidden;
}

.category .entry-card .post-thumbnail img,
.category .post .post-thumbnail img,
.category article .post-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* Кнопки страницы «Школьникам» */

.ma-page-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 28px 0 42px;
}

.ma-page-actions .ma-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: auto !important;
	min-width: 0 !important;
	height: 46px !important;
	min-height: 46px !important;

	margin: 0 !important;
	padding: 0 20px !important;
	border-radius: 3px;

	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	vertical-align: middle !important;
	text-align: center !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	transform: none !important;
}

/* Убираем возможные отступы у внутренних элементов */
.ma-page-actions .ma-button span,
.ma-page-actions .ma-button strong,
.ma-page-actions .ma-button b {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

/* Основная кнопка */
.ma-page-actions .ma-button--primary {
	background: #10aaa9 !important;
	border: 1px solid #10aaa9 !important;
	color: #ffffff !important;
}

/* Вторая кнопка */
.ma-page-actions .ma-button--secondary {
	background: #ffffff !important;
	border: 1px solid #183252 !important;
	color: #183252 !important;
}

.ma-page-actions .ma-button--primary:hover {
	background: #087f82 !important;
	border-color: #087f82 !important;
	color: #ffffff !important;
}

.ma-page-actions .ma-button--secondary:hover {
	background: #183252 !important;
	border-color: #183252 !important;
	color: #ffffff !important;
}

@media (max-width: 640px) {
	.ma-page-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ma-page-actions .ma-button {
		width: 100% !important;
		white-space: normal;
	}
}

.ma-page-actions .ma-button {
	transform: translateY(-1px) !important;
}