/* intro.css */

/* 페이지 기본 설정 (스크롤 허용, footer가 내용 아래에 자연스럽게 붙도록) */
html,
body {
    width: 100%;
    height: auto;
    min-height: 100%;
}

body {
    background: #f6f7f9;
    margin: 0;
}

/* 1920 고정 제거(가로 스크롤 방지) */
.wrap {
    width: 100%;
    max-width: 1920px;
    min-height: calc(100vh - 80px);
    margin: 0 auto;
    background: #f6f7f9;
    display: flex;
    flex-direction: column;
}

.intro-main {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.cards {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 32px;
}

.card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
    padding: 56px 40px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.card img {
    width: 297px;
    height: auto;
    display: block;
    margin-bottom: 22px;
}

.card .title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #00A3A3;
}

.card .title .reser {
    color: #262626;
}

.card .sub {
    font-size: 24px;
    font-weight: 400;
    color: #666;
}

.card .sub .bar {
    font-weight: 200;
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .card {
        padding: 44px 28px 40px;
    }
}

/* 팝업 */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.popup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.popup-img {
    display: block;
    max-width: 90vw;
    max-height: calc(90vh - 60px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.popup-actions {
    display: flex;
    border-top: 1px solid #eee;
}

.popup-btn {
    flex: 1;
    padding: 18px;
    border: none;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
}

.popup-btn-today {
    color: #666;
    border-right: 1px solid #eee;
}

.popup-btn-close {
    color: #262626;
    font-weight: 600;
}