/* support.php — midam 메인 블루 톤 */
.midam-support-page {
    --home-blue: #2563eb;
    --home-blue-dark: #1d4ed8;
    --home-blue-light: #dbeafe;
    --home-text: #0f172a;
    --home-muted: #64748b;
    --home-border: #e2e8f0;
    --home-max: 1200px;
    background: #f8fafc;
    color: var(--home-text);
}

.midam-support-page .sub-nav {
    display: none;
}

.support-page {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 32px 24px 56px;
    box-sizing: border-box;
}

.support-hero {
    text-align: center;
    margin-bottom: 36px;
    padding: 36px 24px;
    border-radius: 24px;
    background: linear-gradient(118deg, #eff6ff 0%, #dbeafe 38%, #f0f9ff 72%, #ffffff 100%);
    border: 1px solid var(--home-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.support-hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.support-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--home-text);
}

.support-hero p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--home-muted);
    line-height: 1.6;
}

.support-section {
    margin-bottom: 28px;
}

.support-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--home-text);
    letter-spacing: -0.02em;
}

.support-section-title i {
    font-size: 1.25rem;
    color: var(--home-blue);
}

.support-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.support-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.support-channel:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.support-channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.support-channel-icon--kakao {
    background: #fef9c3;
    color: #854d0e;
}

.support-channel-icon--wechat {
    background: #dcfce7;
    color: #166534;
}

.support-channel-icon--inquiry {
    background: var(--home-blue-light);
    color: var(--home-blue);
}

.support-channel h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--home-text);
}

.support-channel-desc {
    margin: 0 0 4px;
    font-size: 0.85rem;
    color: var(--home-muted);
    line-height: 1.5;
}

.support-channel-meta {
    display: block;
    margin-bottom: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
}

.support-channel-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.support-channel-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.support-hours-card {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.support-hours-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--home-blue-dark);
}

.support-hours-head i {
    font-size: 1.1rem;
}

.support-hours-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.support-hours-list li {
    display: flex;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--home-muted);
    line-height: 1.5;
}

.support-hours-list strong {
    width: 72px;
    flex-shrink: 0;
    color: var(--home-text);
    font-weight: 600;
}

.support-hours-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dbeafe;
    font-size: 0.82rem;
    color: var(--home-blue-dark);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.support-hours-note i {
    flex-shrink: 0;
    margin-top: 2px;
}

.support-faq-card {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.support-faq-list {
    display: flex;
    flex-direction: column;
}

.support-faq-item {
    border-bottom: 1px solid var(--home-border);
}

.support-faq-item:last-child {
    border-bottom: none;
}

.support-faq-q {
    width: 100%;
    padding: 18px 20px;
    border: none;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--home-text);
    transition: background 0.15s;
}

.support-faq-q:hover {
    background: #f8fafc;
}

.support-faq-q span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.support-faq-q .faq-q-badge {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--home-blue-light);
    color: var(--home-blue);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-faq-q i.ph-caret-down {
    flex-shrink: 0;
    color: var(--home-muted);
    transition: transform 0.2s;
}

.support-faq-item.is-open .support-faq-q i.ph-caret-down {
    transform: rotate(180deg);
}

.support-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 20px 0 56px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--home-muted);
}

.support-faq-item.is-open .support-faq-a {
    max-height: 240px;
    padding: 0 20px 18px 56px;
}

@media (max-width: 900px) {
    .support-channels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-page {
        padding: 20px 16px 40px;
    }

    .support-hero {
        padding: 28px 18px;
    }
}
