

/* -Шалом- */

/* Контент табов: на десктопе в ряд, на узких экранах — колонка без горизонтального скролла */
.tabs-content-wrap {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	gap: 0;
	box-sizing: border-box;
}

.tabs_row {
    padding: 20px 0 48px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg_grey .two h2 {
	margin-bottom: 0;
}

.bg_grey .two .promo-title {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(var(--savewave-rgb), 0.1), rgba(var(--savewave-rgb), 0.04));
	box-shadow: 0 10px 28px rgba(var(--savewave-rgb), 0.12);
}

.bg_grey .two .promo-title span {
	color: #4c1d95;
	font-weight: 700;
}

/* Тумблер выбора тарифа */
.subscription-toggle-wrap {
	width: 100%;
	max-width: 480px;
	margin: 0 auto 32px;
	padding: 0 8px;
	box-sizing: border-box;
}

.subscription-toggle {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
	gap: 0;
	background: linear-gradient(165deg, #eef1fc 0%, #e2e8f8 50%, #dce4f6 100%);
	border-radius: 999px;
	border: 1px solid rgba(var(--savewave-rgb), 0.16);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		inset 0 -1px 0 rgba(var(--savewave-rgb), 0.06),
		0 4px 20px rgba(var(--savewave-rgb), 0.08);
}

.subscription-toggle__slider {
	position: absolute;
	top: 5px;
	left: 5px;
	width: calc(50% - 7.5px);
	height: calc(100% - 10px);
	border-radius: 999px;
	background: #fff;
	box-shadow:
		0 2px 12px rgba(var(--savewave-rgb), 0.22),
		0 1px 3px rgba(15, 23, 42, 0.06);
	transition: left 0.38s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
	pointer-events: none;
}

.subscription-toggle__slider.is-second {
	left: calc(50% + 2.5px);
}

.tbc_btn {
	position: relative;
	z-index: 1;
	flex: 1;
	min-width: 0;
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 14px;
	font-size: clamp(15px, 3.5vw, 18px);
	font-weight: 600;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: #64748b;
	transition: color 0.28s ease, transform 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.tbc_btn:hover:not(.active) {
	color: #475569;
}

.tbc_btn.active {
	color: #4c1d95;
	text-shadow: 0 0 20px rgba(var(--savewave-rgb), 0.15);
	background: none;
}

.tbc_btn:focus-visible {
	outline: 2px solid rgba(var(--savewave-rgb), 0.5);
	outline-offset: 2px;
}

.tabs_col_body{
	width: 990px;
	border-radius: 20px;
	box-sizing: border-box;
	padding: 25px;
	display: flex;
	flex-direction: column;
	transition: transform 0.9s ease;
	transform: translate(0px, 0px);
	justify-content: space-between;
}

.tabs_col_body h3{
	font-weight: 500;
	margin-bottom: 20px;
}

.tabs_col_body p{
	color: #989CA2;
}

.tabs_col_all {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	margin-bottom: 50px;
	gap: 24px;
}

.tabs_col_block {
	width: 455px;
	min-height: 0;
	height: auto;
	display: flex;
	background: #fff;
	flex-direction: column;
	border-radius: 30px;
	box-sizing: border-box;
	padding: 22px 24px 24px;
	gap: 14px;
	border: 1px solid rgba(148, 163, 184, 0.22);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
	min-width: 0;
}

.tabs_col_block h3 {
	margin: 0 !important;
	font-size: clamp(17px, 1.65vw, 22px);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.02em;
	text-wrap: balance;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.tabs_col_block p {
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.55;
	flex: 0 1 auto;
	min-width: 0;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: none;
}


.tabs_col_block_all {
    width: 100%;
    min-height: 280px;
    height: auto;
    display: flex;
    background: #fff;
    flex-direction: column;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 30px;
    background-image: url(../img/img_2.png);
    background-size: 600px;
    background-repeat: no-repeat;
    background-position-x: right;
}

.tabs_col_block_all h2{
	font-size: 36px;
}

.tabs_col_block_text h2{
    font-size: 36px;
}

.tabs_col_block_text{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	width: 365px;
	max-width: 100%;
}

/* Кнопка CTA и юридический текст — без наложений */
.tabs_col_block_text .btn {
	width: 100%;
	max-width: 300px;
	min-height: 52px;
	height: auto;
	padding: 14px 22px;
	box-sizing: border-box;
	margin: 0;
	align-self: flex-start;
	white-space: normal;
	text-align: center;
	line-height: 1.35;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tabs_col_block_text .btn:hover {
	animation: none;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(var(--savewave-rgb), 0.35);
}

.tabs_col_block_text .mb_10 {
	margin-top: 0;
	padding-top: 14px;
	width: 100%;
	max-width: 100%;
	border-top: 1px solid rgba(148, 163, 184, 0.35);
	box-sizing: border-box;
}

.tabs_col_block_text .mb_10 h5 {
	margin: 0;
	line-height: 1.45;
}

.tabs_col_block--single {
	max-width: 540px;
	width: 100%;
}

/* Промо-логотипы: статичная сетка */
.tabs_col_img {
	width: 100%;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	align-items: center;
	justify-items: center;
	margin-top: 4px;
	padding-top: 4px;
	padding-bottom: 4px;
}

/* Общая «плитка» для картинок в табах (рамка + полупрозрачный оверлей) */
.tabs-media-tile {
	position: relative;
	overflow: hidden;
	cursor: default;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 6px 6px;

	/* Без рамки: только мягкий цветной слой поверх изображения */
	background: transparent;
	border: none;
	border-radius: 12px;
	box-shadow: none;
}

.tabs-media-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;

	/* Цветной полупрозрачный оверлей поверх изображения */
	background: linear-gradient(
		135deg,
		rgba(var(--savewave-rgb), 0.40) 0%,
		rgba(174, 148, 212, 0.32) 45%,
		rgba(229, 192, 224, 0.26) 100%
	);
	opacity: 1;
}

.tabs-media-tile img {
	position: relative;
	z-index: 1;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0;
	max-width: 90%;
	max-height: 90%;
}

.tabs_col_img .tabs-media-tile {
	width: 100%;
	aspect-ratio: 1;
	padding: 0;
}

/* Превью уроков: статичная сетка 2 шт */
.tabs_col_img2 {
	width: 100%;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: center;
	justify-items: center;
	margin-top: 4px;
	padding-top: 4px;
	padding-bottom: 4px;
}

.tabs_col_img2 .tabs-media-tile {
	width: 100%;
	aspect-ratio: 200 / 110;
	border-radius: 12px;
	background: transparent;
	padding: 0;
}

.tabs_col_img2 .tabs-media-tile img {
	max-width: none;
	max-height: none;
	width: 100%;
	height: 100%;
}

/* Текст сверху, превью прижаты к низу карточки при одинаковой высоте колонок */
.tabs_col_block .tabs_col_img,
.tabs_col_block .tabs_col_img2 {
	margin-top: auto;
}

.tabs_col_body h2{
	font-size: 32px;
	font-weight: 500;
	margin-bottom: 20px;
}

.tabs_col_body p{
	margin-bottom: 20px;
}

.tabs_col_body span{
	font-weight: 500;
	color: transparent;    
	-webkit-background-clip: text;
	background-clip: text;
	background-image: linear-gradient(85.51deg, var(--savewave-primary) -25.07%, var(--savewave-secondary) 58.03%, var(--savewave-accent) 105.71%);
}

.input_tabs{
	width: 100%;
	height: 64px;
	border: 1px solid #E1EAF9;
	border-radius: 6px;
	padding: 15px;
	display: flex;
	box-sizing: border-box;
	font-size: 18px;
	color: #ACB7C8;
}

.tabs_btn {
    width: 100%;
    height: 65px;
    display: flex;
    background: linear-gradient(85.51deg, var(--savewave-primary) -25.07%, var(--savewave-secondary) 58.03%, var(--savewave-accent) 105.71%);
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    transition: 0.8s ease;
}

.tabs_btn:hover{
	color: #303844;
	background: linear-gradient(85.51deg, var(--savewave-primary) -5.07%, var(--savewave-secondary) 58.03%, var(--savewave-accent) 95.71%);
}

.tabs_btn:disabled{
	color: #fff;
	background: #E6EAF0;
	cursor: default;
}

.none {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    height: 0px;
    width: 0px;
    padding: 0px;
    transform: translate(50%, 0px);
}

.mb_10{
	margin-top: 15px;
	display: flex;
	width: 100%;
	flex-direction: row;
}

.mb_10 h5{
	font-size: 12px;
	width: 100%;
}

.mb_10 span{
	font-weight: 400;
}

.checkbox{
	width: 15px;
	height: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F5F7FA;
	border-radius: 3px;
	cursor: pointer;
	margin-right: 5px;
}

.checked{
	width: 9px;
	height: 9px;
	background: linear-gradient(85.51deg, var(--savewave-primary) -25.07%, var(--savewave-secondary) 58.03%, var(--savewave-accent) 105.71%);
	display: none;
	border-radius: 2px;
}

.checkbox.check .checked{
	display: flex;
}


@media (max-width: 990px){

.tabs-content-wrap {
    flex-direction: column;
    align-items: stretch;
}

.tabs_col_body {
    width: 100%;
}	

.tabs_col_all {
    flex-direction: column;
    margin-bottom: 0px;
}

.tabs_col_block {
    margin-bottom: 35px;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    min-height: 0;
}

.tabs_col_block_all {
    background-image: none;
}

#blockWidth {
    width: 100% !important;
    max-width: 100%;
}

/* Карточки в табах (две иконки ниже): центрирование на планшетах/мобиле */
.tabs_col_body .three_column {
	align-items: center;
}

.tabs_col_body .three_min {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
}

.tabs_col_body .three_min img {
	margin-right: 0;
	margin-bottom: 12px;
}

.tabs_col_body .three_min h5 {
	text-align: center;
	margin: 0;
}


}

/* img_4 / img_5 в блоке выбора тарифа: на мобильных скрыты — те же карточки ниже в секции «шаги» */
@media (max-width: 767px) {
	#amedia .subscription-tier-cards {
		display: none !important;
	}
}

@media (max-width: 550px){

.subscription-toggle-wrap {
	padding: 0 4px;
	margin-bottom: 24px;
}

.tbc_btn {
	min-height: 48px;
	padding: 10px 8px;
}

.tabs_col_body {
    align-items: center;
    padding: 0px;
}

.tabs_col_block {
    width: 100%;
    height: auto;
}

.tabs_col_block_text {
    width: 100%;
    align-items: center;
    text-align: center;
}

.tabs_col_block_text .btn {
    align-self: center;
}

.tabs_col_block_text .mb_10 {
    justify-content: center;
}

.tabs_col_block_text .mb_10 h5 {
    text-align: center;
}

.tabs_col_block_all {
    height: auto;
}

.tbc_btn {
    font-size: 18px;
}

.tabs_col_block_text h2{
    font-size: calc(36px + (36 - 25) * ( (100vw - 480px) / ( 480 - 320) ));
}

.tabs_col_block {
	padding: 18px 16px 20px;
	gap: 12px;
}

.tabs_col_block h3 {
	font-size: clamp(16px, 4.2vw, 20px);
	line-height: 1.32;
}

.tabs_col_block p {
	font-size: 14px;
	line-height: 1.52;
}

/* Карточки в блоке "savewave" под табами: центрирование текста на мобайле */
.tabs_col_body .three_min {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.tabs_col_body .three_min img {
	margin-right: 0;
	margin-bottom: 12px;
}

.tabs_col_body .three_min h5 {
	text-align: center;
	margin: 0;
}

.tabs_col_img {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.tabs_col_img .tabs-media-tile {
	padding: 0;
}

.tabs_col_img2 {
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tabs_col_img2 .tabs-media-tile {
	padding: 0;
}

}











































