/* Categories hub — icon grid inspired by premium directories, HFD gold palette */
.hfd-categories-hub {
	--hfd-gold: #d4af37;
	--hfd-gold-soft: #ecd98c;
	--hfd-ink: #f3f1ea;
	--hfd-muted: #9aa0ad;
	--hfd-panel: #14171d;
	--hfd-border: rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, #0b0d0f 0%, #10131a 45%, #0b0d0f 100%);
	color: var(--hfd-ink);
	min-height: 60vh;
}

.hfd-cat-hero {
	position: relative;
	padding: 52px 18px 36px;
	border-bottom: 1px solid var(--hfd-border);
	overflow: hidden;
}
.hfd-cat-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 90% at 10% -10%, rgba(212, 175, 55, 0.14), transparent 58%),
		radial-gradient(ellipse 50% 70% at 95% 10%, rgba(99, 179, 165, 0.08), transparent 55%);
	pointer-events: none;
}
.hfd-cat-hero__inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
}
.hfd-cat-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hfd-gold-soft);
}
.hfd-cat-hero__title {
	margin: 0 0 12px;
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
	font-size: clamp(2rem, 4.2vw, 3rem);
	font-weight: 600;
	color: #fff;
	line-height: 1.12;
}
.hfd-cat-hero__lead {
	margin: 0 0 20px;
	max-width: 42rem;
	color: var(--hfd-muted);
	font-size: 1.05rem;
	line-height: 1.65;
}
.hfd-cat-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.hfd-cat-jump a {
	display: inline-flex;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	color: #e8e6df !important;
	font-size: 12px;
	font-weight: 650;
	text-decoration: none !important;
	transition: border-color 0.15s, background 0.15s;
}
.hfd-cat-jump a:hover {
	border-color: rgba(212, 175, 55, 0.45);
	background: rgba(212, 175, 55, 0.1);
	color: #fff !important;
}
.hfd-cat-hero__actions { display: flex; gap: 10px; }
.hfd-cat-btn {
	display: inline-flex;
	align-items: center;
	padding: 11px 18px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
}
.hfd-cat-btn--gold {
	background: linear-gradient(135deg, #ecd98c, #d4af37);
	color: #1a1206 !important;
}

.hfd-cat-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 18px 56px;
}
.hfd-cat-section {
	margin-bottom: 40px;
}
.hfd-cat-section__head {
	margin-bottom: 18px;
}
.hfd-cat-section__title {
	margin: 0 0 6px;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	color: #fff;
	font-weight: 700;
}
.hfd-cat-section__lead {
	margin: 0;
	color: var(--hfd-muted);
	font-size: 0.95rem;
	line-height: 1.5;
	max-width: 40rem;
}

.hfd-cat-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 1100px) {
	.hfd-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.hfd-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
	.hfd-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hfd-cat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 18px 12px 16px;
	border-radius: 18px;
	border: 1px solid var(--hfd-border);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.25) 100%);
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s;
	min-height: 148px;
}
.hfd-cat-card:hover {
	transform: translateY(-3px);
	border-color: rgba(212, 175, 55, 0.35);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.hfd-cat-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 10px;
	border-radius: 16px;
	font-size: 1.35rem;
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.2);
	color: var(--hfd-gold-soft);
}
.hfd-cat-card--location .hfd-cat-card__icon { background: rgba(63, 163, 150, 0.12); border-color: rgba(63, 163, 150, 0.25); color: #7fd4c8; }
.hfd-cat-card--service .hfd-cat-card__icon { background: rgba(230, 57, 57, 0.12); border-color: rgba(230, 57, 57, 0.22); color: #ff8a8a; }
.hfd-cat-card--body .hfd-cat-card__icon { background: rgba(180, 120, 220, 0.12); border-color: rgba(180, 120, 220, 0.22); color: #d4b0ff; }
.hfd-cat-card--language .hfd-cat-card__icon { background: rgba(100, 149, 237, 0.12); border-color: rgba(100, 149, 237, 0.22); color: #9ec5ff; }
.hfd-cat-card--tier .hfd-cat-card__icon { background: rgba(212, 175, 55, 0.18); border-color: rgba(212, 175, 55, 0.35); color: #fff0b3; }
.hfd-cat-card--hub .hfd-cat-card__icon { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }

.hfd-cat-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}
.hfd-cat-card__label {
	font-size: 0.88rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
}
.hfd-cat-card__desc {
	font-size: 0.72rem;
	color: var(--hfd-muted);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hfd-cat-card__count {
	margin-top: 4px;
	font-size: 0.72rem;
	font-weight: 650;
	color: var(--hfd-gold-soft);
}
