.home-technology {
	overflow: hidden;
	position: relative;
	isolation: isolate;
	padding: 44px 0 calc(var(--section-space) + 12px);
	background: #ffffff;
}

.home-technology::before {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 50%;
	width: min(1700px, 125vw);
	height: 700px;
	background:
		linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 7%, rgba(255, 255, 255, 0.72) 16%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 70%, #ffffff 100%) center / 100% 100% no-repeat,
		linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, #ffffff 100%) center / 100% 100% no-repeat,
		url("https://vn1.vdrive.vn/cdn.diemnhangroup.com/seoulcenterclinic.vn/2026/07/technology-section-bg.webp") center top / 100% auto no-repeat;
	content: "";
	pointer-events: none;
	transform: translateX(-50%);
}

.home-technology.is-actives-active::before {
	background-color: #f3f8fe;
	background-image:
		linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 7%, rgba(255, 255, 255, 0.72) 16%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0) 70%, #ffffff 100%),
		linear-gradient(90deg, #ffffff 0%, #ffffff 7%, rgba(255, 255, 255, 0.88) 10%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.88) 90%, #ffffff 93%, #ffffff 100%),
		url("https://vn1.vdrive.vn/cdn.diemnhangroup.com/seoulcenterclinic.vn/2026/07/technology-actives-bg.jpg");
	background-position:
		center,
		center,
		calc(50% + clamp(90px, 10vw, 180px)) -120px;
	background-size:
		100% 100%,
		100% 100%,
		112% auto;
	background-blend-mode: normal, normal, multiply;
}

.home-technology > .container {
	position: relative;
	z-index: 1;
}

.home-technology__head {
	max-width: 720px;
	margin: 0 auto 18px;
	text-align: center;
}

.home-technology__head h2 {
	margin: 0;
	color: var(--color-heading);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: uppercase;
}

.home-technology__head p {
	margin: 8px 0 0;
	color: #526176;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
}

.home-technology__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 30px;
}

.home-technology__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 204px;
	min-height: 36px;
	padding: 0 22px;
	border: 1px solid #cfe0f4;
	border-radius: 7px;
	background: #ffffff;
	color: var(--color-brand);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.15;
	text-align: center;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.home-technology__tab:hover,
.home-technology__tab:focus {
	border-color: rgba(6, 74, 167, 0.45);
	background: var(--color-brand-light);
	color: var(--color-brand-dark);
	outline: 0;
}

.home-technology__tab.is-active {
	border-color: transparent;
	background: linear-gradient(180deg, #0758c6 0%, #003f9d 100%);
	box-shadow: 0 7px 16px rgba(0, 65, 154, 0.2);
	color: #ffffff;
}

.home-technology__panel[hidden] {
	display: none;
}

.home-technology__layout {
	display: grid;
	grid-template-columns: minmax(360px, 3fr) minmax(0, 1fr) calc(50% - 8px);
	grid-template-areas:
		"intro . item-one"
		"bottom bottom bottom"
		"cta cta cta";
	grid-template-rows: minmax(232px, auto) minmax(232px, auto) auto;
	gap: 22px 16px;
	align-items: stretch;
	position: relative;
	isolation: isolate;
	background: none;
}

.home-technology__intro {
	grid-area: intro;
	align-self: end;
	padding: clamp(20px, 2.4vw, 32px) 18px clamp(20px, 2.4vw, 32px) 28px;
	border-left: 4px solid #075cc7;
	color: #273b57;
	font-size: clamp(15px, 1.1vw, 18px);
	font-weight: 500;
	line-height: 1.65;
}

.home-technology__intro p {
	max-width: 350px;
	margin: 0;
}

.home-technology__intro strong {
	color: #18345a;
	font-weight: 600;
}

.home-technology__item img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: contain;
}

.home-technology__item {
	overflow: hidden;
	border: 1px solid rgba(196, 216, 239, 0.9);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 12px 24px rgba(13, 60, 126, 0.1);
}

.home-technology__item {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.62fr);
	gap: 18px;
	align-items: center;
	min-height: 200px;
	padding: clamp(20px, 1.9vw, 28px);
}

.home-technology__item--one {
	grid-area: item-one;
}

.home-technology__item--two {
	grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
}

.home-technology__panel--actives .home-technology__item--two {
	grid-template-columns: minmax(0, 1.18fr) minmax(190px, 0.82fr);
}

