/* ===================================================
   FOOTER STYLES — fully responsive
   =================================================== */

footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 24px 40px;
  text-align: center;
  font-size: 13px;
  position: relative;
}

footer .footer-line {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 1400px;
  margin: 0 auto 16px auto;
}

footer p {
  margin: 0;
  word-break: break-word;
}

.back-to-top {
  position: absolute;
  right: 24px;
  top: 16px;
  background: rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.back-to-top:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===================================================
   RESPONSIVE BREAKPOINTS
   =================================================== */

@media (max-width: 900px) {
  footer {
    padding: 20px 24px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 20px 16px 56px 16px;
    font-size: 12px;
  }
  .back-to-top {
    right: 16px;
    top: auto;
    bottom: 16px;
  }
}

@media (max-width: 360px) {
  footer {
    padding: 16px 12px 52px 12px;
    font-size: 11px;
  }
}
