/* Footer Basketmon — 4 columnas sobre fondo oscuro + barra inferior.
 *
 * Layout: brand (más ancha) | nav | social | contact
 * Mobile: pasa a 1 columna apilada.
 */

.bm-site-footer {
	background: #111111;
	color: #C9C9CB;
	margin-top: 80px;
	font-family: var(--bm-font-body);
}

/* ── Bloque principal ──────────────────────────────────────────────── */
.bm-site-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 64px 24px 48px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 48px;
}

/* Especificidad reforzada (.bm-site-footer …): el Global Kit de Elementor
 * (.elementor-kit-N h4) pisaba color/tamaño y dejaba los títulos invisibles. */
.bm-site-footer .bm-site-footer__heading {
	font-family: var(--bm-font-heading);
	font-weight: var(--bm-fw-bold);
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin: 0 0 20px;
}

/* ── Columna marca ─────────────────────────────────────────────────── */
.bm-site-footer__logo {
	display: inline-block;
	margin-bottom: 16px;
	text-decoration: none;
}
.bm-site-footer__logo-img {
	display: block;
	max-width: 200px;
	height: auto;
	/* Logo en color normal (el cliente lo quiere sin invertir). */
}
.bm-site-footer__sitename {
	font-family: var(--bm-font-heading);
	font-weight: var(--bm-fw-heavy);
	font-size: 28px;
	color: #FFFFFF;
	letter-spacing: -0.02em;
}
.bm-site-footer__tagline {
	font-size: 14px;
	line-height: 1.6;
	color: #A5A6AA;
	margin: 0 0 20px;
	max-width: 360px;
}
.bm-site-footer__address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.7;
	color: #A5A6AA;
}

/* ── Menú nav del footer ───────────────────────────────────────────── */
.bm-site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bm-site-footer__menu li {
	margin: 0 0 10px;
}
.bm-site-footer__menu a {
	font-size: 14px;
	color: #C9C9CB;
	text-decoration: none;
	transition: color .15s ease;
}
.bm-site-footer__menu a:hover {
	color: var(--bm-color-accent);
}

/* ── Redes sociales ────────────────────────────────────────────────── */
.bm-site-footer__socials {
	display: flex;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.bm-site-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: #FFFFFF;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.bm-site-footer__socials a:hover {
	background: var(--bm-color-accent);
	color: #FFFFFF;
	transform: translateY(-2px);
}
.bm-site-footer__socials svg,
.bm-site-footer__socials svg path {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ── Contacto ──────────────────────────────────────────────────────── */
.bm-site-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bm-site-footer__contact li {
	margin: 0 0 10px;
	font-size: 14px;
}
.bm-site-footer__contact a {
	color: #C9C9CB;
	text-decoration: none;
	transition: color .15s ease;
}
.bm-site-footer__contact a:hover {
	color: var(--bm-color-accent);
}

/* ── Logo institucional Generalitat ────────────────────────────────── */
/* Caja blanca: el logo es negro y su normativa de uso prohíbe recolorearlo. */
.bm-site-footer__gencat {
	margin-top: 28px;
	background: #FFFFFF;
	border-radius: 4px;
	padding: 12px 14px;
	display: inline-block;
	max-width: 220px;
}
.bm-site-footer__gencat-img {
	display: block;
	width: 100%;
	height: auto;
}

/* ── Barra inferior ────────────────────────────────────────────────── */
.bm-site-footer__bar {
	border-top: 1px solid rgba(255,255,255,0.08);
	background: #0A0A0A;
}
.bm-site-footer__bar-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.bm-site-footer__copy {
	font-size: 13px;
	color: #707074;
	margin: 0;
}
.bm-site-footer__legal {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.bm-site-footer__legal a {
	font-size: 13px;
	color: #A5A6AA;
	text-decoration: none;
	transition: color .15s ease;
}
.bm-site-footer__legal a:hover {
	color: var(--bm-color-accent);
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 980px) {
	.bm-site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
		padding: 48px 24px 32px;
	}
}
@media (max-width: 640px) {
	.bm-site-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
		text-align: center;
	}
	.bm-site-footer__logo { margin-left: auto; margin-right: auto; }
	.bm-site-footer__tagline { margin-left: auto; margin-right: auto; }
	.bm-site-footer__socials { justify-content: center; }
	.bm-site-footer__bar-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.bm-site-footer__legal { justify-content: center; }
}
