/* =========================================================================
 * Страница «О школе» (template-about-new.php). Макет: ПК 1440 / планшет 720 / мобайл 375.
 * Все классы с префиксом .ab- — чтобы не пересекаться с общими стилями темы.
 * ====================================================================== */

.ab-page {
	--ab-text: #2D3138;
	--ab-body: #3B3854;
	--ab-muted: #8A87A3;
	--ab-violet: #7B4DE8;
	--ab-violet-l: #EEE8FF;
	--ab-orange: #FF6B1A;
	--ab-radius: 32px;
	color: var(--ab-text);
	overflow-x: clip;
}

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

:where(.ab-page) p,
:where(.ab-page) ul,
:where(.ab-page) ol,
:where(.ab-page) figure,
:where(.ab-page) blockquote,
:where(.ab-page) h3 {
	margin: 0;
}

.ab-page h3 {
	text-transform: none;
}

:where(.ab-page) ul,
:where(.ab-page) ol {
	padding: 0;
	list-style: none;
}

.ab-page ul li::before,
.ab-page ol li::before {
	content: none;
}

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

.ab-page a {
	text-decoration: none;
}

.ab-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.ab-section {
	padding: 48px 0;
}

.ab-h2 {
	max-width: 1100px;
	margin: 0 auto 32px;
	font-size: 44px;
	line-height: 1.1;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	color: var(--ab-text);
}

.ab-h2 span {
	color: var(--ab-orange);
}

.ab-h2-sm {
	font-size: 36px;
	max-width: 1000px;
}

.ab-intro {
	max-width: 960px;
	margin: -8px auto 32px;
	font-size: 18px;
	line-height: 1.35;
	text-align: center;
	color: var(--ab-body);
}

.ab-card {
	background: #fff;
	border-radius: var(--ab-radius);
}

.ab-label {
	display: inline-block;
	align-self: flex-start;
	padding: 7px 14px;
	border-radius: 20px;
	background: var(--ab-violet-l);
	color: var(--ab-violet);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ab-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 14px 24px;
	border-radius: 28px;
	background: var(--ab-orange);
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	transition: background .2s;
}

.ab-btn:hover {
	background: #F25A06;
}

.ab-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 14px 30px;
	border: 2px solid #A98BF5;
	border-radius: 30px;
	background: rgba(255, 255, 255, .6);
	color: var(--ab-violet) !important;
	font-size: 17px;
	font-weight: 600;
	transition: background .2s, border-color .2s;
}

.ab-btn-outline:hover {
	background: #fff;
	border-color: var(--ab-violet);
}

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

.ab-hero {
	padding: 0 20px;
}

.ab-hero-card {
	position: relative;
	max-width: 1160px;
	margin: -110px auto 0;
	border-radius: 0 0 40px 40px;
	/* белая подложка только снизу (под плашкой с рейтингами), сверху — фон страницы, как в макете */
	background: linear-gradient(to bottom, transparent 0, transparent 400px, #fff 400px);
}

.ab-hero-main {
	position: relative;
	height: 654px;
	padding: 189px 0 0 55px;
	/* вырез под логотип той же ширины, что у героя страниц «Логопед для детей N лет» (под шапку с «Победителями») */
	background: url(../img/about/hero-bg.webp) no-repeat 0 0 / 100% 100%;
	border-radius: 0 0 100px 100px; /* = радиус нижних углов фиолетовой формы, чтобы фото не вылезало за угол */
	overflow: hidden; /* фото обрезается по низу фиолетовой плашки, как маска в макете */
}

.ab-hero-text {
	position: relative;
	z-index: 2;
	max-width: 470px;
}

.ab-hero .breadcrumb {
	margin: 0 0 30px;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	flex-wrap: wrap;
}

.ab-hero .breadcrumb li {
	gap: 6px;
	align-items: center;
}

.ab-hero .breadcrumb a,
.ab-hero .breadcrumb span {
	color: #fff;
	text-decoration: none;
}

.ab-hero .breadcrumb img {
	width: 14px;
	filter: brightness(0) invert(1);
}

.ab-hero h1 {
	margin: 0;
	color: #fff;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.ab-hero h1 span {
	display: block;
}

.ab-hero-subtitle {
	max-width: 440px;
	margin-top: 22px !important;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
}

.ab-hero-pills {
	position: absolute;
	z-index: 2;
	left: 36px;
	top: 537px;
	display: flex;
	gap: 16px;
}

.ab-hero-pill {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 64px;
	padding: 8px 24px 8px 8px;
	border-radius: 32px;
	background: #FFEDB3;
	color: var(--ab-text);
}

.ab-hero-pill-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #FFF8E1;
}

.ab-hero-pill-icon img {
	width: 38px;
}

.ab-hero-pill b {
	font-size: 40px;
	font-weight: 600;
	line-height: 1;
}

.ab-hero-pill > span:last-child {
	max-width: 104px;
	font-size: 15px;
	line-height: 1.2;
}

.ab-hero-photo {
	position: absolute;
	z-index: 1;
	left: 505px;
	top: 112px;
	width: 596px;
	pointer-events: none;
}

.ab-trust {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 86px;
	margin: 0 !important;
	padding: 0 55px !important;
}

.ab-trust li {
	display: flex;
	align-items: center;
	gap: 14px;
	position: relative;
	color: var(--ab-text);
}

.ab-trust li + li::after {
	content: '';
	position: absolute;
	left: -23px;
	top: 50%;
	width: 1px;
	height: 58px;
	transform: translateY(-50%);
	background: #DDD8EC;
}

.ab-trust a {
	display: flex;
	align-items: center;
	gap: 14px;
	color: inherit;
}

.ab-trust-license img {
	width: 52px;
}

