/* ============================================================
   서브 페이지 공통 CSS
   ============================================================ */

/* ── 타이틀 섹션 ── */
.wv-title-container { padding: 80px 20px; text-align: center; }
.wv-title-container .wv-title { font-size: 36px; font-weight: 700; color: #000; letter-spacing: -0.05em; }
.wv-title-container .wv-sub-title { font-size: 16px; font-weight: 500; color: #333; margin-top: 10px; letter-spacing: -0.02em; }
.wv-title-container .wv-title-line { width: 100px; height: 3px; background-color: #102476; margin: 30px auto; }
.wv-title-container .wv-title-desc { font-size: 18px; color: #555; line-height: 1.6; word-break: keep-all; }

/* ── PC/모바일 이미지 전환 ── */
.wv-sub-con .wv-pc-img,
.wv-sub-con .wv-mo-img { width: 100%; height: auto; }
.wv-sub-con .wv-mo-img { display: none; }
.wv-sub-con .wv-pc-img { display: block; }

/* ── 등장 애니메이션 ── */
.sub-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.sub-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 서브 페이지 이미지 블록 ── */
#sub-page-container { width: 100%; overflow: hidden; }
.sub-page-section { width: 100%; }

.sub-img-wrap { width: 100%; line-height: 0; display: block; }
.sub-img-wrap img,
.sub-img-wrap picture { width: 100%; height: auto; display: block; }

/* ── HTML 콘텐츠 블록 ── */
.sub-content-block { width: 100%; padding: 80px 20px; box-sizing: border-box; background: #fff; }
.sub-content-inner { max-width: 1200px; margin: 0 auto; }
.sub-content-title { font-size: 32px; font-weight: 700; color: #222; margin-bottom: 20px; line-height: 1.4; }
.sub-content-text { font-size: 16px; color: #555; line-height: 1.8; }

/* ── 서브 탭 메뉴 ── */
.sub-tab-nav { border-bottom: 1px solid #e2e2e2; background: #fff; }
.tab-list { display: flex; justify-content: center; max-width: 1200px; margin: 0 auto; list-style: none; padding: 0; }
.tab-list li { width: 180px; text-align: center; }
.tab-list li a { display: block; padding: 25px 0; font-size: 18px; color: #999; text-decoration: none; position: relative; transition: 0.3s; }
.tab-list li a.active { color: #102476; font-weight: 700; }
.tab-list li a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: #102476; }

/* ── 의료진 소개 ── */
.doctor-intro-section { padding: 60px 0; background: #fff; }
.inner-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.profile-flex { display: flex; align-items: flex-start; gap: 60px; }
.doctor-photo { flex: 0 0 450px; }
.doctor-photo img { width: 100%; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.doctor-details { flex: 1; }
.doctor-details .eng-name { font-size: 15px; color: #8a96bc; letter-spacing: 1px; margin-bottom: 5px; }
.doctor-details .intro-title { font-size: 28px; font-weight: 700; color: #333; margin-bottom: 20px; position: relative; }
.doctor-details .intro-title::after { content: ''; display: block; width: 30px; height: 2px; background: #333; margin-top: 10px; }
.name-box { display: inline-block; background: #102476; color: #fff; padding: 8px 25px; font-size: 22px; font-weight: 500; margin-bottom: 25px; }
.name-box .highlight { font-weight: 700; margin-right: 5px; }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 16px; color: #444; line-height: 1.6; }
.history-list li::before { content: '◆'; position: absolute; left: 0; top: 4px; color: #102476; font-size: 12px; }
.history-list li.point { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.history-list li.point::before { content: ''; }
.k-icon { width: 20px; height: auto; }

/* ── 특장점 섹션 ── */
.clinic-features-container { width: 100%; }
.feature-section { padding: 80px 0; background: #fff; }
.feature-section.bg-gray { background: #f8f8f8; }
.feature-row { display: flex; align-items: center; justify-content: center; gap: 70px; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-img { flex: 0 0 350px; text-align: center; }
.feature-img img { width: 100%; max-width: 350px; border-radius: 50%; box-shadow: 0 15px 30px rgba(0,0,0,0.06); background: #fff; }
.feature-text { flex: 1; max-width: 500px; }
.feature-text .num { font-size: 26px; font-weight: 900; color: #102476; display: block; margin-bottom: 5px; }
.feature-text h4 { font-size: 34px; font-weight: bold; color: #102476; margin-bottom: 20px; letter-spacing: -1px; }
.feature-text p { font-size: 20px; font-weight: 500; color: #444; line-height: 1.7; word-break: keep-all; }

/* ════════════════════════════════════
   반응형
   ════════════════════════════════════ */
@media screen and (max-width: 991px) {
    .profile-flex { flex-direction: column; align-items: center; gap: 40px; }
    .doctor-photo { flex: 0 0 auto; width: 100%; max-width: 400px; }
    .doctor-details { width: 100%; }
}

@media screen and (max-width: 768px) {
    /* 타이틀 */
    .wv-title-container { padding: 50px 20px 0; }
    .wv-title-container .wv-title { font-size: 28px; }
    .wv-title-container .wv-sub-title { font-size: 14px; }
    .wv-title-container .wv-title-desc { font-size: 16px; }
    .br-pc { display: none; }

    /* 이미지 전환 */
    .wv-sub-con .wv-pc-img { display: none !important; }
    .wv-sub-con .wv-mo-img { display: block !important; }

    /* 탭 메뉴 */
    .tab-list li { width: 25%; }
    .tab-list li a { font-size: 14px; padding: 15px 0; }

    /* 콘텐츠 블록 */
    .sub-content-block { padding: 50px 20px; }
    .sub-content-title { font-size: 22px; }
    .sub-content-text { font-size: 14px; }

    /* 특장점 */
    .feature-section { padding: 60px 0; }
    .feature-row,
    .feature-row.reverse { flex-direction: column; text-align: center; gap: 30px; }
    .feature-img { flex: 0 0 auto; width: 280px; }
    .feature-text h4 { font-size: 24px; }
    .feature-text p { font-size: 16px; }
}


/* ── 카운트업 통계 섹션 ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&display=swap');

.sec-stats {
    background: #fff;
    padding: 100px 20px;
}

.sec-stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 40px;
}

/* 구분선 */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #e0e0e0;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 110px;
    color: #102476;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 16px;
    color: #888;
    letter-spacing: -0.02em;
    line-height: 1.6;
}

/* PC: stat-label 줄바꿈 숨김 */
.stat-label br { display: none; }

/* 반응형 */
@media screen and (max-width: 768px) {
    .sec-stats { padding: 60px 10px; }

    .sec-stats-inner {
        flex-direction: row; /* 가로 유지 */
        align-items: flex-start;
        gap: 0;
    }

    .stat-item { padding: 0 10px; }

    /* 구분선 유지 */
    .stat-item:not(:last-child)::after {
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
    }

    .stat-num { font-size: 48px; margin-bottom: 12px; }
    .stat-label { font-size: 12px; }
    .stat-label br { display: inline; }
}

@media screen and (max-width: 375px) {
    .stat-num { font-size: 38px; }
    .stat-label { font-size: 11px; }
}


/* ════════════════════════════════════
   sec02 – 정밀 진단 장비
   ════════════════════════════════════ */

.sec02 {
    background: #f4f5f7;
    padding: 100px 0 120px;
}

.sec02-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 타이틀 */
.sec02-tit-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.sec02-tit-wrap img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* ── PC: 2x2 그리드 ── */
.sec02-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sec02-card {
    overflow: hidden;
    transition: transform 0.3s;
}

.sec02-card:hover {
    transform: translateY(-4px);
}

.sec02-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 모바일: 좌우 스크롤 ── */
.sec02-scroll { width: 100%; }

.sec02-scroll-inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px 4px;
    box-sizing: border-box;
}

.sec02-scroll-inner::-webkit-scrollbar { display: none; }

.sec02-scroll-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    overflow: hidden;
}

.sec02-scroll-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* 인디케이터 */
.sec02-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.sec02-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s;
}

.sec02-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #102476;
}

/* ── 반응형 ── */
@media screen and (max-width: 1280px) {
    .sec02-inner { max-width: 100%; }
}

@media screen and (max-width: 768px) {
    .sec02 { padding: 70px 0 80px; }
    .sec02-tit-wrap { margin-bottom: 40px; }
    .sec02-tit-wrap img { max-width: 100%; padding: 0 20px; box-sizing: border-box; }
}

@media screen and (max-width: 480px) {
    .sec02-scroll-card { flex: 0 0 88vw; }
}


/* ════════════════════════════════════
   sec03 – 비수술 치료 장비
   (sec02와 동일 구조, 배경색만 흰색)
   ════════════════════════════════════ */

.sec03 {
    background: #fff;
    padding: 100px 0 120px;
}

.sec03-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.sec03-tit-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.sec03-tit-wrap img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* PC: 2x2 그리드 */
.sec03-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sec03-card {
    overflow: hidden;
    transition: transform 0.3s;
}

.sec03-card:hover { transform: translateY(-4px); }

.sec03-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* 모바일: 좌우 스크롤 */
.sec03-scroll { width: 100%; }

.sec03-scroll-inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px 4px;
    box-sizing: border-box;
}

.sec03-scroll-inner::-webkit-scrollbar { display: none; }

.sec03-scroll-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    overflow: hidden;
}

.sec03-scroll-card img {
    width: 100%;
    height: auto;
    display: block;
}

.sec03-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.sec03-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s;
}

.sec03-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #102476;
}

@media screen and (max-width: 1280px) {
    .sec03-inner { max-width: 100%; }
}

@media screen and (max-width: 768px) {
    .sec03 { padding: 70px 0 80px; }
    .sec03-tit-wrap { margin-bottom: 40px; }
    .sec03-tit-wrap img { max-width: 100%; padding: 0 20px; box-sizing: border-box; }
}

@media screen and (max-width: 480px) {
    .sec03-scroll-card { flex: 0 0 88vw; }
}


/* ════════════════════════════════════
   sec04 – 재활·물리치료 장비
   ════════════════════════════════════ */

.sec04-equip {
    background: #f4f5f7;
    padding: 100px 0 120px;
}

.sec04-equip-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.sec04-equip-tit-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.sec04-equip-tit-wrap img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* PC: 2열 그리드 */
.sec04-equip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sec04-equip-card {
    overflow: hidden;
    transition: transform 0.3s;
}

.sec04-equip-card:hover { transform: translateY(-4px); }

.sec04-equip-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* 모바일: 좌우 스크롤 */
.sec04-equip-scroll { width: 100%; }

.sec04-equip-scroll-inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px 4px;
    box-sizing: border-box;
}

.sec04-equip-scroll-inner::-webkit-scrollbar { display: none; }

.sec04-equip-scroll-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    overflow: hidden;
}

.sec04-equip-scroll-card img {
    width: 100%;
    height: auto;
    display: block;
}

.sec04-equip-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.sec04-equip-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s;
}

.sec04-equip-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #102476;
}

@media screen and (max-width: 1280px) {
    .sec04-equip-inner { max-width: 100%; }
}

@media screen and (max-width: 768px) {
    .sec04-equip { padding: 70px 0 80px; }
    .sec04-equip-tit-wrap { margin-bottom: 40px; }
    .sec04-equip-tit-wrap img { max-width: 100%; padding: 0 20px; box-sizing: border-box; }
}

@media screen and (max-width: 480px) {
    .sec04-equip-scroll-card { flex: 0 0 88vw; }
}
