/* ===================== TRAINER PROFILE =====================
   Токены pinklates (из stile-token.md):
   --c-accent: #A63E51   --c-text: #2C2A20
   Жёлтый (контактная карточка): #FFD93D
   Скругления: 3/5/10/50px + 20px для крупных блоков
   ============================================================ */

.trainer-profile {
	padding: 140px 0 100px;
	background: #fff;
}

.trainer-profile__layout {
	display: grid;
	grid-template-columns: 35fr 65fr;
	gap: 50px;
	align-items: start;
}

/* ============ ЛЕВАЯ КОЛОНКА ============ */

.trainer-profile__sidebar {
	display: flex;
	flex-direction: column;
	gap: 30px;
	position: sticky;
	top: 110px;
}

.trainer-photo {
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 20px;
	background: #fff7f5;
	box-shadow: 0 12px 28px rgba(166, 62, 81, 0.15), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.trainer-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Карточка «Contact details» (фирменный акцент — как .phone-cta) */
.contact-card {
	background: #F8B4C0;
	border-radius: 20px;
	padding: 35px 30px;
	color: #1F1F1F;
}
.contact-card .contact-card__title {
	color: #1F1F1F;
	border-bottom-color: rgba(31, 31, 31, 0.15);
}
.contact-card .contact-card__label {
	color: #1F1F1F;
}
.contact-card .contact-card__value {
	color: rgba(31, 31, 31, 0.75);
}
.contact-card .contact-card__value:hover {
	color: #1F1F1F;
}

.contact-card__title {
	margin: 0 0 20px;
	font-family: 'Comfortaa', sans-serif;
	font-size: 21px;
	font-weight: 700;
	color: #1F1F1F;
	line-height: 1.2;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 20px;
}

.contact-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.contact-card__item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.contact-card__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(166, 62, 81, 0.25);
	border: 1px solid #A63E51;
	color: #A63E51;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.contact-card__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.contact-card__label {
	font-size: 16px;
	font-weight: 700;
	color: #1F1F1F;
	line-height: 1.2;
}

.contact-card__value {
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.3;
	opacity: 0.85;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.contact-card__value:hover {
	opacity: 1;
	color: #FFFFFF;
}

/* ============ ПРАВАЯ КОЛОНКА ============ */

.trainer-profile__main {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.trainer-section {
	margin-bottom: 50px;
}

.trainer-section__heading {
	margin: 0 0 22px;
	font-family: 'Comfortaa', sans-serif;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 700;
	color: #1F1F1F;
	line-height: 1.15;
}

.trainer-section__text {
	margin: 0;
	font-family: 'Comfortaa', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #9A9A9A;
	line-height: 1.6;
}

/* Карточка-акцент с фото и 6 фичами */
.features-card {
	position: relative;
	aspect-ratio: 16 / 7;
	border-radius: 20px;
	overflow: hidden;
	background: #2C2A20 url('../img/studio-bg.jpg') center / cover no-repeat;
	margin: 10px 0 60px;
	display: flex;
	align-items: flex-end;
}

.features-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
	z-index: 1;
}

.features-card__list {
	position: relative;
	z-index: 2;
	list-style: none;
	margin: 0;
	padding: 35px 40px;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 25px;
	row-gap: 14px;
}

.features-card__item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-family: 'Comfortaa', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
}

.features-card__check {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #FFD93D;
	color: #1F1F1F;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

/* Образование и квалификация */
.trainer-edu__group-title {
	margin: 30px 0 12px;
	font-family: 'Comfortaa', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #1F1F1F;
	line-height: 1.3;
}
.trainer-edu__group-title:first-of-type:not(.trainer-services__title) {
	margin-top: 0;
}
.trainer-edu__caption {
	margin: 14px 0 10px;
	font-family: 'Comfortaa', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #2C2A20;
	line-height: 1.4;
}
.trainer-edu__list {
	margin: 0 0 12px;
	padding-left: 22px;
	list-style: disc;
	font-family: 'Comfortaa', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #2C2A20;
	line-height: 1.6;
}
.trainer-edu__list li {
	margin-bottom: 6px;
	padding-left: 4px;
}
.trainer-edu__list li::marker {
	color: var(--c-accent, #A63E51);
}

/* Направления работы — выделенный акцентный блок */
.trainer-services__title {
	margin: 75px 0 28px;
	padding: 16px 22px;
	background: linear-gradient(135deg, rgba(166, 62, 81, 0.08), rgba(166, 62, 81, 0.16));
	border-left: 4px solid var(--c-accent, #A63E51);
	border-radius: 8px;
	font-size: 19px;
	color: var(--c-accent, #A63E51);
}
.trainer-services__list {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 18px;
	font-family: 'Comfortaa', sans-serif;
	font-size: 15px;
	color: #2C2A20;
}
.trainer-services__list li {
	padding: 14px 16px 14px 44px;
	background: #FFFFFF;
	border: 1px solid rgba(166, 62, 81, 0.18);
	border-radius: 10px;
	position: relative;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.trainer-services__list li::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 16px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c-accent, #A63E51);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-position: center;
}
.trainer-services__list li:hover {
	border-color: var(--c-accent, #A63E51);
	box-shadow: 0 4px 12px rgba(166, 62, 81, 0.12);
}
@media (max-width: 640px) {
	.trainer-services__list {
		grid-template-columns: 1fr;
	}
}

/* Контейнер виджета расписания */
.schedule-widget-container {
	min-height: 480px;
	border-radius: 20px;
	background: #f5f5f5;
	border: 1px dashed rgba(166, 62, 81, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
}

.schedule-widget-container::before {
	content: 'Здесь будет виджет расписания';
	color: #9A9A9A;
	font-family: 'Comfortaa', sans-serif;
	font-size: 14px;
}

/* ============ АДАПТИВ ============ */

@media (max-width: 1024px) {
	.trainer-profile__layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.trainer-profile__sidebar {
		position: static;
		max-width: 480px;
		margin: 0 auto;
		width: 100%;
	}
	.features-card__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.trainer-profile {
		padding: 110px 0 70px;
	}
	.trainer-photo {
		max-width: 360px;
		margin: 0 auto;
	}
	.features-card__list {
		grid-template-columns: 1fr;
		padding: 25px 20px;
	}
	.features-card__item {
		font-size: 14px;
	}
	.contact-card {
		padding: 25px 20px;
	}
}

/* ============ ACCESSIBILITY ============ */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.trainer-profile *,
	.trainer-profile *::before,
	.trainer-profile *::after {
		transition: none !important;
		animation: none !important;
	}
}