.block-prices-kids {
	--block-max-width: 86.5rem;
	margin-block: 3.75rem;
}

.block-prices-kids__preview {
	display: block;
	width: 100%;
	height: auto;
}

.block-prices-kids__panel {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2.5rem 1.25rem;
	border-radius: 1.5625rem;
	background-color: var(--c-brand-blue);
	color: var(--c-white);
}

.block-prices-kids__title {
	margin: 0;
	font-weight: 700;
	font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
	line-height: 120%;
	letter-spacing: -0.03em;
	text-align: center;
	color: var(--c-white);
}

.block-prices-kids__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.75rem;
}

.block-prices-kids__feature {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 130%;
}

.block-prices-kids__feature::before {
	content: "";
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	background-color: var(--c-white);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.25' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M5.5 9.2 8 11.7l4.5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='8.25' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M5.5 9.2 8 11.7l4.5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.block-prices-kids__cards {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	margin-top: 0.5rem;
}

.block-prices-kids__card {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	min-width: 0;
	padding: 2rem 1.5rem;
	border-radius: 0.9375rem;
	background-color: var(--c-white);
	color: var(--c-dark-blue);
}

.block-prices-kids__card-title {
	margin: 0;
	font-weight: 700;
	font-size: 1.625rem;
	line-height: 120%;
	letter-spacing: -0.6px;
	color: var(--c-dark-blue);
}

.block-prices-kids__card-note {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 140%;
	color: color-mix(in srgb, var(--c-dark-blue) 55%, transparent);
}

.block-prices-kids__divider {
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid color-mix(in srgb, var(--c-black) 10%, transparent);
}

.block-prices-kids__badge {
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 0.75rem;
	border-radius: 1.5625rem;
	background-color: var(--c-light);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--c-dark-blue);
}

.block-prices-kids__card-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 140%;
	color: var(--c-dark-blue);
}

.block-prices-kids__price {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: auto 0 0;
	padding-top: 1rem;
}

.block-prices-kids__price-prefix,
.block-prices-kids__price-suffix {
	font-size: 1.125rem;
	font-weight: 600;
}

.block-prices-kids__price-value {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -1px;
}

.block-prices-kids__button {
	width: 100%;
	min-height: 3.75rem;
}

.block-prices-kids__extras {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}

.block-prices-kids__extras-title {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 130%;
	text-align: center;
	color: color-mix(in srgb, var(--c-white) 80%, transparent);
}

.block-prices-kids__extras-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 2rem;
}

.block-prices-kids__extra {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 130%;
}

.block-prices-kids__extra-icon {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}

.block-prices-kids__info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 1.25rem;
	padding: 2rem 1.25rem;
	border-radius: 1.5625rem;
	background-color: var(--c-light);
	color: var(--c-dark-blue);
}

.block-prices-kids__info-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	min-width: 0;
}

.block-prices-kids__info-icon {
	width: 1.75rem;
	height: 1.75rem;
	object-fit: contain;
}

.block-prices-kids__info-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 130%;
	letter-spacing: 0;
	color: var(--c-dark-blue);
}

.block-prices-kids__info-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 140%;
	color: var(--c-dark-blue);
}

.block-prices-kids__info-text--mobile {
	display: none;
}

.block-prices-kids__info-pagination {
	display: none;
}