.ab-trust-license span,
.ab-trust-sk span {
	max-width: 150px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

.ab-trust-sk span {
	max-width: 90px;
}

.ab-trust-sk img {
	width: 47px;
	border-radius: 8px;
}

.ab-trust li:nth-child(2) img {
	width: 66px;
}

.ab-trust li:nth-child(3) img {
	width: 138px;
}

.ab-trust-rating {
	flex-direction: column;
	gap: 4px !important;
}

.ab-trust-num {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.ab-trust-students {
	flex-direction: column;
	gap: 4px !important;
	font-size: 17px;
	font-weight: 500;
}

/* ---------- История ---------- */

.ab-hero + .ab-section {
	padding-top: 60px;
}

.ab-history-body {
	display: grid;
	grid-template-columns: 716px 1fr;
	gap: 24px;
}

.ab-history-story {
	padding: 44px 44px 40px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--ab-body);
}

.ab-history-story > p + p {
	margin-top: 16px;
}

.ab-history-lead {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ab-text);
}

.ab-quote {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-top: 32px !important;
	padding: 28px 32px;
	border-radius: 24px;
	background: #EFEBFB;
}

.ab-quote-photo {
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	border: 4px solid #fff;
}

.ab-quote blockquote {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ab-text);
}

.ab-quote figcaption {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.ab-quote figcaption b {
	color: var(--ab-violet);
	font-size: 16px;
	font-weight: 600;
}

.ab-quote figcaption span {
	color: #6B6880;
	font-size: 14px;
}

.ab-timeline {
	padding: 36px 36px 40px;
}

.ab-timeline h3 {
	margin-bottom: 36px;
	font-size: 26px;
	font-weight: 700;
}

.ab-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 104px 1fr;
	align-items: start;
	padding-bottom: 56px;
}

.ab-timeline li:last-child {
	padding-bottom: 0;
}

.ab-timeline li:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 43px;
	top: 38px;
	bottom: 8px;
	border-left: 2px dashed #D7CCF8;
}

.ab-timeline-year {
	justify-self: start;
	padding: 6px 18px;
	border-radius: 999px;
	background: #AE92FD;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.ab-timeline p {
	font-size: 16px;
	line-height: 1.45;
	color: var(--ab-text);
}

/* ---------- Четыре опоры ---------- */

.ab-pillars-grid {
	display: grid;
	grid-template-columns: 1fr 372px 1fr;
	grid-template-rows: auto auto;
	gap: 24px;
}

.ab-pillar {
	position: relative;
	min-height: 320px;
	padding: 45px 28px 36px;
	border: 1px solid #E7DFFB;
	border-radius: 28px;
	box-shadow: 0 8px 24px rgba(122, 77, 232, .1);
}

.ab-pillar-sparkle {
	position: absolute;
	z-index: 1;
	right: 40px;
	top: 48px;
	width: 44px;
	height: 44px;
	pointer-events: none;
}

.ab-pillar-2 .ab-pillar-sparkle { top: 58px; }
.ab-pillar-3 .ab-pillar-sparkle { right: 24px; top: 88px; }
.ab-pillar-4 .ab-pillar-sparkle { right: 32px; top: 78px; }

.ab-pillar-1 { grid-area: 1 / 1; }
.ab-pillar-2 { grid-area: 2 / 1; }
.ab-pillar-3 { grid-area: 1 / 3; }
.ab-pillar-4 { grid-area: 2 / 3; }

.ab-pillar-num {
	display: inline-block;
	padding: 4px 18px;
	border-radius: 18px;
	background: #AE92FD;
	box-shadow: 0 4px 10px rgba(140, 107, 245, .25);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}

.ab-pillar h3 {
	position: relative;
	z-index: 2;
	max-width: 230px;
	margin: 10px 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.ab-pillar > p {
	position: relative;
	z-index: 2;
	max-width: 190px;
}

.ab-pillar p {
	font-size: 15px;
	line-height: 1.4;
	color: var(--ab-body);
}

.ab-pillar-img {
	position: absolute;
	right: 20px;
	top: 50%;
	width: 176px;
	transform: translateY(-50%);
}

.ab-pillar-1 .ab-pillar-img { width: 150px; right: 28px; }
.ab-pillar-4 .ab-pillar-img { width: 155px; }

.ab-methodist {
	grid-area: 1 / 2 / 3 / 3;
	display: flex;
	flex-direction: column;
	border-radius: var(--ab-radius);
	background: linear-gradient(180deg, #E3D9FF 0%, #F0EBFF 100%);
	overflow: hidden;
}

.ab-methodist-photo-wrap {
	display: contents;
}

.ab-methodist-photo {
	display: block;
	width: 350px;
	border-radius: 50%;
	background: #E6DDFD; /* фото без фона (PNG с прозрачностью): круг-подложка задаётся здесь */
	margin: 8px auto 0;
}

.ab-methodist-quote {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: -60px 6px 6px;
	padding: 24px 24px 28px;
	border-radius: 28px;
	background: #EEE8FF;
	box-shadow: 0 -6px 18px rgba(123, 77, 232, .08);
}

.ab-methodist-mark {
	display: block;
	height: 36px;
	color: var(--ab-violet);
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
}

.ab-methodist blockquote {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ab-text);
}

.ab-methodist figcaption {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ab-body);
}

.ab-methodist-link {
	align-self: center;
	margin-top: auto;
	padding-top: 20px;
	color: var(--ab-violet) !important;
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* ---------- Слайдеры (эксперты, СМИ) ---------- */

.ab-slider {
	display: flex;
	gap: 16px;
	overflow: hidden;
}

.ab-slider.slick-initialized {
	display: block;
	overflow: visible;
}

.ab-slider .slick-list {
	overflow: visible;
	clip-path: inset(-30px 0);
}

.ab-slider .slick-track {
	display: flex;
}

.ab-slider .slick-slide {
	height: auto;
	margin-right: 16px;
}

.ab-arrows {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 24px;
}

.ab-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 50px;
	border: 0;
	border-radius: 25px;
	background: #fff;
	color: var(--ab-text);
	cursor: pointer;
	transition: opacity .2s, background .2s;
}

.ab-arrow:hover {
	background: var(--ab-violet-l);
}

.ab-arrow.slick-disabled {
	opacity: .55;
	cursor: default;
}

.ab-arrow.slick-hidden {
	display: flex;
	visibility: hidden;
}

/* ---------- Эксперты ---------- */

.ab-expert {
	display: flex !important;
	flex-direction: column;
	flex: 0 0 372px;
	width: 372px;
	padding: 16px;
	border-radius: var(--ab-radius);
	background: #fff;
}

