@charset "utf-8";

/* ========================================================
   ONCAP24 Premium Footer V2 CSS
======================================================== */

.site-footer {
    background: #101820; /* 14단계: 다크 배경 */
    color: #94a3b8;
    margin-top: auto;
    font-family: var(--font-family);
    line-height: 1.6;
}

.site-footer a {
    color: #94a3b8;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.site-footer a:hover {
    color: #ffffff; /* 화이트 호버 */
}

/* 10단계: 하단 CTA */
.footer-cta {
    background: #1a2430; /* 약간 더 밝은 다크 톤 */
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cta-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    background: #2a3645;
    color: #fff !important;
    min-height: 48px; /* 터치 영역 44px 이상 */
}

.cta-btn:hover {
    background: #3b4959;
    transform: translateY(-2px);
}

.cta-btn.primary {
    background: var(--primary-color, #2563eb);
}
.cta-btn.primary:hover {
    background: var(--primary-dark, #1d4ed8);
}

.cta-btn.kakao {
    background: #FEE500;
    color: #381E1F !important;
}
.cta-btn.kakao:hover {
    background: #FFCD00;
}

/* 7단계: Trust 영역 */
.footer-trust {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #e2e8f0;
    font-weight: 600;
}

.trust-list i {
    font-size: 24px;
    color: var(--primary-color, #2563eb);
}

/* 1단계 ~ 6단계: 5 Column 구조 */
.footer-main {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-logo {
    height: 36px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.brand-desc {
    font-size: 14px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.col-title {
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 24px;
}

.col-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.col-links li {
    list-style: none;
}

.col-links a {
    font-size: 14px;
    padding: 4px 0; /* 터치 영역 보조 */
}

.text-highlight {
    color: #ffffff !important;
    font-weight: 700;
}

.col-links a:hover {
    transform: translateX(4px); /* 페이드 애니메이션 */
}

.cs-info {
    color: #cbd5e1;
}

.cs-number {
    display: block;
    font-size: 28px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 8px;
}

.cs-time {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.cs-email {
    font-size: 15px;
    color: var(--primary-color, #2563eb) !important;
    font-weight: 600;
}

/* 8, 9단계: 사업자 정보 및 SNS */
.footer-bottom {
    padding: 40px 0;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.business-info {
    font-size: 13px;
    line-height: 1.8;
    color: #64748b;
    flex: 1;
}

.info-item {
    display: inline-block;
    margin-right: 16px;
}

.info-item::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,0.1);
    margin-left: 16px;
}

.info-item:last-child::after,
br + .info-item::after {
    display: none;
}

.business-info strong {
    color: #94a3b8;
    font-weight: 600;
}

.copyright {
    margin-top: 16px;
    font-size: 12px;
}

.sns-list {
    display: flex;
    gap: 16px;
}

.sns-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    color: #cbd5e1;
}

.sns-list a svg {
    width: 20px;
    height: 20px;
}

.sns-list a:hover {
    background: var(--primary-color, #2563eb);
    color: #ffffff;
    transform: translateY(-3px);
}

/* 12단계: SEO Footer */
.footer-seo {
    background: #0b1117;
    padding: 16px 0;
    text-align: center;
}

.seo-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.seo-links a {
    font-size: 12px;
    color: #475569;
}

.seo-links a:hover {
    color: #94a3b8;
}

/* PC 퀵메뉴 스타일 추가 */
/* mobile footer CTA hidden on small screens */
@media (max-width: 767.98px) {
  .footer-cta {
    display: none !important;
  }
}

@media (min-width: 993px) {
  .footer-cta {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    z-index: 9999;
  }
  .cta-inner {
    flex-direction: column;
    gap: 12px;
  }
  .cta-btn {
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    padding: 16px 24px;
    min-width: 180px;
  }
  .cta-btn.primary {
    background: #2563eb;
    color: #fff !important;
  }
  .cta-btn.kakao {
    background: #FEE500;
    color: #371d1e !important;
  }
}
