.lhc-visa-hub {
	--vr-navy: #082b52;
	--vr-blue: #1687f8;
	--vr-mint: #24ad89;
	position: relative;
	margin-top: 28px;
	padding: clamp(48px, 6vw, 82px) clamp(20px, 4vw, 56px);
	overflow: hidden;
	border: 1px solid #d7e9f2;
	border-radius: 28px;
	background:
		radial-gradient(circle at 94% 7%, rgba(22, 135, 248, 0.11), transparent 24%),
		radial-gradient(circle at 4% 78%, rgba(36, 173, 137, 0.1), transparent 26%),
		linear-gradient(145deg, #fbfdff 0%, #f3f9fc 55%, #f7fcfa 100%);
}

.lhc-visa-hub::before {
	position: absolute;
	top: 0;
	right: 8%;
	left: 8%;
	height: 4px;
	border-radius: 0 0 8px 8px;
	background: linear-gradient(90deg, #24ad89, #1687f8, #ef8e55);
	content: "";
}

.lhc-visa-hub__heading {
	max-width: 920px;
	margin: 0 auto 34px;
	text-align: center;
}

.lhc-visa-hub__heading h2 {
	font-weight: 800;
	margin: 8px 0 12px;
	color: var(--vr-navy);
	font-family: var(--lhc-type-display-family);
	font-size: var(--lhc-type-h2-size);
	line-height: var(--lhc-type-h2-line-height);
}

.lhc-visa-hub__section-title h3 {
	font-weight: 700;
	margin: 8px 0 12px;
	color: var(--vr-navy);
	font-family: var(--lhc-type-display-family);
	font-size: var(--lhc-type-h3-size, 20px);
	line-height: var(--lhc-type-h3-line-height);
}

.lhc-visa-hub__heading > p:last-child,
.lhc-visa-hub__section-title > p:last-child {
	margin: 0;
	color: #60758b;
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.8;
}

.lhc-visa-hub__route-shell {
	position: relative;
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid rgba(22, 135, 248, 0.16);
	border-radius: 24px;
	background:
		radial-gradient(circle at 92% -10%, rgba(22, 135, 248, 0.12), transparent 30%),
		linear-gradient(135deg, #f8fcff, #eef8fc 56%, #effaf6);
	box-shadow: 0 20px 42px rgba(24, 82, 121, 0.09);
}

.lhc-visa-hub__tabs {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 24px;
}

.lhc-visa-hub__tabs::before {
	position: absolute;
	top: 21px;
	right: 8%;
	left: 8%;
	height: 2px;
	background: repeating-linear-gradient(90deg, #b8d9e8 0 10px, transparent 10px 17px);
	content: "";
}

.lhc-visa-hub__tabs button {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 9px;
	padding: 0 10px;
	border: 0;
	background: transparent;
	color: #587188;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.lhc-visa-hub__tabs button span {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 2px solid #b9d6e6;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 7px 18px rgba(26, 86, 124, 0.09);
	color: #54738b;
	font-family: Consolas, "Courier New", monospace;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.lhc-visa-hub__tabs button:hover span,
.lhc-visa-hub__tabs button[aria-selected="true"] span {
	border-color: var(--vr-mint);
	background: var(--vr-navy);
	color: #ffffff;
	transform: translateY(-3px);
}

.lhc-visa-hub__tabs button[aria-selected="true"] {
	color: var(--vr-navy);
}

.lhc-visa-hub__tabs button:focus-visible {
	border-radius: 10px;
	outline: 3px solid rgba(36, 173, 137, 0.25);
	outline-offset: 4px;
}

.lhc-visa-hub.is-ready .lhc-visa-hub__panel:not(.is-active) {
	display: none;
}

.lhc-visa-hub__panel {
	display: grid;
	grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.22fr);
	gap: clamp(24px, 4vw, 54px);
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid #cfe2ee;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: inset 0 1px 0 #ffffff;
}

.lhc-visa-hub__panel-copy > span {
	display: inline-flex;
	padding: 6px 11px;
	border-radius: 999px;
	background: #def5ed;
	color: #087960;
	font-size: 12px;
	font-weight: 700;
}

.lhc-visa-hub__panel-copy h3 {
	font-weight: 700;
	margin: 15px 0 10px;
	color: var(--vr-navy);
	font-size: clamp(24px, 2.25vw, 32px);
}

.lhc-visa-hub__panel-copy p {
	margin: 0;
	color: #5b7186;
	line-height: 1.75;
}

.lhc-visa-hub__panel-copy strong {
	font-weight: 700;
	display: block;
	margin-top: 17px;
	padding-left: 13px;
	border-left: 3px solid #ef8e55;
	color: #315675;
	font-size: 13px;
	line-height: 1.65;
}

.lhc-visa-hub__panel ol {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lhc-visa-hub__panel li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	padding: 10px 13px;
	border-bottom: 1px dashed #d3e2eb;
}

.lhc-visa-hub__panel li span {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 9px;
	background: #e8f3fb;
	color: #176b9e;
	font-family: Consolas, "Courier New", monospace;
	font-size: 12px;
	font-weight: 700;
}

.lhc-visa-hub__panel li p {
	margin: 0;
	color: #365873;
	font-size: 14px;
	line-height: 1.55;
}

.lhc-visa-hub__panel footer {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid #dbe7ee;
	color: #71879a;
	font-size: 12px;
}

.lhc-visa-hub__panel footer a {
	color: #087960;
	font-weight: 700;
}

.lhc-visa-hub__schools {
	margin-top: clamp(52px, 7vw, 82px);
}

.lhc-visa-hub__section-title {
	max-width: 820px;
	margin: 0 auto 28px;
	text-align: center;
}

.lhc-visa-hub__school-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.lhc-visa-hub__school-card {
	--school-color: #1687f8;
	position: relative;
	display: flex;
	min-height: 260px;
	padding: 25px 20px 21px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--school-color) 25%, #dce8ef);
	border-top: 5px solid var(--school-color);
	border-radius: 18px;
	background:
		radial-gradient(circle at 102% 100%, color-mix(in srgb, var(--school-color) 9%, transparent), transparent 42%),
		rgba(255, 255, 255, 0.9);
	box-shadow: 0 12px 26px rgba(19, 71, 106, 0.06);
	color: var(--vr-navy);
	flex-direction: column;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lhc-visa-hub__school-card::after {
	position: absolute;
	right: -24px;
	bottom: -28px;
	width: 92px;
	height: 92px;
	border: 13px double color-mix(in srgb, var(--school-color) 13%, transparent);
	border-radius: 50%;
	content: "";
}

.lhc-visa-hub__school-card:hover {
	border-color: var(--school-color);
	box-shadow: 0 19px 34px color-mix(in srgb, var(--school-color) 14%, transparent);
	transform: translateY(-5px);
}

.lhc-visa-hub__school-code {
	align-self: flex-start;
	padding: 5px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--school-color) 11%, #ffffff);
	color: var(--school-color);
	font-family: Consolas, "Courier New", monospace;
	font-size: 12px;
	font-weight: 700;
}

.lhc-visa-hub__school-name {
	margin-top: 17px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.lhc-visa-hub__school-scope {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	margin-top: 9px;
	padding: 4px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--school-color) 9%, #ffffff);
	color: color-mix(in srgb, var(--school-color) 78%, #24465f);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.lhc-visa-hub__school-note {
	position: relative;
	z-index: 1;
	margin-top: 9px;
	color: #61778b;
	font-size: 13px;
	line-height: 1.65;
}

.lhc-visa-hub__school-card strong {
	font-weight: 700;
	position: relative;
	z-index: 1;
	margin-top: auto;
	padding-top: 16px;
	color: var(--school-color);
	font-size: 13px;
}

.lhc-visa-hub__school-card--hku { --school-color: #147a61; }
.lhc-visa-hub__school-card--cuhk { --school-color: #843b83; }
.lhc-visa-hub__school-card--hkust { --school-color: #be6d16; }
.lhc-visa-hub__school-card--cityuhk { --school-color: #b73d4d; }
.lhc-visa-hub__school-card--polyu { --school-color: #a8325e; }
.lhc-visa-hub__school-card--hkbu { --school-color: #2676ad; }
.lhc-visa-hub__school-card--ln { --school-color: #167a8a; }
.lhc-visa-hub__school-card--eduhk { --school-color: #497645; }

.lhc-visa-hub__school-warning {
	margin: 18px 0 0;
	padding: 15px 18px;
	border-left: 4px solid #ef8e55;
	border-radius: 0 12px 12px 0;
	background: #fff8f4;
	color: #6d655f;
	font-size: 13px;
	line-height: 1.7;
}

.lhc-service-detail[data-lhc-service="visa-documents"] .lhc-service-detail__hero-media img {
	object-position: 100% center;
}

@media (max-width: 1020px) {
	.lhc-visa-hub__school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.lhc-visa-hub { padding: 42px 16px; border-radius: 20px; }
	.lhc-visa-hub__route-shell { padding: 20px 14px; }
	.lhc-visa-hub__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8px; }
	.lhc-visa-hub__tabs::before { display: none; }
	.lhc-visa-hub__tabs button { padding: 0; }
	.lhc-visa-hub__panel { grid-template-columns: 1fr; padding: 22px 17px; }
	.lhc-visa-hub__panel footer { display: grid; }
	.lhc-visa-hub__school-grid { grid-template-columns: 1fr; }
	.lhc-visa-hub__school-card { min-height: 230px; }
	.lhc-service-detail[data-lhc-service="visa-documents"] .lhc-service-detail__hero-media img { object-position: 50% center; }
}

@media (prefers-reduced-motion: reduce) {
	.lhc-visa-hub *, .lhc-visa-hub *::before, .lhc-visa-hub *::after { transition-duration: 0.01ms !important; }
}
