/* ═══════════════════════════════════════════════════════════════
   TAEC · footer.css · Footer, LATAM strip, WhatsApp flotante
   Extraído de los HTML en Fase 1 (refactor/fase1-css-js-global)
   Fuente canónica: v2.5 · 18 mar 2026
   ═══════════════════════════════════════════════════════════════ */

/* ── FOOTER ── */
footer {
	background: var(--navy);
	padding: 56px 5% 24px;
}
.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 48px;
}
.footer-brand img {
	height: 36px;
	filter: brightness(0) invert(1);
	margin-bottom: 16px;
}
.footer-brand p {
	font-size: 14px;
	color: #cbd5e1;
	line-height: 1.6;
	margin-top: 16px;
}
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
}
.footer-contact a {
	font-size: 14px;
	color: #cbd5e1;
	transition: color 0.15s;
	font-weight: 500;
}
.footer-contact a:hover {
	color: var(--white);
}
.footer-col h3,
.footer-col h4 {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #f8fafc;
	margin-bottom: 16px;
}
.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-col ul li a {
	font-size: 14px;
	color: #e2e8f0;
	transition: color 0.15s;
}
.footer-col ul li a:hover {
	color: var(--white);
}
.footer-bottom {
	padding-top: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.footer-bottom p {
	font-size: 13px;
	color: #cbd5e1;
}
.footer-bottom p a {
	color: #cbd5e1;
	text-decoration: underline;
	font-weight: 500;
}
.footer-bottom p a:hover {
	color: var(--white);
}
.footer-social {
	display: flex;
	gap: 12px;
}
.footer-social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #e2e8f0;
	transition:
		background 0.15s,
		color 0.15s;
}
.footer-social a:hover {
	background: var(--blue);
	color: var(--white);
}

/* ── BUILD BADGE (solo staging — eliminar antes de producción) ── */
.build-badge {
	font-family: ui-monospace, "Cascadia Code", monospace;
	font-size: 11px;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	padding: 3px 8px;
	margin-left: 8px;
	letter-spacing: 0.3px;
}

/* ── VARIANTE FOOTER OSCURO (Grupo C) ── */
.footer--dark {
	background: #04293f;
}

/* ── FOOTER LATAM ── */
.footer-latam {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	flex-wrap: wrap;
	margin-bottom: 0;
}
.footer-latam-label {
	font-size: 12px;
	color: #cbd5e1;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	flex-shrink: 0;
}
.footer-latam a {
	font-size: 13px;
	color: #e2e8f0;
	text-decoration: none;
	transition: color 0.15s;
	font-weight: 500;
}
.footer-latam a:hover {
	color: #a8dbd9;
}

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
	transition: transform 0.2s;
}
.wa-float:hover {
	transform: scale(1.1);
}
.wa-float svg {
	width: 28px;
	height: 28px;
	fill: white;
}
.wa-tooltip {
	position: absolute;
	right: 60px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--dark);
	color: var(--white);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	padding: 5px 10px;
	border-radius: 6px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s;
}
.wa-float:hover .wa-tooltip {
	opacity: 1;
}

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
}