.ab-expert-photo {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 24px;
}

.ab-expert h3 {
	margin: 14px 8px 10px;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}

.ab-expert-edu {
	display: flex;
	gap: 12px;
	margin: 0 8px 14px !important;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ab-body);
}

.ab-expert-edu svg {
	flex: 0 0 24px;
}

.ab-expert-docs {
	padding: 16px 18px 18px;
	border-radius: 24px;
	background: #F3F0FE;
}

.ab-expert-docs-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px !important;
	font-size: 16px;
	font-weight: 600;
}

.ab-expert-docs-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ab-expert-docs-list a {
	display: flex;
	justify-content: center;
}

.ab-expert-docs-list img {
	height: 132px;
	width: auto;
	box-shadow: 0 4px 12px rgba(45, 49, 56, .15);
	transition: transform .2s;
}

.ab-expert-docs-list a:hover img {
	transform: scale(1.04);
}

.ab-expert-docs {
	margin-bottom: 20px;
}

.ab-expert-tags {
	margin-top: auto !important;
	padding: 18px 22px !important;
	border-radius: 24px;
	background: #F5F4FA;
	font-size: 15px;
	line-height: 1.3;
}

.ab-expert-tags li + li {
	margin-top: 10px;
}

/* ---------- Два формата ---------- */

.ab-formats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.ab-format {
	display: flex;
	flex-direction: column;
	padding: 28px 29px 36px;
}

.ab-format-label {
	color: var(--ab-violet);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ab-format h3 {
	margin: 16px 0 12px;
	font-size: 32px;
	font-weight: 600;
}

.ab-format-subtitle {
	font-size: 15px;
	color: var(--ab-body);
}

.ab-format-img {
	width: 100%;
	margin: 16px 0 20px;
	border-radius: 20px;
}

.ab-checklist {
	margin-bottom: 32px !important;
}

.ab-checklist li {
	display: flex;
	gap: 14px;
	font-size: 16px;
	line-height: 1.3;
	color: var(--ab-text);
}

.ab-checklist li + li {
	margin-top: 14px;
}

.ab-checklist svg {
	flex: 0 0 16px;
	margin-top: 2px;
}

.ab-format .ab-btn {
	margin-top: auto;
}

.ab-format-school .ab-btn {
	margin-bottom: 40px;
}

.ab-stores {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 16px !important;
}

.ab-stores a {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ab-text) !important;
	font-size: 15px;
	font-weight: 500;
}

.ab-stores a:hover {
	color: var(--ab-violet) !important;
}

/* ---------- Технологии ---------- */

.ab-tech-body {
	display: grid;
	grid-template-columns: 372px 1fr;
	gap: 24px;
	margin-bottom: 32px;
}

.ab-tech-stat {
	display: flex;
	flex-direction: column;
	padding: 32px 32px 28px;
	border-radius: var(--ab-radius);
	background: linear-gradient(126deg, #B99EFF 0%, #7B57E6 71%);
	box-shadow: 0 12px 28px rgba(122, 77, 229, .25);
	color: #fff;
}

.ab-tech-num {
	font-size: 72px;
	font-weight: 700;
	line-height: 1.2;
}

.ab-tech-num-text {
	margin: 8px 0 32px !important;
	font-size: 18px;
	line-height: 1.4;
}

.ab-tech-panel {
	margin-top: auto;
	padding: 18px 20px;
	border: 1.5px solid rgba(255, 255, 255, .35);
	border-radius: 24px;
	background: rgba(255, 255, 255, .16);
}

.ab-tech-panel-head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 70px;
	font-size: 17px;
	font-weight: 600;
}

.ab-tech-wave {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 74px;
	margin: 6px 0 12px;
	padding: 0 2%;
}

.ab-tech-wave i {
	display: block;
	width: 5px;
	min-height: 5px;
	border-radius: 3px;
	background: #fff;
}

.ab-tech-bar {
	height: 10px;
	border-radius: 5px;
	background: rgba(255, 255, 255, .25);
	overflow: hidden;
}

.ab-tech-bar i {
	display: block;
	width: 85.5%;
	height: 100%;
	background: #fff;
}

.ab-tech-panel-note {
	margin-top: 8px !important;
	font-size: 14px;
}

.ab-tech-text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 36px 48px 44px;
	border: 1px solid #E7DFFB;
	font-size: 18px;
	line-height: 1.5;
	color: var(--ab-body);
}

.ab-tech-text h3 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ab-text);
}

.ab-investor {
	position: relative;
	display: flex;
	gap: 48px;
	padding: 36px 48px;
	border-radius: var(--ab-radius);
	background: #F1EDFF;
	overflow: hidden;
}

.ab-investor::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--ab-violet);
}

.ab-investor-author {
	display: flex;
	flex-direction: column;
	flex: 0 0 280px;
	gap: 4px;
}

.ab-investor-photo {
	width: 136px;
	margin: -8px -12px 6px;
}

.ab-investor-author b {
	font-size: 18px;
	font-weight: 600;
}

.ab-investor-author span {
	font-size: 15px;
	line-height: 1.3;
	color: var(--ab-body);
}

.ab-investor blockquote {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.48;
	color: var(--ab-text);
}

.ab-investor blockquote p + p {
	margin-top: 28px;
}

/* ---------- Награды ---------- */

.ab-awards-top {
	display: grid;
	grid-template-columns: 671px 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.ab-awards-main {
	width: 100%;
	height: 424px;
	object-fit: cover;
	border-radius: 28px;
}

.ab-awards-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ab-awards-list li {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 20px;
	padding: 8px 12px 8px 14px;
	border: 2px solid #fff;
	border-radius: 22px;
	background: linear-gradient(90deg, var(--ab-award) 0%, var(--ab-award) 20%, #FBFAFF 30%, #F7F4FF 100%);
	box-shadow: 0 6px 18px rgba(90, 74, 154, .12);
}

.ab-award-logo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	margin-right: 20px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #fff;
	filter: drop-shadow(0 5px 7px rgba(90, 74, 154, .18));
}

.ab-award-logo::after {
	content: '';
	position: absolute;
	right: -22px;
	top: 50%;
	width: 1px;
	height: 60px;
	transform: translateY(-50%);
	background: rgba(140, 132, 176, .35);
}

.ab-award-logo img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
}

