@font-face {
	font-family: "Lab Grotesque";
	src: url("../fonts/LabGrotesque/LabGrotesque-Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lab Grotesque";
	src: url("../fonts/LabGrotesque/LabGrotesque-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lab Grotesque";
	src: url("../fonts/LabGrotesque/LabGrotesque-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lab Grotesque";
	src: url("../fonts/LabGrotesque/LabGrotesque-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Liga";
	src: url("../fonts/Liga/Liga-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: "Liga";
	src: url("../fonts/Liga/Liga-Semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: "Lab Grotesque";
	src: url("../fonts/LabGrotesque/LabGrotesque-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}


/*
 * ОГЛАВЛЕНИЕ main.css (по порядку)
 * 1. Шрифты @font-face и базовый сброс
 * 2. Токены-переменные (дублируют tokens.css)
 * 3. Доступность и служебные классы
 * 4. Шапка сайта и подвал
 * 5. Кнопки и сетки
 * 6. Карточки: сетка, варианты, кейсы, CTA
 * 7. Первый экран главной страницы
 * 8. Первый экран страниц услуг и учебного центра
 * 9. Слайдеры документов и отзывов
 * 10. Публикации и карточки записей
 * 11. Текстовые роли и типографика
 * 12. Блог: листинг, фильтры, пагинация, категории
 * 13. Статья: текст, цитаты, врезки, списки, блоки
 * 14. Учебные программы и каталог программ
 * 15. Раздел «Сведения об образовательной организации»
 * 16. Документы: карточки, превью, модальное окно
 * 17. Контакты, поиск, карта
 * 18. Формы Битрикс24 (оверрайды)
 * 19. Адаптив: планшет 1024–1100 и мобильные 700–768
 */

/*
 * Liga Next — базовые стили и токены.
 *
 * Значения совпадают с theme.json; здесь они продублированы как CSS-переменные,
 * чтобы стили работали и без генерации пресетов (редактор, письма, служебные страницы).
 */



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

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-main);
	font-family: var(--font-main);
	font-size: var(--fs-body);
	font-weight: var(--fw-light);
	line-height: var(--lh-body);
}

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

img {
	border-radius: var(--radius-md);
}

a {
	color: var(--color-accent);
	text-decoration: none;
}

a:hover {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--space-4);
	font-weight: var(--fw-medium);
	line-height: var(--lh-heading);
}

h1 {
	font-size: var(--fs-h1);
	line-height: var(--lh-display);
}

h2 {
	font-size: var(--fs-h2);
}

h3 {
	font-size: var(--fs-h3);
	font-weight: var(--fw-bold);
	line-height: var(--lh-title);
}

h4 {
	font-size: var(--fs-h4);
	font-weight: var(--fw-bold);
	line-height: var(--lh-title);
}

h5 {
	font-size: var(--fs-h5);
	font-weight: var(--fw-bold);
	line-height: var(--lh-title);
}

h6 {
	font-size: var(--fs-h6);
	font-weight: var(--fw-bold);
	line-height: var(--lh-title);
}

p {
	margin: 0 0 var(--space-4);
}

ul,
ol {
	margin: 0 0 var(--space-4);
	padding-left: var(--space-5);
}

li {
	margin-bottom: var(--space-2);
}

.l-table-wrap {
	overflow-x: auto;
}

table {
	width: 100%;
	margin: 0 0 var(--space-5);
	border-collapse: collapse;
}

caption {
	margin-bottom: var(--space-2);
	font-size: var(--fs-small);
	text-align: left;
}

th,
td {
	padding: var(--space-2) var(--space-3);
	text-align: left;
	vertical-align: top;
}

th {
	border-bottom: 2px solid var(--color-main);
	font-weight: var(--fw-semibold);
}

td {
	border-bottom: 1px solid var(--color-border);
}


.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* Служебные классы доступности. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: var(--space-2);
	left: var(--space-2);
	z-index: 1000;
	width: auto;
	height: auto;
	padding: var(--space-2) var(--space-4);
	clip: auto;
	background: var(--color-white);
	color: var(--color-main);
}

@media (max-width: 1024px) {
	:root {
		--section-space: 48px;
	}
}

@media (max-width: 600px) {
	:root {
		--section-space: 32px;
		--container-padding: var(--space-4);
	}
}

.l-section {
	padding: var(--section-space) 0;
}

.l-section--soft {
	background: var(--color-bg-soft);
}

@media (prefers-reduced-motion: no-preference) {
	.l-section {
		animation: liga-fade-in 0.4s ease both;
	}
}

@keyframes liga-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Шапка и подвал. */
.l-topbar {
	padding: var(--space-1) 0;
	background: var(--color-main);
	color: var(--color-white);
	font-size: var(--fs-small);
}

.l-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
}

.l-topbar__name {
	margin: 0;
	font-family: var(--font-accent);
}

.l-topbar__contacts {
	display: flex;
	align-items: center;
	gap: 100px;
}

.l-topbar__link {
	color: inherit;
}

.l-topbar__link:hover {
	color: var(--color-accent);
}

.l-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 92px;
}

.l-header__logo {
	align-self: flex-end;
}

.l-header__logo img {
	width: auto;
	max-height: 56px;
}

.l-header__title {
	font-family: var(--font-accent);
	font-size: var(--fs-h3);
}

.l-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 44px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.l-nav__list a {
	color: var(--color-main);
	letter-spacing: 0.025em;
}

.l-nav__list a:hover {
	color: var(--color-accent);
}

.l-main {
	min-height: 50vh;
}

.l-footer {
	margin-top: var(--space-8);
	padding: var(--space-8) 0;
	background: var(--color-bg-soft);
}

.l-footer__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--color-main);
}

.l-footer__logo img {
	width: auto;
	max-height: 48px;
}

.l-footer__tel {
	font-size: var(--fs-h2);
	line-height: var(--lh-title);
}

.l-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: var(--space-5);
	font-size: var(--fs-small);
}

.l-footer__copyright {
	margin: 0;
}

.l-footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 768px) {
	.l-topbar__contacts {
		gap: var(--space-4);
	}

	.l-header__inner {
		min-height: 72px;
	}

	.l-footer__top,
	.l-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-3);
	}
}

/* Первый компонент системы: кнопка. */
.c-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: var(--space-3) var(--space-6);
	border: 2px solid var(--color-main);
	border-radius: var(--radius-pill);
	background: var(--color-main);
	color: var(--color-white);
	font: inherit;
	font-weight: var(--fw-medium);
	line-height: var(--lh-heading);
	cursor: pointer;
}

.c-button:hover {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
}

.c-button--accent {
	border-color: var(--color-accent);
	background: var(--color-accent);
	color: var(--color-white);
}

.c-button--accent:hover {
	border-color: var(--color-main);
	background: var(--color-main);
}

.c-button--sm {
	min-height: 40px;
	padding: var(--space-2) var(--space-5);
	font-size: var(--fs-small);
}

.c-button--secondary {
	background: none;
	color: var(--color-main);
}

.c-button--secondary:hover {
	background: none;
	border-color: var(--color-main);
	color: var(--color-main);
}

.l-article__content a {
	color: var(--color-main);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.l-article__content a:hover {
	color: var(--color-accent);
}

.l-article__content > * {
	max-width: var(--measure);
}

/* Сетка и компоненты блоков. */
.l-grid {
	display: grid;
	gap: var(--space-5);
}

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

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

.l-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.l-grid--3,
	.l-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.l-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.c-card {
	display: flex;
	flex-direction: column;
	padding: var(--space-6);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-white);
}

.c-card--link {
	display: flex;
}

.c-card--link:hover {
	background: var(--color-bg-soft);
}

.c-card__title {
	margin: 0 0 var(--space-3);
}

.c-card__text {
	margin: 0;
}

.c-card__more {
	margin-top: var(--space-5);
	font-weight: var(--fw-medium);
	color: var(--color-accent);
}

.c-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 0 0 var(--section-space);
}

.c-hero__inner {
	position: relative;
	z-index: 1;
	aspect-ratio: 1320 / 500;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding-bottom: 20px;
}

.c-hero__art {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	pointer-events: none;
}

.c-hero__art svg {
	display: block;
	width: 100%;
	height: auto;
}

.c-hero__title {
	max-width: 900px;
	margin: 0 0 var(--space-5);
	font-family: var(--font-accent);
	font-size: var(--fs-display);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-tight);
}

.c-hero__text {
	max-width: 530px;
}

.c-hero__button {
	margin-top: var(--space-2);
}

.c-hero__phone-text {
	max-width: 250px;
	margin: var(--space-6) 0 var(--space-2);
	font-size: var(--fs-small);
}

.c-hero__phone {
	font-size: var(--fs-h3);
	font-weight: var(--fw-medium);
}

.c-hero__phone:hover {
	color: var(--color-accent);
}

@media (max-width: 1024px) {
	.c-hero__inner {
		aspect-ratio: auto;
		min-height: 0;
		padding-bottom: calc(37.88% + 20px);
	}

	.c-hero__title {
		font-size: var(--fs-h1);
	}
}

.c-text__inner {
	max-width: var(--measure);
}

.c-text__inner--wide {
	max-width: none;
}

.c-text__title {
	margin-bottom: var(--space-4);
}

.c-cards__header {
	max-width: var(--measure);
	margin-bottom: var(--space-7);
}

.c-cards__title {
	margin-bottom: var(--space-3);
}

.c-cards__subtitle {
	margin: 0;
}

.c-person__box {
	padding: var(--space-6) var(--space-7);
	border-radius: var(--radius-md);
}

.c-person__box--soft {
	background: var(--color-bg-soft);
}

.c-person__title {
	margin-top: 0;
}

.c-person__grid {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	gap: var(--space-5) var(--space-7);
	align-items: start;
	margin-top: var(--space-6);
}

.c-person__figure {
	margin: 0;
}

.c-person__photo {
	width: 100%;
	height: auto;
}

.c-person__caption {
	margin-top: var(--space-3);
	font-size: var(--fs-small);
	text-align: center;
}

.c-person__text {
	max-width: var(--measure);
}

@media (max-width: 768px) {
	.c-person__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.c-cta__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-7);
	padding: var(--space-7);
	border-radius: var(--radius-md);
}

.c-cta__box--soft {
	background: var(--color-bg-soft);
}

.c-cta__content {
	flex: 1;
}

.c-cta__illustration {
	flex: 0 0 auto;
	max-width: 260px;
}

.c-cta__illustration svg {
	width: 100%;
	height: auto;
}

.c-cta__title {
	margin-bottom: var(--space-4);
}

.c-cta__button {
	margin-top: var(--space-4);
}

.c-posts__header {
	max-width: var(--measure);
	margin-bottom: var(--space-7);
}

.c-posts__description {
	margin: var(--space-3) 0 0;
}

.c-post-card {
	display: flex;
	flex-direction: column;
}

.c-post-card__meta {
	margin-bottom: var(--space-3);
	font-size: var(--fs-small);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
}

.c-post-card__date {
	margin: 0 0 var(--space-3);
	font-size: var(--fs-small);
}

/* Выпадающее меню. */
.l-nav {
	position: relative;
}

.l-nav__list li {
	position: relative;
}

.l-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 10;
	width: max-content;
	max-width: calc(100vw - 32px);
	margin: 0;
	padding: 32px 150px 32px 75px;
	list-style: none;
	background: var(--color-white);
	border: 1px solid rgba(75, 80, 91, 0.05);
	border-radius: var(--radius-md);
	box-shadow: 4px 4px 7px rgba(114, 126, 145, 0.25);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.l-nav__list .sub-menu li {
	margin-bottom: 16px;
}

.l-nav__list .sub-menu li:last-child {
	margin-bottom: 0;
}

.l-nav__list .sub-menu a {
	display: block;
	font-size: var(--fs-body);
	line-height: var(--lh-ui);
	white-space: nowrap;
}

.l-nav__list li:hover > .sub-menu,
.l-nav__list li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.c-cases__header {
	max-width: var(--measure);
	margin-bottom: var(--space-7);
}

.c-cases__title {
	margin-bottom: var(--space-3);
}

.c-cases__description {
	margin: 0;
}

.c-case__logo {
	display: flex;
	align-items: center;
	min-height: 64px;
	margin-bottom: var(--space-4);
}

.c-case__logo img {
	width: auto;
	max-height: 64px;
}

.l-footer__columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-6);
	margin-top: var(--space-6);
}

.l-footer__col-title {
	margin: 0 0 var(--space-3);
	font-weight: var(--fw-medium);
}

.l-footer__menu,
.l-footer__socials {
	margin: 0;
	padding: 0;
	list-style: none;
}

.l-footer__menu li,
.l-footer__socials li {
	margin-bottom: var(--space-2);
}

.l-footer__address {
	margin: 0 0 var(--space-2);
}

@media (max-width: 768px) {
	.l-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.l-footer__columns {
		grid-template-columns: minmax(0, 1fr);
	}
}


}

/* Анимация отрисовки SVG — из оригинала (по классам контуров). */
.CAWUgnNW_0 { stroke-dasharray: 11623 11625; stroke-dashoffset: 11624; animation: CAWUgnNW_draw 4000ms linear 0ms forwards; }
@keyframes CAWUgnNW_draw { 100% { stroke-dashoffset: 0; } }
.FkkwbNHq_0 { stroke-dasharray: 5044 5046; stroke-dashoffset: 5045; animation: FkkwbNHq_draw 3000ms linear 0ms forwards; }
@keyframes FkkwbNHq_draw { 100% { stroke-dashoffset: 0; } }
.FsuZzfIR_0 { stroke-dasharray: 8571 8573; stroke-dashoffset: 8572; animation: FsuZzfIR_draw 3333ms linear 0ms forwards; }
@keyframes FsuZzfIR_draw { 100% { stroke-dashoffset: 0; } }
.gFBqPeDm_0 { stroke-dasharray: 8959 8961; stroke-dashoffset: 8960; animation: gFBqPeDm_draw 2000ms linear 0ms forwards; }
@keyframes gFBqPeDm_draw { 100% { stroke-dashoffset: 0; } }
.famFdtVT_0 { stroke-dasharray: 6507 6509; stroke-dashoffset: 6508; animation: famFdtVT_draw 2000ms linear 0ms forwards; }
@keyframes famFdtVT_draw { 100% { stroke-dashoffset: 0; } }
.LvwERzKd_0 { stroke-dasharray: 12040 12042; stroke-dashoffset: 12041; animation: LvwERzKd_draw 2000ms linear 0ms forwards; }
@keyframes LvwERzKd_draw { 100% { stroke-dashoffset: 0; } }
.nGjgvQOA_0 { stroke-dasharray: 9748 9750; stroke-dashoffset: 9749; animation: nGjgvQOA_draw 2000ms linear 0ms forwards; }
@keyframes nGjgvQOA_draw { 100% { stroke-dashoffset: 0; } }
.ZmAkkqev_0 { stroke-dasharray: 6417 6419; stroke-dashoffset: 6418; animation: ZmAkkqev_draw 2000ms linear 0ms forwards; }
@keyframes ZmAkkqev_draw { 100% { stroke-dashoffset: 0; } }
.LLCBjtxY_0 { stroke-dasharray: 7612 7614; stroke-dashoffset: 7613; animation: LLCBjtxY_draw 2000ms linear 0ms forwards; }
@keyframes LLCBjtxY_draw { 100% { stroke-dashoffset: 0; } }
.rHhIRYSD_0 { stroke-dasharray: 6839 6841; stroke-dashoffset: 6840; animation: rHhIRYSD_draw 2000ms linear 0ms forwards; }
@keyframes rHhIRYSD_draw { 100% { stroke-dashoffset: 0; } }
.NuUwHanJ_0 { stroke-dasharray: 8561 8563; stroke-dashoffset: 8562; animation: NuUwHanJ_draw 2000ms linear 0ms forwards; }
@keyframes NuUwHanJ_draw { 100% { stroke-dashoffset: 0; } }
.ICEWAgnc_0 { stroke-dasharray: 14438 14440; stroke-dashoffset: 14439; animation: ICEWAgnc_draw 2000ms linear 0ms forwards; }
@keyframes ICEWAgnc_draw { 100% { stroke-dashoffset: 0; } }

