.sm26-site-footer {
  background: var(--paper);
}

.sm26-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 3.2vw, 56px);
  padding-block: 56px 48px;
}

.sm26-footer-main > * {
  min-width: 0;
}

.sm26-footer-brand {
  display: block;
  grid-column: auto;
}

.sm26-footer-brand .sm26-brand {
  width: 225px;
  height: 54px;
  margin: -10px 0 14px;
}

.sm26-footer-brand .sm26-brand img {
  left: -8px;
  width: 225px;
  height: 87px;
}

.sm26-footer-brand p {
  max-width: 390px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.sm26-footer-quote {
  min-height: 48px;
  padding: 12px 25px;
  font-size: 17px;
}

.sm26-footer-main .sm26-footer-heading {
  max-width: 100%;
  margin: 0 0 15px;
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.sm26-footer-main nav {
  gap: 2px;
}

.sm26-footer-main nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding-block: 5px;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  hyphens: auto;
  transition: color .18s;
}

.sm26-footer-contact address {
  display: grid;
  gap: 16px;
  font-style: normal;
}

.sm26-footer-contact-item {
  display: grid;
  gap: 2px;
}

.sm26-footer-contact-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.sm26-footer-contact-item a {
  width: fit-content;
  max-width: 100%;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
  transition: color .18s;
}

.sm26-footer-contact-item a:is(:hover, :focus-visible) {
  color: var(--orange-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sm26-footer-contact > p {
  max-width: 285px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sm26-footer-bottom {
  align-items: baseline;
  gap: 12px 30px;
  padding-block: 20px;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .sm26-footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 30px;
  }

  .sm26-footer-brand {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 225px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
  }

  .sm26-footer-brand .sm26-brand,
  .sm26-footer-brand p {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .sm26-footer-brand {
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
  }

  .sm26-footer-brand .sm26-brand {
    grid-column: 1 / -1;
  }

  .sm26-footer-main {
    gap: 32px 24px;
  }

  .sm26-footer-main .sm26-footer-heading {
    font-size: 22px;
  }

  .sm26-footer-contact-item a {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .sm26-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
    padding-block: 38px 32px;
  }

  .sm26-footer-brand {
    display: block;
  }

  .sm26-footer-brand .sm26-brand {
    margin: -6px 0 12px;
  }

  .sm26-footer-brand p {
    margin: 0 0 20px;
    font-size: 16px;
  }

  .sm26-footer-main nav a {
    min-height: 44px;
    font-size: 16px;
  }

  .sm26-footer-main nav .sm26-footer-heading {
    min-height: 2.3em;
  }

  .sm26-footer-contact {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }

  .sm26-footer-contact address {
    gap: 12px;
  }

  .sm26-footer-contact-item a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 18px;
  }

  .sm26-footer-contact > p {
    max-width: none;
    margin-top: 12px;
  }

  .sm26-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm26-site-footer a {
    transition: none;
  }
}