.ab-award-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.ab-award-badge {
	padding: 6px 16px;
	border-radius: 18px;
	background: #FFEADD;
	color: var(--ab-orange);
	font-size: 14px;
	font-weight: 700;
}

.ab-award-text b {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
}

.ab-award-year {
	color: #7C7894;
	font-size: 15px;
	font-weight: 500;
}

.ab-awards-photos {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.ab-awards-photos img {
	width: 100%;
	height: 156px;
	object-fit: cover;
	border-radius: 24px;
}

/* ---------- Наука ---------- */

.ab-science-card {
	display: grid;
	grid-template-columns: 580px 1fr;
	border: 2px solid #fff;
	border-radius: 36px;
	background: linear-gradient(90deg, #fff 0%, #FBFAFF 55%, #F1ECFE 100%);
	box-shadow: 0 10px 28px rgba(90, 74, 154, .12);
	overflow: hidden;
}

.ab-science-text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 44px 16px 44px 48px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--ab-body);
}

.ab-science-text h3 {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ab-text);
}

.ab-science-point {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ab-science-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--ab-violet-l);
}

.ab-science-point b {
	display: block;
	margin-bottom: 3px;
	font-size: 17px;
	font-weight: 600;
	color: var(--ab-text);
}

.ab-science-point p {
	font-size: 15px;
}

.ab-science-download {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 22px;
}

.ab-science-download p {
	max-width: 230px;
	font-size: 14px;
	line-height: 1.3;
}

.ab-science-visual {
	position: relative;
	min-height: 600px;
	border-radius: 72px 0 0 72px;
	background:
		radial-gradient(circle at 80% 0%, rgba(205, 187, 255, .75) 0, rgba(174, 146, 253, 0) 220px),
		radial-gradient(circle at 0% 100%, rgba(205, 187, 255, .6) 0, rgba(174, 146, 253, 0) 200px),
		linear-gradient(180deg, #AE92FD 0%, #9B7BF4 100%);
	box-shadow: inset 0 -10px 24px rgba(106, 69, 214, .35), inset 0 6px 18px rgba(255, 255, 255, .35);
}

.ab-science-img {
	position: absolute;
	left: -18px;
	top: 58px;
	width: 660px;
	max-width: none !important;
}

.ab-science-note {
	position: absolute;
	left: 48px;
	right: 48px;
	bottom: 36px;
	padding: 14px 24px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 8px 24px rgba(51, 26, 128, .25);
	font-size: 13px;
	font-weight: 500;
	color: var(--ab-body);
}

.ab-science-note a {
	display: block;
	margin-top: 4px;
	color: var(--ab-violet) !important;
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Лицензия ---------- */

.ab-license-card {
	display: grid;
	grid-template-columns: 560px 1fr;
	gap: 16px;
	padding: 48px 0 0 56px;
	border: 2px solid #EDE6FD;
	border-radius: 36px;
	background: linear-gradient(141deg, #fff 0%, #F1EBFF 71%);
	box-shadow: 0 10px 28px rgba(90, 74, 154, .1);
	overflow: hidden;
}

.ab-license-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	padding-bottom: 48px;
}

.ab-license-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 22px 8px 14px;
	border-radius: 999px;
	background: var(--ab-violet-l);
	color: var(--ab-violet);
	font-size: 18px;
	font-weight: 600;
}

.ab-license-badge img {
	width: 34px;
}

.ab-license-text h2 {
	margin: 0;
	font-size: 46px;
	font-weight: 700;
	line-height: 1.12;
	text-transform: none;
	color: var(--ab-text);
}

.ab-license-text h2 span {
	color: var(--ab-orange);
}

.ab-license-lead {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.4;
	color: #6B6880;
}

.ab-license-number {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	padding: 18px 24px;
	border-radius: 22px;
	background: var(--ab-violet-l);
}

.ab-license-number svg {
	flex: 0 0 24px;
}

.ab-license-number b {
	display: block;
	font-size: 21px;
	font-weight: 700;
}

.ab-license-number span {
	display: block;
	margin-top: 4px;
	color: #6B6880;
	font-size: 15px;
}

.ab-license-issued {
	font-size: 14px;
	line-height: 1.4;
	color: #8A8799;
}

.ab-license-note {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 400px;
	font-size: 15px;
	color: #6B6880;
}

.ab-license-note svg {
	flex: 0 0 22px;
}

.ab-license-visual {
	position: relative;
	min-height: 560px;
	align-self: stretch;
}


.ab-license-img {
	position: absolute;
	left: 30px;
	top: 40px; /* документ уходит за нижний край карточки и обрезается им, без отступа снизу */
	width: 564px;
	max-width: none !important;
}

/* ---------- Мы в СМИ ---------- */

.ab-media-card {
	display: flex !important;
	flex-direction: column;
	flex: 0 0 372px;
	width: 372px;
	min-height: 463px;
	padding: 16px;
	border-radius: var(--ab-radius);
	background: #fff;
}

.ab-media-logo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	margin-bottom: 14px;
	padding-bottom: 50px;
	border-radius: 24px;
	background: #F3F0FE;
}

.ab-media-logo img {
	max-width: 80%;
	height: auto;
	mix-blend-mode: multiply;
}

.ab-media-name {
	font-size: 26px;
	font-weight: 700;
	color: var(--ab-text);
}

.ab-media-link {
	position: absolute;
	right: 12px;
	bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px;
	border-radius: 16px;
	background: #fff;
	color: var(--ab-text) !important;
	font-size: 15px;
	font-weight: 600;
	transition: color .2s;
}

.ab-media-link:hover {
	color: var(--ab-violet) !important;
}

.ab-media-card time {
	padding: 0 8px;
	color: var(--ab-muted);
	font-size: 15px;
}