/* ==========================================================================

/* Hover карточек-ссылок. */
.c-card--link {
	position: relative;
	padding-bottom: calc(var(--space-6) + var(--space-5));
	transition: background-color 0.2s ease;
}

.c-card--link::after {
	content: "→";
	position: absolute;
	right: var(--space-6);
	bottom: var(--space-5);
	margin: 0;
	color: var(--color-accent);
	transition: transform 0.2s ease;
}

.c-card--link:hover::after {
	transform: translateX(6px);
}

/* Карточки в одной сетке — одинаковой высоты. */
.c-cards .l-grid {
	grid-auto-rows: 1fr;
}

.c-cards .c-card {
	height: 100%;
}

/* Варианты карточек. */
.c-card--soft {
	background: var(--color-bg-soft);
	border-color: transparent;
}

.c-card--accent {
	border-top: 4px solid var(--color-main);
}

.c-card--feature {
	grid-column: span 2;
}

.c-card--feature .c-card__title {
	font-size: var(--fs-h3);
	line-height: var(--lh-feature);
}

@media (max-width: 600px) {
	.c-card--feature {
		grid-column: span 1;
	}
}

/* Карточка-ссылка не меняет цвет текста при наведении. */
.c-card--link,
.c-card--link:hover {
	color: var(--color-main);
}

/* Фирменное написание «Лига Качества» — шрифт Liga. */
.brand-name {
	font-family: var(--font-accent);
	font-weight: var(--fw-medium);
}

/* Кейсы: большая карточка 2×2. */
.c-cases .c-card--feature {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: var(--space-6);
	align-items: start;
}

.c-cases .c-card--feature .c-case__logo {
	margin: 0;
}

.c-cases .c-card--feature .c-case__logo img {
	max-height: 96px;
}

.c-cases .c-card--feature .c-card__title {
	font-size: var(--fs-h3);
}

@media (max-width: 768px) {
	.c-cases .c-card--feature {
		grid-column: span 1;
		grid-template-columns: minmax(0, 1fr);
	}
}

.c-cases .c-card--feature .c-case__body {
	max-width: var(--measure);
}

/* Кейсы строками. */
.c-cases__rows {
	display: flex;
	flex-direction: column;
}

.c-case-row {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr) 32px;
	gap: var(--space-6);
	align-items: start;
	padding: var(--space-6) var(--space-4);
	border-top: 1px solid var(--color-border);
	color: var(--color-main);
	transition: background-color 0.2s ease;
}

.c-case-row:last-child {
	border-bottom: 1px solid var(--color-border);
}

.c-case-row:hover {
	background: var(--color-bg-soft);
}



.c-case-row__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--color-main);
	color: var(--color-white);
	font-size: var(--fs-h2);
	font-weight: var(--fw-medium);
	line-height: var(--lh-tight);
}

.c-case-row__body {
	letter-spacing: var(--ls-tight);
}

.c-case-row__arrow {
	color: var(--color-accent);
	transition: transform 0.2s ease;
}

.c-case-row:hover .c-case-row__arrow {
	transform: translateX(6px);
}

@media (max-width: 768px) {
	.c-case-row {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: var(--space-4);
	}

	.c-case-row__num {
		width: 48px;
		height: 48px;
		font-size: 20px;
	}

	.c-case-row__arrow {
		display: none;
	}
}

/* Кейсы-строки: текст не краснеет при наведении. */
.c-case-row,
.c-case-row:hover {
	color: var(--color-main);
}

/* Текст в две колонки. */
.c-text-columns__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-8);
}

.c-text-columns__col + .c-text-columns__col {
	padding-left: var(--space-8);
	border-left: 1px solid var(--color-border);
}

.c-text-columns__title {
	margin-top: 0;
	font-size: var(--fs-h2);
}

.c-text-columns__text {
	max-width: 520px;
}

.c-text-columns__text > :first-child {
	margin-top: 0;
}

@media (max-width: 900px) {
	.c-text-columns__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.c-text-columns__col + .c-text-columns__col {
		padding-left: 0;
		border-left: 0;
	}
}

/* Чёрный CTA. */
.c-cta__box--dark {
	background: var(--color-main);
	color: var(--color-white);
}

.c-cta__box--dark .c-cta__title {
	color: var(--color-white);
}

.c-cta__box--dark .c-button--accent,
.c-cta__box--dark .c-cta__button {
	background: var(--color-white);
	color: var(--color-main);
}

.c-cta__box--dark .c-button {
	border-color: transparent;
	box-shadow: none;
}

/* Текст в карточках публикаций: не выходит за рамки, обрезается многоточием. */
.c-post-card .c-card__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	overflow-wrap: anywhere;
}

/* Карточка публикации — по оригиналу. */
.c-post-card {
	padding: 48px 40px 40px;
	min-height: 465px;
}

.c-post-card::after {
	display: none;
}

.c-post-card__meta {
	margin: 0;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-border);
	font-size: var(--fs-small);
	letter-spacing: var(--ls-normal);
	text-transform: none;
}

.c-post-card .c-card__title {
	margin: 32px 0 24px;
}

.c-post-card__date {
	margin: 0 0 32px;
	font-size: var(--fs-small);
	color: rgba(45, 48, 54, 0.7);
}

.c-post-card .c-card__text {
	-webkit-line-clamp: 7;
	line-height: var(--lh-copy);
}


/* Анимация SVG первого экрана (перенесена из inline-стиля). */
.UeWCeMbD_0{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:UeWCeMbD_draw 9990ms ease-in-out 0ms forwards;}.UeWCeMbD_1{stroke-dasharray:3670 3672;stroke-dashoffset:3671;animation:UeWCeMbD_draw 9990ms ease-in-out 2ms forwards;}.UeWCeMbD_2{stroke-dasharray:17901 17903;stroke-dashoffset:17902;animation:UeWCeMbD_draw 9990ms ease-in-out 5ms forwards;}.UeWCeMbD_3{stroke-dasharray:17901 17903;stroke-dashoffset:17902;animation:UeWCeMbD_draw 9990ms ease-in-out 7ms forwards;}.UeWCeMbD_4{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:UeWCeMbD_draw 9990ms ease-in-out 10ms forwards;}@keyframes UeWCeMbD_draw{100%{stroke-dashoffset:0;}}@keyframes UeWCeMbD_fade{0%{stroke-opacity:1;}97.1830985915493%{stroke-opacity:1;}100%{stroke-opacity:0;}}

/* Подвал — размеры из оригинала. */
.l-footer {
	margin-top: 60px;
	padding: 90px 0 140px;
	background: var(--color-bg-soft);
}

.l-footer__first-row {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-main);
}

.l-footer__logo img {
	width: auto;
	max-height: 66px;
}

.l-footer__flex {
	display: grid;
	grid-template-columns: 1fr 1.2fr auto;
	gap: 40px;
	align-items: start;
	margin-top: 37px;
}

.l-footer__col--social {
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

.l-footer__socials {
	display: flex;
	gap: 20px;
}

.l-footer__social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.l-footer__social img {
	width: 24px;
	height: 24px;
}

.l-footer__copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: auto;
	padding-top: 40px;
	font-size: var(--fs-footer-copy);
	line-height: var(--lh-ui);
	font-weight: var(--fw-light);
}

.l-footer__name {
	margin: 0 0 28px;
	font-size: var(--fs-footer-name);
	font-weight: var(--fw-light);
}

.l-footer__company {
	margin: 0 0 24px;
	font-size: var(--fs-footer-text);
	font-weight: var(--fw-light);
}

.l-footer__line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: var(--fs-footer-text);
	font-weight: var(--fw-light);
}

.l-footer__line svg {
	flex: none;
}

.l-footer__line--mail {
	font-size: var(--fs-footer-mail);
}

.l-footer__col--rating iframe {
	display: block;
	border: 0;
}

@media (max-width: 900px) {
	.l-footer {
		padding: 40px 0 60px;
	}
	.l-footer__flex {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.l-footer__copy {
		padding-top: 24px;
	}
}

.l-footer__social img {
	width: 32px;
	height: 32px;
}

.l-footer__rating {
	display: grid;
	grid-template-columns: auto auto 1fr;
	grid-template-areas: "pin value stars" "caption caption caption";
	align-items: center;
	gap: 4px 8px;
}

.l-footer__pin {
	grid-area: pin;
}

.l-footer__rating-value {
	grid-area: value;
	font-size: var(--fs-footer-text);
	font-weight: var(--fw-medium);
}

.l-footer__rating-stars {
	grid-area: stars;
	color: #f5c518;
	font-size: var(--fs-footer-text);
	letter-spacing: var(--ls-stars);
}

.l-footer__rating-caption {
	grid-area: caption;
	font-size: 11px;
	color: rgba(45, 48, 54, 0.6);
}


.l-footer__col--rating {
	align-self: end;
}

@media (max-width: 1100px) {
	.l-nav__list .sub-menu {
		right: 0;
		left: auto;
		width: min(554px, calc(100vw - 32px));
		padding: 24px 32px;
	}

	.l-nav__list .sub-menu a {
		white-space: normal;
	}
}

/* Мобильное меню. */
.l-header__inner {
	position: relative;
}

.l-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.l-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-main);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.l-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.l-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.l-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
	.l-burger {
		display: flex;
		margin-left: auto;
	}

	.l-nav {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		left: 0;
		z-index: 20;
		display: none;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		padding: 20px 24px;
		background: var(--color-white);
		border-radius: var(--radius-md);
		box-shadow: 4px 4px 7px rgba(114, 126, 145, 0.25);
	}

	.l-nav.is-open {
		display: block;
	}

	.l-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.l-nav__list .sub-menu {
		position: static;
		width: auto;
		max-width: none;
		padding: 8px 0 0 16px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transition: none;
	}

	.l-nav__list .sub-menu a {
		white-space: normal;
	}
}

@media (max-width: 600px) {
	.l-topbar__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 8px 0;
	}

	.l-topbar__contacts {
		flex-wrap: wrap;
		gap: 12px;
	}

	.l-header__logo img {
		max-height: 48px;
	}
}

@media (max-width: 768px) {
	.c-cta__illustration {
		display: none;
	}
}

body {
	overflow-x: hidden;
}

html {
	overflow-x: hidden;
}

@media (max-width: 768px) {
	.c-hero__art {
		display: none;
	}

	.c-hero__inner {
		padding-bottom: 20px;
	}
}

/* Мобильная шапка и первый экран — по мобильному референсу. */
.l-topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.l-topbar__icon {
	flex: none;
}

@media (max-width: 600px) {
	.l-topbar__inner {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 16px;
		padding: 12px 16px;
	}

	.l-topbar__name {
		max-width: 52%;
		font-size: var(--fs-small);
		line-height: var(--lh-title);
	}

	.l-topbar__contacts {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.l-topbar__link {
		font-size: var(--fs-small);
	}

	.l-header__logo img {
		max-height: 72px;
	}

	.c-hero__inner {
		align-items: center;
		justify-content: center;
		min-height: 520px;
		padding-top: 40px;
		padding-bottom: 20px;
		text-align: center;
	}

	.c-hero__title {
		max-width: 100%;
		font-size: var(--fs-h1);
	}

	.c-hero__description {
		max-width: 320px;
		margin-right: auto;
		margin-left: auto;
	}

	.c-hero__note {
		text-align: center;
	}

	.c-hero__button {
		margin-right: auto;
		margin-left: auto;
	}

	.c-person__title {
		text-align: center;
	}
}

@media (max-width: 600px) {
	.c-hero__phone-text {
		display: none;
	}
}

@media (max-width: 600px) {
	.l-topbar__name {
		max-width: 52%;
	}

	.l-topbar__name-part {
		display: block;
	}
}

@media (max-width: 600px) {
	.l-header__inner {
		height: 92px;
	}
}

@media (max-width: 600px) {
	.c-hero {
		padding-bottom: 20px;
	}

	.c-hero__inner {
		min-height: 380px;
	}

	.c-hero__text {
		max-width: 320px;
		margin-right: auto;
		margin-left: auto;
	}

	.c-hero__button {
		min-width: 260px;
	}
}

@media (max-width: 600px) {
	.c-hero__button {
		min-height: 42px;
		height: 42px;
	}
}

@media (max-width: 600px) {
	.l-header__logo {
		align-self: center;
	}

	.l-topbar__inner {
		padding: 16px;
	}

	.l-topbar__name {
		line-height: var(--lh-meta);
	}

	.l-topbar__contacts {
		gap: 0;
	}

	.l-topbar__link {
		line-height: var(--lh-meta);
	}
}

/* Страница «Аутсорсинг охраны труда». */
.c-sout-hero {
	margin: 100px 0 50px;
	padding: 0;
}

.c-sout-hero__inner {
	position: relative;
	min-height: 500px;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

.c-sout-hero__art {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.c-sout-hero__art svg {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: auto;
}

.c-sout-hero__text {
	width: 100%;
	max-width: 560px;
	margin-top: 50px;
}

.c-sout-hero__title {
	margin-bottom: 0;
}

.c-sout-hero__subtitle {
	margin: 32px 0;
	font-size: var(--fs-sout-subtitle);
	font-weight: 900;
	line-height: 84px;
}

.c-sout-hero__desc {
	margin: 0 0 var(--space-6);
	font-size: var(--fs-small);
	font-weight: var(--fw-light);
	line-height: var(--lh-body);
}

.c-sout-hero__button {
	margin-top: 50px;
}

.c-sout-documents {
	padding: 45px 0;
}

.c-sout-documents__title {
	margin-bottom: 34px;
}

.c-sout-documents__desc {
	max-width: 580px;
	margin-bottom: 80px;
	font-size: var(--fs-small);
	font-weight: var(--fw-light);
}

.c-sout-documents__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}

.c-sout-doc-card {
	display: grid;
	grid-template-rows: 219px 1fr;
	height: 465px;
	padding: 0 40px;
	background: var(--color-white);
	border-top: 4px solid var(--color-main);
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.c-sout-doc-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.c-sout-doc-card__name {
	align-self: center;
	margin: 0;
	font-size: var(--fs-lead);
	font-weight: var(--fw-regular);
}

.c-sout-doc-card__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	border-top: 1px solid var(--color-border);
}

.c-sout-doc-card__price {
	margin: 0;
	font-size: var(--fs-h2);
	font-weight: var(--fw-medium);
}

.c-sout-docs {
	padding: 45px 0;
}

.c-sout-docs__title {
	margin-bottom: 40px;
}

.c-sout-docs__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--space-5);
}

