.tpk-footer {
  --tpk-footer-background: #080a09;
  --tpk-footer-text: #f4f6f5;
  --tpk-footer-muted: #aab2b0;
  --tpk-footer-subtle: #7f8986;
  --tpk-footer-border: rgba(255, 255, 255, .14);
  --tpk-footer-hover: #009b74;
  width: 100%;
  overflow: hidden;
  background: var(--tpk-footer-background);
  color: var(--tpk-footer-text);
}

.tpk-footer__inner {
  padding-block: clamp(64px, 6.5vw, 96px) 28px;
}

.tpk-footer__newsletter {
  display: grid;
  justify-items: center;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.tpk-footer__newsletter-logo {
  display: inline-flex;
  align-items: center;
}

.tpk-footer__newsletter-logo img {
  display: block;
  width: 100px;
  height: auto;
  filter: brightness(0) invert(1);
}

.tpk-footer__newsletter-title {
  margin: 24px 0 0;
  color: var(--tpk-footer-text);
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.16;
}

.tpk-footer__newsletter-text {
  max-width: 50ch;
  margin: 16px 0 0;
  color: var(--tpk-footer-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.tpk-footer__subscribe {
  width: min(100%, 300px);
  min-height: 48px;
  margin-top: 22px;
  padding: 10px 22px;
  border: 0;
  border-radius: 5px;
  background: #f5f5f5;
  color: #101514;
  font: 600 14px/1 var(--tpk-font-sans);
  cursor: pointer;
  transition: background-color var(--tpk-motion-fast) ease, color var(--tpk-motion-fast) ease;
}

.tpk-footer__subscribe:hover,
.tpk-footer__subscribe:focus-visible {
  background: var(--tpk-footer-hover);
  color: #fff;
}

.tpk-footer__directory {
  display: grid;
  grid-template-columns: minmax(168px, .68fr) minmax(0, 2.32fr);
  gap: clamp(58px, 7vw, 112px);
  margin-top: clamp(64px, 7vw, 96px);
}

.tpk-footer__socials,
.tpk-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpk-footer__socials {
  display: grid;
  gap: 11px;
}

.tpk-footer__social {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  color: var(--tpk-footer-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.tpk-footer__social-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: #d5d9d8;
  transition: color var(--tpk-motion-fast) ease;
}

.tpk-footer__social-icon svg {
  display: block;
  fill: currentColor;
}

.tpk-footer__social--youtube .tpk-footer__social-icon svg {
  width: 18px;
  height: 18px;
}

.tpk-footer__social--facebook .tpk-footer__social-icon svg {
  width: 16px;
  height: 19px;
}

.tpk-footer__social--instagram .tpk-footer__social-icon svg {
  width: 18px;
  height: 18px;
}

.tpk-footer__social--tiktok .tpk-footer__social-icon svg {
  width: 17px;
  height: 19px;
}

.tpk-footer__social--linkedin .tpk-footer__social-icon svg {
  width: 18px;
  height: 18px;
}

.tpk-footer__social:hover .tpk-footer__social-icon,
.tpk-footer__social:focus-visible .tpk-footer__social-icon {
  color: var(--tpk-footer-hover);
}

.tpk-footer__social-label,
.tpk-footer__link-label {
  position: relative;
  display: inline-block;
  line-height: 1;
  padding-bottom: calc(var(--tpk-underline-gap) + var(--tpk-underline-thickness) + 1px);
}

.tpk-footer__social-label::after,
.tpk-footer__link-label::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--tpk-underline-thickness);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--tpk-underline-duration) var(--ease);
}

.tpk-footer__social:hover .tpk-footer__social-label::after,
.tpk-footer__social:focus-visible .tpk-footer__social-label::after,
.tpk-footer__menu a:hover .tpk-footer__link-label::after,
.tpk-footer__menu a:focus-visible .tpk-footer__link-label::after {
  transform: scaleX(1);
}

.tpk-footer__menus {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: clamp(40px, 5vw, 80px);
}

.tpk-footer__menu-column {
  min-width: 0;
}

.tpk-footer__menu-title {
  margin: 0 0 20px;
  color: var(--tpk-footer-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.tpk-footer__menu-toggle {
  display: none;
}

.tpk-footer__menu-panel {
  height: auto;
}

.tpk-footer__menu {
  display: grid;
  gap: 12px;
}

.tpk-footer__menu a {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  color: var(--tpk-footer-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
}

.tpk-footer__bottom {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 24px;
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: 22px;
  border-top: 1px solid var(--tpk-footer-border);
  color: var(--tpk-footer-subtle);
  font-size: 12px;
  font-weight: 400;
}

.tpk-footer__bottom p,
.tpk-footer__address {
  margin: 0;
}

.tpk-footer__company {
  color: var(--tpk-footer-text);
  font-weight: 550;
}

.tpk-footer__address {
  overflow: hidden;
  font-style: normal;
  line-height: 1.55;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .tpk-footer__directory {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .tpk-footer__socials {
    grid-template-columns: repeat(5, max-content);
  }

  .tpk-footer__social-label {
    display: none;
  }
}

@media (max-width: 767px) {
  .tpk-footer {
    --tpk-footer-background: #fff;
    --tpk-footer-text: #101514;
    --tpk-footer-muted: #515754;
    --tpk-footer-subtle: #767d7a;
    --tpk-footer-border: #dfe3e1;
  }

  .tpk-footer__inner {
    width: 100%;
    padding: 42px 0 24px;
  }

  .tpk-footer__newsletter {
    width: min(calc(100% - 36px), 520px);
  }

  .tpk-footer__newsletter-logo img {
    width: 92px;
    filter: none;
  }

  .tpk-footer__newsletter-title {
    margin-top: 21px;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
  }

  .tpk-footer__newsletter-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .tpk-footer__subscribe {
    width: min(100%, 196px);
    min-height: 44px;
    margin-top: 20px;
    background: #222;
    color: #fff;
    font-size: 14px;
  }

  .tpk-footer__directory {
    display: block;
    margin-top: 34px;
  }

  .tpk-footer__social-nav {
    width: min(calc(100% - 36px), 520px);
    margin-inline: auto;
  }

  .tpk-footer__socials {
    display: flex;
    justify-content: center;
    gap: clamp(22px, 7vw, 32px);
  }

  .tpk-footer__social-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    color: #101514;
  }

  .tpk-footer__social--youtube .tpk-footer__social-icon svg {
    width: 22px;
    height: 22px;
  }

  .tpk-footer__social--facebook .tpk-footer__social-icon svg {
    width: 19px;
    height: 23px;
  }

  .tpk-footer__social--instagram .tpk-footer__social-icon svg {
    width: 22px;
    height: 22px;
  }

  .tpk-footer__social--tiktok .tpk-footer__social-icon svg {
    width: 20px;
    height: 23px;
  }

  .tpk-footer__social--linkedin .tpk-footer__social-icon svg {
    width: 22px;
    height: 22px;
  }

  .tpk-footer__menus {
    display: block;
    margin-top: 28px;
    border-top: 1px solid var(--tpk-footer-border);
  }

  .tpk-footer__menu-column {
    border-bottom: 1px solid var(--tpk-footer-border);
  }

  .tpk-footer__menu-title {
    display: none;
  }

  .tpk-footer__menu-toggle {
    display: flex;
    width: 100%;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: var(--tpk-footer-text);
    font: 600 16px/1.3 var(--tpk-font-sans);
    text-align: left;
  }

  .tpk-footer__menu-indicator {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--tpk-motion-standard) var(--ease);
  }

  .tpk-footer__menu-toggle[aria-expanded="true"] .tpk-footer__menu-indicator {
    transform: translateY(2px) rotate(225deg);
  }

  .tpk-footer__menu-panel {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: height .38s var(--ease), opacity .22s ease, visibility 0s linear .38s;
  }

  .tpk-footer__menu-column.is-open .tpk-footer__menu-panel {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .tpk-footer__menu {
    gap: 14px;
    padding: 0 18px 22px;
  }

  .tpk-footer__menu a {
    font-size: 14px;
    font-weight: 400;
  }

  .tpk-footer__bottom {
    display: block;
    width: min(calc(100% - 36px), 520px);
    margin: 28px auto 0;
    padding-top: 18px;
    font-size: 12px;
    text-align: center;
  }

  .tpk-footer__address {
    display: none;
  }

  .tpk-footer__copyright {
    margin-top: 5px;
  }

  .tpk-footer__company {
    display: block;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpk-footer__subscribe,
  .tpk-footer__social-icon,
  .tpk-footer__social-label::after,
  .tpk-footer__link-label::after,
  .tpk-footer__menu-panel,
  .tpk-footer__menu-indicator {
    transition: none;
  }
}
