/**
 * Category page styles — enqueued only on is_tax('service_category').
 * .pro-grid/.pro-card/.empty-state/.faq-list come from components.css.
 */

.narrow {
	max-width: 760px;
}

.cat-hero {
	background: linear-gradient(120deg, var(--hh-blue-ink) 0%, #0C3282 100%);
	color: var(--hh-on-navy);
	padding: 50px 0 46px;
	position: relative;
	overflow: hidden;
}

.cat-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(520px 280px at 88% 0%, rgba(245, 166, 35, 0.18), transparent 60%);
}

.cat-hero-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.cat-hero-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: rgba(237, 241, 251, 0.1);
	border: 1.5px solid rgba(237, 241, 251, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cat-hero-icon svg {
	width: 32px;
	height: 32px;
	color: var(--hh-gold);
}

.cat-hero-text {
	flex: 1;
	min-width: 260px;
}

.cat-hero h1 {
	color: #fff;
	font-size: clamp(25px, 3.6vw, 34px);
}

.cat-hero .btn {
	margin-top: 18px;
}

.desc-block {
	padding: 44px 0;
}

.desc-block p {
	font-size: 15.5px;
	color: var(--hh-ink-soft);
}

.desc-block p + p {
	margin-top: 16px;
}

.subcat-section {
	padding-bottom: 40px;
}

.subcat-section h2 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hh-ink-soft);
	margin-bottom: 14px;
}

.subcat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.s-chip {
	padding: 10px 17px;
	border-radius: 999px;
	border: 1.5px solid var(--hh-line);
	background: var(--hh-surface-raised);
	font-size: 13.5px;
	font-weight: 700;
	transition: all 0.15s ease;
	display: inline-block;
}

.s-chip:hover {
	border-color: var(--hh-blue);
}

.s-chip.active {
	background: var(--hh-blue);
	border-color: var(--hh-blue);
	color: #fff;
}

.grid-section {
	padding-bottom: 60px;
}

.grid-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.grid-head h2 {
	font-size: 21px;
}

.grid-head span {
	font-size: 13.5px;
	color: var(--hh-ink-soft);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.faq-block {
	padding: 0 0 60px;
}

.faq-block h2 {
	font-size: 22px;
	margin-bottom: 6px;
}

.faq-block .sub {
	font-size: 14.5px;
	color: var(--hh-ink-soft);
	margin-bottom: 26px;
}

.faq-block .faq-list {
	max-width: 780px;
}

.related-section {
	background: var(--hh-cloud);
	padding: 56px 0;
}

.related-section h2 {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hh-ink-soft);
	margin-bottom: 18px;
}

.related-grid {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.related-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: var(--hh-surface-raised);
	border: 1.5px solid var(--hh-line);
	border-radius: var(--hh-radius-m);
	flex: 1;
	min-width: 220px;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-card:hover {
	border-color: var(--hh-blue);
	transform: translateY(-2px);
}

.related-card .ci {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--hh-gold) 16%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.related-card .ci svg {
	width: 18px;
	height: 18px;
	color: var(--hh-blue-ink);
}

.related-card span:last-child {
	font-size: 14px;
	font-weight: 700;
}

