/* .page-header → 히어로 섹션으로 대체됨 (hero-slider.css) */
/* .container / h2 / .section-subtitle → common.css */

/* 섹션 공통 */
.contact section,
.contact {
    padding: 5rem 0;
    background: var(--light-gray);
}

/* 상단 정보 바 */
.contact-info-bar {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-top: 3rem;
    overflow: hidden;
    min-height: 100px;
}

.contact-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 2rem 1.8rem;
    transition: background 0.2s ease;
    align-self: stretch;
    min-height: 90px;
}

.contact-bar-item:hover {
    background: #f4fce8;
}

.contact-bar-item strong {
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-bar-item span {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.5;
}

.contact-bar-divider {
    width: 1px;
    background: #eee;
    margin: 1rem 0;
}

/* 지도 */
.contact-map {
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    height: 380px;
}

.contact-map a {
    display: block;
    height: 100%;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-map:hover img {
    transform: scale(1.02);
}

/* 교통편 */
.contact-transport {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-top: 1.5rem;
    overflow: hidden;
}

.transport-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 1.8rem 2rem;
}

.transport-title {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transport-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.transport-divider {
    width: 1px;
    background: #eee;
    margin: 1rem 0;
}

.label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-right: 6px;
}

.label.subway-1 { background-color: #f26522; }
.label.subway-2 { background-color: #00a99d; }
.label.bus      { background-color: #3a0ca3; }

/* ── 반응형 ── */
@media (max-width: 900px) {
    .contact-info-bar {
        flex-wrap: wrap;
    }
    .contact-bar-item {
        flex: 1 1 45%;
        min-width: 0;
    }
    .contact-bar-divider {
        display: none;
    }

    .contact-transport {
        flex-direction: column;
    }
    .transport-divider {
        display: none;
    }
    .transport-item {
        border-bottom: 1px solid #eee;
    }
    .transport-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .contact-info-bar {
        flex-direction: column;
        overflow: visible;
    }
    .contact-bar-item {
        flex: unset;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 1.2rem 1.4rem;
    }
    .contact-bar-item:last-child {
        border-bottom: none;
    }
    .contact-bar-item strong {
        font-size: 0.78rem;
    }
    .contact-bar-item span {
        font-size: 0.9rem;
    }
    .contact-bar-divider {
        display: none;
    }

    .contact-transport {
        flex-direction: column;
        overflow: visible;
    }
    .transport-item {
        padding: 1.2rem 1.4rem;
        border-bottom: 1px solid #eee;
    }
    .transport-item:last-child {
        border-bottom: none;
    }
    .transport-divider {
        display: none;
    }
    .transport-title {
        font-size: 0.78rem;
    }
    .transport-text p {
        font-size: 0.9rem;
    }
    .label {
        font-size: 0.78rem;
        padding: 2px 8px;
        display: block;
        width: fit-content;
        margin-bottom: 0.3rem;
    }

    .contact-map {
        height: 220px;
    }
}
