/* ── Solutions block ── */

.solutions-block {
	padding: 160px 0 80px 0;
}

.solutions-block__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-inline: auto;
	margin-bottom: 70px;
}

/* ── Tab navigation ── */
.solutions-block .section-desc {
	max-width: 630px;
}

.solutions-block .section-title {
	margin: 18px 0 21px 0;
}

.solutions-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background-color: var(--color-off-white-100);
	border-radius: 12px;
	margin-bottom: clamp(20px, 3vw, 40px);
	padding: 8px;
	gap: 9px;
	border-radius: 14px;
	border: var(--Border-border-base, 1.2px) solid rgba(25, 25, 25, 0.04);
	background: #F1EFEC;
}

.solutions-tabs-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

.solutions-tab {
	position: relative;
	z-index: 0;
	/* creates stacking context → fill z-index:-1 stays inside */
	display: inline-flex;
	align-items: center;
	padding: clamp(8px, 1vw, 12px) clamp(14px, 1.8vw, 24px);
	border: none;
	border-radius: 8px;
	background-color: transparent;
	font-family: var(--font-base);
	font-size: var(--fs-body-s);
	font-weight: var(--fw-medium);
	color: var(--color-gray-400);
	cursor: pointer;
	white-space: nowrap;
	overflow: initial;
	transition-property: background-color, color, box-shadow;
	transition-duration: 0.2s, 0.15s, 0.2s;
	transition-timing-function: ease;

	border-radius: 8px;
	display: flex;
	padding: 12px 22px;
	justify-content: center;
	align-items: center;
	color: var(--text-subtlest, rgba(8, 8, 2, 0.45));
	text-align: center;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	/* 25.2px */
	letter-spacing: -0.09px;
	border: 1px solid rgba(25, 25, 25, 0);


}

.solutions-tab:after {
	content: '';
	display: block;
	width: 1px;
	height: 40px;
	position: absolute;
	top: 5px;
	left: calc(100% + 5px);
	background-color: #222211;
	opacity: 0.07;
}

.solutions-tab:last-child:after {
	display: none;
}

.solutions-tab .solutions-tab__fill {}

.solutions-tab.is-active,
.solutions-tab:hover {
	border-radius: 8px;
	background: rgba(255, 255, 255, 1);
	color: var(--text-base, rgba(7, 7, 3, 0.83));
	text-align: center;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	/* 25.2px */
	letter-spacing: -0.09px;
	border: 1px solid rgba(25, 25, 25, 0.04);

}


.solutions-tab__fill {
	position: absolute;
	inset: 0;
	width: 0%;
	border-radius: 8px;
	background: linear-gradient(270deg, var(--neutral-alpha-200, rgba(34, 34, 17, 0.07)) 0%, rgba(255, 255, 255, 0.00) 100%);
	pointer-events: none;
	z-index: -1;
}

/* ── Panels ── */

.solutions-panels {
	display: grid;
}

.solutions-panel {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: clamp(260px, 38%, 483px) 1fr;

	border-radius: 14px;
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
	min-height: clamp(380px, 44vw, 560px);
	padding: 8px;
	background-color: var(--panel-color, var(--color-sky-200));
}

.solutions-panel.is-active {
	visibility: visible;
	pointer-events: auto;
	z-index: 1;

}

/* ── Panel content (left) ── */

.solutions-panel__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px;
	border-radius: 6px;
	background: #FFF;
}

.solutions-panel__title {

	margin: 0;
	color: var(--Dark, #192023);

	font-size: 32px;
	font-style: normal;
	font-weight: 500;
	line-height: 130%;
	/* 41.6px */
	letter-spacing: -0.16px;
}

.solutions-panel__desc {
	font-family: var(--font-base);
	font-size: var(--fs-body-m);
	font-weight: var(--fw-regular);
	line-height: var(--lh-body-m);
	color: var(--color-gray-500);
	margin: 0;
}

.solutions-panel__desc p {
	margin: 20px 0 32px 0;
	color: var(--black, #191919);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	/* 25.2px */
	max-width: 331px;
	opacity: 0.6;
}

.solutions-panel__desc p+p {
	margin-top: var(--space-s);
}

/* Bullets */

.solutions-panel__bullets {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 1vw, 14px);
}

.solutions-panel__bullet {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

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

.solutions-panel__bullet::before {
	content: '';
	display: inline-flex;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin-top: 2px;
	background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.66667 13.3333C10.3485 13.3333 13.3333 10.3485 13.3333 6.66667C13.3333 2.98477 10.3485 0 6.66667 0C2.98477 0 0 2.98477 0 6.66667C0 10.3485 2.98477 13.3333 6.66667 13.3333ZM10.3047 4.97141L6 9.27613L3.19526 6.4714L4.13807 5.5286L6 7.39053L9.36193 4.02859L10.3047 4.97141Z' fill='%23191919'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* ── Panel visual (right) ── */

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

.solutions-panel__visual img {
	width: calc(100% + 8px);
	height: calc(100% + 16px);
	display: block;
	object-fit: cover;
	position: absolute;
	right: -8px;
	top: -8px;
}

/* ── Responsive ── */

@media (max-width: 768px) {
	.solutions-tabs {
		display: none;
	}

	.solutions-panels {
		display: flex;
		flex-direction: column;
		gap: clamp(16px, 4vw, 28px);
	}

	.solutions-panel {
		grid-area: unset;
		grid-template-columns: 1fr;
		visibility: visible;
		pointer-events: auto;
	}

	.solutions-panel__visual {
		min-height: clamp(200px, 60vw, 320px);
		order: -1;
	}

	.solutions-block {
		padding: 120px 0 60px 0;
	}

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

	.solutions-panel__title {
		font-size: 24px;
		font-style: normal;
		font-weight: 500;
		line-height: 130%;
		/* 31.2px */
		letter-spacing: -0.12px;
	}

	.solutions-panel__content {
		padding: 24px 20px;
	}

	.solutions-panel__desc p {
		margin: 20px 0 32px 0;
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 140%;
	}

	.solutions-panel__content-bot {
		margin-top: 60px;
	}

	.solutions-panel__bullet span {
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 140%;
	}

	.solutions-panel__bullet::before {
		margin-top: 3px;
	}
}

@media (min-width: 769px) and (max-height: 669px) {
	.solutions-panel {
		min-height: calc(100vh - 105px);
	}

	.solutions-tabs {
		margin-bottom: 16px;
	}

	.solutions-tab {
		font-size: 15px;
		padding: 4px 22px;
	}
}