/* ============================================================
   FOOTER — štýly pre footer.html (komponent, načíta sa cez footer.js)
   Biele pozadie (ladí s navbarom), 3px červený horný okraj, pás
   faktov, 4 stĺpce, spodný pás s copyrightom a tlačidlom "späť hore"
   úplne vpravo.
   ============================================================ */

.footer {
  background: var(--c-white);
  border-top: 3px solid var(--c-red);
}

/* --- pás s faktami (rovnaké 3 fakty ako v hero štatistikách) --- */
.footer-badges {
  border-bottom: 1px solid var(--c-grey-300);
}
.footer-badges-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 22px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-grey-600);
}
.footer-badge svg {
  width: 17px;
  height: 17px;
  color: var(--c-red);
  flex-shrink: 0;
}
.footer-badge-divider {
  width: 1px;
  height: 16px;
  background: var(--c-grey-300);
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 44px 0;
}

/* --- stĺpce --- */
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-grey-600);
  max-width: 280px;
  margin-bottom: 14px;
}
.footer-stats {
  font-size: 12.5px;
  color: var(--c-grey-600);
  margin-bottom: 22px;
}
.footer-stats strong {
  color: var(--c-ink);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-grey-100);
  border: 1px solid var(--c-grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.footer-social a:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 14px; height: 14px; }

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 22px;
}
.footer-col h4 .dash {
  color: var(--c-red);
  font-weight: 800;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-links a {
  display: inline-block;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 14.5px;
  opacity: .72;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: opacity .15s ease, border-color .15s ease;
}
.footer-links a:hover {
  opacity: 1;
  border-color: var(--c-red);
}
.footer-links .is-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 1;
  font-weight: 700;
}
.footer-links .is-primary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-red);
  flex-shrink: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 14.5px;
  opacity: .85;
  transition: opacity .15s ease, color .15s ease;
}
.footer-contact a:hover {
  opacity: 1;
  color: var(--c-red);
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--c-red);
}

/* --- "coverage" odznak namiesto obyčajného textového riadku --- */
.footer-coverage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 14px;
  background: rgba(200, 30, 44, 0.07);
  border-radius: 30px;
  width: fit-content;
}
.footer-coverage svg {
  width: 14px;
  height: 14px;
  color: var(--c-red);
  flex-shrink: 0;
}
.footer-coverage span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-red-dark);
  white-space: nowrap;
}

/* --- spodný pás: copyright vľavo, tlačidlo "späť hore" úplne vpravo --- */
.footer-bottom {
  border-top: 1px solid var(--c-grey-300);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--c-grey-600);
}

.footer-top-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-black);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.footer-top-btn:hover {
  background: var(--c-red);
  transform: translateY(-2px);
}
.footer-top-btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------
   MOBIL — vycentrovaná značka hore, rýchle odkazy + služby vedľa
   seba v 2 stĺpcoch, oddeľovacie linky medzi blokmi. Spodný pás
   zostáva v riadku (copyright vľavo, šípka vpravo), nie centrovaný.
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  .footer-badges-inner {
    flex-direction: column;
    gap: 14px;
    padding: 20px 24px;
  }
  .footer-badge-divider { display: none; }

  .footer-inner { padding: 56px 24px 0; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding-bottom: 40px;
  }

  .footer-logo-col {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 32px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--c-grey-300);
  }
  .footer-logo img { margin-bottom: 14px; }
  .footer-tagline { max-width: 260px; margin: 0 auto 6px; }
  .footer-stats { margin-bottom: 18px; }
  .footer-social { justify-content: center; }

  .footer-top .footer-col:not(.footer-logo-col) h4 {
    font-size: 11.5px;
    margin-bottom: 16px;
  }
  .footer-top .footer-col:not(.footer-logo-col) .footer-links {
    gap: 13px;
  }

  .footer-top .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: 28px;
    margin-top: 4px;
    border-top: 1px solid var(--c-grey-300);
    text-align: center;
  }
  .footer-top .footer-col:last-child h4 { justify-content: center; }
  .footer-top .footer-col:last-child .footer-contact { align-items: center; }
  .footer-top .footer-col:last-child .footer-coverage { margin-left: auto; margin-right: auto; }

  .footer-bottom {
    padding: 22px 0 28px;
    gap: 10px;
  }
  .footer-bottom p {
    font-size: 12px;
  }
}