/* footer.css – fiksēts footer apakšā + iekšējais saturs
   (zoom-safe: ļaujam augt, ja fonts kļūst lielāks) */

#footer-root{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  height: auto;                 /* ļauj augt pie zoom */
  min-height: var(--footer-height);

  z-index: 40;
}

.site-footer{
  box-sizing: border-box;
  min-height: var(--footer-height);

  display: flex;
  align-items: center;

  padding: 0 8vw calc(8px + env(safe-area-inset-bottom, 0px));
  font-size: 0.85rem;

  color: var(--color-muted);
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0)
  );
}

.site-footer__inner{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-footer__logo{
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__copy{
  opacity: 0.8;
}

/* Mobilajā mazliet kompaktāk */
@media (max-width: 640px){
  .site-footer{
    padding: 0 14px calc(8px + env(safe-area-inset-bottom, 0px));
    font-size: 0.82rem;
  }

  .site-footer__inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
