@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  font-family: "Pretendard", sans-serif;
}

/* ─────────────────────────────
   FOOTER BASE
───────────────────────────── */
.footer {
  background-color: #f3f3f3;
  width: 100%;
  padding: 24px 0 32px;
}

.footer-inner {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─────────────────────────────
   DESKTOP LAYOUT  (기본)
   로고 | 사업자정보(아래 배치) | 우측: 전화+SNS
───────────────────────────── */
.footer-desktop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* Left = 로고 위에, 사업자정보 아래 */
.footer-left {
  display: flex;
  flex-direction: column; /* ← 세로 쌓기 */
  align-items: flex-start;
  gap: 63px;
}

.footer-logo {
  width: clamp(143px, 11.4vw, 220px);
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 사업자정보 두 컬럼 가로 배치 */
.footer-info-group {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  font-size: clamp(12px, 3.8vw, 18px);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #070707;
}

.footer-info:first-child {
  color: #474747;
}

.footer-org {
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-detail {
  font-weight: 400;
}

/* Right = 전화번호 + SNS 아이콘 세로 */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  flex-shrink: 0;
}

.footer-phone {
  font-size: 26px;
  font-weight: 800;
  color: #070707;
  letter-spacing: -1px;
  white-space: nowrap;
}

.footer-sns {
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-end;
}

.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #070707;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sns-btn:hover {
  background-color: #f04e51;
}

/* ─────────────────────────────
   MOBILE HIDDEN ON DESKTOP
───────────────────────────── */
.footer-mobile {
  display: none;
}

/* ─────────────────────────────
   DISCLAIMER & COPYRIGHT
───────────────────────────── */
.footer-disclaimer {
  text-align: center;
  margin-bottom: 10px;
}

.footer-disclaimer p {
  font-size: 14px;
  font-weight: 400;
  color: #9b9b9b;
  line-height: 1.5;
}

.footer-copyright {
  text-align: center;
  padding-top: 8px;
}

.footer-copyright p {
  font-size: 11.5px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.5px;
}

/* ─────────────────────────────
   MOBILE LAYOUT  (≤ 768px)
   두 번째 이미지 기준
───────────────────────────── */
@media (max-width: 768px) {
  .footer {
    padding: 36px 0 28px;
  }

  .footer-inner {
    padding: 0 20px;
  }

  /* 데스크탑 숨기기 */
  .footer-desktop {
    display: none;
  }

  /* 모바일 표시 */
  .footer-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
    gap: 0;
    color: #707070;
  }

  .mobile-title {
    font-size: 14px;
    font-weight: 700;
    color: #707070;
    margin-bottom: 6px;
  }

  .mobile-detail {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
  }

  .mobile-detail strong {
    font-weight: 700;
  }

  /* SNS 아이콘 가로 3개 */
  .mobile-sns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 65px;
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .mobile-sns .sns-btn {
    width: 40px;
    height: 40px;
  }

  /* 모바일 disclaimer */
  .mo-footer-disclaimer p,
  .footer-copyright p {
    font-size: 10px;
    color: #070707;
  }

  .mo-footer-disclaimer p {
    line-height: 1.8;
    padding-top: 8px;
  }

  .footer-disclaimer {
    display: none;
  }
}
