@charset "UTF-8";

/* ==========================================================================
   화천(HWACHEON) 이용약관 & 개인정보처리방침
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #ffffff !important;
    color: #111111;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.main-container {
    width: 100%;
    overflow-x: hidden;
    padding-top: 4.5rem;
    box-sizing: border-box;
}

.max-layout-width {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-section-padding {
    padding: 5rem 0 8rem;
}

.sub-hero-banner {
    width: 100%;
    background: #fafafa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 5rem 2rem 4.5rem;
    text-align: center;
    box-sizing: border-box;
}

.banner-inner {
    max-width: 800px;
    margin: 0 auto;
}

.sub-category-tag {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #888888;
    display: block;
    margin-bottom: 0.8rem;
}

.sub-page-title {
    font-family: 'Jost', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #111111;
    margin: 0 0 1rem 0;
}

.sub-page-desc {
    font-size: 0.98rem;
    color: #666666;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   약관 탭 전환 네비게이션
   ────────────────────────────────────────────────────────────────────────── */
.terms-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.terms-tab-btn {
    padding: 0.75rem 2rem;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.terms-tab-btn:hover {
    border-color: #111111;
    color: #111111;
}

.terms-tab-btn.active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

/* ──────────────────────────────────────────────────────────────────────────
   약관 본문 문서 스타일
   ────────────────────────────────────────────────────────────────────────── */
.terms-document-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 3.5rem 3rem;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 1rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #eeeeee;
}

.terms-desc {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.8;
    margin: 0 0 1rem 0;
    word-break: keep-all;
}

.terms-list {
    margin: 0.5rem 0 1rem 1.2rem;
    padding: 0;
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.75;
}

.terms-list li {
    margin-bottom: 0.4rem;
}

.terms-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.88rem;
}

.terms-table th, .terms-table td {
    border: 1px solid #e2e2e2;
    padding: 0.9rem 1.2rem;
    text-align: left;
    line-height: 1.5;
}

.terms-table th {
    background: #fafafa;
    font-weight: 600;
    color: #111111;
}

.terms-table td {
    color: #555555;
}

.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .sub-page-title {
        font-size: 2.1rem;
    }
    .terms-document-box {
        padding: 2rem 1.5rem;
    }
    .terms-tab-btn {
        flex: 1;
        text-align: center;
        padding: 0.75rem 0.5rem;
    }
}