/* =====================================================================
   CircuitMind signature footer — single horizontal row
   ===================================================================== */
.cm-footer{
	--cm-accent:#CE1B28;
	font-family:"Fira Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
	background:#13161c;color:#aeb4bd;position:relative;
}
.cm-footer *{box-sizing:border-box;}
.cm-footer a{text-decoration:none;color:inherit;transition:color .2s ease;}
.cm-footer-inner{max-width:1240px;margin:0 auto;padding:0 24px;}

/* Main bar: logo · nav · social on one line */
.cm-footer-row{
	display:flex;align-items:center;justify-content:space-between;gap:28px;
	padding:26px 24px;border-top:3px solid var(--cm-accent);
}

.cm-foot-logo{display:inline-flex;flex:0 0 auto;}
.cm-foot-logo img{height:46px;width:auto;display:block;filter:grayscale(1);transition:filter .3s ease;}
.cm-foot-logo:hover img{filter:grayscale(0);}

/* Inline nav (centre) */
.cm-foot-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;}
.cm-foot-nav a{
	position:relative;font-size:15px;font-weight:600;color:#d3d7dd;letter-spacing:.01em;padding:0 18px;
}
.cm-foot-nav a:not(:last-child):after{
	content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);
	width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.22);
}
.cm-foot-nav a:hover{color:var(--cm-accent,#CE1B28);}

/* Social (right) */
.cm-foot-social{display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:0;flex:0 0 auto;}
.cm-foot-social a{
	position:relative;width:40px;height:40px;border-radius:50%;
	background:rgba(255,255,255,.07);color:#cfd4db;
	display:inline-flex;align-items:center;justify-content:center;font-size:15px;
	transition:background .2s ease,color .2s ease,transform .2s ease;
}
.cm-foot-social a:hover{background:var(--cm-accent);color:#fff;transform:translateY(-3px);}
.cm-foot-social a span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}

/* Slim copyright bar */
.cm-footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;}
.cm-footer-bottom-inner{display:flex;align-items:center;justify-content:center;gap:8px 18px;flex-wrap:wrap;text-align:center;}
.cm-foot-copy{margin:0;font-size:13.5px;color:#8f96a0;}
.cm-foot-copy strong{color:#fff;font-weight:700;}
.cm-foot-mini{margin:0;font-size:13px;color:#6f757f;letter-spacing:.02em;}
.cm-foot-mini:before{content:"·";margin-right:18px;color:#4a5059;}
.cm-foot-credit{margin:0;font-size:13px;color:#8f96a0;}
.cm-foot-credit:before{content:"·";margin-right:18px;color:#4a5059;}
.cm-foot-credit a{color:#cfd4db;font-weight:600;text-decoration:none;transition:color .2s ease;}
.cm-foot-credit a:hover{color:var(--cm-accent,#CE1B28);}
.cm-foot-top{
	flex:0 0 auto;width:38px;height:38px;border:none;cursor:pointer;border-radius:50%;
	background:var(--cm-accent);color:#fff;
	display:inline-flex;align-items:center;justify-content:center;font-size:14px;margin-left:6px;
	transition:background .2s ease,transform .2s ease;
}
.cm-foot-top:hover{background:#b3141f;transform:translateY(-3px);}

/* Responsive — stack the bar on narrow screens */
@media (max-width:900px){
	.cm-footer-row{flex-direction:column;gap:22px;text-align:center;padding:34px 24px;}
}
@media (max-width:600px){
	.cm-foot-nav a{padding:0 13px;}
	.cm-foot-mini:before,.cm-foot-credit:before{display:none;}
	.cm-foot-mini,.cm-foot-credit{display:block;flex-basis:100%;}
}
