/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Site Footer widget
   ═══════════════════════════════════════════════════════════════ */

.hgb-footer {
	--hgb-footer-text: #d8c3a5;
	--hgb-footer-hover: #fdba56;
	--hgb-footer-bottom: #a8916f;
	background-color: #3a2410;
	color: var(--hgb-footer-text);
}

.hgb-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hgb-footer a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.hgb-footer a:hover,
.hgb-footer a:focus-visible {
	color: var(--hgb-footer-hover);
}

.hgb-footer__container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
}

/* ── MAIN AREA ─────────────────────────────────────────────── */
.hgb-footer__main {
	padding-block: 3rem;
}

.hgb-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem 3rem;
}

/* ── Brand ─────────────────────────────────────────────────── */
.hgb-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hgb-footer__brand-header {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
}

.hgb-footer__logo {
	--hgb-logo-size: 44px;
	display: flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.hgb-footer__logo svg {
	width: var(--hgb-logo-size);
	height: var(--hgb-logo-size);
}

.hgb-footer__logo img {
	height: var(--hgb-logo-size);
	width: auto;
	object-fit: contain;
}

.hgb-footer__brand-text {
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.hgb-footer__brand-name {
	line-height: 1.1;
}

.hgb-footer__brand-subtitle {
	line-height: 1.2;
}

.hgb-footer__description {
	margin: 0;
	padding-left: .35rem;
}

.hgb-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.4rem;
	margin-top: .5rem !important;
	padding-left: .35rem !important;
}

.hgb-footer__social-link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	line-height: 1;
}

.hgb-footer__social-link svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ── Columns ───────────────────────────────────────────────── */
.hgb-footer__column-title {
	margin: .35rem 0 1.15rem;
	line-height: 1.2;
}

.hgb-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hgb-footer__links a {
	display: inline-block;
	transition: color .2s ease, transform .2s ease;
}

.hgb-footer__links a:hover {
	transform: translateX(3px);
}

.hgb-footer__links .current-menu-item > a {
	color: var(--hgb-footer-hover);
}

/* ── Contact ───────────────────────────────────────────────── */
.hgb-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}

.hgb-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
}

.hgb-footer__contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 16px;
	width: 1em;
	height: 1.5em;
	line-height: 1;
}

.hgb-footer__contact-icon i,
.hgb-footer__contact-icon .hgb-ms {
	font-size: inherit;
	line-height: 1;
}

.hgb-footer__contact-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.hgb-footer__contact-body {
	display: flex;
	flex-direction: column;
}

.hgb-footer__contact-label {
	font-weight: 700;
}

/* ── BOTTOM BAR ────────────────────────────────────────────── */
.hgb-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: var(--hgb-footer-bottom);
}

.hgb-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.5rem;
}

.hgb-footer__copyright {
	margin: 0;
}

.hgb-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.hgb-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.hgb-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hgb-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.hgb-footer__legal {
		justify-content: center;
	}
}
