/* ==========================================
   Footer
   ========================================== */
.cm-footer {
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cm-footer__inner {
  width: 1200px;
  padding: 50px 0;
  flex-shrink: 0;
  border-top: 1px solid rgba(34, 34, 34, 0.1);
  @media (max-width: 768px) {
    width: 100%;
    border-top: none;
    padding: 50px 0;
  }
}

/* 모바일 CTA가 있는 페이지(home, programs 등)에서만 하단 여백 확보 */
@media (max-width: 768px) {
  body:has(.mobile-cta) .cm-footer__inner {
    padding: 50px 0 130px 0;
  }
}

.cm-footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 60px;
    padding: 0 24px;
  }
}

.cm-footer__brand {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.cm-footer__logo {
  width: 32px;
  height: 35px;
  flex-shrink: 0;
}

.cm-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cm-footer__tagline {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-size: 15px;
  color: #1b1b1b;
  line-height: 1.6;
  margin: 0;
}

.cm-footer__slogan {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-size: 15px;
  color: #1b1b1b;
  line-height: 1;
  margin: 0;
}

.cm-footer__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #4a4a4a;
  width: 760px;
  @media (max-width: 768px) {
    width: 100%;
  }
}

.cm-footer__company {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cm-footer__company-title {
  font-family: Pretendard, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(27, 27, 27, 0.6);
}

.cm-footer__company-details {
  color: rgba(27, 27, 27, 0.6);
  font-family: Pretendard, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
}

.cm-footer__company-details p {
  margin: 0;
}

.cm-footer__company-details p + p {
  margin-top: 8px;
}

.cm-footer__links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.cm-footer__links a {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #4a4a4a;
  text-decoration: underline;
  letter-spacing: -0.24px;
  line-height: 1.25;
  white-space: nowrap;
}

.cm-footer__links a:hover {
  color: #1b1b1b;
}

.channel-talk-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.channel-talk-button:focus-visible {
  outline: 2px solid #1b1b1b;
  outline-offset: 3px;
}

.channel-talk-button img {
  width: 28px;
  height: 28px;
}

/* 채널톡이 열려도 버튼은 계속 표시 (사용자가 다시 닫을 수 있도록) */
/* body.channel-talk-open .channel-talk-button {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
} */

.ch-launcher,
#ch-plugin-launcher {
  display: none !important;
}

/* ==========================================
   푸터 내 mo-only / pc-only (769px 기준, responsive.css와 동일)
   ========================================== */
.cm-footer .pc-only {
  display: none !important;
}

@media (min-width: 769px) {
  .cm-footer .pc-only {
    display: block !important;
  }
}

.cm-footer .pc-only-inline {
  display: none !important;
}

@media (min-width: 769px) {
  .cm-footer .pc-only-inline {
    display: inline !important;
  }
}

.cm-footer .pc-only-flex {
  display: none !important;
}

@media (min-width: 769px) {
  .cm-footer .pc-only-flex {
    display: flex !important;
  }
}

.cm-footer .mo-only {
  display: block !important;
}

@media (min-width: 769px) {
  .cm-footer .mo-only {
    display: none !important;
  }
}

.cm-footer .mo-only-inline {
  display: inline !important;
}

@media (min-width: 769px) {
  .cm-footer .mo-only-inline {
    display: none !important;
  }
}

.cm-footer .mo-only-flex {
  display: flex !important;
}

@media (min-width: 769px) {
  .cm-footer .mo-only-flex {
    display: none !important;
  }
}
