/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow-x: hidden;
}

.footer-inner {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 53px 0 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 340px;
}

.footer-logo {
  width: 303px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 36px;
}


/* Company Info */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.footer-info-label {
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.8);
  width: 72px;
  flex-shrink: 0;
}

.footer-info-value {
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Navigation */
.footer-nav {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-left: auto;
  margin-top: 92px;
}

.footer-nav-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: none;
  gap: 16px;
  overflow: visible;
}

/* 각 분류명 텍스트 폭에 맞춰 열 너비를 지정 — 다음 열과의 시작 간격을 동일하게 맞추기 위함 */
.footer-nav-row--about      { width: 68px; }
.footer-nav-row--business   { width: 68px; }
.footer-nav-row--portfolio  { width: 84px; }
.footer-nav-row--media      { width: 52px; }
.footer-nav-row--recruit    { width: 36px; }
.footer-nav-row--disclosure { width: 36px; }

.footer-nav-main {
  font-family: "Pretendard-SemiBold", "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.footer-nav-main:hover { color: #e30f1c; }

.footer-nav-sub-cols {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-nav-sub-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-nav-cat {
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.65);
  white-space: nowrap;
  margin-bottom: 2px;
  cursor: pointer;
}

.footer-nav-cat:hover { color: #e30f1c; }

.footer-nav-sub {
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav-sub:hover { color: #e30f1c; }

/* Social Links */
.footer-social {
  position: absolute;
  top: 53px;
  right: 0;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.55);
  transition: background 0.18s, color 0.18s;
}

.footer-social-link:hover {
  background: #e30f1c;
  color: #fff;
}

.footer-social-link--linkedin:hover {
  background: #0a66c2;
}

/* Bottom Bar */
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 60px auto 0;
  padding: 28px 0;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.footer-copyright {
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-link {
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  white-space: nowrap;
}

.footer-legal-link:hover { color: #e30f1c; }

.footer-legal-divider {
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

/* =====================================================
   TABLET (≤1024px)
   ===================================================== */
@media (max-width: 1024px) {
  .footer-inner {
    flex-direction: column;
    gap: 40px;
    padding: 48px 40px 24px;
  }

  .footer-left {
    width: 100%;
  }

  .footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 28px;
  }

  .footer-nav {
    gap: 40px;
    margin-left: 0;
    margin-top: 0;
  }

  .footer-social {
    position: static;
    margin-top: 8px;
  }

  .footer-bottom {
    margin: 32px auto 0;
    padding: 20px 40px;
  }
}

/* =====================================================
   MOBILE (≤767px)
   ===================================================== */
@media (max-width: 767px) {
  .footer {
    min-height: auto;
  }

  .footer-inner {
    gap: 0;
    padding: 40px 20px 40px;
  }

  .footer-logo {
    width: 180px;
    max-width: calc(100% - 98px);
    margin-bottom: 20px;
  }

  .footer-social {
    position: absolute;
    top: 40px;
    right: 20px;
    margin-top: 0;
  }

  .footer-info { gap: 14px; }

  .footer-info-label {
    font-size: 14px;
    width: 60px;
  }

  .footer-info-value {
    font-size: 13px;
    white-space: normal;
  }

  .footer-nav { display: none; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    margin-top: 10px;
  }

  .footer-copyright { font-size: 13px; }

  .footer-legal { flex-wrap: wrap; gap: 10px 12px; }
  .footer-legal-link { font-size: 12px; }
}