.ab-media-card h3 {
	margin: 10px 0 !important;
	padding: 0 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.ab-media-card p {
	padding: 0 8px 8px;
	color: var(--ab-muted);
	font-size: 15px;
	line-height: 1.45;
}

/* ---------- Отзывы (Widster) ---------- */

.ab-widster {
	max-width: 1200px;
	margin: 0 auto;
}

.ab-widster > div:empty {
	min-height: 1px;
}

/* ---------- FAQ ---------- */

.ab-faq .ab-container {
	max-width: 1040px;
}

.ab-faq-list .faq-item {
	margin: 0 0 10px;
	padding: 0;
	border-radius: 18px;
	background: #fff;
	cursor: pointer;
}

.ab-faq-list .faq-question {
	position: relative;
	margin: 0;
	padding: 14px 62px 14px 20px;
	color: #2B2D38;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
}

.ab-faq-list .faq-question::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: #D9DBE3;
	color: #4A4C5C;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	transition: transform .2s;
}

.ab-faq-list .faq-item.active .faq-question::after {
	transform: translateY(-50%) rotate(45deg);
}

.ab-faq-list .faq-answer {
	display: none;
	padding: 0 20px 18px;
	color: #44465A;
	font-size: 16px;
	line-height: 1.6;
}

.ab-faq.ab-section {
	padding-bottom: 96px;
}

/* ---------- Присоединяйтесь ---------- */

.ab-join.ab-section {
	padding: 40px 0 88px;
}

.ab-join .ab-h2 {
	margin-bottom: 24px;
}

.ab-join .ab-intro {
	max-width: 760px;
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 20px;
	line-height: 1.4;
}

.ab-join-links {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.ab-join-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 288px;
	height: 68px;
	border-radius: 34px;
	color: #fff !important;
	font-size: 21px;
	font-weight: 600;
	transition: transform .2s;
}

.ab-join-links a:hover {
	transform: translateY(-2px);
}

.ab-join-vk {
	background: #0077FF;
	box-shadow: 0 8px 10px rgba(0, 119, 255, .32);
}

