/**
 * Trang Dịch vụ – layout & components
 */

.cuuho-svc-page-wrap {
	overflow-x: hidden;
}

/* ── Hero ── */
.cuuho-svc-page-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #071e33 0%, var(--cuuho-navy) 45%, var(--cuuho-navy-light) 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	isolation: isolate;
}

.cuuho-svc-page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		100deg,
		rgba(7, 30, 51, 0.94) 0%,
		rgba(11, 45, 74, 0.82) 55%,
		rgba(11, 45, 74, 0.55) 100%
	);
}

.cuuho-svc-page-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.05;
	background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
	background-size: 28px 28px;
	pointer-events: none;
}

.cuuho-svc-page-hero__inner {
	position: relative;
	z-index: 2;
	padding: 56px 24px 64px;
	max-width: 780px;
}

.cuuho-svc-page-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 0.82rem;
	font-weight: 600;
}

.cuuho-svc-page-breadcrumb a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none !important;
	transition: color 0.2s;
}

.cuuho-svc-page-breadcrumb a:hover {
	color: var(--cuuho-amber);
}

.cuuho-svc-page-breadcrumb span:last-child {
	color: rgba(255, 255, 255, 0.55);
}

.cuuho-svc-page-hero__badge {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cuuho-amber);
	background: rgba(245, 166, 35, 0.15);
	border: 1px solid rgba(245, 166, 35, 0.35);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.cuuho-svc-page-hero__title {
	color: #fff;
	font-size: clamp(1.85rem, 4.5vw, 2.65rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
}

.cuuho-svc-page-hero__desc {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.05rem;
	line-height: 1.75;
	margin: 0 0 28px;
	max-width: 620px;
}

.cuuho-svc-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.cuuho-svc-page-hero__highlights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cuuho-svc-page-hero__highlights li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 10px 16px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
}

.cuuho-svc-page-hero__hl-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(245, 166, 35, 0.2);
	color: var(--cuuho-amber);
	flex-shrink: 0;
}

/* ── Danh sách dịch vụ (dùng chung template trang chủ) ── */
.cuuho-svc-page .cuuho-services {
	padding-top: 72px;
}

/* ── Stats band ── */
.cuuho-svc-page-stats {
	padding: 0 0 72px;
	background: var(--cuuho-surface);
}

.cuuho-svc-page-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: var(--cuuho-navy);
	border-radius: var(--cuuho-radius);
	overflow: hidden;
	box-shadow: var(--cuuho-shadow);
}

.cuuho-svc-page-stats__item {
	text-align: center;
	padding: 32px 20px;
	position: relative;
}

.cuuho-svc-page-stats__item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 25%;
	height: 50%;
	width: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.cuuho-svc-page-stats__num {
	display: block;
	color: var(--cuuho-amber);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 6px;
}

.cuuho-svc-page-stats__label {
	display: block;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.85rem;
	font-weight: 600;
}

/* Sections below grid – spacing */
.cuuho-svc-page .cuuho-process,
.cuuho-svc-page .cuuho-why,
.cuuho-svc-page .cuuho-cta {
	margin-top: 0;
}

.cuuho-svc-page .cuuho-process {
	padding-top: 0;
}

/* Hide Flatsome default page title on services template */
body.cuuho-services-page-active .page-title-inner,
body.cuuho-services-page-active .entry-header {
	display: none;
}

body.cuuho-services-page-active #content .page-wrapper {
	padding-top: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
	.cuuho-svc-page-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cuuho-svc-page-stats__item:nth-child(2)::after {
		display: none;
	}

	.cuuho-svc-page-stats__item {
		padding: 24px 16px;
	}
}

@media (max-width: 767px) {
	.cuuho-svc-page-hero {
		min-height: auto;
	}

	.cuuho-svc-page-hero__inner {
		padding: 40px 20px 48px;
	}

	.cuuho-svc-page-hero__actions {
		flex-direction: column;
	}

	.cuuho-svc-page-hero__actions .cuuho-btn {
		width: 100%;
		justify-content: center;
	}

	.cuuho-svc-page .cuuho-services {
		padding-top: 48px;
	}

	.cuuho-svc-page-stats__grid {
		grid-template-columns: 1fr 1fr;
		border-radius: var(--cuuho-radius-sm);
	}

	.cuuho-svc-page-stats__item::after {
		display: none;
	}
}
