/* Shared footer on every page. */
#podnozje.fm-footer {
  width: 100%;
  padding: 0 0 26px;
  background: #0f4c45;
  color: #fff;
}
#podnozje.fm-footer .fm-container { width: min(calc(100% - 48px), 1200px); max-width: 1200px; margin-inline: auto; }
#podnozje.fm-footer .fm-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid rgb(255 255 255 / .18);
}
#podnozje.fm-footer .fm-cta h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.03em; color: #fff; margin: 0 0 12px; max-width: 650px; }
#podnozje.fm-footer .fm-cta p { font-size: 16px; line-height: 1.5; color: rgb(255 255 255 / .75); margin: 0; }
#podnozje.fm-footer .fm-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-shrink: 0;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 14px;
  background: #6fd9b0;
  color: #0f4c45;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
}
body:has(main > #final-step:last-child) #podnozje.fm-footer .fm-cta { display: none; }
#podnozje.fm-footer .fm-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr) minmax(0, 1.1fr);
  gap: 36px;
  padding: 48px 0 40px;
}
#podnozje.fm-footer .fm-logo { min-height: 44px; display: inline-flex; align-items: center; }
#podnozje.fm-footer .fm-logo img { width: 180px; max-width: 100%; height: auto; }
#podnozje.fm-footer .fm-brand p { max-width: 300px; font-size: 16px; line-height: 1.6; color: rgb(255 255 255 / .8); margin: 18px 0; }
#podnozje.fm-footer .fm-region { display: inline-block; max-width: 100%; border: 1px solid rgb(111 217 176 / .35); border-radius: 999px; padding: 7px 12px; font-size: 11px; line-height: 1.5; color: rgb(255 255 255 / .85); }
#podnozje.fm-footer .fm-column h2 { color: #6fd9b0; font-size: 14px; font-weight: 750; line-height: 1.4; margin: 0 0 20px; }
#podnozje.fm-footer .fm-column ul { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
#podnozje.fm-footer .fm-column li { font-size: 14px; line-height: 1.6; color: rgb(255 255 255 / .8); padding: 0; }
#podnozje.fm-footer .fm-column a { min-height: 0; display: inline-flex; align-items: center; color: rgb(255 255 255 / .85); text-decoration: none; transition: color 180ms ease; }
#podnozje.fm-footer .fm-contact li { display: flex; align-items: flex-start; gap: 10px; }
#podnozje.fm-footer .fm-contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: #6fd9b0; }
#podnozje.fm-footer .fm-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-top: 1px solid rgb(255 255 255 / .18); padding-top: 22px; font-size: 12px; line-height: 1.7; }
#podnozje.fm-footer .fm-bottom p { margin: 0; color: rgb(255 255 255 / .7); }
#podnozje.fm-footer .fm-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 10px; }
#podnozje.fm-footer .fm-legal a,
#podnozje.fm-footer .fm-legal button,
#podnozje.fm-footer .fm-top-link { display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0; border: 0; background: transparent; color: rgb(255 255 255 / .75); font: inherit; text-decoration: none; cursor: pointer; }
#podnozje.fm-footer .fm-legal > span { color: rgb(255 255 255 / .4); }
#podnozje.fm-footer a:hover,
#podnozje.fm-footer button:hover { color: #6fd9b0; }
#podnozje.fm-footer .fm-cta-button:hover { color: #0f4c45; text-decoration: underline; text-underline-offset: 4px; }
#podnozje.fm-footer :is(a, button):focus-visible { outline: 2px solid #6fd9b0 !important; outline-offset: 4px; }
@media (min-width: 769px) and (max-width: 1050px) {
  #podnozje.fm-footer .fm-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 768px) {
  #podnozje.fm-footer .fm-container { width: calc(100% - 40px); }
  #podnozje.fm-footer .fm-cta { flex-direction: column; align-items: stretch; padding: 32px 0; gap: 24px; }
  #podnozje.fm-footer .fm-cta-button { width: 100%; }
  #podnozje.fm-footer .fm-top { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 32px 0; }
  #podnozje.fm-footer .fm-brand p { max-width: 360px; }
  #podnozje.fm-footer .fm-bottom { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  #podnozje.fm-footer .fm-legal { justify-content: center; gap: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #podnozje.fm-footer a { transition: none; }
}

#podnozje.fm-footer .fm-company-legal {
  margin: 20px 0 0;
  color: rgb(255 255 255 / .7);
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
  overflow-wrap: anywhere;
}

/* Shared social links; contact-page icons inherit the dark text color. */
.bl-social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bl-social-links a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; color: #0f4c45; text-decoration: none; }
.bl-social-links svg { width: 21px; height: 21px; }
#podnozje.fm-footer .bl-social-links { margin-top: 14px; }
#podnozje.fm-footer .bl-social-links a { color: #fff; }
.ct-social { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; color: #0f4c45; font-size: 15px; }
.ct-social > span { font-weight: 650; }
@media (hover: hover) {
  .bl-social-links a:hover,
  #podnozje.fm-footer .bl-social-links a:hover { color: #6fd9b0; }
}

.contact-page #podnozje .fm-cta { display: none; }
