/* ==========================================================================
   BIS site footer ([bis_footer]). Dark band, link columns under small headings
   (after the Motive / VelocityEHS / Fellow footers), contact, badges, legal.
   Every rule is scoped to .bis-ft and prefixed with body where the Elementor kit
   styles the same elements (links, h2/h3).
   ========================================================================== */

.bis-ft {
	--ft-bg: #12161b;
	--ft-text: #c9cdd2;
	--ft-muted: #9aa0a6;
	--ft-heading: #33b0da;
	--ft-rule: rgba(255, 255, 255, .14);
	--ft-white: #ffffff;
	--ft-brand: 'Montserrat', Arial, Helvetica, sans-serif;
	--ft-body: 'Segoe UI', -apple-system, system-ui, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

	background: var(--ft-bg);
	color: var(--ft-text);
	font-family: var(--ft-body);
	font-size: 14px;
	line-height: 1.5;
}
.bis-ft *, .bis-ft *::before, .bis-ft *::after { box-sizing: border-box; }
.bis-ft__wrap { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 20px 28px; }

body .bis-ft a { color: var(--ft-text); text-decoration: none; transition: color .12s ease; }
body .bis-ft a:hover { color: var(--ft-white); text-decoration: underline; text-underline-offset: 3px; }
body .bis-ft a:focus-visible { outline: 2px solid var(--ft-heading); outline-offset: 2px; border-radius: 2px; }
body .bis-ft h2, body .bis-ft h3, body .bis-ft p, body .bis-ft ul { margin: 0; padding: 0; }
body .bis-ft ul { list-style: none; }

/* ---- Top: logo, tagline, CTAs ------------------------------------------- */

.bis-ft__top {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding-bottom: 32px; border-bottom: 1px solid var(--ft-rule);
}
/* Logo and review pills on one row, tagline underneath. */
.bis-ft__brand { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 10px 24px; }
.bis-ft__brand .bis-ft__logo { grid-row: 1; grid-column: 1; }
.bis-ft__brand .bis-ft__reviews { grid-row: 1; grid-column: 2; }
body .bis-ft .bis-ft__brand .bis-ft__tagline { grid-row: 2; grid-column: 1 / -1; }
@media (max-width: 480px) {
	/* Not enough room beside the logo on small phones: pills go under the tagline. */
	.bis-ft__brand { grid-template-columns: auto; }
	.bis-ft__brand .bis-ft__reviews { grid-row: 3; grid-column: 1; }
}
body .bis-ft__logo img { display: block; height: 40px; width: auto; }
body .bis-ft .bis-ft__tagline { color: var(--ft-text); font-size: 15px; }
.bis-ft__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Review-site ratings as small dark pills under the tagline (Fellow-style). The badge artwork is
   turned pure white with a filter so it reads on the dark footer. */