.ab-join-max {
	background: linear-gradient(90deg, #33B5FF 0%, #5B4CF0 55%, #A238E0 100%);
	box-shadow: 0 8px 10px rgba(91, 76, 240, .32);
}

.ab-join-tg {
	background: #27A7E7;
	box-shadow: 0 8px 10px rgba(39, 167, 231, .32);
}

/* =========================================================================
 * Ноутбук 992–1239
 * ====================================================================== */

@media screen and (max-width: 1239px) {
	.ab-history-body {
		grid-template-columns: 1.6fr 1fr;
	}

	.ab-pillars-grid {
		grid-template-columns: 1fr 320px 1fr;
	}

	.ab-pillar {
		padding-right: 150px;
	}

	.ab-pillar-img {
		width: 130px !important;
		right: 14px !important;
	}

	.ab-methodist-photo {
		width: 300px;
	}

	.ab-awards-top {
		grid-template-columns: 1.3fr 1fr;
	}

	.ab-science-card {
		grid-template-columns: 1fr 1fr;
	}

	.ab-science-img {
		width: 110%;
	}

	.ab-license-card {
		grid-template-columns: 1fr 1fr;
	}

	.ab-license-img {
		width: 480px;
	}
}

@media screen and (max-width: 1199px) {
	.ab-hero-main {
		padding-left: 40px;
	}

	.ab-hero-photo {
		left: auto;
		right: 20px;
		top: 150px;
		width: 520px;
	}

	.ab-trust {
		padding: 0 32px !important;
	}

	.ab-trust li + li::after {
		left: -14px;
	}

	.ab-trust-num {
		font-size: 22px;
	}

	.ab-trust-license span,
	.ab-trust-sk span {
		font-size: 14px;
	}
}

/* =========================================================================
 * Планшет 744–991 (макет 720)
 * ====================================================================== */

@media screen and (max-width: 991px) {
	.ab-container {
		padding: 0 24px;
	}

	.ab-section {
		padding: 40px 0;
	}

	.ab-h2 {
		font-size: 34px;
		margin-bottom: 24px;
	}

	.ab-h2-sm {
		font-size: 28px;
	}

	.ab-intro {
		margin-top: 0;
		margin-bottom: 24px;
		font-size: 17px;
	}

	/* Первый экран */
	.ab-hero {
		padding: 0 24px;
	}

	.ab-hero-card {
		margin-top: 0;
		border-radius: 32px;
		background: #fff;
	}

	.ab-hero-main {
		display: flex;
		flex-direction: column;
		height: auto;
		padding: 32px 32px 0;
		border-radius: 32px;
		background: linear-gradient(180deg, #AE92FD 0%, #A68AF5 100%);
	}

	.ab-hero-text {
		max-width: none;
	}

	.ab-hero h1 {
		font-size: 48px;
	}

	.ab-hero-subtitle {
		max-width: 520px;
	}

	.ab-hero-pills {
		position: static;
		margin-top: 28px;
	}

	.ab-hero-photo {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
		align-self: center;
		width: 520px;
		margin: 8px 0 -4px;
	}

	.ab-trust {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px 28px;
		height: auto;
		padding: 18px 20px !important;
	}

	.ab-trust li + li::after {
		left: -18px;
		height: 40px;
	}

	/* История */
	.ab-history-body {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ab-history-story,
	.ab-timeline {
		padding: 32px;
	}

	.ab-timeline li {
		padding-bottom: 32px;
	}

	/* Опоры */
	.ab-pillars-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.ab-pillar-1 { grid-area: 1 / 1; }
	.ab-pillar-2 { grid-area: 1 / 2; }
	.ab-pillar-3 { grid-area: 2 / 1; }
	.ab-pillar-4 { grid-area: 2 / 2; }

	.ab-pillar {
		min-height: 0;
		padding: 28px 24px;
	}

	.ab-pillar-sparkle {
		display: none;
	}

	.ab-pillar-img {
		top: 24px;
		right: 20px !important;
		width: 84px !important;
		transform: none;
	}

	.ab-pillar h3 {
		padding-right: 96px;
		font-size: 24px;
	}

	.ab-pillar h3,
	.ab-pillar > p {
		max-width: none;
	}

	.ab-methodist {
		grid-area: 3 / 1 / 4 / 3;
		flex-direction: row;
		align-items: stretch;
	}

	.ab-methodist-photo {
		flex: 0 0 260px;
		width: 260px;
		margin: auto 0 0 8px;
	}

	.ab-methodist-quote {
		margin: 8px 8px 8px 0;
	}

	/* Эксперты, СМИ */
	.ab-expert,
	.ab-media-card {
		flex-basis: 300px;
		width: 300px;
	}

	.ab-expert-photo {
		height: 240px;
	}

	.ab-media-logo img {
		max-width: 75%;
	}

	/* Форматы */
	.ab-formats-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ab-format-school .ab-btn {
		margin-bottom: 0;
	}

	/* Технологии */
	.ab-tech-body {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ab-tech-stat {
		flex-direction: row;
		align-items: center;
		gap: 28px;
		padding: 32px;
		background: linear-gradient(158deg, #B99EFF 0%, #7B57E6 71%);
	}

	.ab-tech-stat-text {
		flex: 0 0 230px;
	}

	.ab-tech-num-text {
		margin-bottom: 0 !important;
	}

	.ab-tech-panel {
		flex: 1;
		min-width: 0;
		margin-top: 0;
		padding: 16px 20px;
	}

	.ab-tech-panel-head {
		min-height: 0;
	}

	.ab-tech-text {
		padding: 32px 36px;
	}

	.ab-tech-text .ab-label {
		align-self: stretch;
	}

	.ab-tech-text {
		padding: 32px;
		font-size: 17px;
	}

	.ab-investor {
		flex-direction: column-reverse;
		gap: 24px;
		padding: 32px;
	}

	.ab-investor-author {
		display: grid;
		grid-template-columns: 112px 1fr;
		grid-template-rows: auto 1fr;
		column-gap: 18px;
		flex-basis: auto;
	}

	.ab-investor-photo {
		grid-row: 1 / 3;
		width: 120px;
		margin: -4px;
	}

	.ab-investor blockquote {
		font-size: 17px;
	}

	/* Награды */
	.ab-awards-top {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ab-awards-main {
		height: auto;
		aspect-ratio: 671 / 424;
	}

	.ab-awards-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.ab-award-text b {
		font-size: 18px;
	}

	.ab-awards-photos {
		grid-template-columns: 1fr 1fr;
	}

	.ab-awards-photos img {
		height: auto;
		aspect-ratio: 292 / 156;
	}

	/* Наука */
	.ab-science-card {
		grid-template-columns: 1fr;
	}

	.ab-science-text {
		padding: 32px;
	}

	/* фиолетовый блок на всю ширину карточки и до её низа, как в макете планшета */
	.ab-science-visual {
		min-height: 0;
		aspect-ratio: 672 / 470;
		margin: 0;
		border-radius: 40px 40px 0 0;
	}

	.ab-science-img {
		left: 50%;
		top: 0;
		width: 88%;
		transform: translateX(-50%);
	}

	.ab-science-note {
		left: 24px;
		right: 24px;
		bottom: 24px;
	}

	/* Лицензия */
	.ab-license-card {
		grid-template-columns: 1fr;
		padding: 32px 32px 0;
	}

	.ab-license-text {
		padding-bottom: 0;
	}

	/* на планшете и мобайле документ целиком, с отступом снизу (как в макете) */
	.ab-license-img {
		position: relative;
		display: block;
		height: auto;
	}

	.ab-license-text h2 {
		font-size: 38px;
	}

	.ab-license-visual {
		min-height: 0;
		height: auto;
		margin-top: 8px;
		padding-bottom: 40px;
	}


	.ab-license-img {
		left: auto;
		top: auto;
		width: 72%;
		margin: 0 auto;
		transform: none;
	}

	/* FAQ, соцсети */
	.ab-faq.ab-section {
		padding-bottom: 56px;
	}

	.ab-join-links {
		flex-wrap: wrap;
		gap: 14px;
	}

	.ab-join-links a {
		width: 200px;
		height: 60px;
		font-size: 19px;
	}
}

/* =========================================================================
 * Мобайл ≤743 (макет 375)
 * ====================================================================== */

@media screen and (max-width: 743px) {
	.ab-container {
		padding: 0 16px;
	}

	.ab-section {
		padding: 32px 0;
	}

	.ab-h2,
	.ab-h2-sm {
		font-size: 24px;
		line-height: 1.15;
		margin-bottom: 20px;
	}

	.ab-intro {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.ab-page {
		--ab-radius: 24px;
	}

	/* Первый экран */
	.ab-hero {
		padding: 0 16px;
	}

	.ab-hero-main {
		padding: 24px 20px 0;
	}

	.ab-hero .breadcrumb {
		margin-bottom: 16px;
		font-size: 14px;
	}

	.ab-hero h1 {
		font-size: 32px;
		white-space: normal;
	}

	.ab-hero-subtitle {
		margin-top: 16px !important;
		font-size: 17px;
	}

	.ab-hero-pills {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-top: 20px;
	}

	.ab-hero-pill {
		height: 56px;
		padding-right: 20px;
	}

	.ab-hero-pill-icon {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
	}

	.ab-hero-pill b {
		font-size: 32px;
	}

	.ab-hero-pill > span:last-child {
		font-size: 14px;
	}

	.ab-hero-photo {
		width: 100%;
		max-width: 360px;
		margin-top: 12px;
	}

	.ab-trust {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 0;
		padding: 12px 10px !important;
	}

	.ab-trust li {
		gap: 4px;
	}

	.ab-trust a {
		gap: 4px;
	}

	.ab-trust li + li::after {
		display: none;
	}

	.ab-trust-license img {
		width: 22px;
	}

	.ab-trust-license span,
	.ab-trust-sk span {
		max-width: 64px;
		font-size: 8px;
	}

	.ab-trust-sk img {
		width: 20px;
		border-radius: 4px;
	}

	.ab-trust-num {
		gap: 2px;
		font-size: 12px;
	}

	.ab-trust-num svg {
		width: 10px;
		height: 10px;
	}

	.ab-trust li:nth-child(2) img {
		width: 40px;
	}

	.ab-trust li:nth-child(3) img {
		width: 64px;
	}

	.ab-trust-students {
		font-size: 8px;
	}

	/* История */
	.ab-history-story,
	.ab-timeline {
		padding: 24px 20px;
	}

	.ab-history-story {
		font-size: 15px;
	}

	.ab-history-lead {
		font-size: 17px;
	}

	.ab-quote {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 20px;
	}

	.ab-quote-photo {
		width: 88px;
		height: 88px;
		flex-basis: 88px;
	}

	.ab-quote blockquote {
		font-size: 15px;
	}

	.ab-timeline h3 {
		margin-bottom: 24px;
		font-size: 22px;
	}

	.ab-timeline li {
		grid-template-columns: 1fr;
		gap: 10px;
		padding-bottom: 28px;
	}

	.ab-timeline li:not(:last-child)::after {
		content: none;
	}

	.ab-timeline p {
		font-size: 15px;
	}

	/* Опоры */
	.ab-pillars-grid {
		grid-template-columns: 1fr;
	}

	.ab-pillar-1,
	.ab-pillar-2,
	.ab-pillar-3,
	.ab-pillar-4 {
		grid-area: auto;
	}

	.ab-pillar {
		padding: 24px 20px;
	}

	.ab-pillar-num {
		font-size: 22px;
	}

	.ab-pillar h3 {
		margin: 12px 0 8px;
		padding-right: 72px;
		font-size: 22px;
	}

	.ab-pillar-img {
		top: 18px;
		width: 64px !important;
	}

	.ab-methodist {
		grid-area: auto;
		flex-direction: column;
	}

	.ab-methodist-photo {
		flex: none;
		width: 220px;
		margin: 16px auto 0;
	}

	.ab-methodist-quote {
		margin: -24px 6px 6px;
		padding: 20px;
	}

	.ab-methodist blockquote {
		font-size: 16px;
	}

	/* Эксперты, СМИ */
	.ab-expert,
	.ab-media-card {
		flex-basis: 300px;
		width: 300px;
	}

	.ab-media-card {
		min-height: 0;
	}

	.ab-media-logo {
		height: 170px;
	}

	.ab-media-logo img {
		max-width: 70%;
	}

	.ab-media-card h3 {
		font-size: 18px;
	}

	.ab-expert h3 {
		font-size: 20px;
	}

	.ab-expert-docs-list img {
		height: 120px;
	}

	.ab-arrows {
		margin-top: 20px;
	}

	/* Форматы */
	.ab-format {
		padding: 24px 20px 28px;
	}

	.ab-format h3 {
		font-size: 26px;
	}

	.ab-checklist li {
		font-size: 15px;
	}

	.ab-stores {
		gap: 14px;
		flex-wrap: wrap;
	}

	/* Технологии */
	.ab-tech-stat {
		padding: 28px 20px 20px;
	}

	.ab-tech-num {
		font-size: 56px;
	}

	.ab-tech-text {
		padding: 24px 20px;
		font-size: 15px;
		gap: 14px;
	}

	.ab-tech-text h3 {
		font-size: 24px;
	}

	.ab-investor {
		padding: 24px 20px;
	}

	.ab-investor blockquote {
		font-size: 15px;
	}

	.ab-investor blockquote p + p {
		margin-top: 18px;
	}

	.ab-investor-author {
		grid-template-columns: 88px 1fr;
	}

	.ab-investor-photo {
		width: 96px;
	}

	.ab-investor-author span {
		font-size: 13px;
	}

	/* Награды */
	.ab-awards-list {
		grid-template-columns: 1fr;
	}

	.ab-awards-list li {
		gap: 14px;
		padding: 8px 10px;
	}

	.ab-award-logo {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
		margin-right: 14px;
	}

	.ab-award-logo::after {
		right: -15px;
		height: 48px;
	}

	.ab-award-logo img {
		width: 60px;
		height: 60px;
	}

	.ab-awards-photos {
		gap: 10px;
	}

	.ab-awards-photos img {
		border-radius: 16px;
	}

	/* Наука */
	.ab-science-text {
		padding: 24px 20px;
		font-size: 15px;
		gap: 14px;
	}

	.ab-science-text h3 {
		font-size: 24px;
	}

	.ab-science-point {
		align-items: flex-start;
	}

	.ab-science-icon {
		flex-basis: 48px;
		height: 48px;
	}

	.ab-science-download {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 8px;
	}

	.ab-science-download p {
		max-width: none;
	}

	.ab-science-visual {
		aspect-ratio: 343 / 400;
		border-radius: 28px 28px 0 0;
	}

	.ab-science-img {
		top: 4%;
		width: 110%;
	}

	.ab-science-note {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 12px 16px;
	}

	.ab-science-note a {
		font-size: 14px;
	}

	/* Лицензия */
	.ab-license-card {
		padding: 24px 20px 0;
		border-radius: 28px;
	}

	.ab-license-text {
		gap: 18px;
	}

	.ab-license-badge {
		font-size: 15px;
	}

	.ab-license-text h2 {
		font-size: 28px;
	}

	.ab-license-lead {
		font-size: 16px;
	}

	.ab-license-number {
		padding: 16px;
	}

	.ab-license-number b {
		font-size: 17px;
	}

	.ab-license-text .ab-btn-outline {
		width: 100%;
	}

	.ab-license-visual {
		padding-bottom: 24px;
	}

	.ab-license-img {
		width: 100%;
	}

	/* FAQ */
	.ab-faq-list .faq-question {
		padding: 14px 52px 14px 16px;
		font-size: 16px;
	}

	.ab-faq-list .faq-question::after {
		right: 16px;
	}

	.ab-faq-list .faq-answer {
		padding: 0 16px 16px;
		font-size: 15px;
	}

	/* Соцсети */
	.ab-join .ab-intro {
		font-size: 16px;
	}

	.ab-join-links {
		flex-direction: column;
		align-items: stretch;
	}

	.ab-join-links a {
		width: 100%;
	}
}

/* =========================================================================
 * «Похожие страницы» (общий блок из футера) — вид по макету, только на этой странице
 * ====================================================================== */

.page-template-template-about-new .seo-links-wrap {
	padding: 24px 0 64px;
}

.page-template-template-about-new .seo-links-wrap .seo-links-title {
	margin-bottom: 32px;
	color: #2B2D38;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.page-template-template-about-new .seo-links-wrap .seo-links {
	justify-content: center;
	gap: 10px;
}

.page-template-template-about-new .seo-links-wrap .seo-links a,
.page-template-template-about-new .seo-links-wrap .seo-links .seo-links-current {
	padding: 10px 18px;
	border: 0;
	border-radius: 100px;
	background: #DDE1EC;
	color: #5C5F73;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.page-template-template-about-new .seo-links-wrap .seo-links a:hover {
	background: #CFD4E4;
	color: #2B2D38;
}

.page-template-template-about-new .seo-links-wrap .seo-links .seo-links-current {
	background: transparent;
	box-shadow: inset 0 0 0 1px #DDE1EC;
}

.page-template-template-about-new .seo-links-wrap .seo-links #seo-links-show-more {
	background: transparent;
	color: #7B4DE8;
}

.page-template-template-about-new .seo-links-wrap .seo-links #seo-links-show-more:hover {
	color: #5B2FD0;
	text-decoration: underline;
}

@media screen and (max-width: 991px) {
	.page-template-template-about-new .seo-links-wrap .seo-links-title {
		font-size: 34px;
		margin-bottom: 24px;
	}
}

@media screen and (max-width: 743px) {
	.page-template-template-about-new .seo-links-wrap {
		padding: 16px 0 40px;
	}

	.page-template-template-about-new .seo-links-wrap .seo-links-title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.page-template-template-about-new .seo-links-wrap .seo-links a,
	.page-template-template-about-new .seo-links-wrap .seo-links .seo-links-current {
		padding: 9px 14px;
		font-size: 14px;
	}
}

/* =========================================================================
 * Мобайл ≤743 — правки по макету 375
 * ====================================================================== */

@media screen and (max-width: 743px) {
	/* История: цитата основателя — фото по центру, текст крупнее */
	.ab-quote {
		align-items: stretch;
		gap: 24px;
		margin-top: 28px !important;
		padding: 24px 20px 28px;
	}

	.ab-quote-photo {
		align-self: center;
		flex-basis: auto;
		width: 96px;
		height: 96px;
	}

	.ab-quote blockquote {
		font-size: 17px;
		font-weight: 600;
		line-height: 1.45;
	}

	.ab-quote figcaption {
		gap: 10px;
	}

	.ab-quote figcaption b {
		font-size: 17px;
		font-weight: 700;
	}

	.ab-quote figcaption span {
		font-size: 15px;
	}

	/* Опоры: фото методиста в круге с белой рамкой, панель цитаты ниже фото */
	.ab-methodist {
		background: #DCD0FB;
	}

	/* фото на белом круге 200 px, как в макете: снимок чуть крупнее круга и смещён вверх-влево */
	.ab-methodist-photo-wrap {
		position: relative;
		display: block;
		width: 200px;
		height: 200px;
		margin: 24px auto 0;
		border: 4px solid #fff;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 10px 24px rgba(123, 77, 232, .2);
		overflow: hidden;
	}

	.ab-methodist-photo-wrap .ab-methodist-photo {
		position: absolute;
		left: -9px;
		top: -18px;
		width: 218px;
		max-width: none;
		margin: 0;
		border-radius: 0;
		background: none;
	}

	.ab-methodist-quote {
		margin: 24px 0 0;
		padding: 20px 20px 28px;
		border-radius: 28px;
	}

	.ab-methodist blockquote {
		font-size: 17px;
		font-weight: 700;
	}

	.ab-methodist figcaption {
		font-size: 15px;
		font-weight: 500;
	}

	/* Технологии: карточка 85,5% — колонкой */
	.ab-tech-stat {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding: 28px 20px 24px;
	}

	.ab-tech-stat-text {
		flex: none;
	}

	.ab-tech-panel {
		padding: 24px 20px 20px;
	}

	.ab-tech-panel-head {
		font-size: 15px;
	}

	.ab-tech-text .ab-label {
		align-self: stretch;
	}

	/* Наука: фиолетовый блок с отступом внутри карточки, скругление со всех сторон */
	.ab-science-visual {
		aspect-ratio: 1 / .98;
		margin: 0 4px 4px;
		border-radius: 32px;
	}

	.ab-science-img {
		top: 6%;
		width: 96%;
	}

	.ab-science-download .ab-btn-outline {
		width: 100%;
	}

	/* Лицензия: документ меньше, с отступом снизу */
	.ab-license-visual {
		padding: 8px 0 32px;
	}

	.ab-license-img {
		width: 80%;
	}
}

/* =========================================================================
 * Планшет 744–991 — опоры по макету 720: 01–02, цитата методиста, 03–04
 * ====================================================================== */

@media screen and (min-width: 744px) and (max-width: 991px) {
	.ab-pillar-1 { grid-area: 1 / 1; }
	.ab-pillar-2 { grid-area: 1 / 2; }
	.ab-pillar-3 { grid-area: 3 / 1; }
	.ab-pillar-4 { grid-area: 3 / 2; }

	.ab-methodist {
		grid-area: 2 / 1 / 3 / 3;
		flex-direction: row;
		align-items: center;
		gap: 27px;
		padding: 17px 17px 17px 24px;
		background: #DCD0FB;
	}

	/* фото на белом круге 240 px; снимок крупнее круга и смещён вверх-влево, как в макете */
	.ab-methodist-photo-wrap {
		position: relative;
		display: block;
		flex: 0 0 240px;
		width: 240px;
		height: 240px;
		border: 4px solid #fff;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 10px 24px rgba(123, 77, 232, .2);
		overflow: hidden;
	}

	.ab-methodist-photo-wrap .ab-methodist-photo {
		position: absolute;
		left: -11px;
		top: -22px;
		flex: none;
		width: 262px;
		max-width: none;
		margin: 0;
		border-radius: 0;
		background: none;
	}

	.ab-methodist-quote {
		flex: 1;
		margin: 0;
		padding: 18px 32px 24px;
		border-radius: 28px;
	}

	.ab-methodist blockquote {
		font-size: 17px;
		font-weight: 700;
	}
}