/* Minimal base so footer.html can be previewed standalone too.
   Values match navigation.css's reset — harmless if both are loaded together. */
:root{
  --bg:#0a0c0a;
  --accent:#39d642;
  --text:#e8ece8;
  --text-dim:#9aa39a;
  --border:#1c211c;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  background:#050605;
  font-family:'Helvetica Neue',Arial,sans-serif;
}

footer{
  position:relative;
  background:#070907;
  border-top:1px solid var(--border);
  color:var(--text);
  padding:64px 40px 0;
  width: 100%;
}

.footer-top{
  width:100%;
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:48px;
}

/* BRAND COLUMN */
.footer-brand .logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  margin-bottom:18px;
}
.footer-logo-mark{
  width:44px;
  height:44px;
  flex-shrink:0;
}
.footer-logo-mark img{width:100%;height:100%;display:block;object-fit:contain;}
.footer-logo-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.footer-logo-text .top{
  font-size:15px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--text);
  text-transform:uppercase;
}
.footer-logo-text .top span{color:var(--accent);}
.footer-logo-text .bottom{
  font-size:9px;
  letter-spacing:3px;
  color:var(--text-dim);
  text-transform:uppercase;
  margin-top:3px;
}

.footer-tagline{
  font-size:13.5px;
  line-height:1.7;
  color:var(--text-dim);
  max-width:34ch;
  margin-bottom:22px;
}

.footer-social{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-social a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:8px;
  color:var(--text-dim);
  text-decoration:none;
  transition:color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer-social a:hover{
  color:var(--accent);
  border-color:rgba(57,214,66,.4);
  box-shadow:0 6px 16px -6px rgba(57,214,66,.4);
}
.footer-social svg{width:16px;height:16px;fill:currentColor;}

/* LINK COLUMNS */
.footer-col h4{
  font-size:11.5px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--text);
  margin-bottom:18px;
}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:12px;}
.footer-col a{
  font-size:13.5px;
  color:var(--text-dim);
  text-decoration:none;
  transition:color .2s ease, padding-left .2s ease;
}
.footer-col a:hover{color:var(--accent);padding-left:4px;}

/* CONTACT COLUMN */
.footer-contact address{
  font-style:normal;
  display:flex;
  flex-direction:column;
  gap:12px;
  font-size:13.5px;
  color:var(--text-dim);
  margin-bottom:20px;
}
.footer-contact address a{
  color:var(--text-dim);
  text-decoration:none;
  transition:color .2s ease;
}
.footer-contact address a:hover{color:var(--accent);}

.footer-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:99px;
  font-size:11px;
  letter-spacing:.5px;
  color:var(--text-dim);
}
.footer-status .dot{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 8px var(--accent);
}

/* BOTTOM BAR */
.footer-bottom{
  width:100%;
  border-top:1px solid var(--border);
  padding:22px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.footer-copy{
  font-size:12px;
  color:var(--text-dim);
}
.footer-badges{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer-badges span{
  font-size:10.5px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--text-dim);
  border:1px solid var(--border);
  border-radius:6px;
  padding:5px 9px;
}
.footer-bottom-links{
  display:flex;
  gap:20px;
}
.footer-bottom-links a{
  font-size:12px;
  color:var(--text-dim);
  text-decoration:none;
  transition:color .2s ease;
}
.footer-bottom-links a:hover{color:var(--accent);}

/* BACK TO TOP */
.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--accent);
  color:#04140a;
  border:none;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px -8px rgba(57,214,66,.6);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index:60;
}
.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.back-to-top:hover{filter:brightness(1.08);}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px){
  .footer-top{
    grid-template-columns: 1.4fr 1fr 1fr;
    row-gap:40px;
  }
  .footer-contact{grid-column:1 / -1;}
}

@media (max-width:720px){
  footer{padding:48px 20px 0;}
  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:32px;
    padding-bottom:36px;
  }
  .footer-brand{grid-column:1 / -1;}
  .footer-contact{grid-column:1 / -1;}
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    padding:20px 0 28px;
  }
  .back-to-top{right:16px;bottom:16px;width:40px;height:40px;}
}

@media (max-width:420px){
  .footer-top{grid-template-columns:1fr;}
  .footer-brand,.footer-contact{grid-column:auto;}
}