.c-sout-doc {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	height: 378px;
	padding: 27px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-align: center;
}

.c-sout-doc__name {
	font-size: var(--fs-small);
	font-weight: var(--fw-light);
}

.c-sout-doc img {
	max-width: 100%;
	max-height: 260px;
	object-fit: contain;
}

.c-sout-reviews {
	padding: 45px 0;
}

.c-sout-reviews__title {
	margin-bottom: 40px;
}

.c-sout-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}

.c-sout-review {
	display: flex;
	align-items: flex-start;
	height: 400px;
	padding: 38px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.c-sout-review__img {
	flex: none;
	width: 120px;
	margin-right: var(--space-7);
}

.c-sout-review__img img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

.c-sout-review__body {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	font-weight: var(--fw-light);
}

.c-sout-review__sign {
	margin: auto 0 0;
}

@media (max-width: 1200px) {
	.c-sout-documents__grid,
	.c-sout-reviews__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.c-sout-docs__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.c-sout-hero {
		margin-top: 50px;
	}
	.c-sout-hero__art {
		display: none;
	}
	.c-sout-hero__inner {
		min-height: 0;
		display: block;
	}
	.c-sout-hero__text {
		max-width: 100%;
		margin-top: 0;
	}
	.c-sout-documents__grid,
	.c-sout-docs__grid,
	.c-sout-reviews__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.c-sout-doc-card,
	.c-sout-doc,
	.c-sout-review {
		height: auto;
	}
}

.c-sout-review {
	height: auto;
	min-height: 400px;
}

.c-sout-review__body {
	flex: 1;
}

.c-sout-review__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 8;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.c-sout-reviews__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-sout-review__img {
	width: 180px;
	margin-right: var(--space-6);
}

@media (max-width: 768px) {
	.c-sout-reviews__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Слайдеры страницы услуги. */
.c-slider__track {
	display: flex;
	gap: 40px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.c-slider__track::-webkit-scrollbar {
	display: none;
}

.c-sout-docs__grid .c-sout-doc {
	flex: 0 0 calc((100% - 72px) / 4);
	scroll-snap-align: start;
}

.c-sout-reviews__grid .c-sout-review {
	flex: 0 0 calc((100% - 40px) / 2);
	scroll-snap-align: start;
}

.c-slider__buttons {
	display: flex;
	gap: 21px;
	margin-top: 42px;
}

.c-slider__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: var(--color-main);
	background: none;
	border: 0;
	cursor: pointer;
}

.c-slider__btn:hover {
	color: var(--color-accent);
}

.c-slider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

@media (max-width: 1200px) {
	.c-sout-docs__grid .c-sout-doc {
		flex-basis: calc((100% - 48px) / 3);
	}
}

@media (max-width: 768px) {
	.c-sout-docs__grid .c-sout-doc {
		flex-basis: calc((100% - 24px) / 2);
	}

	.c-sout-reviews__grid .c-sout-review {
		flex-basis: 100%;
	}
}

@media (max-width: 1399px) {
	.c-sout-hero__subtitle {
		font-size: 50px;
		line-height: 54px;
	}
}

@media (max-width: 768px) {
	.c-sout-hero__title {
		font-size: 42px;
		line-height: 46px;
	}
}

@media (max-width: 424px) {
	.c-sout-hero__title {
		font-size: 40px;
		line-height: 44px;
	}
	.c-sout-hero__subtitle {
		font-size: 45px;
		line-height: 50px;
	}
}

@media (max-width: 370px) {
	.c-sout-hero__title {
		font-size: 36px;
		line-height: 40px;
	}
	.c-sout-hero__subtitle {
		font-size: 40px;
		line-height: 45px;
	}
}

/* Главная: первый экран по оригиналу (.b-main). */
.c-hero {
	margin-top: 200px;
}

.c-hero__text {
	max-width: 530px;
	margin: 24px 0 61px;
}

.c-hero__button {
	margin-top: 50px;
}

.c-hero__phone-text {
	max-width: 250px;
	margin: 51px 0 24px;
}

@media (max-width: 768px) {
	.c-hero {
		margin-top: 0;
	}

	.c-hero__text {
		margin: 24px auto;
	}

	.c-hero__button {
		margin-top: 24px;
	}

	.c-hero__phone-text {
		margin: 24px auto;
	}
}

/* Главная: вертикальные позиции первого экрана по эталону. */
.c-hero__inner {
	min-height: 499px;
}

.c-hero__text {
	margin-bottom: 20px;
}

.c-hero__phone-text {
	margin-top: 87px;
}

@media (max-width: 768px) {
	.c-hero__inner {
		min-height: 0;
	}

	.c-hero__text {
		margin-bottom: 24px;
	}

	.c-hero__phone-text {
		margin-top: 24px;
	}
}

/* Главная: контейнер первого экрана по контенту, как .b-main .container. */
.c-hero__inner {
	min-height: 0;
}

.c-hero__text {
	margin: 24px 0 70px;
}

.c-hero__button {
	margin-top: 0;
	min-height: 56px;
	padding: 16px 32px;
	font-size: 16px;
	line-height: 1.5;
	border-radius: 30px;
}

.c-hero__phone-text {
	margin: 61px 0 24px;
}

@media (max-width: 768px) {
	.c-hero__text {
		margin-bottom: 24px;
	}

	.c-hero__button {
		min-height: 48px;
		padding: 12px 24px;
		font-size: var(--fs-body);
		border-radius: var(--radius-pill);
	}

	.c-hero__phone-text {
		margin-top: 24px;
	}
}

/* Главная: высота первого экрана по контенту, без фиксированного соотношения. */
.c-hero__inner {
	aspect-ratio: auto;
	padding-bottom: 0;
}

@media (max-width: 768px) {
	.c-hero__inner {
		aspect-ratio: auto;
		padding-bottom: 20px;
	}
}

/* Главная: точные отступы первого экрана. */
.c-hero {
	padding-bottom: 0;
}

.c-hero__title {
	margin-bottom: 0;
}

.c-hero__text {
	margin: 28px 0 51px;
}

.c-hero__button {
	height: 56px;
	min-height: 56px;
}

.c-hero__phone-text {
	margin-top: 61px;
}

/* Главная: арт первого экрана выходит за контейнер, как в оригинале. */
.c-hero {
	overflow: visible;
}

/* Главная: арт первого экрана шириной 1320, как в оригинале. */
.c-hero__art {
	right: auto;
	left: 50%;
	width: 1320px;
	max-width: 100vw;
	transform: translateX(-50%);
}

/* Страницы услуг: тот же макет первого экрана, что на главной. */
.c-sout-hero__inner {
	justify-content: flex-start;
}

.c-sout-hero__text {
	width: 100%;
	max-width: 635px;
	margin-left: 0;
}

.c-sout-hero__art {
	right: auto;
	left: 50%;
	width: 1320px;
	max-width: 100vw;
	transform: translateX(-50%);
}

/* Арт первого экрана — строго в каркасе 1200. */
.c-sout-hero__art,
.c-hero__art {
	right: 0;
	left: 0;
	width: 100%;
	max-width: none;
	transform: none;
}

/* Первый экран услуги: типографика как на главной. */
.c-sout-hero__title {
	font-size: var(--fs-display);
	line-height: 55px;
}

.c-sout-hero__desc {
	font-size: var(--fs-body);
}

@media (max-width: 768px) {
	.c-sout-hero__title {
		font-size: 42px;
		line-height: 46px;
	}
}

@media (max-width: 424px) {
	.c-sout-hero__title {
		font-size: 40px;
		line-height: 44px;
	}
}

@media (max-width: 370px) {
	.c-sout-hero__title {
		font-size: 36px;
		line-height: 40px;
	}
}

.c-sout-hero__text {
	max-width: 700px;
}

/* Первый экран услуги: заголовок 48 и описание 14, как в оригинале страницы. */
.c-sout-hero__title {
	font-size: var(--fs-h1);
	line-height: 1.1;
}

.c-sout-hero__desc {
	font-size: var(--fs-small);
}

.c-sout-hero__text {
	max-width: 635px;
}

/* Анимация SVG страницы услуги (перенесена из inline-стиля). */
.mCHPZidH_0{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:mCHPZidH_draw 4990ms ease-in-out 0ms forwards;}.mCHPZidH_1{stroke-dasharray:3582 3584;stroke-dashoffset:3583;animation:mCHPZidH_draw 4990ms ease-in-out 0ms forwards;}.mCHPZidH_2{stroke-dasharray:1673 1675;stroke-dashoffset:1674;animation:mCHPZidH_draw 4990ms ease-in-out 0ms forwards;}.mCHPZidH_3{stroke-dasharray:1529 1531;stroke-dashoffset:1530;animation:mCHPZidH_draw 4990ms ease-in-out 1ms forwards;}.mCHPZidH_4{stroke-dasharray:1167 1169;stroke-dashoffset:1168;animation:mCHPZidH_draw 4990ms ease-in-out 1ms forwards;}.mCHPZidH_5{stroke-dasharray:1444 1446;stroke-dashoffset:1445;animation:mCHPZidH_draw 4990ms ease-in-out 2ms forwards;}.mCHPZidH_6{stroke-dasharray:1787 1789;stroke-dashoffset:1788;animation:mCHPZidH_draw 4990ms ease-in-out 2ms forwards;}.mCHPZidH_7{stroke-dasharray:1481 1483;stroke-dashoffset:1482;animation:mCHPZidH_draw 4990ms ease-in-out 3ms forwards;}.mCHPZidH_8{stroke-dasharray:1444 1446;stroke-dashoffset:1445;animation:mCHPZidH_draw 4990ms ease-in-out 3ms forwards;}.mCHPZidH_9{stroke-dasharray:2313 2315;stroke-dashoffset:2314;animation:mCHPZidH_draw 4990ms ease-in-out 4ms forwards;}.mCHPZidH_10{stroke-dasharray:1987 1989;stroke-dashoffset:1988;animation:mCHPZidH_draw 4990ms ease-in-out 4ms forwards;}.mCHPZidH_11{stroke-dasharray:1132 1134;stroke-dashoffset:1133;animation:mCHPZidH_draw 4990ms ease-in-out 5ms forwards;}.mCHPZidH_12{stroke-dasharray:1673 1675;stroke-dashoffset:1674;animation:mCHPZidH_draw 4990ms ease-in-out 5ms forwards;}.mCHPZidH_13{stroke-dasharray:1529 1531;stroke-dashoffset:1530;animation:mCHPZidH_draw 4990ms ease-in-out 6ms forwards;}.mCHPZidH_14{stroke-dasharray:1167 1169;stroke-dashoffset:1168;animation:mCHPZidH_draw 4990ms ease-in-out 6ms forwards;}.mCHPZidH_15{stroke-dasharray:1444 1446;stroke-dashoffset:1445;animation:mCHPZidH_draw 4990ms ease-in-out 7ms forwards;}.mCHPZidH_16{stroke-dasharray:1787 1789;stroke-dashoffset:1788;animation:mCHPZidH_draw 4990ms ease-in-out 7ms forwards;}.mCHPZidH_17{stroke-dasharray:1481 1483;stroke-dashoffset:1482;animation:mCHPZidH_draw 4990ms ease-in-out 8ms forwards;}.mCHPZidH_18{stroke-dasharray:1444 1446;stroke-dashoffset:1445;animation:mCHPZidH_draw 4990ms ease-in-out 8ms forwards;}.mCHPZidH_19{stroke-dasharray:2313 2315;stroke-dashoffset:2314;animation:mCHPZidH_draw 4990ms ease-in-out 9ms forwards;}.mCHPZidH_20{stroke-dasharray:1987 1989;stroke-dashoffset:1988;animation:mCHPZidH_draw 4990ms ease-in-out 9ms forwards;}.mCHPZidH_21{stroke-dasharray:1132 1134;stroke-dashoffset:1133;animation:mCHPZidH_draw 4990ms ease-in-out 10ms forwards;}@keyframes mCHPZidH_draw{100%{stroke-dashoffset:0;}}@keyframes mCHPZidH_fade{0%{stroke-opacity:1;}95.65217391304348%{stroke-opacity:1;}100%{stroke-opacity:0;}}

/* SVG первого экрана: 1200×500 на обеих страницах. */
.c-hero__art,
.c-sout-hero__art {
	right: auto;
	left: 50%;
	width: 1200px;
	max-width: 100vw;
	transform: translateX(-50%);
}

.c-hero__art svg,
.c-sout-hero__art svg {
	width: 100%;
	height: 500px;
}

/* Текст в две колонки с разделителем (страницы услуг). */
.c-text-grid {
	padding: 80px 0 50px;
}

.c-text-grid__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-text-grid__col:first-child {
	padding-right: 50px;
	border-right: 1px solid var(--color-border);
}

.c-text-grid__col:last-child {
	padding-left: 57px;
}

.c-text-grid h2 {
	margin: 0 0 24px;
	font-size: var(--fs-h2);
	font-weight: var(--fw-medium);
}

.c-text-grid p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: var(--lh-body);
	font-weight: var(--fw-light);
}

.c-text-grid ul {
	margin: 0 0 16px;
	padding-left: 24px;
}

.c-text-grid li {
	margin-bottom: var(--space-2);
	font-size: 16px;
	line-height: var(--lh-body);
	font-weight: var(--fw-light);
}

.c-text-grid .text-small {
	margin-bottom: 24px;
	font-size: var(--fs-caption);
	line-height: 1.5;
	color: rgba(45, 48, 54, 0.7);
	font-weight: var(--fw-light);
}

.c-text-grid .text-accent-bg {
	margin-top: 32px;
	padding: 19px 19px 19px 32px;
	background: var(--color-bg-soft);
	border-radius: var(--radius-md);
}

@media (max-width: 768px) {
	.c-text-grid__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.c-text-grid__col:first-child {
		padding-right: 0;
		border-right: 0;
	}
	.c-text-grid__col:last-child {
		padding-left: 0;
	}
}

.c-text-grid .text-accent-bg + h2 {
	margin-top: 48px;
}
.b24-form { font-family: var(--font-family-main) !important; }
.b24-form .b24-window-scrollable { padding-bottom: 0 !important; }
.b24-form-wrapper { border-radius: 24px !important; }
.b24-window-popup-wrapper { border-radius: 24px !important; box-shadow: 16px 9px 16px rgba(0, 0, 0, 0.18); }
.b24-window-popup-body { border-radius: 24px !important; }
.b24-window-close { display: none !important; }
.b24-form-content { padding: 68px 88px !important; }
.b24-form-header { display: none; }
.b24-form-header-padding { padding: 0 !important; }
.b24-form-sign { display: none !important; }
.b24-form-wrapper.b24-form-border-bottom { border-bottom: none !important; }
.b24-form-control-icon-after { height: 46px !important; }
.b24-form-control-container { text-align: justify !important; margin-bottom: 0 !important; }
.b24-form-control { border: 1px solid var(--color-main) !important; border-radius: 50px !important; margin-bottom: 16px !important; background: none !important; padding-left: 30px !important; height: 46px !important; resize: none !important; }
.b24-form-control-file-item-empty>.b24-form-control { opacity: 0 !important; }
.b24-form-control-file { height: 72px !important; border: 1px solid rgba(75, 80, 91, 0.7) !important; box-sizing: border-box; border-radius: 10px !important; padding: 11px 0 !important; background: url(../img/download.svg) no-repeat; background-position: 32px 42px; }
.b24-form-control-label { padding-left: 30px !important; color: rgba(75, 80, 91, 0.3) !important; opacity: 1 !important; font-family: var(--font-family-main) !important; font-size: 14px !important; }
.b24-form-btn-block { display: flex; }
.b24-form-btn { width: 192px !important; height: 51px !important; background: var(--color-accent) !important; border-radius: 30px !important; color: var(--color-white) !important; flex: unset !important; margin: 0 auto 0 !important; font-family: var(--font-family-main) !important; font-weight: normal !important; font-size: 18px !important; line-height: 21px !important; }
.b24-form-btn:hover { background: rgba(215, 75, 75, 0.6) !important; }
.b24-form-control-container>input[type="checkbox"] { display: none; }
.b24-form-state-container .b24-form-success { background-color: var(--color-white) !important; }

@media (max-width: 767px) {
	.b24-form-content {
		padding: 30px !important;
	}
}

/* Карточки документов — в стиле карточек главной. */
.c-sout-documents__grid {
	gap: var(--space-5);
}

.c-sout-doc-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: auto;
	min-height: 300px;
	padding: var(--space-6);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.c-sout-doc-card:hover {
	transform: none;
	background: var(--color-bg-soft);
	box-shadow: none;
}

.c-sout-doc-card__name {
	align-self: flex-start;
	font-size: var(--fs-h3);
	font-weight: var(--fw-regular);
	text-align: left;
}

.c-sout-doc-card__bottom {
	align-items: flex-start;
	gap: var(--space-5);
	padding-top: 0;
	border-top: 0;
}

.c-sout-doc-card__price {
	font-size: var(--fs-h2);
	font-weight: var(--fw-semibold);
}

.c-sout-doc-card__button {
	min-width: 160px;
}

/* Отзывы — строками, как кейсы. */
.c-sout-reviews__grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.c-sout-review {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: var(--space-6);
	align-items: start;
	height: auto;
	min-height: 0;
	padding: var(--space-6) var(--space-4);
	border: 0;
	border-top: 1px solid var(--color-border);
	border-radius: 0;
	transition: background-color 0.2s ease;
}

.c-sout-review:last-child {
	border-bottom: 1px solid var(--color-border);
}

.c-sout-review:hover {
	background: var(--color-bg-soft);
}

.c-sout-review__aside {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.c-sout-review__stars {
	color: var(--color-accent);
	font-size: 20px;
	letter-spacing: 4px;
}

.c-sout-review__sign {
	font-size: var(--fs-body);
	font-weight: var(--fw-medium);
}

.c-sout-review__text {
	max-width: var(--measure);
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

@media (max-width: 768px) {
	.c-sout-review {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-4);
	}
}

.c-sout-review__date {
	font-size: var(--fs-small);
	color: rgba(45, 48, 54, 0.7);
}

.c-sout-review__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: var(--space-2);
	border-radius: 50%;
	background: rgba(75, 80, 91, 0.1);
	font-size: 20px;
	font-weight: var(--fw-medium);
}

/* Отзывы: две карточки в ряд, формат строки сохранён. */
.c-sout-reviews__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5);
}

