/* Site footer — [bdn_footer] and its columns. Fonts come from the theme. */

.bfi-foot {
	--bfi-foot-ink: #10282c;
	--bfi-foot-ink-soft: #2b4448;
	--bfi-foot-muted: #586a6c;
	--bfi-foot-green: #176b45;
	--bfi-foot-green-50: #eff5ef;
	--bfi-foot-line: #e2e7df;
	--bfi-foot-line-strong: #c8d3c8;

	color: var(--bfi-foot-ink);
	font-size: 14px;
	line-height: 1.6;
	padding: 16px 0 4px;
}
.bfi-foot a { color: inherit; text-decoration: none; }
.bfi-foot ul { list-style: none; margin: 0; padding: 0; }
.bfi-foot li { margin: 0; padding: 0; }
.bfi-foot p { margin: 0; }
.bfi-foot a:focus-visible,
.bfi-foot summary:focus-visible { outline: 3px solid #d97d2b; outline-offset: 3px; border-radius: 6px; }

.bfi-foot__icon { width: 1em; height: 1em; flex-shrink: 0; }

/* Columns */
.bfi-foot__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 48px; }
.bfi-foot__home { display: inline-block; }
.bfi-foot__logo { display: block; width: 200px; max-width: 100%; height: auto; }
.bfi-foot__tagline { margin-top: 18px !important; color: var(--bfi-foot-muted); font-size: 15px; }
.bfi-foot__title { margin-bottom: 14px !important; color: var(--bfi-foot-ink); font-size: 14px; font-weight: 700; }
.bfi-foot__menu a,
.bfi-foot__list a { display: block; padding: 6px 0; color: var(--bfi-foot-muted); font-size: 14px; overflow-wrap: anywhere; transition: color .15s; }
.bfi-foot__menu a:hover,
.bfi-foot__list a:hover { color: var(--bfi-foot-green); }

/* Contact lines: icon + text */
.bfi-foot__list a { display: flex; align-items: center; gap: 10px; }
.bfi-foot__list .bfi-foot__icon { width: 18px; height: 18px; color: var(--bfi-foot-green); }
.bfi-foot__list .bfi-foot__icon--whatsapp { color: #25d366; }
.bfi-foot__line { display: flex; gap: 10px; padding: 6px 0; color: var(--bfi-foot-muted); font-size: 14px; }
.bfi-foot__address a,
.bfi-foot__address .bfi-foot__line { align-items: flex-start; line-height: 1.6; }
.bfi-foot__address .bfi-foot__icon { margin-top: 2px; }

/* Social pills */
.bfi-foot__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.bfi-foot__social a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--bfi-foot-line);
	border-radius: 999px;
	color: var(--bfi-foot-ink-soft);
	font-size: 13px;
	font-weight: 600;
	transition: border-color .15s, color .15s;
}
.bfi-foot__social a:hover { border-color: var(--bfi-foot-green); color: var(--bfi-foot-green); }
.bfi-foot__social .bfi-foot__icon { width: 13px; height: 13px; }

/* Company directory (A–Z) */
.bfi-foot__directory { margin-top: 48px; padding: 20px 0 8px; border-top: 1px solid var(--bfi-foot-line); }
.bfi-foot__directory summary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--bfi-foot-line-strong);
	border-radius: 999px;
	background: #fff;
	color: var(--bfi-foot-ink-soft);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	transition: border-color .15s, color .15s;
}
.bfi-foot__directory summary::-webkit-details-marker { display: none; }
.bfi-foot__directory summary:hover { border-color: var(--bfi-foot-green); color: var(--bfi-foot-green); }
.bfi-foot__directory summary .bfi-foot__icon { width: 17px; height: 17px; transition: transform .2s; }
.bfi-foot__directory[open] summary .bfi-foot__icon { transform: rotate(45deg); }
.bfi-foot__letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 6px; }
.bfi-foot__letters a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-height: 36px;
	border: 1px solid var(--bfi-foot-line);
	border-radius: 8px;
	background: #fff;
	color: var(--bfi-foot-ink-soft);
	font-size: 13px;
	font-weight: 600;
}
.bfi-foot__letters a:hover { border-color: var(--bfi-foot-green); background: var(--bfi-foot-green-50); color: var(--bfi-foot-green); }

/* Bottom bar */
.bfi-foot__bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-top: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--bfi-foot-line);
	color: var(--bfi-foot-muted);
	font-size: 13px;
}
.bfi-foot__copy { flex-shrink: 0; }
.bfi-foot__legal .bfi-foot__menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.bfi-foot__legal .bfi-foot__menu a { padding: 0; font-size: 13px; }

@media (max-width: 950px) {
	.bfi-foot__grid { grid-template-columns: 1.2fr 1fr; gap: 40px; }
	.bfi-foot__bottom { flex-direction: column; gap: 14px; }
	.bfi-foot__legal .bfi-foot__menu { justify-content: flex-start; }
}

@media (max-width: 600px) {
	.bfi-foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.bfi-foot__brand,
	.bfi-foot__col--contact { grid-column: 1 / -1; }
	.bfi-foot__menu a,
	.bfi-foot__list a { display: flex; align-items: center; min-height: 40px; padding: 0; }
	.bfi-foot__legal .bfi-foot__menu a { min-height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.bfi-foot * { transition: none !important; }
}
