/* ================================================== */
/* Site footer (pf-footer)                            */
/* Scoped under .pf-footer so the legacy .footer rules */
/* in custom.css do not apply.                        */
/* ================================================== */
.pf-footer {
	--pf-f-bg: #0f2c44;
	--pf-f-bg-2: #143a59;
	--pf-f-text: #a9c4da;
	--pf-f-muted: #7f9db6;
	--pf-f-white: #ffffff;
	--pf-f-line: rgba(255, 255, 255, 0.09);
	--pf-f-blue: #1c7bc3;
	--pf-f-green: #7cc242;
	position: relative;
	background: linear-gradient(180deg, var(--pf-f-bg-2) 0%, var(--pf-f-bg) 100%);
	color: var(--pf-f-text);
	font-size: 14px;
	line-height: 1.6;
	overflow: hidden;
}
.pf-footer::before {
	/* brand colour strip along the top edge */
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--pf-f-blue), var(--pf-f-green));
}
.pf-footer a { color: var(--pf-f-text); text-decoration: none; transition: color .2s, transform .2s, background .2s, border-color .2s; }
.pf-footer a:hover, .pf-footer a:focus { color: var(--pf-f-white); text-decoration: none; }
.pf-footer ul { list-style: none; margin: 0; padding: 0; }
.pf-footer p { text-align: left; }

/* Footer gets a slightly wider container than the page so all six
   columns fit on one row without the link text wrapping. */
@media (min-width: 1200px) {
	.pf-footer .container { width: auto; max-width: 1320px; padding-left: 24px; padding-right: 24px; }
}

/* ---------- Main row: logo | info | 4 link columns ----------
   Each column is as wide as its content and the free space is shared
   equally between them, so the gaps look even and the first and last
   columns sit flush against the left and right edges. */
.pf-footer__main {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	padding: 60px 0 52px;
}
.pf-footer__main > * { flex: 0 0 auto; }
.pf-footer__info { max-width: 230px; }
.pf-footer__col li a { white-space: nowrap; }
/* logo centred above the row of social icons */
.pf-footer__brand { display: flex; flex-direction: column; align-items: center; }
.pf-footer__brand img { max-width: 150px; width: 100%; height: auto; display: block; }

.pf-footer__tagline { margin: 0 0 18px; color: var(--pf-f-text); }
.pf-footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pf-footer__contact .fa {
	width: 30px; height: 30px;
	flex: 0 0 30px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .07);
	color: var(--pf-f-green);
	font-size: 14px;
	line-height: 30px;
	text-align: center;
}

.pf-footer__col h4 {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 10px;
	font-family: 'texgyreadventorbold', sans-serif;
	font-size: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pf-f-white);
}
.pf-footer__col h4::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 28px; height: 3px;
	border-radius: 3px;
	background: var(--pf-f-green);
}
.pf-footer__col li { margin-bottom: 9px; }
.pf-footer__col li a { display: inline-block; font-size: 14px; }
.pf-footer__col li a:hover { transform: translateX(4px); }

/* ---------- Social ---------- */
.pf-footer__social { display: flex; justify-content: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pf-footer__social a {
	width: 32px; height: 32px;
	font-size: 14px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: var(--pf-f-white);
	font-size: 16px;
}
.pf-footer__social a:hover { transform: translateY(-3px); color: #fff; }
.pf-footer__social a.is-fb:hover { background: #1877f2; }
.pf-footer__social a.is-x:hover { background: #000; }
.pf-footer__social a.is-in:hover { background: #0a66c2; }
.pf-footer__social a.is-ig:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.pf-footer__social a.is-yt:hover { background: #ff0000; }

/* ---------- Bottom bar: copyright and legal links on one row, top-aligned ---------- */
.pf-footer__bottom {
	border-top: 1px solid var(--pf-f-line);
	/* extra bottom space so the floating chat buttons don't cover the text */
	padding: 20px 0 88px;
	font-size: 12.5px;
	color: var(--pf-f-muted);
}
.pf-footer__bottom-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 40px;
}
/* Bootstrap's .container clearfix pseudo-elements would become flex items */
.pf-footer__bottom-inner::before,
.pf-footer__bottom-inner::after { display: none; }
.pf-footer__legal-text { flex: 1 1 auto; margin: 0; max-width: 620px; color: var(--pf-f-muted); font-size: 12.5px; line-height: 1.6; }
.pf-footer__legal-text strong { color: var(--pf-f-white); }
.pf-footer__legal { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 6px 18px; line-height: 1.6; }
.pf-footer__legal a { color: var(--pf-f-muted); font-size: 12.5px; }
.pf-footer__legal a:hover { color: var(--pf-f-white); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	/* not enough room for one row: logo + contact on top, four equal link columns below */
	.pf-footer__main { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
	.pf-footer__brand { grid-column: span 1; }
	.pf-footer__info { grid-column: span 3; max-width: none; display: flex; gap: 12px 48px; flex-wrap: wrap; align-items: flex-start; }
	.pf-footer__info .pf-footer__tagline { max-width: 280px; }
	.pf-footer__col li a { white-space: normal; }
	.pf-footer__bottom-inner { flex-direction: column; }
	.pf-footer__legal { flex: 1 1 auto; }
}
@media (max-width: 767px) {
	.pf-footer__main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 44px 0 32px; }
	.pf-footer__brand { grid-column: span 1; }
	.pf-footer__info { grid-column: span 1; display: block; }
	.pf-footer__info .pf-footer__tagline { max-width: none; }
}
@media (max-width: 479px) {
	.pf-footer__brand, .pf-footer__info { grid-column: 1 / -1; }
}