.bis-ft__reviews { display: flex; flex-wrap: wrap; gap: 10px; }
body .bis-ft__reviews a {
	display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 3px 8px 3px 6px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px;
	text-decoration: none; transition: border-color .12s ease, background-color .12s ease;
}
body .bis-ft__reviews a:hover { text-decoration: none; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
/* Artwork and rating in the same light grey as the footer links (--ft-text, #c9cdd2). */
body .bis-ft__reviews img { display: block; height: 25px; width: auto; filter: brightness(0) invert(.81); }
body .bis-ft__reviews span { font-family: var(--ft-brand); font-weight: 700; font-size: 11px; color: var(--ft-text); }

/* "ratings_part": the Request a Demo G2/Capterra items (lp.css .bis-lp-ratings rules, copied because lp.css only
   loads on landing pages), on small white pills so their own colours read on the dark footer. */
.bis-ft__brand .bis-ft__ratings { grid-row: 1; grid-column: 2; }
@media (max-width: 480px) { .bis-ft__brand .bis-ft__ratings { grid-row: 3; grid-column: 1; } }
body .bis-ft .bis-lp-ratings { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body .bis-ft .bis-lp-ratings li { display: inline-flex; margin: 0; }
body .bis-ft .bis-lp-ratings li > a, body .bis-ft .bis-lp-ratings li:not(:has(a)) {
	display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 6px; background: #ffffff;
	font-size: 15px; color: #666666; text-decoration: none; transition: box-shadow .12s ease;
}
body .bis-ft .bis-lp-ratings li > a:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, .45); text-decoration: none; color: #666666; }
.bis-ft .bis-lp-ratings__g2 { width: auto; height: 20px; flex: none; }
.bis-ft .bis-lp-ratings__capterra { width: auto; height: 19px; flex: none; }
.bis-ft .bis-lp-ratings__stars::before {
	content: "★★★★★"; font-size: 17px; letter-spacing: 2px;
	background: linear-gradient(90deg, #FFB400 calc(var(--rating) / 5 * 100%), #e2e2e2 0);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
body .bis-ft .bis-ft__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
	font-family: var(--ft-brand); font-weight: 700; font-size: 15px; border-radius: 4px; text-decoration: none;
	border: 1.5px solid transparent;
}
body .bis-ft .bis-ft__btn--primary { background: #0078b3; color: var(--ft-white); }
body .bis-ft .bis-ft__btn--primary:hover { background: #006397; color: var(--ft-white); text-decoration: none; }
body .bis-ft .bis-ft__btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--ft-white); }
body .bis-ft .bis-ft__btn--ghost:hover { border-color: var(--ft-white); text-decoration: none; }
/* "style": "green": the header's Book a demo colours (header.css --hd-green), used by the footer v2 proposal. */
body .bis-ft .bis-ft__btn--green { background: #8dc33f; color: var(--ft-white); }
body .bis-ft .bis-ft__btn--green:hover { background: #7aac31; color: var(--ft-white); text-decoration: none; }

/* ---- Columns -------------------------------------------------------------- */

.bis-ft__cols {
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 28px;
	padding: 40px 0;
}
.bis-ft__col summary { list-style: none; cursor: default; }
.bis-ft__col summary::-webkit-details-marker { display: none; }
body .bis-ft__col summary h2 {
	font-family: var(--ft-brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	line-height: 1.3; color: var(--ft-heading);
}
.bis-ft__col-body { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
body .bis-ft__col-body h3 {
	font-family: var(--ft-brand); font-size: 12px; font-weight: 600; color: var(--ft-white);
	margin-top: 14px; line-height: 1.3;
}
.bis-ft__col-body ul { display: flex; flex-direction: column; gap: 8px; }
.bis-ft__col-body li { line-height: 1.4; }
body .bis-ft .bis-ft__more { margin-top: 8px; font-family: var(--ft-brand); font-weight: 600; font-size: 13px; color: var(--ft-heading); }
body .bis-ft .bis-ft__more:hover { color: var(--ft-white); }

/* ---- Bottom: contact, badges, social, legal ------------------------------- */

.bis-ft__bottom {
	display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center;
	padding-top: 28px; border-top: 1px solid var(--ft-rule);
}
.bis-ft__contact { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ft-text); }
.bis-ft__proof { display: flex; align-items: center; gap: 24px; justify-self: end; }
.bis-ft__badges { display: flex; gap: 12px; }
body .bis-ft__badges img { display: block; width: 64px; height: 64px; object-fit: contain; }
.bis-ft__social { display: flex; gap: 10px; }
body .bis-ft__social a {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
	border: 1px solid var(--ft-rule); border-radius: 999px; color: var(--ft-text);
}
body .bis-ft__social a:hover { color: var(--ft-white); border-color: var(--ft-white); }
.bis-ft__legal {
	grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 20px;
	font-size: 13px; color: var(--ft-muted); padding-top: 4px;
}
body .bis-ft__legal a { color: var(--ft-muted); }
/* "Manage consent" (reopens the Complianz banner): a button that looks like the legal links. */
body .bis-ft .bis-ft__consent {
	all: unset; box-sizing: border-box; cursor: pointer; font: inherit; color: var(--ft-muted);
}
body .bis-ft .bis-ft__consent:hover { color: var(--ft-white); text-decoration: underline; background: none; }
body .bis-ft .bis-ft__consent:focus-visible { outline: 2px solid var(--ft-white); outline-offset: 2px; }

/* ---- Responsive ----------------------------------------------------------- */

@media (max-width: 1100px) {
	.bis-ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	/* Phones: each column folds (footer.js closes them on load); tap the heading to open. */
	/* No padding around the accordion: the top row's rule is the first divider and the last column's rule the
	   final one, so every row is evenly spaced (with padding there were double rules above and below, 24 Nov). */
	.bis-ft__cols { grid-template-columns: 1fr; gap: 0; padding: 0; }
	.bis-ft__col { border-bottom: 1px solid var(--ft-rule); }
	.bis-ft__col summary { cursor: pointer; }
	body .bis-ft__col summary h2 {
		border-top: 0; padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
	}
	body .bis-ft__col summary h2::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--ft-text); }
	body .bis-ft__col[open] summary h2::after { content: "−"; }
	.bis-ft__col-body { padding: 0 0 18px; }
	.bis-ft__bottom { grid-template-columns: 1fr; border-top: 0; }
	.bis-ft__proof { justify-self: start; flex-wrap: wrap; }
	.bis-ft__contact { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.bis-ft * { transition: none !important; }
}