.c-sout-review {
	grid-template-columns: 150px minmax(0, 1fr);
	gap: var(--space-5);
	padding: var(--space-6);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.c-sout-review:last-child {
	border-bottom: 1px solid var(--color-border);
}

.c-sout-review__stars {
	letter-spacing: 2px;
	font-size: var(--fs-card-title);
}

@media (max-width: 1100px) {
	.c-sout-reviews__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.c-sout-reviews__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-4) var(--space-7);
	margin-bottom: 40px;
}

.c-sout-reviews__title {
	margin-bottom: 0;
}

.c-sout-reviews__link {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.c-sout-reviews__header {
	display: block;
	margin-bottom: 40px;
}

.c-sout-reviews__desc {
	max-width: var(--measure);
	margin: var(--space-4) 0 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: var(--fw-light);
}

/* Отзывы: пропорционально уменьшенный размер содержимого. */
.c-sout-review__avatar {
	width: 44px;
	height: 44px;
	font-size: var(--fs-card-title);
}

.c-sout-review__sign {
	font-size: 15px;
}

.c-sout-review__stars {
	font-size: 16px;
}

.c-sout-review__date {
	font-size: 13px;
}

.c-sout-review__text {
	font-size: 16px;
}

.c-sout-docs__desc {
	max-width: var(--measure);
	margin: calc(var(--space-4) * -1) 0 var(--space-6);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: var(--fw-light);
}


.c-sout-ready .c-cta__illustration--image img {
	max-width: 260px;
}

/* Первый экран услуги: высота 600, SVG растянут по высоте. */
.c-sout-hero__inner {
	min-height: 600px;
}

.c-sout-hero__art svg {
	height: 600px;
}

@media (max-width: 768px) {
	.c-sout-hero__inner {
		min-height: 0;
	}
}

/* Арт первого экрана услуги поднят на 50 px. */
.c-sout-hero__art {
	transform: translate(-50%, -50px);
}

/* Арт первого экрана главной поднят на 50 px. */
.c-hero__art {
	transform: translate(-50%, -50px);
}

/* Главная: высота первого экрана 600, SVG растянут по высоте. */
.c-hero__inner {
	min-height: 600px;
	justify-content: flex-start;
}

.c-hero__art svg {
	height: 600px;
}

@media (max-width: 768px) {
	.c-hero__inner {
		min-height: 0;
	}
}

/* Главная: арт поднят суммарно на 100 px (ещё 50). */
.c-hero__art {
	transform: translate(-50%, -100px);
}

/* Одинаковое положение арта на главной и услуге: -50 px от блока. */
.c-hero__art {
	transform: translate(-50%, -50px);
}

/* Главная: блок первого экрана поднят на 100 px. */
.c-hero {
	margin-top: 100px;
}

@media (max-width: 768px) {
	.c-hero {
		margin-top: 0;
	}
}

/* Главная: текст первого экрана прижат к низу блока. */
.c-hero__inner {
	justify-content: flex-end;
	padding-bottom: 20px;
}

@media (max-width: 600px) {
	.c-hero__inner {
		justify-content: center;
		padding-bottom: 20px;
	}
}

/* Главная: первый экран поднят ещё на 40 px. */
.c-hero {
	margin-top: 60px;
}


/* Публикации — карточки и сетка как в журнале Контура: 349, gap 16, padding 24. */
.c-posts .l-grid--3 {
	grid-template-columns: repeat(3, 349px);
	justify-content: center;
	gap: var(--space-4);
	width: 100%;
	max-width: 1080px;
	margin-inline: auto;
}

.c-post-card {
	justify-content: flex-start;
	min-height: 360px;
	padding: var(--space-5);
}

.c-post-card .c-card__title {
	margin: 0 0 var(--space-4);
	font-size: var(--fs-card-title);
	line-height: var(--lh-card-title);
	font-weight: var(--fw-medium);
}

.c-post-card .c-card__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

.c-post-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-4);
	margin-top: auto;
	padding-top: var(--space-4);
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.7);
}

.c-post-card__meta,
.c-post-card__date {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}

@media (max-width: 1100px) {
	.c-posts .l-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 720px;
	}
}

@media (max-width: 740px) {
	.c-posts .l-grid--3 {
		grid-template-columns: minmax(0, 1fr);
		max-width: 360px;
	}
}

/* Карточки публикаций выровнены по левому краю с заголовком секции. */
.c-posts .l-grid--3 {
	max-width: none;
	margin-inline: 0;
	justify-content: start;
}

/* Шкала заголовков по замерам Контура. */
h1 {
	font-size: 48px;
	line-height: 54.24px;
	font-weight: 700;
}

h2 {
	font-size: var(--fs-h2);
	line-height: var(--lh-h2);
	font-weight: 700;
}

h3 {
	font-size: var(--fs-h3);
	line-height: var(--lh-h3);
	font-weight: 500;
}

@media (max-width: 768px) {
	h1 {
		font-size: var(--fs-card-large);
		line-height: 36.12px;
	}
}

/* Публикации: три карточки на всю ширину контента, как чёрная плашка. */
.c-posts .l-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: none;
	margin-inline: 0;
	justify-content: stretch;
	gap: var(--space-4);
}

.c-posts .c-post-card {
	width: auto;
}

/* Текстовые роли: единые классы вместо локальных размеров. */
.t-body {
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

.t-meta {
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
}

.t-caption {
	font-size: var(--fs-caption);
	line-height: var(--lh-caption);
}

.t-card-title {
	font-size: var(--fs-card-title);
	line-height: var(--lh-card-title);
	font-weight: var(--fw-medium);
}

.t-card-large {
	font-size: var(--fs-card-large);
	line-height: var(--lh-card-large);
	font-weight: var(--fw-medium);
}

/* Шапка: постоянный гамбургер справа и шрифт меню как у Контура. */
.l-header__logo {
	order: 1;
}

.l-nav {
	order: 2;
	margin-left: auto;
}

.l-burger {
	display: flex;
	order: 3;
	margin-left: var(--space-6);
}

.l-nav__list a {
	font-size: var(--fs-card-title);
	line-height: 25.92px;
	font-weight: var(--fw-medium);
}

.l-nav.is-open {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: auto;
	z-index: 30;
	display: block;
	min-width: 320px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding: var(--space-5);
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: 4px 4px 7px rgba(114, 126, 145, 0.25);
}

.l-nav.is-open .l-nav__list {
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
}

@media (max-width: 900px) {
	.l-burger {
		margin-left: auto;
	}
}

@media (max-width: 900px) {
	.l-nav.is-open {
		right: 0;
		left: 0;
		min-width: 0;
	}
}

/* Меню и гамбургер опущены на 18 px — по центру логотипа. */
.l-nav,
.l-burger {
	margin-top: 18px;
}

@media (max-width: 900px) {
	.l-nav,
	.l-burger {
		margin-top: 0;
	}
}

/* Точное выравнивание по центру логотипа: 92 px. */
.l-nav,
.l-burger {
	margin-top: 36px;
}



/* «Давайте знакомиться»: две карточки — фото слева, текст справа. */
.c-person__cards {
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	gap: var(--space-6);
	align-items: stretch;
}

.c-person__card {
	padding: var(--space-7);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-person__card--photo {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin: 0;
}

.c-person__photo {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.c-person__caption {
	margin-top: var(--space-3);
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	text-align: center;
}

.c-person__title {
	margin: 0 0 var(--space-5);
}

.c-person__text {
	max-width: none;
}

@media (max-width: 900px) {
	.c-person__cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-person__card {
		padding: var(--space-5);
	}
}

/* Подпись под фото директора — обычный текст. */
.c-person__caption {
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

/* Две продающие карточки: оформление по референсу Контура, без цены. */
.c-offer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-6);
}

.c-offer__card {
	padding: var(--space-7);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.c-offer__title {
	margin: 0 0 var(--space-4);
}

.c-offer__desc {
	margin: 0 0 var(--space-6);
}

.c-offer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.c-offer__item {
	position: relative;
	padding-left: 32px;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

.c-offer__item::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-accent);
	font-weight: var(--fw-bold);
}

@media (max-width: 900px) {
	.c-offer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-offer__card {
		padding: var(--space-5);
	}
}

/* Ссылки в подвале не выделяются акцентным красным. */
.l-footer a {
	color: var(--color-main);
	text-decoration: none;
}

.l-footer a:hover {
	color: var(--color-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}



/* Первый экран услуги: весь текстовый блок ниже на 55 px. */
.c-sout-hero__text {
	margin-top: 105px;
}

/* Документы: прокрутка в общем блоке с явными стрелками и счётчиком. */
.c-sout-docs__box {
	padding: var(--space-6);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-sout-docs__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-4);
	margin-bottom: var(--space-5);
}

.c-sout-docs__hint {
	margin: 0 auto 0 0;
	font-size: var(--fs-meta);
	color: rgba(45, 48, 54, 0.7);
}

.c-sout-docs__counter {
	font-size: var(--fs-meta);
	color: rgba(45, 48, 54, 0.7);
}

.c-sout-docs__nav {
	display: flex;
	gap: var(--space-2);
}

.c-sout-docs__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 50%;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.c-sout-docs__arrow:hover:not(:disabled) {
	border-color: var(--color-main);
	color: var(--color-accent);
}

.c-sout-docs__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.c-sout-docs__grid {
	display: flex;
	gap: var(--space-5);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: var(--space-2);
}

.c-sout-doc {
	flex: 0 0 300px;
	height: 380px;
	align-items: stretch;
	justify-content: flex-start;
	padding: var(--space-5);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	scroll-snap-align: start;
	color: var(--color-main);
	text-align: left;
}

.c-sout-doc__name {
	font-size: var(--fs-card-title);
	line-height: var(--lh-card-title);
}

.c-sout-doc img {
	width: 100%;
	flex: 1;
	min-height: 0;
	object-fit: contain;
}

@media (max-width: 768px) {
	.c-sout-docs__box {
		padding: var(--space-5);
	}
	.c-sout-doc {
		flex-basis: 260px;
		height: 340px;
	}
}

/* Перебиваем старую сеточную ширину карточек документов. */
.c-sout-docs__grid .c-sout-doc {
	flex: 0 0 300px;
	width: 300px;
}

@media (max-width: 768px) {
	.c-sout-docs__grid .c-sout-doc {
		flex-basis: 260px;
		width: 260px;
	}
}

/* Карточка документа: серый hover, заголовок не краснеет. */
.c-sout-doc:hover {
	background: var(--color-bg-soft);
	color: var(--color-main);
	text-decoration: none;
}

.c-sout-doc:hover .c-sout-doc__name {
	color: var(--color-main);
	text-decoration: none;
}

/* Отзывы: прокрутка по две карточки в общем блоке. */
.c-sout-reviews__box {
	padding: var(--space-6);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-sout-reviews__grid {
	display: flex;
	gap: var(--space-4);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: var(--space-2);
}

.c-sout-review {
	flex: 0 0 calc((100% - var(--space-4)) / 2);
	scroll-snap-align: start;
	height: auto;
}

@media (max-width: 900px) {
	.c-sout-reviews__box {
		padding: var(--space-5);
	}
	.c-sout-review {
		flex-basis: 100%;
	}
}

.c-sout-reviews__grid {
	flex-direction: row;
	flex-wrap: nowrap;
}

/* Страница категории блога. */
.c-blog {
	padding-top: var(--space-7);
}

.c-blog__head {
	margin-bottom: var(--space-7);
}

.c-blog__title {
	margin: 0 0 var(--space-5);
}

.c-blog__cats {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.c-blog__cat {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 var(--space-5);
	background: var(--color-bg-soft);
	border-radius: var(--radius-pill);
	font-size: var(--fs-body);
	color: var(--color-main);
	text-decoration: none;
}

.c-blog__cat:hover {
	background: rgba(75, 80, 91, 0.12);
	color: var(--color-main);
	text-decoration: none;
}

.c-blog__cat.is-active {
	background: var(--color-main);
	color: var(--color-white);
}

.c-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
}

.c-blog .c-post-card {
	color: var(--color-main);
}

.c-blog__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: 42px;
}

.c-blog__pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.c-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-main);
	text-decoration: none;
}