@media screen and (max-width: 767.98px) {
	.block-prices-kids {
		margin-bottom: 85px;
	}

	.block-prices-kids__panel {
		margin-inline: -1.25rem;
		padding: 36px 20px;
		gap: 32px;
	}

	.block-prices-kids__card {
		padding: 24px;
		gap: 0;
	}

	.block-prices-kids__card-title {
		margin-bottom: 12px;
		font-size: 32px;
		line-height: 110%;
		letter-spacing: -1px;
	}

	.block-prices-kids__card-note {
		margin-bottom: 12px;
		font-size: 14px;
		font-weight: 400;
		line-height: 130%;
		letter-spacing: 0;
		color: color-mix(in srgb, var(--c-dark-blue) 60%, transparent);
	}

	.block-prices-kids__divider {
		margin-bottom: 12px;
	}

	.block-prices-kids__badge {
		margin-bottom: 14px;
		padding: 10px 20px;
		background-color: #d9e2fa;
		font-size: 16px;
		font-weight: 600;
		line-height: 130%;
		letter-spacing: -0.6px;
		color: color-mix(in srgb, var(--c-dark-blue) 80%, transparent);
	}

	.block-prices-kids__card-text {
		margin-bottom: 20px;
		font-size: 16px;
		font-weight: 400;
		line-height: 130%;
		letter-spacing: 0;
		color: var(--c-dark-blue);
	}

	.block-prices-kids__price {
		margin: 0 0 20px;
	}

	.block-prices-kids__price-value {
		font-size: 48px;
	}

	.block-prices-kids__price-prefix,
	.block-prices-kids__price-suffix {
		font-size: 26px;
	}

	.block-prices-kids__button {
		width: 287px;
		max-width: 100%;
		height: 70px;
		min-height: 70px;
		padding: 0 50px;
		margin-inline: auto;
	}

	.block-prices-kids__title {
		max-width: 335px;
		font-weight: 700;
		font-size: 32px;
		line-height: 110%;
		letter-spacing: -1px;
	}

	.block-prices-kids__feature {
		font-size: 16px;
		font-weight: 500;
		line-height: 140%;
		letter-spacing: 0;
	}

	.block-prices-kids__extras-title {
		font-size: 16px;
		font-weight: 500;
		line-height: 130%;
		letter-spacing: 0;
		color: color-mix(in srgb, var(--c-white) 60%, transparent);
	}

	.block-prices-kids__extras-list {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.block-prices-kids__extra {
		font-size: 14px;
		font-weight: 600;
		line-height: 130%;
		letter-spacing: -0.6px;
		color: var(--c-white);
	}

	.block-prices-kids__extra-icon {
		width: 15px;
		height: 15px;
	}

	.block-prices-kids__info {
		background: none;
		padding: 0;
	}

	.block-prices-kids__info.swiper {
		display: block;
		overflow: hidden;
	}

	.block-prices-kids__info-card {
		height: 168px;
		padding: 20px;
		border-radius: 25px;
		background-color: var(--c-light);
	}

	.block-prices-kids__info-card.swiper-slide {
		height: 168px;
	}

	.block-prices-kids__info-title {
		font-size: 20px;
		font-weight: 700;
		line-height: 140%;
		letter-spacing: 0;
	}

	.block-prices-kids__info-text {
		font-size: 14px;
		line-height: 130%;
		color: color-mix(in srgb, var(--c-dark-blue) 80%, transparent);
	}

	.block-prices-kids__info-text--full {
		display: none;
	}

	.block-prices-kids__info-text--mobile {
		display: block;
	}

	.block-prices-kids__info-pagination {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 0.5rem;
		margin-top: 1.25rem;
	}

	.block-prices-kids__info-pagination-bullet {
		width: 55px;
		height: 6px;
		border-radius: 100px;
		background: var(--c-light-grey);
		opacity: 1;
		cursor: pointer;
		transition: background 0.3s ease;
	}

	.block-prices-kids__info-pagination-bullet--active {
		background: var(--c-brand-blue);
	}
}

@media screen and (min-width: 768px) {
	.block-prices-kids {
		margin-block: 5rem;
	}

	.block-prices-kids__panel {
		gap: 1.75rem;
		padding: 3.125rem 2.5rem;
	}

	.block-prices-kids__cards {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
		align-items: stretch;
	}

	.block-prices-kids__info {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
		padding: 2rem 2.5rem;
	}
}

/* Промежуточный диапазон: тарифы в один центрированный столбик,
   чтобы не сжимались в три узкие колонки и не растягивались во всю ширину. */
@media screen and (max-width: 976.98px) {
	.block-prices-kids__card {
		max-width: 675px;
	}

	.block-prices-kids__title {
		margin-inline: auto;
		text-align: center;
	}
}

@media screen and (min-width: 768px) and (max-width: 976.98px) {
	.block-prices-kids__cards {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

/* В начале сетки трёх колонок карточки самые узкие и боковые паддинги
   кнопки заставляют «Записаться в группу» переноситься на две строки.
   Кнопка растянута на ширину карточки, текст центрирует флекс,
   поэтому паддинги здесь можно безболезненно убрать. */
@media screen and (min-width: 977px) and (max-width: 1199.98px) {
	.block-prices-kids__button {
		padding-inline: 0.5rem;
	}
}

/* Промежуточные экраны: контент карточки центрируем, чтобы заголовок и текст
   не прижимались к левому краю, а держали центрирование как на 783. */
@media screen and (min-width: 395px) and (max-width: 767.98px) {
	.block-prices-kids__card {
		align-items: center;
		text-align: center;
	}

	.block-prices-kids__badge {
		align-self: center;
	}
}

@media screen and (min-width: 1280px) {
	.block-prices-kids {
		margin-bottom: 142px;
	}

	.block-prices-kids__panel {
		height: 1038px;
		padding: 80px 42px 30px;
		gap: 0;
	}

	.block-prices-kids__title {
		max-width: 948px;
		margin-inline: auto;
		margin-bottom: 32px;
		font-weight: 700;
		font-size: 56px;
		line-height: 110%;
		letter-spacing: -2px;
	}

	.block-prices-kids__features {
		margin-bottom: 60px;
	}

	.block-prices-kids__extras {
		gap: 17px;
		margin-top: 0;
	}

	.block-prices-kids__extras-title {
		font-size: 20px;
		font-weight: 500;
		line-height: 140%;
		letter-spacing: 0;
		color: color-mix(in srgb, var(--c-white) 60%, transparent);
	}

	.block-prices-kids__extra {
		font-size: 24px;
		font-weight: 600;
		line-height: 130%;
		letter-spacing: -0.6px;
		color: var(--c-white);
	}

	.block-prices-kids__cards {
		margin-bottom: 44px;
	}

	.block-prices-kids__feature {
		font-size: 20px;
		font-weight: 500;
		line-height: 140%;
		letter-spacing: 0;
	}

	.block-prices-kids__feature::before {
		width: 24px;
		height: 24px;
	}

	.block-prices-kids__cards {
		align-items: start;
	}

	.block-prices-kids__card {
		gap: 20px;
		padding: 32px;
		border-radius: 25px;
	}

	.block-prices-kids__card-title {
		max-width: 356px;
		font-size: 36px;
	}

	.block-prices-kids__price-value {
		font-size: 48px;
	}

	.block-prices-kids__price-prefix,
	.block-prices-kids__price-suffix {
		font-size: 26px;
	}

	.block-prices-kids__card:nth-child(1) {
		height: 522px;
	}

	.block-prices-kids__card:nth-child(2) {
		height: 564px;
	}

	.block-prices-kids__card:nth-child(3) {
		height: 543px;
	}

	.block-prices-kids__badge {
		padding: 10px 20px;
		background-color: #d9e2fa;
		font-size: 16px;
		font-weight: 600;
		line-height: 130%;
		letter-spacing: -0.6px;
		color: color-mix(in srgb, var(--c-dark-blue) 80%, transparent);
	}

	.block-prices-kids__card-note {
		font-size: 16px;
		font-weight: 500;
		line-height: 130%;
		letter-spacing: 0;
		color: color-mix(in srgb, var(--c-dark-blue) 60%, transparent);
	}

	.block-prices-kids__card-text {
		font-size: 16px;
		font-weight: 400;
		line-height: 139%;
		letter-spacing: 0;
		color: var(--c-dark-blue);
	}

	.block-prices-kids__info {
		width: 1300px;
		max-width: 100%;
		height: 180px;
		margin-top: 33px;
		margin-inline: auto;
		/* Макет: три равные карточки по 433px, на узких сжимаются.
		   Паддинги перенесены внутрь карточек — 433 это карточка целиком */
		grid-template-columns: repeat(3, minmax(0, 27.0625rem));
		justify-content: space-between;
		gap: 0;
		padding: 0;
	}

	.block-prices-kids__info-card {
		gap: 8px;
		padding: 20px;
	}

	.block-prices-kids__info-title {
		font-size: 20px;
		font-weight: 700;
		line-height: 140%;
		letter-spacing: 0;
	}

	.block-prices-kids__info-text {
		font-size: 16px;
		font-weight: 500;
		line-height: 140%;
		letter-spacing: 0;
		color: color-mix(in srgb, var(--c-dark-blue) 80%, transparent);
	}

	.block-prices-kids__info-card:nth-child(1) .block-prices-kids__info-icon {
		width: 35.6px;
		height: 30px;
	}

	.block-prices-kids__info-card:nth-child(2) .block-prices-kids__info-icon {
		width: 29px;
		height: 30px;
	}

	.block-prices-kids__info-card:nth-child(3) .block-prices-kids__info-icon {
		width: 35px;
		height: 30px;
	}
}