.home-technology__panel--actives .home-technology__item--two .home-technology__item-content {
	order: 1;
}

.home-technology__panel--actives .home-technology__item--two img {
	order: 2;
}

.home-technology__bottom {
	display: grid;
	grid-area: bottom;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.home-technology__item-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.home-technology__item-title span {
	display: grid;
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 2px solid #5f86e8;
	border-radius: 50%;
	color: #064aa7;
	font-size: 27px;
	font-weight: 600;
	line-height: 1;
}

.home-technology__item-title h3 {
	position: relative;
	margin: 0;
	padding-left: 22px;
	color: #064aa7;
	font-size: clamp(20px, 1.55vw, 26px);
	font-weight: 600;
	line-height: 1.15;
}

.home-technology__item-title h3::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1px;
	height: 44px;
	background: #8db2ff;
	content: "";
	transform: translateY(-50%);
}

.home-technology__item p {
	max-width: 360px;
	margin: 0;
	color: #31425d;
	font-size: clamp(14px, 1.05vw, 16px);
	font-weight: 500;
	line-height: 1.62;
}

.home-technology__cta {
	grid-area: cta;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: auto;
	min-height: 40px;
	margin: 0 auto;
	padding: 0 28px;
	border-radius: 7px;
	background: linear-gradient(180deg, #0758c6 0%, #003f9d 100%);
	box-shadow: 0 8px 18px rgba(0, 65, 154, 0.24);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
}

.home-technology__cta:hover,
.home-technology__cta:focus {
	color: #ffffff;
	text-decoration: none;
}

.home-technology__cta span {
	position: relative;
	width: 22px;
	height: 2px;
	background: currentColor;
}

.home-technology__cta span::after {
	position: absolute;
	top: 50%;
	right: 0;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1180px) {
	.home-technology__item img {
		height: 150px;
	}

	.home-technology__layout {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"intro item-one"
			"bottom bottom"
			"cta cta";
		grid-template-rows: auto;
		padding-top: clamp(270px, 32vw, 360px);
	}
}

@media (max-width: 860px) {
	.home-technology {
		padding-top: 28px;
	}

	.home-technology::before {
		width: 180vw;
		height: 460px;
	}

	.home-technology.is-actives-active::before {
		background-position:
			center,
			center,
			calc(50% + 28px) -20px;
		background-size:
			100% 100%,
			100% 100%,
			100% auto;
	}

	.home-technology__layout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"intro"
			"item-one"
			"bottom"
			"cta";
		gap: 14px;
		padding-top: clamp(230px, 43vw, 320px);
	}

	.home-technology__intro {
		align-self: stretch;
		padding: 18px 18px 18px 22px;
	}

	.home-technology__intro p {
		max-width: none;
	}

	.home-technology__bottom {
		grid-template-columns: 1fr;
		gap: 14px;
	}

}

@media (max-width: 620px) {
	.home-technology__head {
		margin-bottom: 14px;
	}

	.home-technology__head p {
		font-size: 14px;
	}

	.home-technology__tabs {
		gap: 7px;
		margin-bottom: 22px;
	}

	.home-technology__tab {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
		min-height: 42px;
		padding: 0 10px;
		font-size: 11.5px;
	}

	.home-technology::before {
		width: 210vw;
		height: 390px;
	}

	.home-technology__layout {
		padding-top: 220px;
	}

	.home-technology__item,
	.home-technology__item--two {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 14px 16px;
	}

	.home-technology__item--two .home-technology__item-content {
		order: 1;
	}

	.home-technology__item--two img {
		order: 2;
	}

	.home-technology__item img {
		height: 96px;
	}

	.home-technology__item-title {
		gap: 10px;
		margin-bottom: 10px;
	}

	.home-technology__item-title span {
		width: 44px;
		height: 44px;
		font-size: 21px;
	}

	.home-technology__item-title h3 {
		padding-left: 18px;
		font-size: 18px;
	}

	.home-technology__item-title h3::before {
		height: 38px;
	}

	.home-technology__item p {
		font-size: 13px;
		line-height: 1.48;
	}

	.home-technology__cta {
		justify-self: center;
		width: auto;
		min-width: 258px;
		min-height: 38px;
		margin: 2px auto 0;
		padding: 0 22px;
	}
}