.c-blog__pagination .page-numbers.current,
.c-blog__pagination .page-numbers:hover {
	background: var(--color-main);
	border-color: var(--color-main);
	color: var(--color-white);
}

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

@media (max-width: 700px) {
	.c-blog__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Глобальный поиск в шапке. */
.l-header {
	position: relative;
}

.l-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	order: 3;
	margin-top: 36px;
	margin-left: var(--space-3);
	padding: 0;
	background: none;
	border: 0;
	color: var(--color-main);
	cursor: pointer;
}

.l-search-toggle:hover {
	color: var(--color-accent);
}

.l-burger {
	order: 4;
}

.l-search {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 40;
	padding: var(--space-5) 0;
	background: var(--color-white);
	border-top: 1px solid var(--color-border);
	box-shadow: 0 16px 24px rgba(45, 48, 54, 0.08);
}

.l-search__form {
	display: flex;
	gap: var(--space-3);
	align-items: center;
}

.l-search__input {
	flex: 1;
	height: 48px;
	padding: 0 var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-body);
}

.l-search__input:focus {
	outline: 2px solid var(--color-main);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.l-search-toggle {
		order: 0;
		margin-top: 0;
		margin-left: auto;
	}
	.l-burger {
		order: 0;
	}
	.l-search__form {
		flex-wrap: wrap;
	}
	.l-search__input {
		flex-basis: 100%;
	}
}

/* Результаты поиска. */
.c-search__query {
	margin: 0;
	color: rgba(45, 48, 54, 0.7);
}

.c-search__empty {
	margin-top: var(--space-5);
}

/* Поле поиска: светлая серая рамка вместо красной. */
.l-search__input {
	border-color: rgba(75, 80, 91, 0.2);
}

.l-search__input:focus {
	outline: none;
	border-color: rgba(75, 80, 91, 0.35);
}

.l-search {
	border-top: 0;
}

/* Подпись под кнопкой на главной ближе к кнопке. */
.c-hero__phone-text {
	margin-top: var(--space-5);
}

/* Подпись поднята к кнопке, кнопка остаётся на месте. */
.c-hero__inner {
	padding-bottom: 57px;
}

@media (max-width: 600px) {
	.c-hero__inner {
		padding-bottom: 20px;
	}
}

.c-hero__inner {
	padding-bottom: 77px;
}

.c-hero__inner {
	padding-bottom: 80px;
}

/* Страница записи. */
.c-article {
	padding-top: var(--space-5);
}

.c-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-6);
	font-size: var(--fs-meta);
	color: rgba(45, 48, 54, 0.6);
}

.c-breadcrumbs a {
	color: rgba(45, 48, 54, 0.6);
}

.c-breadcrumbs a:hover {
	color: var(--color-accent);
}

.c-article__head {
	max-width: var(--measure);
	margin: 0 auto var(--space-6);
}

.c-article__title {
	margin: var(--space-4) 0;
}

.c-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	margin: 0;
	font-size: var(--fs-meta);
	color: rgba(45, 48, 54, 0.7);
}

.c-article__tags a {
	color: rgba(45, 48, 54, 0.7);
}

.c-article__cover {
	max-width: 900px;
	margin: 0 auto var(--space-7);
}

.c-article__cover img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.c-article__content {
	max-width: var(--measure);
	margin-inline: auto;
}

.c-article__content > * + * {
	margin-top: var(--space-4);
}

.c-article__content h2 {
	margin: var(--space-7) 0 var(--space-4);
}

.c-article__content h3 {
	margin: var(--space-6) 0 var(--space-3);
}

.c-article__content ul {
	padding-left: var(--space-5);
}

.c-article__content li + li {
	margin-top: var(--space-2);
}

.c-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.c-article__content blockquote {
	position: relative;
	margin: var(--space-6) 0;
	padding: var(--space-6) var(--space-7);
	background: var(--color-bg-soft);
	border: 0;
	border-radius: var(--radius-md);
}

.c-article__content blockquote::before {
	content: "";
	position: absolute;
	top: var(--space-5);
	bottom: var(--space-5);
	left: 0;
	width: 6px;
	background: var(--color-main);
	border-radius: var(--radius-pill);
}

.c-article__content blockquote p {
	margin: 0;
}

.c-article__content blockquote p + p {
	margin-top: var(--space-3);
}

.c-related__title {
	margin-bottom: var(--space-5);
}

/* Хлебные крошки по ширине колонки статьи. */
.c-breadcrumbs {
	max-width: var(--measure);
	margin-left: auto;
	margin-right: auto;
}

/* Статья использует общий контейнер, без отдельной узкой колонки. */
.c-breadcrumbs,
.c-article__head,
.c-article__cover,
.c-article__content {
	max-width: none;
}

/* Колонка статьи — 820, по левому краю контейнера. */
.c-breadcrumbs,
.c-article__head,
.c-article__cover,
.c-article__content {
	max-width: 820px;
	margin-left: 0;
	margin-right: auto;
}

.c-breadcrumbs,
.c-article__head,
.c-article__cover,
.c-article__content {
	margin-left: auto;
	margin-right: auto;
}

/* Единые блоки внутри статьи. */
.c-article__content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6);
	align-items: center;
	margin: var(--space-6) 0;
}

.c-article__content .wp-block-column {
	min-width: 0;
}

.c-article__content .wp-block-image {
	margin: var(--space-5) 0;
}

.c-article__content .wp-block-image img {
	border-radius: var(--radius-md);
}

.c-article__content .wp-block-image .wp-element-caption,
.c-article__content figcaption {
	margin-top: var(--space-2);
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.6);
}

.c-article__content .icon-img img {
	width: 180px;
	height: 180px;
	object-fit: cover;
	border-radius: var(--radius-md);
}

.c-article__content .special-link-button {
	margin: var(--space-5) 0;
}

.c-article__content .special-link-button a {
	font-weight: var(--fw-medium);
	color: var(--color-accent);
	text-decoration: none;
}

.c-article__content .special-link-button a:hover {
	text-decoration: underline;
}

