/* ============================================================
 * BIOTA · SECTION · Footer  (part: footer.html — "Footer 1a")
 * Dark footer: brand + 3 link columns → 2 columns → mobile accordion.
 * Everything is scoped under #biota-ftr so the design's short class names
 * (.fl, .trust, .legal, .pay, .colh …) can't collide with the rest of the site.
 * Ported from the Claude "Biota Footer 1a" design; the accordion is class-based
 * (.ac-col.is-open) so CSS alone re-opens the columns above the mobile
 * breakpoint — no inline-style reset needed.
 * ============================================================ */

#biota-ftr {
	background: #0d0f14;
	color: #ffffff;
	padding: 40px 48px 24px;
	font-family: 'DM Sans', system-ui, sans-serif;
}
/* Inherit the container colour; a global a{} rule would kill the column tints. */
#biota-ftr a {
	color: inherit;
	text-decoration: none;
}
#biota-ftr a:hover {
	opacity: 0.7;
}
#biota-ftr .ftr-in {
	max-width: 1100px;
	margin: 0 auto;
}
/* The real logotype, masked the way the header and the menu panel do it: only
   the PNG's alpha is used and background-color is the fill, so one asset serves
   every ground. The word stays in the DOM for screen readers and is hidden
   visually. */
#biota-ftr .wm {
	display: block;
	width: 118px;
	height: 23px;
	background-color: #ffffff;
	-webkit-mask: url(../../img/biota-logotype.png) left center / contain no-repeat;
	mask: url(../../img/biota-logotype.png) left center / contain no-repeat;
	font-size: 0;
	color: transparent;
}

/* --- Column grid: 1.5fr brand + 3 link columns ---------------------------- */
#biota-ftr .ftr-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 22px;
}
#biota-ftr .ftr-tagline {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.55;
	margin: 9px 0 14px;
	max-width: 250px;
}
#biota-ftr .colh {
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 11px;
}
#biota-ftr .fl {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

/* Accordion header hidden on desktop; the panel is always open ≥621px. */
#biota-ftr .ac-btn {
	display: none;
}

/* --- Chat pill + social ---------------------------------------------------- */
#biota-ftr .chat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(37, 211, 102, 0.14);
	border: 1px solid rgba(37, 211, 102, 0.35);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 500;
	padding: 8px 15px;
	border-radius: 999px;
	transition: background 0.2s;
}
#biota-ftr .chat:hover {
	background: rgba(37, 211, 102, 0.24);
	opacity: 1;
}
#biota-ftr .chat__sub {
	color: rgba(255, 255, 255, 0.55);
	font-weight: 400;
}
#biota-ftr .soc {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}
#biota-ftr .soc a {
	width: 31px;
	height: 31px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.72);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
#biota-ftr .soc a:hover {
	background: rgba(255, 255, 255, 0.14);
	opacity: 1;
}

/* --- Trust strip: inline, not a four-cell grid ---------------------------- */
#biota-ftr .trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.6);
}

/* --- Legal + payments ----------------------------------------------------- */
#biota-ftr .legal {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 14px;
	padding-top: 16px;
}
#biota-ftr .legal-txt {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.6;
}
#biota-ftr .legal-entity {
	color: rgba(255, 255, 255, 0.6);
	font-weight: 600;
}
#biota-ftr .pays {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
#biota-ftr .pay {
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 5px 9px;
}

/* --- 1100px: tighten ------------------------------------------------------ */
@media (max-width: 1100px) {
	#biota-ftr {
		padding-left: 30px;
		padding-right: 30px;
	}
	#biota-ftr .ftr-grid {
		gap: 28px;
	}
}

/* --- 860px: 2 columns, brand spans --------------------------------------- */
@media (max-width: 860px) {
	#biota-ftr .ftr-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
	#biota-ftr .ftr-brand {
		grid-column: 1 / -1;
	}
}

/* --- 620px: single column, accordion ------------------------------------- */
@media (max-width: 620px) {
	#biota-ftr {
		padding: 26px 20px 20px;
	}
	#biota-ftr .ftr-grid {
		grid-template-columns: 1fr;
		gap: 0;
		padding-bottom: 14px;
	}
	#biota-ftr .ftr-brand {
		margin-bottom: 16px;
	}
	#biota-ftr .ac-col {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	#biota-ftr .ftr-brand + .ac-col {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
	#biota-ftr .ac-btn {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 13px 0;
		background: none;
		border: none;
		cursor: pointer;
		font-family: 'DM Sans', sans-serif;
		font-size: 13.5px;
		font-weight: 500;
		color: #ffffff;
		text-align: left;
	}
	#biota-ftr .ac-icon {
		color: rgba(255, 255, 255, 0.4);
		font-size: 17px;
		line-height: 1;
		display: inline-block;
		transition: transform 0.25s;
	}
	#biota-ftr .colh {
		display: none;
	}
	#biota-ftr .ac-panel {
		display: none;
		padding: 2px 0 14px;
	}
	/* Open row: panel expands, "+" rotates into "×". Rows open independently. */
	#biota-ftr .ac-col.is-open .ac-panel {
		display: flex;
	}
	#biota-ftr .ac-col.is-open .ac-icon {
		transform: rotate(45deg);
	}
	#biota-ftr .trust {
		gap: 7px 16px;
		font-size: 11.5px;
	}
	#biota-ftr .legal {
		align-items: flex-start;
	}
}

/* --- payment logos ---------------------------------------------------------
   Same set as the checkout row. The SVGs bring their own light plate, so the
   dark-footer chip styling (translucent white fill, padding, radius) is
   dropped here rather than doubled up behind them. */
#biota-ftr .pay--logo {
	padding: 0;
	background: none;
	border-radius: 0;
	display: inline-flex;
	line-height: 0;
}
#biota-ftr .pay--logo img {
	display: block;
	height: 24px;
	width: auto;
}

/* The company column carries facts rather than links: there are no About,
   Careers or Service-centre pages to point at yet, and a column of six dead
   links reads worse than a short paragraph that is true. */
#biota-ftr .ftr-about {
	margin: 0 0 4px;
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.5);
	max-width: 260px;
}
#biota-ftr .ftr-about strong {
	color: rgba(255, 255, 255, 0.78);
	font-weight: 600;
}
