/* ABOUT (new design) — переопределяет старую секцию */

.about-new {
	padding-top: 125px;
	padding-bottom: 85px;
	margin-bottom: 0;
	background: transparent;
}

/* Сбрасываем старые декорации .about__body, если что-то осталось от style.css */
.about-new .about__body { all: unset; }

.about-new__container {
	max-width: 1232px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	box-sizing: border-box;
}

/* ---------- верхний грид: текст + картинка ---------- */
.about-new__grid {
	display: grid;
	grid-template-columns: 603px 1fr;
	gap: 24px;
	align-items: start;
}

.about-new__content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 603px;
	max-width: 100%;
}

.about-new__title {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 51px;
	letter-spacing: -0.88px;
	color: #5B5B5B;
	margin: 0;
}

.about-new__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: 'Source Serif Pro', serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 20px;
	color: #000;
}
.about-new__text p { margin: 0; }
.about-new__text b { font-weight: 700; }

.about-new__image {
	width: 100%;
	max-width: 605px;
	height: 655px;
	border-radius: 20px;
	background: #eef1f2 url('../img/about/Container.png') center/cover no-repeat;
	justify-self: end;
}

/* ---------- статистика ---------- */
.about-new__stats {
	width: 584px;
	max-width: 100%;
	margin-left: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
	padding-top: 33px;
	display: grid;
	grid-template-columns: repeat(3, 173.33px);
	column-gap: 32px;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stat__row {
	display: inline-flex;
	align-items: baseline;
	height: 40px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 40px;
	line-height: 40px;
	letter-spacing: -1.2px;
	color: #0A0A0A;
}

.stat__num {
	font-variant-numeric: tabular-nums;
	display: inline-block;
	text-align: left;
}

/* фиксируем ширину поля цифр под финальное значение,
   чтобы суффикс не "прыгал" во время анимации */
.stat--25 .stat__num   { min-width: 50px; }
.stat--1400 .stat__num { min-width: 105px; }
.stat--100 .stat__num  { min-width: 78px; }

.stat__suffix {
	display: inline-block;
}

.stat__label {
	font-family: 'Source Serif Pro', serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 18px;
	color: #717182;
}

/* ---------- "Нам доверяют" ---------- */
.trust {
	margin-top: 43px;
	text-align: center;
}

.trust__title {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 20px;
	letter-spacing: 1.95px;
	color: #5B5B5B;
	margin: 0;
}

.trust__divider {
	display: block;
	width: 48px;
	height: 1px;
	background: rgba(0, 0, 0, 0.1);
	margin: 12px auto 32px;
}

.trust__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	row-gap: 93px;
	column-gap: 24px;
	justify-items: center;
	align-items: center;
}

.trust__list li {
	font-family: 'Source Serif Pro', serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: 2.4px;
	text-align: center;
	color: rgba(10, 10, 10, 0.25);
	transition: color .35s ease, transform .35s ease;
	cursor: default;
	will-change: transform;
}
.trust__list li:hover {
	color: rgba(10, 10, 10, 1);
	transform: scale(1.08);
}

/* ---------- адаптив ---------- */
@media (max-width: 1280px) {
	.about-new__grid {
		grid-template-columns: 1fr;
	}
	.about-new__content { width: 100%; }
	.about-new__image {
		max-width: 100%;
		height: 480px;
		justify-self: stretch;
	}
}

@media (max-width: 768px) {
	.about-new__title { font-size: 34px; line-height: 40px; }
	.about-new__stats {
		width: 100%;
		margin-left: 0;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 12px;
	}
	.stat__row { font-size: 32px; line-height: 32px; height: 32px; }
	.stat--1400 .stat__num { min-width: 84px; }
	.stat--100 .stat__num  { min-width: 62px; }
	.stat--25 .stat__num   { min-width: 40px; }

	.trust__list {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 48px;
	}
	.trust__list li { font-size: 18px; line-height: 24px; letter-spacing: 1.6px; }
	.about-new__image { height: 360px; }
}

@media (max-width: 480px) {
	.about-new__stats { grid-template-columns: 1fr; row-gap: 20px; }
	.stat { align-items: center; }
	.trust__list { grid-template-columns: 1fr; row-gap: 28px; }
}

/* ===== Certificates page: spots background ===== */
.page--certificates {
	position: relative;
}
.page--certificates::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../img/certificates/spots-bg.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	z-index: 0;
	pointer-events: none;
}
.page--certificates > section,
.page--certificates > div {
	position: relative;
	z-index: 1;
}
