/* ── Feature Tabs block (Feature Card layout + Dropdown Slider tabs) ── */

.ftabs-block {
	padding: 80px 0;
}

/* ── Section header ── */

.ftabs-block__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-inline: auto;
	/* max-width: 680px; */
	margin-bottom: 70px;
}

.ftabs-block__header .section-title {
	margin: 18px 0 21px 0;
	
}

.ftabs-block__header .section-desc {
	max-width: 512px;
	margin: 0 auto;
}

/* ── Card ── */

.ftabs {
	display: grid;
	grid-template-columns: 463px 1fr;
	border-radius: 14px;
	overflow: hidden;
	min-height: 644px;
	padding: 8px;
	background-color: #B2CBE5;
	overflow: hidden;
}

/* ── Left content panel ── */

.ftabs__content {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: 6px;
	background: #fff;
}

.ftabs__title {
	margin: 0;
	color: #192023;
font-size: 44px;
font-style: normal;
font-weight: 500;
line-height: 110%; /* 48.4px */
letter-spacing: -0.66px;
}

/* Push the tabs to the bottom of the panel (matches the design) */
.ftabs__items {
	margin-top: auto;
	padding-top: 48px;
	display: flex;
	flex-direction: column;
}

/* ── Tab (accordion item) ── */

.ftabs__item {
	border-bottom: 1px solid rgba(25, 25, 25, 0.08);
	cursor: pointer;
}

.ftabs__item:last-child {
	border-bottom: 0;
}

.ftabs__item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-m, 24px);
	padding: 15px 0;
}

.ftabs__item-title {
	margin: 0;
	color: var(--Dark, #192023);
font-size: 26px;
font-style: normal;
font-weight: 500;
line-height: 124%; /* 32.24px */
letter-spacing: -0.39px;
}

/* ── Toggle icon (plus ⇄ progress ring) ── */

.ftabs__item-icon {
	flex-shrink: 0;
	position: relative;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ftabs__icon-plus svg {
	opacity: 0.5;
}

.ftabs__icon-plus,
.ftabs__icon-ring {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.ftabs__icon-plus {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

.ftabs__icon-ring {
	opacity: 0;
	transform: scale(0.4);
}

.ftabs__item.is-active .ftabs__icon-plus {
	opacity: 0;
	transform: scale(0.3) rotate(45deg);
}

.ftabs__item.is-active .ftabs__icon-ring {
	opacity: 1;
	transform: scale(1);
}

/* ── Tab content (collapsed / expanded) ── */

.ftabs__item-content {
	display: flex;
	flex-direction: column;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding-bottom: 0;
	transition:
		max-height     0.45s cubic-bezier(0.4, 0, 0.2, 1),
		opacity        0.4s  cubic-bezier(0.4, 0, 0.2, 1),
		padding-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ftabs__item.is-active .ftabs__item-content {
	opacity: 1;
	/* padding-bottom: 20px; */
}

.ftabs__item-desc {
	color: var(--color-gray-500, #807E7C);
	font-size: 16px;
	font-weight: 500;
	line-height: 140%;
	max-width: 540px;
}

.ftabs__item-desc p {
	color: var(--black, #191919);
opacity: 0.6;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 22.4px */
}

.ftabs__item-desc p + p {
	margin-top: var(--space-s, 12px);
}

/* ── Right visual panel ── */

.ftabs__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	
}

.ftabs__main-image {

}
.ftabs__visual span img{
	width: calc(100% + 16px) !important;
	height: calc(100% + 16px) !important;
	object-fit: cover !important;
	display: block !important;
	position: absolute !important;
	left: 0 !important;
	bottom:-8px !important;
	transition: opacity 0.4s ease !important;
}
.ftabs__visual span{
	width: 100% !important;
	height: 100% !important;
}
.ftabs__visual span img:nth-child(2){
	display: none !important;
}
/* ── Responsive ── */

/* Tablet: the fixed 463px left column starves the visual panel — make it
   proportional and trim the desktop-scale type/height. */
@media (min-width: 769px) and (max-width: 1024px) {
	.ftabs-block {
		padding: 70px 0;
	}
	.ftabs-block__header {
		margin-bottom: 48px;
	}
	.ftabs {
		grid-template-columns: minmax(300px, 44%) 1fr;
		min-height: 560px;
	}
	.ftabs__title {
		font-size: 34px;
		letter-spacing: -0.51px;
	}
	.ftabs__item-title {
		font-size: 22px;
		letter-spacing: -0.22px;
	}
	.ftabs__items {
		padding-top: 36px;
	}
}

@media (max-width: 768px) {
	.ftabs__visual span{
	width: 100% !important;
	height: 320px !important;
}
	.ftabs-block {
		padding: 60px 0;
	}

	.ftabs-block__header {
		margin-bottom: 40px;
	}

	.ftabs {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.ftabs__visual {
		order: -1;
		min-height: 300px;
	}

	.ftabs__content {
		padding: 24px 20px;
	}

	.ftabs__title {
font-size: 28px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 33.6px */
letter-spacing: -0.14px;
	}

	.ftabs__items {
		padding-top: 32px;
	}

	.ftabs__item-title {
		font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 130%; /* 26px */
letter-spacing: -0.1px;
	}
	.ftabs__item-desc p{
		font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 22.4px */
margin: 0 0 16px 0;
	}
	.ftabs__visual span img{
		left: -8px !important;
	}
}
