/* ======================================================
   FOOTER — TABLET
   Auto-Tech Elektronika
   PLIK: footer-tablet.css
   ZAKRES: TYLKO TABLET
   (ładowany przez <link media>)
====================================================== */

/* ======================================================
winda-button-hop
====================================================== */

.fab-top {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 48px;
  height: 48px;
  border-radius: 14px; /* 🔑 zamiast koła */

  background: rgba(52, 124, 179, 0.92);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(2px);

  box-shadow:
    0 4px 10px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.25);

  z-index: 400;

  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.fab-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.fab-top:hover {
  transform: translateY(-2px);
}

.fab-top:active {
  transform: translateY(0);
}


/* ======================================================
   FOOTER — TABLET+
   Numery telefonów jeden pod drugim
====================================================== */

.site-footer .footer-col.footer-hours {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* ==============================
   BASE FOOTER
============================== */

.site-footer {
  display: block;
  background: #3f5c77;
  color: #ffffff;
  padding: 32px 24px;
  position: relative;
  z-index: 300;
}

/* ==============================
   GRID
============================== */

.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 24px;
  align-items: start;
}

/* ==============================
   BRAND
============================== */

.site-footer .footer-brand {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: -20px;
}

.site-footer .footer-brand img {
  max-width: 200px;
}
/* ==============================
   AUTO WARSZTAT — LEWA KOLUMNA
============================== */

.site-footer .footer-address {
  display: flex;
  flex-direction: column;   /* 🔑 KLUCZ */
  align-items: flex-end;    /* zachowuje wyrównanie do prawej */
}

    .site-footer .footer-address a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        padding: 6px 12px;
        font-size: 0.82rem;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        white-space: nowrap;
    }

.site-footer .footer-hours a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer .footer-address span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d2d6e0;
}

/* ==============================
   GODZINY OTWARCIA — PRAWA KOLUMNA
============================== */

.site-footer .footer-hours {
  grid-column: 2;
  width: 100%;
  text-align: left;
}

.site-footer .footer-hours span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d2d6e0;
}

.site-footer .footer-hours br {
  display: none;
}

/* ==============================
   TELEFON
============================== */

.site-footer .footer-hours a {
  display: block;              /* jeden pod drugim */
  margin-top: 6px;
  padding: 0;                  /* żadnych „pillów” */
  background: none;
  border-radius: 0;

  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  line-height: 1.5;
}

.site-footer .footer-hours a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==============================
   NAV + LEGAL
============================== */

.site-footer .footer-nav {
	display: none;
}

.site-footer .footer-nav {
  grid-column: 1;
  text-align: right;
}

.site-footer .footer-legal {
  grid-column: 2;
  text-align: left;
}

.site-footer .footer-nav a {
  display: block;
  padding: 4px 0;
  inline-size: fit-content;   /* 🔑 klucz */
  max-inline-size: 100%;
  justify-self: end;   /* 🔑 */
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;

  color: #d2d6e0;
  text-decoration: none;
}

.site-footer .footer-legal a {
  display: block;
  padding: 4px 0;
  inline-size: fit-content;   /* 🔑 klucz */
  max-inline-size: 100%;
  justify-self: start;     /* 🔑 */
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;

  color: #d2d6e0;
  text-decoration: none;
}

/* ==============================
   TITLES
============================== */

.site-footer .footer-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* kreski kierunkowe */

.site-footer .footer-address .footer-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px 0 0 auto;
  background: rgba(255,255,255,0.35);
}

.site-footer .footer-hours .footer-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto 0 0;
  background: rgba(255,255,255,0.35);
}
