/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  z-index: 3;
  width: 100%;
  background-color: #000000;
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-10);
  display: flex;
  align-items: center;
  height: 160px;
  overflow: visible;
  gap: var(--space-16);
}

/* ── Logo Column ── */
.footer__logo-col {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: visible;
}

.footer__logo {
  width: auto;
  height: 360px;
  object-fit: contain;
  display: block;
  margin-left: -40px;
}

.footer__logo-desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer__logo-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  margin-left: 16px;
  gap: 12px;
  overflow: visible;
}

.footer__logo-text {
  height: 140px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-top: 60px;
}

.footer__logo-tok {
  height: 120px;
  width: auto;
  object-fit: cover;
  display: block;
  position: relative;
  top: -50px;
}

/* ── Content Columns ── */
.footer__content {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: var(--space-2);
  letter-spacing: 0.03em;
}

.footer__col-item {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.footer__col-item:hover {
  color: #ffffff;
}

.footer__col-item svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -2px;
  margin-right: 6px;
}

/* ── Divider ── */
.footer__divider {
  width: 100%;
  max-width: var(--container-xl);
  margin: var(--space-10) auto 0;
  padding: 0 var(--space-10);
}

.footer__divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Bottom Bar ── */
.footer__bottom {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-6) var(--space-10) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.3);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__social-handle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer__social-link:hover .footer__social-handle {
  color: #ffffff;
}

.footer__social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: var(--space-8);
    text-align: center;
    padding: 0 var(--space-6);
  }

  .footer__logo-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .footer__logo {
    height: 180px;
    margin-left: 0;
  }

  .footer__logo-side {
    margin-left: 0;
    margin-top: 16px;
    gap: 8px;
  }

  .footer__logo-text {
    height: 80px;
    margin-top: 0;
  }

  .footer__logo-tok {
    height: 60px;
    top: 0;
  }

  .footer__content {
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
  }

  .footer__col {
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}