.c-article__content .wp-block-table {
	margin: var(--space-6) 0;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

.c-article__content .wp-block-table.alignfull {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.c-article__content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.c-article__content .wp-block-table th,
.c-article__content .wp-block-table td {
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--color-border);
	font-size: 16px;
	line-height: 1.5;
	vertical-align: top;
}

.c-article__content .wp-block-table th {
	background: var(--color-bg-soft);
	font-weight: var(--fw-medium);
}

.c-article__content .wp-block-separator {
	margin: var(--space-7) 0;
	border: 0;
	border-top: 1px solid var(--color-border);
}

.c-article__content .wp-block-list {
	padding-left: var(--space-5);
}

.c-article__content .wp-block-list li + li {
	margin-top: var(--space-2);
}

@media (max-width: 700px) {
	.c-article__content .wp-block-columns {
		display: block;
	}

	.c-article__content .wp-block-column + .wp-block-column {
		margin-top: var(--space-4);
	}
}

/* Блоки статьи из старого сайта: внимание, кнопки, ссылки. */
.c-article__content .b-attention {
	width: 100%;
	margin: 40px 0;
	padding: 30px 40px;
	background: var(--color-bg-soft);
	border-left: 4px solid var(--color-main);
	border-radius: var(--radius-md);
	font-size: 16px;
	line-height: 1.5;
}

.c-article__content .b-attention.aligncenter {
	text-align: center;
}

.c-article__content .btn-sec {
	display: inline-block;
	min-width: 260px;
	margin: 4px;
	padding: 12px 30px;
	border: 2px solid var(--color-main);
	border-radius: var(--radius-pill);
	color: var(--color-main);
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.c-article__content .btn-sec:hover {
	border-color: var(--color-main);
	color: var(--color-main);
}

.c-article__content .b-links-clean {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 40px 0;
	padding: 10px 50px;
	background: var(--color-white);
	border-top: 4px solid var(--color-main);
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.c-article__content .b-links-clean__item {
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(45, 48, 54, 0.1);
	text-decoration: none;
}

.c-article__content .b-links-clean__item:last-child {
	border-bottom: 0;
}

.c-article__content .b-links-clean__text {
	font-size: 16px;
	font-weight: var(--fw-medium);
	color: var(--color-main);
}

.c-article__content .b-links-clean__item:hover .b-links-clean__text {
	color: var(--color-accent);
}

@media (max-width: 700px) {
	.c-article__content .b-attention {
		padding: 20px;
	}
	.c-article__content .b-links-clean {
		padding: 10px 20px;
	}
	.c-article__content .b-links-clean__item {
		padding: 16px 0;
	}
}

/* Блок ссылок-кнопок в статье: ряд вторичных кнопок. */
.c-article__content .wp-block-group:has(.btn-sec) {
	margin: var(--space-6) 0;
}

.c-article__content .wp-block-group__inner-container:has(.btn-sec) {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.c-article__content .btn-sec {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 var(--space-5);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-main);
	font-size: var(--fs-body);
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.c-article__content .btn-sec:hover {
	background: var(--color-bg-soft);
	border-color: var(--color-main);
	color: var(--color-main);
}

.c-article__content .wp-block-group__inner-container:has(.btn-sec) {
	padding-left: 0;
	padding-right: 0;
}

.c-article__content .wp-block-group:has(.btn-sec) {
	padding-left: 0;
	padding-right: 0;
}

/* Блок кнопок под программой обучения. */
.c-article__content .art-down {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin: var(--space-6) 0;
}

.c-article__content .art-down .wp-block-column {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	width: 100%;
}

.c-article__content .btn-red {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 var(--space-5);
	background: var(--color-accent);
	border: 1px solid var(--color-accent);
	border-radius: var(--radius-pill);
	color: var(--color-white);
	font-size: var(--fs-body);
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.c-article__content .btn-red:hover {
	background: #a23e40;
	border-color: #a23e40;
	color: var(--color-white);
}

/* H1 в записях — компактнее для длинных названий программ. */
.c-article__title {
	font-size: 40px;
	line-height: 48px;
}

/* Блок действий под программой — панель с тремя равными кнопками. */
.c-article__content .art-down {
	padding: var(--space-5);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-article__content .art-down .wp-block-column {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}

.c-article__content .art-down .btn-red,
.c-article__content .art-down .btn-sec {
	width: 100%;
	height: 56px;
	padding: 0 var(--space-5);
	justify-content: space-between;
	font-size: 16px;
}

.c-article__content .art-down .btn-sec {
	background: var(--color-white);
}

.c-article__content .art-down a::after {
	content: "↗";
	font-size: 16px;
	line-height: 1;
	opacity: 0.7;
}

@media (max-width: 700px) {
	.c-article__content .art-down .wp-block-column {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Разделители внутри статей не показываем. */
.c-article__content .wp-block-separator {
	display: none;
}

/* Колонки с подзаголовками — карточки с обводкой. */
.c-article__content .wp-block-columns:has(> .wp-block-column:first-child h3):has(> .wp-block-column:last-child h3) h3 {
	margin-top: 0;
}

/* Колонки с одним подзаголовком — без пустой карточки. */
.c-article__content .wp-block-columns:has(> .wp-block-column:first-child h3):not(:has(> .wp-block-column:last-child h3)) > .wp-block-column:first-child {
	flex-basis: 100% !important;
}

.c-article__content .wp-block-columns:has(> .wp-block-column:first-child h3):not(:has(> .wp-block-column:last-child h3)) > .wp-block-column:last-child:empty {
	display: none;
}

/* Общая карточка для блока с двумя подзаголовками. */
.c-article__content .wp-block-columns:has(> .wp-block-column:first-child h3):has(> .wp-block-column:last-child h3) {
	padding: var(--space-6);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	gap: var(--space-7);
}

.c-article__content .wp-block-columns:has(> .wp-block-column:first-child h3):has(> .wp-block-column:last-child h3) > .wp-block-column {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

/* Общая карточка программы: заголовок, сроки, документы. */
.c-article__content .program-summary {
	padding: var(--space-6);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.c-article__content .program-summary > h2 {
	margin-top: 0;
}

.c-article__content .program-summary .wp-block-columns {
	margin: var(--space-5) 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	gap: var(--space-7);
	box-shadow: none;
}

.c-article__content .program-summary .wp-block-columns:has(> .wp-block-column:first-child h3):has(> .wp-block-column:last-child h3) {
	margin: var(--space-5) 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	gap: var(--space-7);
}

.c-article__content .program-summary {
	background: var(--color-bg-soft);
}

/* Плашка «внимание» — тонированная карточка с акцентной чертой. */
.c-article__content .b-attention {
	position: relative;
	padding: 40px;
	background: rgba(187, 72, 74, 0.05);
	border: 1px solid rgba(187, 72, 74, 0.18);
	border-left: 0;
	border-radius: 24px;
}

.c-article__content .b-attention::before {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	margin-bottom: var(--space-5);
	background: var(--color-accent);
	border-radius: 2px;
}

.c-article__content .b-attention__text {
	margin: 0 0 var(--space-3);
	font-size: 17px;
	line-height: 1.5;
}

.c-article__content .b-attention__text:last-child {
	margin-bottom: 0;
}

.c-article__content .b-attention--black {
	background: rgba(45, 48, 54, 0.05);
	border-color: rgba(45, 48, 54, 0.18);
}

.c-article__content .b-attention--black::before {
	background: var(--color-main);
}

/* Панель быстрых ссылок в статье. */
.c-article__content .wp-block-group:has(.btn-sec) {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin: var(--space-6) 0;
	padding: var(--space-5);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-article__content .wp-block-group:has(.btn-sec) .btn-sec {
	flex: 1 1 200px;
	width: auto;
	height: 56px;
	padding: 0 var(--space-5);
	justify-content: space-between;
	background: var(--color-white);
	font-size: 16px;
}

.c-article__content .wp-block-group:has(.btn-sec) .btn-sec::after {
	content: "↗";
	opacity: 0.7;
}

/* Программы учебного центра. */
.c-edu-programs__desc {
	max-width: var(--measure);
	margin: 0 0 var(--space-6);
	color: rgba(45, 48, 54, 0.7);
}

.c-edu-programs__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-4);
}

.c-edu-programs__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-6);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	color: var(--color-main);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.c-edu-programs__card:hover {
	background: var(--color-bg-soft);
	color: var(--color-main);
	text-decoration: none;
}

.c-edu-programs__name {
	font-size: 24px;
	line-height: 1.2;
	font-weight: var(--fw-medium);
}

.c-edu-programs__text {
	font-size: 16px;
	line-height: 1.5;
	color: rgba(45, 48, 54, 0.75);
}

.c-edu-programs__more {
	margin-top: auto;
	padding-top: var(--space-4);
	font-size: var(--fs-meta);
	color: var(--color-accent);
}

.c-edu-programs__action {
	margin-top: var(--space-6);
}

@media (max-width: 800px) {
	.c-edu-programs__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Учебный центр: текстовый блок hero на уровне главной. */
.page-id-15 .c-hero__inner {
	padding-bottom: 170px;
}

/* Заголовок первого экрана услуги — плотнее. */
.c-sout-hero__title {
	line-height: 50px;
}

/* Первый экран услуги: заголовок и подзаголовок ближе. */
.c-sout-hero__subtitle {
	margin: 16px 0 32px;
}

.c-sout-hero__title {
	line-height: 48px;
}

/* Глобальный межстрочный H1 — 1.0. */
h1 {
	line-height: 1;
}

.page-id-15 .c-hero__inner {
	padding-bottom: 126px;
}

/* Программы: кнопка прайса справа от заголовка. */
.c-edu-programs__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-6);
	margin-bottom: var(--space-6);
}

.c-edu-programs__intro {
	min-width: 0;
}

.c-edu-programs__desc {
	margin-bottom: 0;
}

.c-edu-programs__action {
	flex-shrink: 0;
}

@media (max-width: 800px) {
	.c-edu-programs__head {
		flex-direction: column;
	}
}

/* Кнопка прайса — по центру под карточками программ. */
.c-edu-programs__action {
	margin-top: var(--space-6);
	text-align: center;
}

/* Кнопка прайса в шапке, с отступом от правого края. */
.c-edu-programs__action {
	margin-top: 0;
	margin-right: var(--space-7);
	text-align: left;
}

.c-edu-programs__action {
	margin-top: 56px;
}

/* Программы направления: карточки в три колонки. */
.c-programs__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-6);
	margin-bottom: var(--space-7);
}

.c-programs__intro {
	min-width: 0;
	max-width: var(--measure);
}

.c-programs__desc {
	margin: var(--space-3) 0 0;
}

.c-programs__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
}

.c-programs__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	height: 100%;
	padding: var(--space-6);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	color: var(--color-main);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.c-programs__card:hover {
	background: var(--color-bg-soft);
	color: var(--color-main);
	text-decoration: none;
}

.c-programs__name {
	font-size: var(--fs-card-title);
	line-height: var(--lh-card-title);
	font-weight: var(--fw-medium);
}

.c-programs__meta {
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.6);
}

.c-programs__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: var(--space-2);
}

.c-programs__price {
	display: inline-flex;
	align-items: center;
	padding: var(--space-2) var(--space-4);
	background: var(--color-bg-soft);
	border-radius: var(--radius-pill);
	font-size: var(--fs-h3);
	font-weight: var(--fw-medium);
	white-space: nowrap;
}

.c-programs__more {
	font-size: var(--fs-h3);
	color: var(--color-accent);
}

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

@media (max-width: 700px) {
	.c-programs__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Шаги: нумерованные колонки. */
.c-steps__title {
	margin-bottom: var(--space-7);
}

.c-steps__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-steps__item {
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-border);
}

.c-steps__num {
	display: block;
	font-size: var(--fs-h2);
	line-height: var(--lh-tight);
	font-weight: var(--fw-light);
	color: var(--color-accent);
}

.c-steps__name {
	margin: var(--space-3) 0 var(--space-2);
}

.c-steps__text {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: rgba(45, 48, 54, 0.75);
}

/* Кнопка в текстовом блоке. */
.c-text__action {
	margin: var(--space-6) 0 0;
}

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

@media (max-width: 900px) {
	.c-programs__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.c-steps__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Направление учебного центра: нижний отступ как у страницы центра (76 px до низа SVG). */
.page-id-17 .c-hero__inner {
	padding-bottom: 126px;
}

/* Направление: заголовок первого экрана не заходит на графику (графика начинается на x ≈ 900). */
.page-id-17 .c-hero__title {
	max-width: 700px;
}

/* Мобильная шапка: логотип слева, поиск и меню справа. */
@media (max-width: 900px) {
	.l-header__logo {
		order: 1;
	}

	.l-search-toggle {
		order: 2;
		margin-top: 0;
		margin-left: auto;
	}

	.l-burger {
		order: 3;
		margin-top: 0;
		margin-left: var(--space-3);
	}
}


/* Направление: графика первого экрана без сжатия по ширине (пропорции 1320:500). */
.page-id-17 .c-hero__art svg {
	height: auto;
}

/* Направление: графика поднята выше — центр на уровне первого экрана главной. */
.page-id-17 .c-hero__art {
	transform: translate(-50%, -150px);
}

/* Текстовый блок серой карточкой. */
.c-text__inner--card {
	max-width: none;
}

.c-text__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-7);
	padding: var(--space-7);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-text__box-main {
	min-width: 0;
}

.c-text__box-side {
	flex-shrink: 0;
}

.c-text__box > :last-child {
	margin-bottom: 0;
}

.c-text__box .c-text__title,
.c-text__box .c-text__content {
	max-width: var(--measure);
}

@media (max-width: 800px) {
	.c-text__box {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Ссылки в описании первого экрана — основным цветом, без акцента. */
.c-hero__text a,
.c-hero__description a,
.c-sout-hero__subtitle a {
	color: var(--color-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Текст слева, карточка контактов справа. */
.c-aside__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: var(--space-7);
	align-items: start;
}

.c-aside__main {
	max-width: var(--measure);
}

.c-aside__title {
	margin-bottom: var(--space-5);
}

.c-aside__card {
	padding: var(--space-6);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-aside__icon {
	display: block;
	width: 96px;
	height: 96px;
	margin-bottom: var(--space-5);
	border-radius: var(--radius-md);
}

.c-aside__card-title {
	margin: 0 0 var(--space-3);
	font-size: var(--fs-h3);
	line-height: var(--lh-title);
	font-weight: var(--fw-medium);
}

.c-aside__card-text {
	font-size: var(--fs-small);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.75);
}

.c-aside__card-text p {
	margin: 0 0 var(--space-2);
}

.c-aside__card-text p:last-child {
	margin-bottom: 0;
}

.c-aside__card-text a {
	color: var(--color-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1000px) {
	.c-aside__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Ссылка возврата к разделу программ на странице программы. */
.c-back-link {
	margin: 0 0 var(--space-5);
}

.c-back-link a {
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: var(--color-main);
}

.c-back-link a:hover {
	color: var(--color-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Возврат к разделу программ — явная кнопка внизу страницы. */
.c-back-link--bottom {
	margin: var(--space-7) 0 0;
}

.c-back-link--bottom a {
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.7);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.c-back-link--bottom a:hover {
	color: var(--color-main);
}

/* Ссылка справа над программами направления (возврат в учебный центр). */
.c-programs__aside {
	flex-shrink: 0;
	margin: 0;
}

.c-programs__aside a {
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.7);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.c-programs__aside a:hover {
	color: var(--color-main);
}

/* Компактный список документов. */
.c-doc-links__box {
	padding: var(--space-7);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

/* Компактная вставка блока документов внутри статьи. */
.c-article__content .c-doc-links {
	padding: var(--space-5) 0;
}

.c-article__content .c-doc-links .c-doc-links__box {
	padding: var(--space-6);
}

@media (max-width: 700px) {
	.c-article__content .c-doc-links {
		padding: var(--space-4) 0;
	}

	.c-article__content .c-doc-links .c-doc-links__box {
		padding: var(--space-5);
	}
}

.c-doc-links__title {
	margin-bottom: var(--space-6);
}

.c-doc-links__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--space-7);
}

.c-doc-link {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-4) 0;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-main);
	text-decoration: none;
}

.c-doc-link:hover {
	color: var(--color-main);
	text-decoration: none;
}


.c-doc-link:hover .c-doc-link__name {
	text-decoration: none;
}

.c-doc-link__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: rgba(45, 48, 54, 0.55);
}


.c-doc-link__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.c-doc-link__name {
	min-width: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

.c-doc-link__meta {
	color: rgba(45, 48, 54, 0.7);
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
}

.c-doc-link__download {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--color-accent);
	transition: transform 0.2s ease;
}

.c-doc-link:hover .c-doc-link__download {
	transform: translateX(4px);
}

@media (max-width: 800px) {
	.c-doc-links__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Анимация графики первого экрана СОУТ (vivus-классы из исходного SVG). */
.VzmrsanE_0 { stroke-dasharray: 3640 3642; stroke-dashoffset: 3641; animation: VzmrsanE_draw 9990ms ease-in-out 0ms forwards; }
.VzmrsanE_1 { stroke-dasharray: 3702 3704; stroke-dashoffset: 3703; animation: VzmrsanE_draw 9990ms ease-in-out 2ms forwards; }
.VzmrsanE_2 { stroke-dasharray: 17928 17930; stroke-dashoffset: 17929; animation: VzmrsanE_draw 9990ms ease-in-out 5ms forwards; }
.VzmrsanE_3 { stroke-dasharray: 17928 17930; stroke-dashoffset: 17929; animation: VzmrsanE_draw 9990ms ease-in-out 7ms forwards; }
.VzmrsanE_4 { stroke-dasharray: 3640 3642; stroke-dashoffset: 3641; animation: VzmrsanE_draw 9990ms ease-in-out 10ms forwards; }

@keyframes VzmrsanE_draw {
	100% { stroke-dashoffset: 0; }
}


/* Анимация графики первого экрана «Оценка профессиональных рисков». */
.dNeBpacG_0 {
	stroke-dasharray:3640 3642;
	stroke-dashoffset:3641;
	animation:dNeBpacG_draw 9990ms ease-in-out 0ms forwards;
	}
.dNeBpacG_1 {
	stroke-dasharray:3548 3550;
	stroke-dashoffset:3549;
	animation:dNeBpacG_draw 9990ms ease-in-out 3ms forwards;
	}
.dNeBpacG_2 {
	stroke-dasharray:16954 16956;
	stroke-dashoffset:16955;
	animation:dNeBpacG_draw 9990ms ease-in-out 6ms forwards;
	}
.dNeBpacG_3 {
	stroke-dasharray:16954 16956;
	stroke-dashoffset:16955;
	animation:dNeBpacG_draw 9990ms ease-in-out 10ms forwards;
	}
@keyframes dNeBpacG_draw {
	100% {
	stroke-dashoffset:0;
	}
}
@keyframes dNeBpacG_fade {
	0% {
	stroke-opacity:1;
	}
97.1830985915493% {
	stroke-opacity:1;
	}
100% {
	stroke-opacity:0;
	}
}


/* Полоса входа на учебную платформу. */
.c-platform__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-7);
	padding: var(--space-7);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-platform__content {
	max-width: var(--measure);
}

.c-platform__title {
	margin-bottom: var(--space-3);
}

.c-platform__desc {
	margin: 0;
}

.c-platform__action {
	flex-shrink: 0;
}

@media (max-width: 800px) {
	.c-platform__box {
		flex-direction: column;
		align-items: flex-start;
	}
}

.c-button--dark {
	border-color: var(--color-main);
	background: var(--color-main);
	color: var(--color-white);
}

.c-button--dark:hover {
	border-color: var(--color-main);
	background: var(--color-main);
	color: var(--color-white);
	opacity: 0.85;
}


/* Анимация графики первого экрана «Производственный контроль». */
.HrrMVrsG_0{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:HrrMVrsG_draw 9990ms ease-in-out 0ms forwards;}.HrrMVrsG_1{stroke-dasharray:3548 3550;stroke-dashoffset:3549;animation:HrrMVrsG_draw 9990ms ease-in-out 3ms forwards;}.HrrMVrsG_2{stroke-dasharray:13966 13968;stroke-dashoffset:13967;animation:HrrMVrsG_draw 9990ms ease-in-out 6ms forwards;}.HrrMVrsG_3{stroke-dasharray:13966 13968;stroke-dashoffset:13967;animation:HrrMVrsG_draw 9990ms ease-in-out 10ms forwards;}@keyframes HrrMVrsG_draw{100%{stroke-dashoffset:0;}}@keyframes HrrMVrsG_fade{0%{stroke-opacity:1;}97.1830985915493%{stroke-opacity:1;}100%{stroke-opacity:0;}}


/* Анимация графики первого экрана «Центр сертификации». */
.qttBiVbT_0{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:qttBiVbT_draw 11990ms ease-in-out 0ms forwards;}.qttBiVbT_1{stroke-dasharray:3664 3666;stroke-dashoffset:3665;animation:qttBiVbT_draw 11990ms ease-in-out 2ms forwards;}.qttBiVbT_2{stroke-dasharray:21248 21250;stroke-dashoffset:21249;animation:qttBiVbT_draw 11990ms ease-in-out 5ms forwards;}.qttBiVbT_3{stroke-dasharray:21248 21250;stroke-dashoffset:21249;animation:qttBiVbT_draw 11990ms ease-in-out 7ms forwards;}.qttBiVbT_4{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:qttBiVbT_draw 11990ms ease-in-out 10ms forwards;}@keyframes qttBiVbT_draw{100%{stroke-dashoffset:0;}}@keyframes qttBiVbT_fade{0%{stroke-opacity:1;}97.53086419753086%{stroke-opacity:1;}100%{stroke-opacity:0;}}

.c-sout-hero__subtitle--mini {
	margin: var(--space-4) 0 var(--space-6);
	font-size: var(--fs-h2);
	font-weight: var(--fw-medium);
	line-height: var(--lh-title);
}

.c-sout-hero--mini .c-sout-hero__inner {
	align-items: flex-end;
}

.c-sout-hero--mini .c-sout-hero__text {
	margin-bottom: calc(var(--space-7) + var(--sout-hero-art-offset));
}

/* Документы на странице «О компании». */
.doc-image img {
	max-width: 480px;
	height: auto;
}

.doc-gallery img {
	width: 100%;
	height: auto;
}

.doc-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-5);
	align-items: start;
}

@media (max-width: 800px) {
	.doc-gallery {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* Анимация графики первого экрана «О компании». */
.vqKDjRFB_0{stroke-dasharray:3640 3642;stroke-dashoffset:3641;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_1{stroke-dasharray:114 116;stroke-dashoffset:115;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_2{stroke-dasharray:114 116;stroke-dashoffset:115;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_3{stroke-dasharray:86 88;stroke-dashoffset:87;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_4{stroke-dasharray:51 53;stroke-dashoffset:52;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_5{stroke-dasharray:94 96;stroke-dashoffset:95;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_6{stroke-dasharray:110 112;stroke-dashoffset:111;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_7{stroke-dasharray:94 96;stroke-dashoffset:95;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_8{stroke-dasharray:69 71;stroke-dashoffset:70;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_9{stroke-dasharray:96 98;stroke-dashoffset:97;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_10{stroke-dasharray:74 76;stroke-dashoffset:75;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_11{stroke-dasharray:57 59;stroke-dashoffset:58;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_12{stroke-dasharray:89 91;stroke-dashoffset:90;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_13{stroke-dasharray:94 96;stroke-dashoffset:95;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_14{stroke-dasharray:94 96;stroke-dashoffset:95;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_15{stroke-dasharray:462 464;stroke-dashoffset:463;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_16{stroke-dasharray:100 102;stroke-dashoffset:101;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_17{stroke-dasharray:1163 1165;stroke-dashoffset:1164;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_18{stroke-dasharray:1155 1157;stroke-dashoffset:1156;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}.vqKDjRFB_19{stroke-dasharray:682 684;stroke-dashoffset:683;animation:vqKDjRFB_draw 5000ms ease-in-out 0ms forwards;}@keyframes vqKDjRFB_draw{100%{stroke-dashoffset:0;}}@keyframes vqKDjRFB_fade{0%{stroke-opacity:1;}95.65217391304348%{stroke-opacity:1;}100%{stroke-opacity:0;}}

/* «О компании»: оригинальный SVG 1320×500, высота по пропорции (455 px), без растяжения. */
.page-id-11 .c-hero__art svg {
	height: auto;
}

/* Две колонки: текст и изображение. */
.c-text-image__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-8);
	align-items: stretch;
	padding: var(--space-7);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.c-text-image__inner--image-left .c-text-image__text {
	order: 2;
}

.c-text-image__title {
	margin-bottom: var(--space-5);
}

.c-text-image__content > :last-child {
	margin-bottom: 0;
}

.c-text-image__media {
	position: relative;
	margin: 0;
}

.c-text-image__media img {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
}

@media (max-width: 800px) {
	.c-text-image__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-6);
	}

	.c-text-image__media {
		position: static;
	}

	.c-text-image__media img {
		position: static;
		width: 100%;
		height: auto;
	}

	.c-text-image__inner--image-left .c-text-image__text {
		order: 0;
	}
}

/* Результаты СОУТ: текст слева, сканы справа. */
.doc-sout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: var(--space-8);
	align-items: start;
}

.doc-sout__text > :last-child {
	margin-bottom: 0;
}

.doc-sout__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-4);
	align-items: start;
}

.doc-sout__gallery figure {
	margin: 0;
}

.doc-sout__gallery img {
	width: 100%;
	height: auto;
	border: 1px solid var(--color-border);
}

@media (max-width: 800px) {
	.doc-sout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Результаты СОУТ: общий контур блока. */
.c-text__inner:has(.doc-sout) {
	padding: var(--space-7);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

@media (max-width: 800px) {
	.c-text__inner:has(.doc-sout) {
		padding: var(--space-6);
	}
}

/* Фирменное написание названия компании. */
.brand-name {
	font-family: var(--font-accent);
	font-weight: var(--fw-semibold);
}

.brand-name--regular {
	font-weight: var(--fw-regular);
}

/* Офисы и представительства. */
.c-offices__header {
	margin-bottom: var(--space-7);
}

.c-offices__title {
	margin-bottom: var(--space-4);
}

.c-offices__desc {
	margin: 0;
}

.c-offices__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-5);
}

.c-office {
	padding: var(--space-6);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-white);
	transition: background-color 0.2s ease;
}

.c-office:hover {
	background: var(--color-bg-soft);
}

.c-office__type {
	display: block;
	margin-bottom: var(--space-2);
	color: rgba(45, 48, 54, 0.6);
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
}

.c-office__city {
	margin: 0 0 var(--space-3);
}

.c-office__row {
	margin: 0 0 var(--space-2);
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
}

.c-office__row:last-child {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.c-offices__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.c-offices__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Компактный заголовок страницы. */
.c-page-head {
	padding-top: var(--space-8);
	padding-bottom: var(--space-7);
}

.c-page-head__title {
	margin: 0;
	max-width: 900px;
}

/* Строки карточки офиса с иконками. */
.c-office__type {
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--color-border);
	margin-bottom: var(--space-5);
}

.c-office__row {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
}

.c-office__icon {
	flex-shrink: 0;
	display: inline-flex;
	margin-top: 2px;
	color: rgba(45, 48, 54, 0.7);
}

/* Встроенная карта. */
.c-map__frame {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
	border-radius: var(--radius-md);
}

/* Текст и карта: карта заполняет правую колонку. */
.c-text-map .c-text-image__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--radius-sm);
}

@media (max-width: 800px) {
	.c-text-map .c-text-image__media iframe {
		position: static;
		height: 400px;
	}
}

/* Блог: заголовок и фильтры по рубрикам. */
.c-blog {
	padding-top: var(--space-8);
}

.c-blog__title {
	margin: 0 0 var(--space-6);
}

.c-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-bottom: var(--space-8);
}

.c-blog-filter {
	display: inline-flex;
	align-items: center;
	padding: var(--space-3) var(--space-6);
	border-radius: var(--radius-pill);
	background: var(--color-bg-soft);
	color: var(--color-main);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.c-blog-filter:hover {
	background: var(--color-border);
	text-decoration: none;
}

.c-blog-filter.is-active {
	background: var(--color-main);
	color: var(--color-white);
}

.c-blog-pagination {
	margin-top: var(--space-8);
}

.c-blog-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.c-blog-pagination li {
	margin: 0;
}

.c-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-main);
	text-decoration: none;
}

.c-blog-pagination .page-numbers.current {
	background: var(--color-main);
	border-color: var(--color-main);
	color: var(--color-white);
}

.c-blog-pagination .page-numbers.dots {
	border-color: transparent;
}

/* Каталог учебных программ по направлениям. */
.c-catalog__group {
	margin-bottom: var(--space-8);
}

.c-catalog__title {
	margin: 0 0 var(--space-5);
}

/* Навигация между записями. */
.c-article__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5);
	margin-top: var(--space-8);
}

.c-article__nav-item {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-6);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	color: var(--color-main);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

a.c-article__nav-item:hover {
	background: var(--color-bg-soft);
	text-decoration: none;
}

.c-article__nav-label {
	font-size: var(--fs-meta);
	line-height: var(--lh-meta);
	color: rgba(45, 48, 54, 0.6);
}

.c-article__nav-title {
	font-size: var(--fs-card-title);
	line-height: var(--lh-card-title);
}

.c-article__nav-item--empty {
	border: 0;
}

@media (max-width: 700px) {
	.c-article__nav {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Вопросы и ответы. */
.c-faq__title {
	margin-bottom: var(--space-6);
}

.c-faq__item {
	border-bottom: 1px solid var(--color-border);
}

.c-faq__question {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-5);
	padding: var(--space-5) 0;
	cursor: pointer;
	list-style: none;
	font-size: var(--fs-h3);
	line-height: var(--lh-heading);
	font-weight: var(--fw-medium);
}

.c-faq__question::-webkit-details-marker {
	display: none;
}

.c-faq__question::after {
	content: "+";
	flex-shrink: 0;
	font-weight: var(--fw-regular);
}

.c-faq__item[open] .c-faq__question::after {
	content: "−";
}

.c-faq__answer {
	padding-bottom: var(--space-6);
}

.c-faq__answer > :last-child {
	margin-bottom: 0;
}

/* Согласованный FAQ внутри статьи: глобальный стандарт. */
.c-article__content .c-faq {
	margin: 0;
	padding: var(--space-5) 0 var(--space-7);
}

.c-article__content .c-faq__title {
	margin-top: 0;
	margin-bottom: var(--space-5);
}

.c-article__content .c-faq__question {
	padding: var(--space-4) 0;
}

.c-article__content .c-faq__answer {
	padding-bottom: var(--space-5);
}

@media (max-width: 700px) {
	.c-article__content .c-faq {
		margin: 0;
		padding: var(--space-5) 0 var(--space-6);
	}

	.c-article__content .c-faq__title {
		margin-top: 0;
		margin-bottom: var(--space-4);
	}
}

.c-article__content .b-attention__title {
	margin: 0 0 var(--space-5);
	font-size: var(--fs-h3);
	line-height: var(--lh-heading);
	font-weight: var(--fw-medium);
}

/* Текстовая карточка: компактные внутренние и внешние отступы. */
.c-text__box {
	padding: var(--space-6);
}

.c-text--card {
	padding-top: var(--space-5);
	padding-bottom: var(--space-5);
}

/* Компактная ссылка на программу: иконка и кнопка. */
.c-course-link {
	padding: var(--space-6) 0;
}

.c-course-link__row,
.c-course-link__panel {
	display: flex;
	align-items: center;
	gap: var(--space-7);
	padding: var(--space-5) var(--space-6);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-course-link__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.c-course-link__button {
	text-decoration: none;
}

@media (max-width: 600px) {
	.c-course-link__row {
		align-items: flex-start;
		gap: var(--space-4);
	}
}

.c-course-link__button::after {
	content: "↗";
	margin-left: var(--space-3);
}

/* Кнопка с формой Битрикс24: чёрная панель, белая кнопка. */
.c-course-link__panel--dark {
	background: var(--color-main);
}

.c-button--light {
	border-color: var(--color-white);
	background: var(--color-white);
	color: var(--color-main);
}

.c-button--light:hover {
	border-color: var(--color-white);
	background: var(--color-white);
	color: var(--color-main);
	opacity: 0.85;
}

.c-course-link__panel--dark .c-course-link__button::after {
	color: var(--color-main);
}

/* Блок ссылок b-edu__button: список ссылок в серой карточке. */
.c-article__content .wp-block-group:has(.b-edu__button) {
	display: block;
	margin: var(--space-6) 0;
	padding: var(--space-6) var(--space-7);
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.c-article__content .wp-block-group:has(.b-edu__button) .b-edu__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: var(--space-4) 0;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	color: var(--color-main);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	text-align: left;
	text-decoration: none;
	transition: color 0.2s ease;
}

.c-article__content .wp-block-group:has(.b-edu__button) .b-edu__button:last-child {
	border-bottom: 0;
}

.c-article__content .wp-block-group:has(.b-edu__button) .b-edu__button::after {
	content: "↗";
	flex-shrink: 0;
	color: var(--color-accent);
	transition: transform 0.2s ease;
}

.c-article__content .wp-block-group:has(.b-edu__button) .b-edu__button:hover {
	background: none;
	border-color: var(--color-border);
	color: var(--color-main);
	text-decoration: none;
}

.c-article__content .wp-block-group:has(.b-edu__button) .b-edu__button:hover::after {
	transform: translateX(4px);
}

/* Контакты-кнопки в карточке. */
.c-contacts-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-5);
}

.c-contacts-actions .c-button {
	text-decoration: none;
}

.c-contacts-actions .c-button {
	border: 0;
	background: var(--color-white);
}

.c-contacts-actions .c-button:hover {
	border: 0;
	background: var(--color-white);
	color: var(--color-main);
	opacity: 0.85;
}

/* Карточки документов с превью. */
.c-article__content .doc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-5);
	margin: var(--space-5) 0 0;
	padding: 0;
	list-style: none;
}

.c-article__content .doc-cards > li {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: var(--space-4);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	transition: background-color 0.2s ease;
}

.c-article__content .doc-cards > li:hover {
	background: var(--color-bg-soft);
}

.c-article__content .doc-cards img {
	display: block;
	width: 100%;
	aspect-ratio: 480 / 680;
	object-fit: contain;
	background: var(--color-white);
	border-radius: var(--radius-sm);
}

.c-article__content .doc-cards div {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	margin-top: auto;
	padding-top: var(--space-3);
}

.c-article__content .doc-cards a {
	color: var(--color-main);
	font-size: var(--fs-small);
	line-height: var(--lh-meta);
	text-decoration: none;
}

.c-article__content .doc-cards span {
	color: rgba(45, 48, 54, 0.6);
	font-size: var(--fs-caption);
	line-height: var(--lh-caption);
}

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

@media (max-width: 600px) {
	.c-article__content .doc-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Модальное окно просмотра документа. */
.is-modal-open {
	overflow: hidden;
}

.c-doc-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.c-doc-modal[hidden] {
	display: none;
}

.c-doc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 22, 26, 0.6);
}

.c-doc-modal__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(1100px, calc(100% - var(--space-7)));
	height: min(85vh, 900px);
	overflow: hidden;
	background: var(--color-white);
	border-radius: var(--radius-md);
}

.c-doc-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	padding: var(--space-4) var(--space-6);
	border-bottom: 1px solid var(--color-border);
}

.c-doc-modal__title {
	font-size: var(--fs-small);
	line-height: var(--lh-meta);
}

.c-doc-modal__close {
	border: 0;
	background: none;
	color: var(--color-main);
	font-size: var(--fs-h3);
	line-height: 1;
	cursor: pointer;
}

.c-doc-modal__body {
	flex: 1;
	min-height: 0;
}

.c-doc-modal__body iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 700px) {
	.c-doc-modal__dialog {
		width: 100%;
		height: 100%;
		border-radius: 0;
	}
}

/* Просмотр изображений-документов в модальном окне. */
.c-doc-modal__body {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
}

.c-doc-modal__body iframe {
	flex: 1;
}

.c-doc-modal__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.doc-image img,
.doc-gallery img,
.doc-sout__gallery img,
.c-text-image__media img {
	cursor: zoom-in;
}

.c-doc-modal__img {
	margin: auto;
}

/* Кнопки: без подчёркивания в любых состояниях. */
a.c-button,
a.c-button:hover,
a.c-button:focus,
a.btn-red,
a.btn-red:hover,
a.btn-sec,
a.btn-sec:hover,
a.b-edu__button,
a.b-edu__button:hover,
.c-course-link__button,
.c-course-link__button:hover,
.c-doc-links a,
.c-doc-links a:hover {
	text-decoration: none;
}

.c-doc-modal__body iframe[hidden],
.c-doc-modal__img[hidden] {
	display: none;
}

@media (max-width: 700px) {
	.c-article__title {
		font-size: 42px;
		line-height: 1;
	}
}

/* Контакты: телефон и почта без красного акцента. */
.c-office a {
	color: var(--color-main);
	text-decoration: none;
}

.c-office a:hover,
.c-office a:focus {
	color: var(--color-main);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* «О компании»: весь декор первого экрана поднят на 16 px без нового слоя. */
.page-id-11 .c-hero__art {
	bottom: 16px;
}

/* Публикации: адаптив после финального правила сетки. */
@media (max-width: 1100px) {
	.c-posts .l-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 740px) {
	.c-posts .l-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Страница 404: мягкая карточка, контурная цифра и знак бренда. */
.l-404 {
	padding: var(--space-8) 0;
}

.l-404__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: var(--space-8);
	align-items: center;
	padding: var(--space-8);
	overflow: hidden;
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
}

.l-404__code {
	margin: 0 0 var(--space-4);
	color: transparent;
	font-size: calc(var(--fs-display) * 2.2);
	line-height: 1;
	font-weight: var(--fw-bold);
	letter-spacing: -0.02em;
	-webkit-text-stroke: 2px var(--color-accent);
}

.l-404__title {
	margin: 0 0 var(--space-4);
}

.l-404__text {
	max-width: var(--measure);
	margin: 0;
	color: rgba(45, 48, 54, 0.7);
}

.l-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-6);
}

.l-404__art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
}

.l-404__art::before {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	background: rgba(187, 72, 74, 0.08);
	border-radius: 50%;
}

.l-404__art img {
	position: relative;
	width: 220px;
	height: auto;
}

@media (max-width: 900px) {
	.l-404__inner {
		grid-template-columns: minmax(0, 1fr);
		padding: var(--space-6);
	}

	.l-404__art {
		order: -1;
		min-height: 200px;
	}

	.l-404__art::before {
		width: 220px;
		height: 220px;
	}

	.l-404__art img {
		width: 160px;
	}
}

/* «О компании»: появление подложки и отрисовка контура, как на первом экране главной. */
.page-id-11 .c-hero__art svg {
	animation: aboutHeroIn 900ms ease-out both;
}

.page-id-11 .c-hero__art svg path[stroke] {
	stroke-dasharray: 4000;
	stroke-dashoffset: 4000;
	animation: aboutHeroDraw 9990ms ease-in-out 300ms forwards;
}

@keyframes aboutHeroIn {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes aboutHeroDraw {
	to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.page-id-11 .c-hero__art svg,
	.page-id-11 .c-hero__art svg path[stroke] {
		animation: none;
		stroke-dashoffset: 0;
	}
}

/* Блок ссылок b-links-clean — в стиле блока ссылок статьи. */
.c-article__content .b-links-clean {
	padding: var(--space-6) var(--space-7);
	background: var(--color-bg-soft);
	border-top: 0;
	border-radius: var(--radius-lg);
	box-shadow: none;
}

.c-article__content .b-links-clean__item {
	justify-content: space-between;
	gap: var(--space-5);
	padding: var(--space-4) 0;
	border-bottom: 1px solid var(--color-border);
}

.c-article__content .b-links-clean__item:last-child {
	border-bottom: 0;
}

.c-article__content .b-links-clean__item::after {
	content: "↗";
	flex-shrink: 0;
	color: var(--color-accent);
	transition: transform 0.2s ease;
}

.c-article__content .b-links-clean__item:hover .b-links-clean__text {
	color: var(--color-main);
}

.c-article__content .b-links-clean__item:hover::after {
	transform: translateX(4px);
}

/* Ссылка в списке блока «Комплексные решения» — как обычный текст. */
.c-offer__item a {
	color: inherit;
	text-decoration: none;
}

.c-offer__item a:hover {
	text-decoration: underline;
}

/* Вопрос-ссылка в подзаголовке услуг — чёрным, без акцента. */
.c-cards__subtitle a {
	color: inherit;
	text-decoration: none;
}

.c-cards__subtitle a:hover {
	text-decoration: underline;
}

/* Мобильная статья: иконка слева, текст обтекает, как в старой теме. */
@media (max-width: 700px) {
	.c-article__content .wp-block-columns:has(.icon-img) {
		display: block;
	}

	.c-article__content .wp-block-columns:has(.icon-img)::after {
		content: "";
		display: block;
		clear: both;
	}

	.c-article__content .wp-block-columns:has(.icon-img) > .wp-block-column:first-child {
		float: left;
		width: 120px;
		margin: 0 var(--space-4) var(--space-2) 0;
	}

	.c-article__content .wp-block-columns:has(.icon-img) > .wp-block-column:last-child {
		display: block;
		width: auto;
		margin-top: 0;
	}

	.c-article__content .wp-block-columns:has(.icon-img) .icon-img img {
		width: 120px;
		height: 120px;
	}
}

/* Длинные слова в заголовках: на десктопе без переносов, на мобильном — с переносами. */
.c-hero__title,
.c-sout-hero__title,
.c-article__title {
	overflow-wrap: break-word;
	hyphens: manual;
}

@media (max-width: 700px) {
	.c-hero__title,
	.c-sout-hero__title,
	.c-article__title {
		hyphens: auto;
	}
}

/* Текстовые страницы: заголовок после абзаца получает верхний отступ. */
.c-text-grid__col > h2:not(:first-child),
.c-text-grid__col > h3:not(:first-child) {
	margin-top: 42px;
}

/* Чат Битрикс24 на мобильном: скрываем виджет, как было на старом сайте. */
@media (max-width: 768px) {
	.b24-widget-button-wrapper,
	.b24-widget-button-shadow {
		display: none !important;
	}
}

/* Мобильная раскладка text-grid: заголовок второй колонки получает тот же верхний отступ. */
@media (max-width: 768px) {
	.c-text-grid__col + .c-text-grid__col > h2:first-child,
	.c-text-grid__col + .c-text-grid__col > h3:first-child {
		margin-top: 42px;
	}
}

/* Записи: на мобильном заголовок компактнее, чтобы длинные названия не занимали экран. */
@media (max-width: 700px) {
	.single .c-article__title {
		font-size: 36px;
		line-height: 1.1;
	}
}

/* Единая нумерация по сайту: цифры в чёрных кружках во всех контентных списках. */
.c-article__content ol,
.c-text-grid ol,
.c-text ol,
.c-aside__content ol,
.program-summary ol,
.b-attention ol {
	list-style: none;
	counter-reset: liga-num;
	padding-left: 0;
	margin-left: 0;
}

.c-article__content ol > li,
.c-text-grid ol > li,
.c-text ol > li,
.c-aside__content ol > li,
.program-summary ol > li,
.b-attention ol > li {
	position: relative;
	counter-increment: liga-num;
	padding-left: calc(var(--space-6) + var(--space-3));
	margin-bottom: var(--space-4);
	list-style: none;
}

.c-article__content ol > li::marker,
.c-text-grid ol > li::marker,
.c-text ol > li::marker,
.c-aside__content ol > li::marker,
.program-summary ol > li::marker,
.b-attention ol > li::marker {
	content: "";
}

.c-article__content ol > li::before,
.c-text-grid ol > li::before,
.c-text ol > li::before,
.c-aside__content ol > li::before,
.program-summary ol > li::before,
.b-attention ol > li::before {
	content: counter(liga-num);
	position: absolute;
	top: 0.1em;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-main);
	color: var(--color-white);
	font-size: var(--fs-meta);
	line-height: 1;
	font-weight: var(--fw-medium);
}

/* Хлебные крошки: текущая страница в одну строку, длинное название — с многоточием. */
.c-breadcrumbs {
	flex-wrap: nowrap;
}

.c-breadcrumbs > a,
.c-breadcrumbs > span[aria-hidden="true"] {
	flex: 0 0 auto;
}

.c-breadcrumbs > span:last-child {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Блок «Как пройти обучение?»: кнопка справа по сетке темы. */
.b-button-send {
	display: flex;
	justify-content: flex-end;
}

.b-attention .b-button-send {
	justify-content: flex-start;
}

@media (max-width: 768px) {
	.b-button-send {
		justify-content: flex-start;
		margin-top: var(--space-4);
	}
}

/* Кнопка в блоке «Как пройти обучение?» — в одну строку. */
.b-button-send .c-button {
	white-space: nowrap;
}

/* Блок «Как пройти обучение»: шаги и кнопка. */
.c-how {
	padding: var(--space-8) 0;
}

.c-how__title {
	margin: 0 0 var(--space-5);
}

.c-how__intro {
	max-width: var(--measure);
	margin: 0 0 var(--space-7);
	color: rgba(45, 48, 54, 0.75);
}

.c-how__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-5) var(--space-7);
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-how__item {
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-border);
}

.c-how__num {
	display: block;
	font-size: var(--fs-h2);
	line-height: var(--lh-tight);
	font-weight: var(--fw-light);
	color: var(--color-accent);
}

.c-how__name {
	margin: var(--space-3) 0 var(--space-2);
}

.c-how__text {
	margin: 0;
	color: rgba(45, 48, 54, 0.75);
}

.c-how__action {
	display: flex;
	justify-content: flex-start;
	margin-top: var(--space-7);
}

@media (max-width: 700px) {
	.c-how__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-how__action .c-button {
		width: 100%;
	}
}

/* «Цель программы»: заголовок вровень с иконкой, без верхнего отступа. */
.c-article__content .program-summary ~ * .wp-block-heading:first-child,
.c-article__content .wp-block-columns .wp-block-heading:first-child {
	margin-top: 0;
}

/* Первый экран программы: текст выровнен по верхнему краю иконки. */
.c-article__content .wp-block-columns:has(.icon-img) {
	align-items: flex-start;
}

/* Колонки с иконкой: верхнее выравнивание независимо от настроек блока. */
.c-article__content .wp-block-columns:has(.icon-img) > .wp-block-column {
	align-self: flex-start;
}

/* Иконка в первом блоке программы — без верхнего отступа, вровень с заголовком. */
.c-article__content .wp-block-columns:has(.icon-img) .wp-block-image {
	margin-top: 0;
}

/* Интро программы: блок liga/program-intro, иконка 180 + текст. */
.c-program-intro {
	display: block;
	margin: var(--space-6) 0;
}

.c-program-intro::after {
	content: "";
	display: block;
	clear: both;
}

.c-program-intro__media {
	float: left;
	width: var(--program-icon-size);
	margin: 0 var(--space-6) var(--space-5) 0;
}

.c-program-intro__icon {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-md);
}

