.sd-footer,
.sd-footer *,
.sd-footer *::before,
.sd-footer *::after {
  box-sizing: border-box;
}

.sd-footer {
  width: 100%;
  margin: 0;
  padding: clamp(48px, 5vw, 72px) 0 30px;
  background: var(--sd-dark);
  color: #d8eeeb;
  font-family: var(--sd-font-body);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.sd-footer .sd-footer__container {
  width: min(calc(100% - 2 * var(--sd-gutter)), var(--sd-container));
  margin-inline: auto;
}

.sd-footer .sd-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 1.2fr;
  gap: clamp(24px, 3vw, 48px);
}

.sd-footer .sd-footer__column {
  min-width: 0;
}

.sd-footer .sd-footer__heading {
  margin: 0 0 24px;
  color: var(--sd-white);
  font-family: var(--sd-font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.sd-footer .sd-footer__menu,
.sd-footer .sd-footer__secondary-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-footer .sd-footer__menu li,
.sd-footer .sd-footer__secondary-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-footer .sd-footer__menu li + li {
  margin-top: 7px;
}

.sd-footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
  transition: none;
}

.sd-footer a:hover,
.sd-footer a:focus-visible {
  color: var(--sd-mint);
  text-decoration: underline;
}

.sd-footer a:focus-visible {
  outline: 3px solid var(--sd-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.sd-footer .sd-footer__menu a,
.sd-footer .sd-footer__secondary-menu a {
  display: inline-block;
  padding-block: 3px;
}

.sd-footer .sd-footer__contact {
  display: grid;
  gap: 16px;
  margin: 0;
  font-style: normal;
}

.sd-footer .sd-footer__contact-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sd-footer .sd-footer__contact-row > :first-child {
  flex-shrink: 0;
  color: var(--sd-white);
}

.sd-footer .sd-footer__contact-row > :last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sd-footer .sd-footer__contact a,
.sd-footer .sd-footer__address {
  color: var(--sd-mint);
}

.sd-footer .sd-footer__contact a:hover,
.sd-footer .sd-footer__contact a:focus-visible {
  color: var(--sd-white);
}

.sd-footer .sd-footer__address {
  white-space: pre-line;
}

.sd-footer .sd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 238, 235, 0.35);
}

.sd-footer .sd-footer__social {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.sd-footer .sd-footer__social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--sd-white);
}

.sd-footer .sd-footer__social a:hover,
.sd-footer .sd-footer__social a:focus-visible {
  color: var(--sd-mint);
}

.sd-footer .sd-footer__social svg {
  display: block;
  width: 24px;
  height: 24px;
}

.sd-footer .sd-footer__secondary {
  min-width: 0;
  margin-left: auto;
}

.sd-footer .sd-footer__secondary-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
}

@media (max-width: 1000px) {
  .sd-footer .sd-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 36px;
  }
}

@media (max-width: 600px) {
  .sd-footer {
    padding-block: 40px 24px;
  }
  .sd-footer .sd-footer__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .sd-footer .sd-footer__heading {
    margin-bottom: 16px;
    font-size: 1.25rem;
  }
  .sd-footer .sd-footer__menu li + li {
    margin-top: 8px;
  }
  .sd-footer .sd-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
    padding-top: 16px;
  }
  .sd-footer .sd-footer__secondary {
    width: 100%;
    margin-left: 0;
  }
  .sd-footer .sd-footer__secondary-menu {
    justify-content: flex-start;
    gap: 8px 24px;
  }
}
