/* ══════════════════════════════════════
   mod_lbmfooter – Site footer
   ══════════════════════════════════════ */

.lbmfooter.site-footer {
  background: #f5f5f5;
}

/* ── Grid section ── */
.lbmfooter .footer-grid-section {
  padding: 44px 15px 40px;
}

.lbmfooter .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

/* ── Cards ── */
.lbmfooter .footer-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lbmfooter .footer-card-header {
  background: #f26722;
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.lbmfooter .footer-card-header .fa {
  font-size: 22px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lbmfooter .footer-card-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Newsletter form ── */
.lbmfooter .mailing-form h2 {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  margin-bottom: 20px;
  text-align: center;
}

.lbmfooter .mailing-form .form-group {
  margin-bottom: 14px;
}

.lbmfooter .mailing-form input[type="email"],
.lbmfooter .mailing-form input[type="text"] {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px 14px;
  margin-bottom: 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.4;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: #fff;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  transition: border-color .2s;
}

.lbmfooter .mailing-form input[type="email"]:focus,
.lbmfooter .mailing-form input[type="text"]:focus {
  outline: none;
  border-color: #f26722;
  -webkit-box-shadow: 0 0 0 3px rgba(242,103,34,.12);
  box-shadow: 0 0 0 3px rgba(242,103,34,.12);
}

.lbmfooter .mailing-form .checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 18px;
}

.lbmfooter .mailing-form .checkbox-group label {
  display: inline;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.4;
}

.lbmfooter .mailing-form .checkbox-group input[type="checkbox"] {
  accent-color: #f26722;
  width: 16px;
  height: 16px;
  margin: 0;
}

.lbmfooter .mailing-form .h-captcha {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.lbmfooter .mailing-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lbmfooter .mailing-form .form-group,
.lbmfooter .mailing-form .checkbox-group,
.lbmfooter .mailing-form .h-captcha {
  width: 100%;
}

.lbmfooter .btn-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  height: 36px;
  background: #f26722;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: background .2s;
  margin-top: auto;
}

.lbmfooter .btn-subscribe:hover {
  background: #d7391f;
}

/* ── Contact ── */
.lbmfooter .contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  margin: 0;
  padding: 0;
}

.lbmfooter .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lbmfooter .contact-icon {
  width: 44px;
  height: 44px;
  background: #fff3ec;
  color: #f26722;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 2px solid #f26722;
}

.lbmfooter .contact-item-content strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.lbmfooter .contact-item-content span,
.lbmfooter .contact-item-content a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
  line-height: 1.5;
}

.lbmfooter .contact-item-content a:hover {
  color: #f26722;
}

.lbmfooter .contact-social {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.lbmfooter .contact-social a {
  width: 40px;
  height: 40px;
  background: #f26722;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background .2s;
}

.lbmfooter .contact-social a:hover {
  background: #d9551a;
}

/* ── Map ── */
.lbmfooter .map-card .footer-card-body {
  padding: 0;
  flex: 1;
  min-height: 300px;
}

.lbmfooter .map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
  display: block;
}

/* ── Partners carousel ── */
.lbmfooter .footer-partners-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  margin: 0 15px 15px;
}

.lbmfooter .footer-partners-header {
  background: #f26722;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.lbmfooter .footer-partners-header .fa {
  font-size: 22px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lbmfooter .footer-partners-track-wrap {
  overflow: hidden;
  padding: 24px 0;
  touch-action: pan-y;
}

.lbmfooter .footer-partners-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: lbm-partner-scroll 30s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .lbmfooter .footer-partners-track:hover {
    animation-play-state: paused;
  }
}

.lbmfooter .footer-partners-track:focus-within,
.lbmfooter .footer-partners-track.is-paused {
  animation-play-state: paused !important;
}

.lbmfooter .footer-partners-pause {
  margin-left: auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lbmfooter .footer-partners-pause:hover { background: rgba(255,255,255,.35); }

.lbmfooter .footer-partners-pause:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.lbmfooter .footer-partners-pause .fa {
  width: auto;
  height: auto;
  background: none;
  font-size: 14px;
}

/* Logo przewijają się także przy prefers-reduced-motion (pauza na żądanie - WCAG 2.2.2).
   Wyjątek od globalnej reguły w lbm.css (* { animation-duration: 0.01ms !important }). */
@media (prefers-reduced-motion: reduce) {
  .lbmfooter .footer-partners-track {
    animation-duration: var(--lbm-ptn-speed, 30s) !important;
    animation-iteration-count: infinite !important;
  }
}

.lbmfooter .footer-partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 60px;
  text-decoration: none;
  opacity: .5;
  transition: opacity .3s;
}

@media (hover: hover) and (pointer: fine) {
  .lbmfooter .footer-partner-item:hover {
    opacity: 1;
  }
}

.lbmfooter .footer-partner-item img {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes lbm-partner-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* ── Bottom bar ── */
.lbmfooter .footer-bar {
  background: #e8e8e8;
  padding: 14px 15px;
  font-size: 14px;
}

.lbmfooter .footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.lbmfooter .footer-copy {
  color: #333;
}

.lbmfooter .footer-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lbmfooter .footer-menu a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.lbmfooter .footer-menu a:hover {
  text-decoration: underline;
}

.lbmfooter .footer-menu .sep {
  color: #888;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .lbmfooter .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (min-width: 768px) {
  .lbmfooter .map-card .footer-card-body {
    min-height: 350px;
  }

  .lbmfooter .map-card iframe {
    min-height: 350px;
  }
}

@media (min-width: 1024px) {
  .lbmfooter .footer-grid-section {
    padding: 20px 15px 20px;
  }

  .lbmfooter .footer-grid {
    grid-template-columns: 1fr 1fr 1.8fr;
  }

  .lbmfooter .map-card {
    grid-column: auto;
  }

  .lbmfooter .map-card .footer-card-body {
    min-height: 100%;
  }

  .lbmfooter .map-card iframe {
    min-height: 100%;
    height: 100%;
  }
}
