/* ── FOOTER ──────────────────────────────────────
   Samostatný soubor — importuje ho main.css a zároveň
   ho načítají starší stránky, které main.css nepoužívají.
   Proměnné mají fallback, aby fungoval i bez main.css.
   ─────────────────────────────────────────────── */
.footer {
  background: #000;
  color: rgba(255,255,255,.65);
  padding: 4rem 1.5rem 2rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

.footer__top {
  max-width: var(--max-w, 1200px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer__top { grid-template-columns: 1fr; }
}

.footer__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.02em;
  display: block;
  margin-bottom: .75rem;
}
.footer__logo span { color: #64d2ff; }

.footer__desc { font-size: .875rem; line-height: 1.65; max-width: 280px; margin: 0; }

.footer__projects {
  font-size: .8rem;
  line-height: 1.65;
  max-width: 280px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.5);
}
.footer__projects a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color var(--t, .25s ease), border-color var(--t, .25s ease);
}
.footer__projects a:hover { color: #fff; border-bottom-color: #fff; }

.footer__col-title {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin: 0 0 1.25rem;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--t, .25s ease);
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  max-width: var(--max-w, 1200px);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer__bottom a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer__bottom a:hover { color: #fff; }
