/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Site Header widget
   ═══════════════════════════════════════════════════════════════ */

/* Container */
.hgb-header__container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ── TOP BAR ────────────────────────────────────────────────── */
.hgb-header__topbar {
	line-height: 1;
}

.hgb-header__topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hgb-header__contact {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.hgb-header__contact-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	text-decoration: none;
	transition: color .2s ease;
}

.hgb-header__contact-link svg { flex-shrink: 0; }

.hgb-header__social {
	display: flex;
	align-items: center;
	gap: .65rem;
}

.hgb-header__social-label {
	opacity: .85;
	margin-right: .15rem;
}

.hgb-header__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	border: 1px solid;
	text-decoration: none;
	overflow: visible;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hgb-header__social-link:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .35) !important;
}

/*
 * Reset Elementor / Font Awesome icon styles inside social circles.
 * The high-specificity selectors are needed to override Elementor's
 * own icon-wrapper CSS that applies background, padding, etc.
 */
.hgb-header .hgb-header__social-link i,
.hgb-header .hgb-header__social-link svg,
.hgb-header .hgb-header__social-link span,
.hgb-header .hgb-header__social-link .fab,
.hgb-header .hgb-header__social-link .fas,
.hgb-header .hgb-header__social-link .far,
.hgb-header .hgb-header__social-link [class*="fa-"],
.hgb-header .hgb-header__social-link .elementor-icon,
.hgb-header .hgb-header__social-link .elementor-icon i,
.hgb-header .hgb-header__social-link .elementor-icon svg {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	font-size: inherit !important;
	line-height: 1 !important;
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	fill: currentColor !important;
	-webkit-text-stroke: 0 !important;
	text-shadow: none !important;
}

.hgb-header__social-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	flex-shrink: 0 !important;
}

.hgb-header .hgb-header__social-link svg,
.hgb-header .hgb-header__social-link .e-font-icon-svg {
	width: 14px !important;
	height: 14px !important;
	max-width: 14px !important;
	max-height: 14px !important;
	flex-shrink: 0 !important;
	display: block !important;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.hgb-header__navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.5rem, 1.5vw, 1.25rem);
}

/* Brand */
.hgb-header__brand {
	display: flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
	flex-shrink: 0;
}

.hgb-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.hgb-header__logo img,
.hgb-header__logo .custom-logo {
	display: block;
	object-fit: contain;
}

/* WordPress custom-logo wraps img in an <a> — reset that link */
.hgb-header__logo a {
	display: flex;
	line-height: 0;
}

.hgb-header__brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.hgb-header__tagline {
	margin-top: .1rem;
}

/* Nav */
.hgb-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.hgb-header__menu {
	display: flex;
	gap: clamp(0.05rem, 0.4vw, 0.2rem);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

.hgb-header__menu li a {
	display: block;
	text-decoration: none;
	transition: color .2s ease, background .2s ease;
	white-space: nowrap;
}

/* CTA */
.hgb-header__cta {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.hgb-header__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(130, 85, 0, .3);
}

.hgb-header__cta-icon {
	display: inline-flex;
	align-items: center;
	font-size: .85em;
}

/* Toggle */
.hgb-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: background .2s;
}

.hgb-header__toggle:hover { background: rgba(0, 0, 0, .05); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1260px) and (min-width: 1101px) {
	.hgb-header__navbar-inner {
		gap: .5rem;
	}
	.hgb-header .hgb-header__menu a {
		padding: 7px 9px !important;
		font-size: 12px !important;
		letter-spacing: 0.02em !important;
	}
	.hgb-header .hgb-header__cta {
		padding: 8px 16px !important;
		font-size: 12px !important;
	}
}

@media (max-width: 1100px) {
	.hgb-header__social-label { display: none; }

	.hgb-header__toggle { display: flex; }

	.hgb-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		border-radius: 0 0 16px 16px;
		box-shadow: 0 8px 24px rgba(50, 29, 8, .12);
		padding: .75rem 1rem;
		display: none;
		z-index: 100;
	}

	.hgb-header__nav.is-open { display: block; }

	.hgb-header__menu {
		flex-direction: column;
		gap: .25rem;
	}

	.hgb-header__menu li a {
		padding: .65rem 1rem !important;
		border-radius: 8px !important;
	}

	.hgb-header__cta { display: none; }

	.hgb-header__navbar { position: relative; }
}


@media (max-width: 600px) {
	.hgb-header__contact {
		flex-direction: column;
		align-items: flex-start;
		gap: .35rem;
	}

	.hgb-header__topbar-inner {
		flex-wrap: wrap;
		padding-block: .5rem;
	}
}
