/* Страница "Про школу" — доп. стили. Подключается после styles.css */

/* Intro */
.about-intro {
	margin: 22px 0 8px;
}
.about-intro__inner {
	background: #ffffff;
	border-radius: 22px;
	padding: clamp(18px, 3vw, 34px);
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}
.about-intro__title {
	margin: 0 0 10px;
	font-family: Montserrat, Inter, Arial;
	font-weight: 900;
	font-size: clamp(30px, 5.6vw, 56px);
	line-height: 1.05;
	color: #111;
}
.about-intro__text {
	font-weight: 800;
	font-size: clamp(16px, 1.8vw, 18px);
	line-height: 1.6;
	color: #222;
}
.about-intro__text p {
	margin: 10px 0;
}
.about-intro__final {
	margin-top: 12px;
	font-size: clamp(18px, 2vw, 20px);
}

/* Teachers grid */
.teachers {
	margin: 22px 0 34px;
}
.teachers__title {
	margin: 0 0 14px;
	font-family: Montserrat, Inter, Arial;
	font-weight: 900;
	font-size: clamp(26px, 4.8vw, 42px);
	line-height: 1.08;
	color: #111;
	text-wrap: balance;
}
.teachers__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.2vw, 28px);
}

/* Карточка преподавателя */
.teacher-card {
	background: #fff;
	border-radius: 22px;
	border: 4px solid #4e4cc2; /* аккуратная рамка */
	padding: clamp(12px, 1.8vw, 18px);
	box-shadow: 0 6px 18px rgba(17, 17, 17, 0.05);
}

/* Сцена с фото: постоянная высота, внутренний отступ, закругление */
.teacher-card__stage {
	background: #6f36f6; /* фирменный фон */
	border-radius: 18px;
	height: clamp(200px, 22vw, 260px); /* ПОСТОЯННАЯ высота — фото не скачут */
	padding: clamp(
		10px,
		1.4vw,
		14px
	); /* внутренний отступ, чтобы лицо не прилипало */
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* Фото: не обрезаем лица — показываем больше верхней части, сохраняем пропорции */
.teacher-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* НЕ режем кадр как cover */
	object-position: center top; /* лицо ближе к верхней части */
	filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.02)); /* лёгкая глубина */
}

/* Имя и роль */
.teacher-card__name {
	margin: 10px 0 0;
	font-size: clamp(18px, 2.2vw, 22px);
	line-height: 1.15;
	color: #111;
	text-align: center;
}
.teacher-card__role {
	margin-top: 4px;
	text-align: center;
	font-weight: 900;
	font-size: clamp(14px, 1.8vw, 18px);
	color: #4e4cc2;
}

/* Подпись про Native Speaker */
.teachers__note {
	margin: 14px 0 0;
	text-align: center;
	font-weight: 800;
	font-size: clamp(15px, 2vw, 18px);
	color: #111;
}

/* Hover эффект */
@media (hover: hover) {
	.teacher-card {
		transition: transform 0.15s ease, box-shadow 0.15s ease;
	}
	.teacher-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
	}
}

/* Адаптив */
@media (max-width: 1024px) {
	.teachers__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.teacher-card__stage {
		height: clamp(180px, 28vw, 220px);
	} /* немного компактнее */
}
@media (max-width: 560px) {
	.teachers__grid {
		grid-template-columns: 1fr;
	}
	.teacher-card {
		border-width: 3px;
		border-radius: 18px;
	}
	.teacher-card__stage {
		height: clamp(160px, 42vw, 200px);
		padding: clamp(8px, 2vw, 12px);
	}
	.teacher-card__name {
		font-size: clamp(17px, 4.6vw, 20px);
	}
	.teacher-card__role {
		font-size: clamp(13px, 4vw, 16px);
	}
}

/* Футер берется из styles.css: .footer, .footer__inner, .footer__text */
