/* daj unikalny wrapper stopki, np. .site-footer */
.company-row{
  display: flex;
  align-items: center;
  gap: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #0b6a8a;
  --panel: #efefef;
  --txt: #1a1a1a;
  --muted: #6b7280;
  --accent: #1f74a7;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
  font-family: var(--font);
}

.footer {
  background: #fff;
  color: var(--txt);
}

.footer__topbar {
  height: 8px;
  background: linear-gradient(to right, #097A99, #213A68);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 40px 40px 10px;
  gap: 40px;
}

.footer__left,
.footer__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.title_f {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.phone-card {
  padding: 20px;
  padding-left: 0px;
  border-radius: 6px;
  max-width: 460px;
}

.phone {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.phone .left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone .material-symbols-outlined {
  font-size: 28px;
}

.number {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-right: 20px;
}

.hours_f {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.hours_f b {
  color: var(--txt);
}

.mail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mail .material-symbols-outlined {
  font-size: 28px;
}

.mail a {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.right-top {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: 24px;
  margin-bottom: 18px;
}

.biogen-logo {
  height: 110px;
  width: auto;
  flex-shrink: 0;
}

.company {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.6;
  font-style: normal;
}

.company .row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company .material-symbols-outlined {
  font-size: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.company a {
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.company a:hover {
  border-color: rgba(0, 0, 0, 0.4);
}

.legal-links {
  display: flex;
  justify-content: end;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 6px;
}

.legal-links a {
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-links a:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

.med {
 text-align: right;
 font-size: 11px;
 padding: 0px 40px 10px;
}

.sep {
  color: rgba(0, 0, 0, 0.4);
  margin: 0 4px;
}


.footer__bottombar {
  background: linear-gradient(to right, #097A99, #213A68);
  color: #fff;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.footer__bottombar b {
  color: #fff;
  font-weight: 700;
}

.bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.org-label {
  font-weight: 500;
  font-size: 13px;
}

.spp-logo {
  height: 24px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.bottom-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

@media (max-width: 1300px) {
 .biogen-logo {
   height: 95px;
 }
 .legal-links {
  font-size: 12px;
 }
}

@media (max-width: 1200px) {
 .biogen-logo {
   height: 82px;
 }
 .legal-links {
  font-size: 10px;
 }
}

@media (max-width: 1050px) {
  .footer__main {
    display: block;
    padding: 30px 20px;
  }

  .footer__left,{
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 30px;
  }
  
  .footer__right {
    width: 100%;
    justify-content: flex-start;
  }

  .right-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .biogen-logo {
    margin-bottom: 10px;
  }

  .legal-links {
    justify-content: flex-start;
    text-align: left;
  }

  .footer__bottombar {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    padding: 16px 20px;
  }

  .bottom-right {
    align-items: flex-start;
    text-align: left;
  }
  .mail a {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
 }
}