.c-program-intro__body {
	display: block;
	min-width: 0;
}

.c-program-intro .c-program-intro__title {
	margin: 0 0 var(--space-5);
}

.c-program-intro__text > * {
	margin-top: 0;
	margin-bottom: 0;
}

.c-program-intro__text > * + * {
	margin-top: var(--space-5);
}

@media (max-width: 700px) {
	.c-program-intro__media {
		width: var(--program-icon-size-mobile);
		margin: 0 var(--space-4) var(--space-2) 0;
	}

	.c-program-intro__icon {
		width: var(--program-icon-size-mobile);
		height: var(--program-icon-size-mobile);
	}
}

/* Вход в личный кабинет в шапке. */
.l-header__account {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	color: var(--color-main);
	font-size: var(--fs-card-title);
	line-height: 25.92px;
	font-weight: var(--fw-medium);
	letter-spacing: 0.025em;
	white-space: nowrap;
}

.l-header__account:hover {
	color: var(--color-accent);
}



.l-header__account {
	order: 3;
	margin-top: 28px;
	margin-left: 44px;
}

.l-header__account svg {
	flex: none;
}

.l-search-toggle {
	order: 4;
	margin-top: 26px;
}

.l-burger {
	order: 5;
}

@media (max-width: 900px) {
	.l-header__account {
		margin-left: auto;
		font-size: var(--fs-meta);
		line-height: var(--lh-meta);
	}

	.l-search-toggle {
		margin-left: var(--space-4);
	}
}

