.site-footer {
  position: relative;
  display: block;
  padding: 0 var(--pad);
  color: #fff;
  background: #080808;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0;
}

.footer-inner {
  width: 100%;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  padding: 30px 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.footer-social a,
.footer-social span,
.footer-social button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .2s ease;
}

.footer-social a:hover,
.footer-social span:hover,
.footer-social button:hover {
  color: #e60012;
}

.footer-social a:focus-visible,
.footer-social button:focus-visible {
  outline: 1px solid #e60012;
  outline-offset: 4px;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-company {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.footer-company .footer-logo img {
  width: 116px;
  height: 50px;
  object-fit: contain;
}

.footer-company p {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}

.footer-top-button {
  position: absolute;
  right: var(--pad);
  top: -64px;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #fff;
  background: #080808;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.footer-top-button span {
  color: #e60012;
  font-size: 14px;
}

.copy-toast {
  position: fixed;
  z-index: 100;
  right: max(24px, var(--pad));
  bottom: 24px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 14px;
  color: #fff;
  background: #080808;
  border-left: 2px solid #e60012;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
  font: 700 14px/1.4 "Noto Sans KR", sans-serif;
  letter-spacing: -.01em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.copy-toast-check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #e60012;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-toast-check path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

.copy-toast.is-visible .copy-toast-check path {
  animation: copy-toast-check .28s ease-out forwards;
}

@keyframes copy-toast-check {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 0 var(--pad);
  }

  .footer-main,
  .footer-company {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    padding: 35px 0;
    gap: 32px;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-company {
    gap: 12px;
  }

  .footer-top-button {
    right: var(--pad);
  }

  .copy-toast {
    left: auto;
    right: var(--pad);
    bottom: 20px;
    width: max-content;
    max-width: calc(100vw - (var(--pad) * 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy-toast {
    transform: none;
    transition: none;
  }

  .copy-toast-check path {
    stroke-dashoffset: 0;
  }

  .copy-toast.is-visible .copy-toast-check path {
    animation: none;
  }
}