/* Платформа: иконка + текст на десктопе, только иконка на мобильном. */
.l-header__account-icon {
	display: block;
	flex: none;
	transform: translateY(-1px);
}

@media (max-width: 480px) {
	.l-header__account-icon {
		display: block;
	}

	.l-header__account span {
		display: none;
	}
}

@media (max-width: 900px) {
	.l-header__account,
	.l-search-toggle,
	.l-burger {
		margin-top: 0;
	}
}

@media (max-width: 900px) {
	.l-header__account-icon {
		transform: none;
	}
}

@media (min-width: 901px) {
	.l-header__account-icon {
		transform: translateY(-1px);
	}
}

/* Один документ в блоке ссылок занимает всю ширину. */
.c-doc-links__grid .c-doc-link:only-child {
	grid-column: 1 / -1;
}

/* Одиночная ссылка-строка в статье: серая карточка со стрелкой. */
.c-article__content p.special-link-button {
	margin: var(--space-5) 0;
}

.c-article__content p.special-link-button a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	width: 100%;
	padding: var(--space-4) var(--space-5);
	background: var(--color-bg-soft);
	border-radius: var(--radius-md);
	color: var(--color-main);
	font-weight: var(--fw-medium);
	text-decoration: none;
	transition: color 0.2s ease;
}

.c-article__content p.special-link-button a::after {
	content: "→";
	flex-shrink: 0;
	color: var(--color-accent);
	transition: transform 0.2s ease;
}

.c-article__content p.special-link-button a:hover {
	color: var(--color-main);
	text-decoration: none;
}

.c-article__content p.special-link-button a:hover::after {
	transform: translateX(4px);
}


@keyframes fireDraw_draw {
	to { stroke-dashoffset: 0; }
}


@keyframes fireArtWipe {
	from { clip-path: inset(0 100% 0 0); }
	to { clip-path: inset(0 0 0 0); }
}

/* Frame 614: draw animation */
.fireDraw_0 {
	stroke-dasharray: 1000 1002;
	stroke-dashoffset: 1001;
	animation: fireDraw_draw 9990ms ease-in-out 0s forwards;
}

@keyframes fireDraw_draw {
	to { stroke-dashoffset: 0; }
}

/* Frame 614: растянуть буквы по высоте */
.fireTall {
	transform: scaleY(1.32);
	transform-origin: center center;
}
