/* ================================================================
   default.css  —  닥터송포유 리뉴얼 PC / 주요 페이지 스타일
   기준 디자인: 닥터송_메인랜딩시안_260422
   로드 순서: common.css → default.css → mobile.css
   수정이력: 2026-06 CSS 구조 정리
     - #header / .header-inner / GNB 중복 블록 1개로 통합
     - .sec-title 기본 정의 → common.css로 이전 (여기서 제거)
     - .gnb_wrap !important 중복 정리
     - @media 순서 재정렬: 1280 → 1024 → 996 → 768
     - !important 최소화 (gnb_wrap 배경 제어 2개만 유지)
   ================================================================ */

/* ──────────────────────────────────────────
   폰트
────────────────────────────────────────── */
@font-face {
    font-family: 'KbizHanmaumGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/KBIZHanmaumGothic.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

/* ══════════════════════════════════════════
   1. 상단 유틸 바 리뉴얼 보완
   (기본 구조는 common.css에서 정의)
══════════════════════════════════════════ */
ul.util-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0; padding: 0;
    list-style: none;
    flex: 1;
    justify-content: center;
}
ul.util-links li a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    font-size: 12px;
    color: var(--c-text-mid);
    border-right: 1px solid var(--c-border);
    letter-spacing: -0.02em;
    transition: color var(--tr);
    gap: 5px;
}
ul.util-links li:first-child a { border-left: 1px solid var(--c-border); }
ul.util-links li a:hover { color: var(--c-navy); }
ul.util-links li a img {
    width: 14px; height: 14px;
    object-fit: contain;
    display: inline; float: none;
}

.top-right-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}
.top-sns {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-sns-link {
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity var(--tr);
}
.top-sns-link:hover { opacity: 1; }
.top-sns-link img { width: 22px; height: auto; }

.top-connect {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 16px;
    border-left: 1px solid var(--c-border);
}
.top-connect-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--c-text-light);
}
.top-connect-tel {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-navy);
    letter-spacing: -0.03em;
}

/* ══════════════════════════════════════════
   2. 헤더 (#header)
   ■ 인덱스: 투명 absolute overlay (비주얼 위)
   ■ 서브:   흰색 배경 relative
══════════════════════════════════════════ */

/* h-updown */
#h-updown {
    overflow: hidden;
    height: 60px;
}
#h-updown .bxpager { display: none; }
#h-updown .bxslider { height: 60px; }
#h-updown .bxslider img { max-height: 56px; width: auto; }

/* 헤더 기본 */
#header {
    position: relative;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    z-index: 900;
}

/* 헤더 내부 레이아웃 */
.header-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-col { flex: 0 0 220px; }
.header-col-right { display: flex; justify-content: flex-end; align-items: center; }

/* 로고 */
.header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    line-height: 0;
}
.header-logo a { display: block; }
.header-logo img {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity var(--tr);
}
.header-logo a:hover img { opacity: 0.82; }

/* 로고 두 이미지 기본 제어 */
#index .logo-default { display: block; }
#index .logo-dark    { display: none;  }
.wrap:not(#index) .logo-default { display: none;  }
.wrap:not(#index) .logo-dark    { display: block; }
#index.gnb-hovered .logo-default { display: none;  }
#index.gnb-hovered .logo-dark    { display: block; }

/* 특별 링크 */
.header-special-link { display: block; }
.header-special-link img { max-height: 52px; width: auto; }

/* 모바일 햄버거 — PC 숨김 */
.m-nav-btn { display: none; }

/* ■ 인덱스 전용: 헤더 absolute overlay */
#index #header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    transition: background 0.28s ease, box-shadow 0.28s ease;
}

/* 인덱스 — gnb-hovered 시 헤더 흰색 */
#index.gnb-hovered #header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--c-border);
}

/* ■ 서브 페이지: 흰색 배경 헤더 */
.wrap:not(#index) #header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ══════════════════════════════════════════
   3. GNB 내비게이션 (#gnb)
   ■ 인덱스: 투명 배경 + 흰색 텍스트
   ■ 서브:   네이비 배경 + 흰색 텍스트
══════════════════════════════════════════ */
#gnb {
    position: relative;
    z-index: 800;
    background: transparent;
}

/* gnb_wrap 배경: 인덱스/서브 구분 */
#index .gnb_wrap            { background: transparent !important; }
.wrap:not(#index) .gnb_wrap { background: #fff !important; }

.gnb-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    position: relative;
}

/* 1뎁스 리스트 */
#gnb_1dul {
    display: flex;
    align-items: stretch;
    flex: 1;
    width: 100%;
    margin: 0; padding: 0;
    list-style: none;
}
.gnb_1dli {
    flex: 1;
    text-align: center;
    position: relative;
}

/* 인덱스 GNB: 투명 + 흰색 텍스트 */
#index #gnb { background: transparent; }
#index .gnb_1da {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 6px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-shadow: 0 1px 5px rgba(0,0,0,0.20);
    transition: color 0.25s ease;
    position: relative;
}
#index .gnb_1da::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.22s ease;
}
#index .gnb_1dli:hover > .gnb_1da { color: #fff; }
#index .gnb_1dli:hover > .gnb_1da::after { transform: translateX(-50%) scaleX(1); }

/* 인덱스 — gnb-hovered 시 GNB 텍스트 다크 전환 */
#index.gnb-hovered .gnb_1da {
    color: #111;
    text-shadow: none;
}
#index.gnb-hovered .gnb_1dli:hover > .gnb_1da { color: #111; }
#index.gnb-hovered .gnb_1da::after { background: #111; }

/* 서브 GNB: 네이비 배경 */
.wrap:not(#index) #gnb { background: var(--c-navy); }
.wrap:not(#index) .gnb_1da {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 8px;
    font-size: 16px;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.03em;
    white-space: nowrap;
    transition: color var(--tr), background var(--tr);
    position: relative;
    text-shadow: none;
}
.wrap:not(#index) .gnb_1da::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--c-gold);
    transition: width 0.25s ease;
}
.wrap:not(#index) .gnb_1dli:hover > .gnb_1da,
.wrap:not(#index) .gnb_1dli.active > .gnb_1da { color: #fff; }
.wrap:not(#index) .gnb_1dli:hover > .gnb_1da::after { width: 44%; }

/* 전체메뉴 버튼 */
.gnb_mnal {
    flex: 0 0 auto;
    padding-left: 16px;
}
.gnb_menu_btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.gnb-menu-icon {
    display: block;
    width: 22px; height: 1.5px;
    background: rgba(255,255,255,0.7);
    transition: background var(--tr);
}
.gnb_menu_btn:hover .gnb-menu-icon { background: #fff; }

/* ══════════════════════════════════════════
   전체메뉴 드롭다운 (#gnb_all)
══════════════════════════════════════════ */
#gnb_all {
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--c-border);
    z-index: 700;
    display: none;
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
#gnb_all.is-open {
    animation: gnbDropIn 0.22s ease forwards;
}
@keyframes gnbDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.gnb-all-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 24px 0 28px;
    position: relative;
    display: flex;
    align-items: flex-start;
}
.gnb_al_ul {
    display: flex;
    flex: 1;
    width: 100%;
    margin: 0; padding: 0;
    list-style: none;
}
.gnb_al_li {
    flex: 1;
    border-right: 1px solid var(--c-border);
    padding: 0 12px;
    text-align: left;
}
.gnb_al_li:last-child { border-right: none; }
.gnb_al_li ul { padding: 0; margin: 0; list-style: none; }
.gnb_al_li li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 13.5px;
    font-weight: 400;
    color: #444;
    letter-spacing: -0.03em;
    border-radius: var(--r-sm);
    transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
}
.gnb_al_li li a:hover {
    color: #111;
    background: rgba(20,31,80,0.05);
    padding-left: 14px;
}
.gnb_al_li li a i {
    font-size: 10px;
    opacity: 0.40;
    flex-shrink: 0;
    transition: opacity 0.18s;
}
.gnb_al_li li a:hover i { opacity: 0.85; }

.gnb_close_btn {
    flex: 0 0 auto;
    align-self: flex-start;
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    color: #aaa;
    font-size: 15px;
    cursor: pointer;
    margin-top: 2px;
    transition: color var(--tr), border-color var(--tr), background var(--tr);
}
.gnb_close_btn:hover {
    color: #111;
    border-color: #111;
    background: rgba(20,31,80,0.04);
}

/* ══════════════════════════════════════════
   4. 모바일 드로어 (#m-nav) — PC 기본 숨김
══════════════════════════════════════════ */
#m-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    z-index: 2000;
    visibility: hidden;
    transition: right 0.38s cubic-bezier(0.4,0,0.2,1), visibility 0.38s;
}
#m-nav.active { right: 0; visibility: visible; }

.m-nav-inner {
    position: absolute;
    top: 0; right: 0;
    width: 80%; max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: -8px 0 32px rgba(0,0,0,0.14);
    overflow-y: auto;
}
.m-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 18px;
    border-bottom: 1px solid var(--c-border);
}
.m-nav-logo img { height: 28px; width: auto; }
.m-nav-close {
    background: none; border: none;
    font-size: 20px; color: #888;
    cursor: pointer; padding: 4px;
    transition: color var(--tr);
}
.m-nav-close:hover { color: #222; }

.m-gnb { flex: 1; overflow-y: auto; }
.m-gnb > ul { padding: 8px 0; }
.m-gnb-item > a {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    letter-spacing: -0.03em;
    border-bottom: 1px solid #f4f4f4;
    transition: color var(--tr), background var(--tr);
}
.m-gnb-item > a:hover { color: var(--c-navy); background: var(--c-bg); }

.m-gnb-sub { background: var(--c-bg); }
.m-gnb-sub li a {
    display: block;
    padding: 10px 20px 10px 32px;
    font-size: 13.5px;
    color: var(--c-text-mid);
    border-bottom: 1px solid #eee;
    letter-spacing: -0.02em;
    transition: color var(--tr);
}
.m-gnb-sub li a::before { content: '·'; margin-right: 6px; opacity: 0.5; }
.m-gnb-sub li a:hover { color: var(--c-navy); }

.m-nav-footer {
    padding: 20px;
    border-top: 1px solid var(--c-border);
}
.m-nav-sns {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.m-nav-sns a { display: flex; align-items: center; opacity: 0.75; transition: opacity var(--tr); }
.m-nav-sns a:hover { opacity: 1; }
.m-nav-sns img { width: 28px; height: auto; }
.m-nav-tel-label {
    display: block;
    font-size: 11px;
    color: var(--c-text-light);
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}
.m-nav-tel-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-navy);
    letter-spacing: -0.04em;
}
.m-nav-dim {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.38s ease;
}
#m-nav.active .m-nav-dim { opacity: 1; }

/* ══════════════════════════════════════════
   5. 메인 래퍼
══════════════════════════════════════════ */
.wrap { position: relative; }
#index { position: relative; }

/* ══════════════════════════════════════════
   6. 메인 비주얼 (#m-visual)
══════════════════════════════════════════ */
#m-visual {
    position: relative;
    min-height: 960px;
    overflow: hidden;
    background: linear-gradient(120deg, #c8d3ee 0%, #ddd5e8 100%);
}
#m-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(10,15,30,0.00) 0%,
        rgba(10,15,30,0.00) 35%,
        rgba(10,15,30,0.20) 58%,
        rgba(10,15,30,0.42) 80%,
        rgba(10,15,30,0.56) 100%
    );
    pointer-events: none;
}
.visual-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#visual-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: opacity 0.35s ease;
}
.visual-overlay { display: none; }

.visual-content {
    position: relative;
    z-index: 2;
    min-height: 960px;
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 120px var(--inner-px) 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}
#m-visual .txt-box {
    width: 100%;
    max-width: 640px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
#m-visual .sub-title {
    display: block;
    margin-bottom: 5px;
    font-family: var(--f-body);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.05rem;
    color: rgba(255,255,255,0.80);
}
#m-visual .main-title {
    font-family: var(--f-display);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.04em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18), 0 0 40px rgba(200,215,255,0.12);
}
#m-visual .main-title span {
    display: block;
    margin-top: 4px;
    font-weight: 300;
    font-size: 0.72em;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.88);
    font-family: var(--f-body);
}
#m-visual .desc {
    margin-top: 28px;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.82);
    word-break: keep-all;
}

.visual-btns { margin-top: 36px; }
.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.34);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    transition: all var(--tr);
}
.apply-btn:hover {
    background: #fff;
    color: var(--c-navy);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}

.quick-tabs {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    z-index: 5;
}
.quick-tabs ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.24);
    overflow: hidden;
    margin: 0; padding: 0; list-style: none;
}
.quick-tabs li { border-right: 1px solid rgba(0,0,0,0.07); }
.quick-tabs li:last-child { border-right: 0; }
.quick-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    letter-spacing: -0.03em;
    transition: all var(--tr);
}
.quick-tabs a:hover { background: rgba(255,255,255,0.40); color: #222; }
.quick-tabs li.active a {
    background: rgba(255,255,255,0.90);
    color: #111;
    font-weight: 700;
}

/* ══════════════════════════════════════════
   7. 메인 배너 플러그인
══════════════════════════════════════════ */
.main-banner-wrap {
    max-width: var(--inner-max);
    margin: 0 auto;
    overflow: hidden;
}
.main-banner-wrap .row { justify-content: center; flex-wrap: nowrap; }
.main-banner-wrap .row > * { float: none; display: block; }

/* ══════════════════════════════════════════
   8. 메인 바 OWL 롤링 배너 (#m-bar)
══════════════════════════════════════════ */
#m-bar {
    position: relative;
    padding: 0;
    background: var(--c-navy);
}
#m-bar .inner { position: relative; overflow: hidden; }
#m-bar .owl-stage        { height: 88px; }
#m-bar .owl-stage-outer,
#m-bar .owl-carousel     { height: 88px; }
#m-bar .owl-carousel .owl-item img {
    width: auto;
    max-height: 88px;
    margin: 0 auto;
    display: block;
}
#m-bar .bxpager          { pointer-events: none; }
#m-bar .bxpager > div    { pointer-events: all; }
#m-bar .bxpager .owl-prev,
#m-bar .bxpager .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.65;
    transition: opacity var(--tr);
    z-index: 10;
}
#m-bar .bxpager .owl-prev { left: 32px; }
#m-bar .bxpager .owl-next { right: 32px; }
#m-bar .bxpager .owl-prev:hover,
#m-bar .bxpager .owl-next:hover { opacity: 1; }

/* ══════════════════════════════════════════
   9. 원장 인트로 (#doctor-intro)
══════════════════════════════════════════ */
#doctor-intro {
    padding: var(--sec-py) 0;
    background: #fff;
}
.doctor-intro-wrap {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 var(--inner-px);
    display: flex;
    align-items: center;
    gap: 80px;
}
.doctor-visual { flex: 0 0 46%; }
.doctor-photo-box {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #ececec;
}
.doctor-photo-box > img { width: 100%; height: auto; display: block; }
.doctor-photo-box .vertical-text {
    position: absolute;
    top: 24px; right: 16px;
    writing-mode: vertical-rl;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: rgba(255,255,255,0.65);
    pointer-events: none;
}
.doctor-copy { flex: 1; }
.quote-mark { width: 30px; height: 50px; }
.quote-mark img { width: 100%; height: auto; display: block; }
.doctor-message {
    font-family: var(--f-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 36px;
    word-break: keep-all;
    margin-top: 8px;
}
.doctor-desc { max-width: 600px; }
.doctor-desc p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--c-text-mid);
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    word-break: keep-all;
}
.doctor-desc .greeting { color: #888; font-size: 18px; }
.doctor-desc .strong   { font-weight: 700; color: #333; }
.doctor-sign {
    margin-top: 36px;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    letter-spacing: -0.02em;
}
.doctor-sns-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

/* ══════════════════════════════════════════
   10. Signature Surgery (#signature)
══════════════════════════════════════════ */
#signature {
    padding: var(--sec-py) 0;
    background: #fff;
}
#signature .inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 var(--inner-px);
}
.signature-layout { display: flex; flex-direction: column; overflow: hidden; }
.signature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}
.signature-row.reverse .signature-thumb { order: 2; }
.signature-row.reverse .signature-text  { order: 1; }

.signature-thumb { background: #e8e8e8; overflow: hidden; }
.signature-thumb img {
    display: block;
    width: 100%; height: 100%;
    min-height: 440px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.signature-thumb:hover img { transform: scale(1.04); }
.signature-text {
    display: flex;
    align-items: center;
    background: #fff;
    min-height: 440px;
    padding: 60px 70px;
}
.signature-text-inner { width: 100%; }
.signature-text h3 {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.signature-text .sub-copy {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    word-break: keep-all;
}
.signature-text ul { display: flex; flex-direction: column; gap: 10px; }
.signature-text ul li {
    position: relative;
    padding-left: 18px;
    font-size: 18px;
    line-height: 1.65;
    color: #444;
    letter-spacing: -0.03em;
}
.signature-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 1px;
    color: var(--c-blue);
    font-size: 12px;
    font-weight: 700;
}

/* ══════════════════════════════════════════
   11. Skin & Nutrition (#category)
══════════════════════════════════════════ */
#category .inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 var(--inner-px);
}
.grid-4-col,
.ds-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
#category .item a   { display: block; }
#category .img-box  {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #ddd;
}
#category .img-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
#category .item:hover .img-box img { transform: scale(1.06); }
#category .item p {
    position: absolute;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    z-index: 2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
#category .img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.10) 45%, transparent 100%);
    pointer-events: none;
}

/* ══════════════════════════════════════════
   12. 브랜드 배너 (#brand-banner)
══════════════════════════════════════════ */
#brand-banner {
    position: relative;
    overflow: hidden;
    background: url('../img/doctor_3d.png') no-repeat center center;
    background-size: cover;
}
.banner-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 200px 20px;
    text-align: center;
}
#brand-banner .txt-box h3 {
    font-family: var(--f-display);
    font-size: 56px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.05em;
}
#brand-banner .txt-box p {
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.65;
    color: #333;
    letter-spacing: -0.04em;
}

/* ══════════════════════════════════════════
   13. Before & After 슬라이더
══════════════════════════════════════════ */
.ba-slider-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    margin-bottom: 40px;
}
.ba-slider {
    display: flex;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.ba-slide { min-width: 100%; position: relative; }
.ba-card {
    display: flex;
    gap: 2px;
    background: #111;
    border-radius: var(--r-md);
    overflow: hidden;
}
.ba-col {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.ba-col img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}
#before-after .sec-title { margin-bottom: 60px; }
.ba-more { margin-bottom: 70px; }
.ba-tag {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.ba-tag.after { background: var(--c-blue); }
.ba-label {
    text-align: center;
    margin-top: 14px;
    font-size: 18px;
    color: #888;
    letter-spacing: 0.04em;
}
.ba-locked { position: relative; width: 100%; height: 100%; }
.ba-blur {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    filter: blur(14px);
    transform: scale(1.05);
}
.ba-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(2px);
}
.ba-lock-overlay .fa-lock { font-size: 28px; color: #fff; opacity: 0.85; }
.ba-lock-overlay p {
    font-size: 13px; color: #fff; font-weight: 500;
    margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.ba-login-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 22px;
    background: var(--c-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    transition: background 0.2s;
}
.ba-login-btn:hover { background: var(--c-gold); color: #fff; }

.ba-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 2px 12px rgba(0,0,0,0.14);
    color: #111;
    font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.ba-arrow:hover {
    background: #111;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
.ba-prev { left: 16px; }
.ba-next { right: 16px; }

.ba-more { text-align: center; margin-top: 36px; }
.btn-ba-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border: 1.5px solid #111;
    border-radius: 40px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.22s, color 0.22s;
}
.btn-ba-more:hover { background: #111; color: #fff; }
.btn-ba-more .fa { font-size: 13px; transition: transform 0.2s; }
.btn-ba-more:hover .fa { transform: translateX(4px); }

/* ══════════════════════════════════════════
   14. After Care Program (#after-care)
══════════════════════════════════════════ */
#after-care { background: #fff; }
#after-care .inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--inner-px);
}
.after-care-wrap {
    display: flex;
    align-items: stretch;
    gap: 80px;
    margin-top: 100px;
}
.care-left {
    flex: 0 0 36%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 640px;
}
.care-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--c-blue-light);
    text-transform: uppercase;
}
.care-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: #111;
    margin: 0 0 18px;
}
.care-desc {
    font-size: 18px;
    line-height: 1.75;
    color: var(--c-text-mid);
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    word-break: keep-all;
}
.care-detail-list { border-top: 1px solid var(--c-border); }
.care-detail-list li { padding: 14px 0; border-bottom: 1px solid var(--c-border-light); }
.care-detail-list li strong {
    display: block;
    position: relative;
    padding-left: 21px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}
.care-detail-list li strong::before {
    content: '✓';
    position: absolute;
    top: 2px; left: 0;
    color: var(--c-blue);
    font-size: 12px;
}
.care-detail-list span {
    display: block;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.7;
    color: #888;
}
.care-bottom-box { margin-top: auto; padding-top: 28px; }
.care-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.care-count { display: flex; align-items: baseline; gap: 6px; }
.care-count strong {
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    color: #111;
    letter-spacing: -0.06em;
    font-family: var(--f-display);
}
.care-count span { font-size: 20px; color: #bbb; font-weight: 400; }
.care-arrows { display: flex; align-items: center; gap: 6px; }
.care-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: #888;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: all var(--tr);
}
.care-arrow:hover { border-color: var(--c-blue); color: var(--c-blue); }
.care-right { flex: 1; }
.care-image-box {
    height: 100%;
    min-height: 640px;
    overflow: hidden;
    border-radius: var(--r-md);
    background: #e8e8e8;
}
.care-image-box img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.care-image-box:hover img { transform: scale(1.03); }

/* ══════════════════════════════════════════
   15. Floor Guide (#philosophy)
══════════════════════════════════════════ */
#philosophy { padding: var(--sec-py) 0; background: #fff; }
.phi-list {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--inner-px);
}
.phi-item {
    position: relative;
    height: 220px;
    margin-bottom: 16px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: box-shadow var(--tr);
}
.phi-item:hover { box-shadow: var(--shadow-hover); }
.phi-item:last-of-type { margin-bottom: 0; }
.phi-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0.06) 100%);
}
.phi-item .overlay {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 28px 32px;
    color: #fff;
}
.phi-item h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-family: var(--f-display);
}
.phi-item p {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.02em;
}
.phi-desc { margin-top: 44px; text-align: center; }
.phi-desc p {
    font-size: 18px;
    line-height: 2;
    color: var(--c-text-mid);
    word-break: keep-all;
}
.phi-desc .highlight {
    display: inline-block;
    margin-top: 24px;
    padding: 18px 32px;
    background: var(--c-bg);
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    color: #222;
    line-height: 1.8;
}

/* ══════════════════════════════════════════
   16. 연락처 + 지도 (#contact-map)
══════════════════════════════════════════ */
#contact-map { background: #fff; padding: 0; }
.contact-map-wrap { position: relative; width: 100%; }
.map-area { position: relative; width: 100%; height: 640px; overflow: hidden; }
.map-area img,
.map-area iframe {
    width: 100%; height: 640px;
    object-fit: cover;
    display: block;
    max-width: none;
}
.contact-card-inner {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--inner-max);
    height: 100%;
    padding: 0 var(--inner-px);
    pointer-events: none;
    z-index: 20;
}
.contact-info-card {
    position: absolute;
    top: 17%;
    left: var(--inner-px);
    transform: translateY(-50%);
    width: 540px;
    background: rgba(255,255,255,0.97);
    padding: 48px 44px;
    box-shadow: var(--shadow-hover);
    pointer-events: all;
    border-radius: var(--r-sm);
}
.contact-info-card .mini-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--c-blue);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}
.contact-tel {
    font-size: 50px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.06em;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 24px;
    font-family: var(--f-display);
}
.contact-sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}
.contact-hours { width: 78%; margin: 0 auto; }
.contact-hours p {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.contact-hours strong { flex: 0 0 82px; font-weight: 700; color: #222; }
.contact-hours span   { flex: 1; color: var(--c-text-mid); }
.contact-note { width: 78%; margin: 22px auto 0; }
.contact-note li {
    position: relative;
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--c-blue);
    letter-spacing: -0.02em;
}
.contact-note li::before { content: '·'; position: absolute; left: 0; }

/* ══════════════════════════════════════════
   17. 공지사항 (#m-notice)
══════════════════════════════════════════ */
#m-notice { background: #fff; }
#m-notice .inner { max-width: var(--inner-max); margin: 0 auto; padding: 0 var(--inner-px); }
#m-notice .sec-title { text-align: left; }
.notice-more {
    display: inline-block;
    font-size: 13px;
    color: var(--c-text-light);
    letter-spacing: -0.02em;
    margin-top: 8px;
    transition: color var(--tr);
}
.notice-more:hover { color: var(--c-navy); }
#m-notice ul { border-top: 1px solid var(--c-border); margin-top: 16px; }
#m-notice ul li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border-light);
    transition: padding-left var(--tr), background var(--tr);
}
#m-notice ul li:hover { background: var(--c-bg); padding-left: 8px; }
#m-notice ul li a {
    flex: 1;
    font-size: 15px;
    color: #333;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--tr);
}
#m-notice ul li a:hover { color: var(--c-navy); }
#m-notice ul li .date {
    flex: 0 0 auto;
    font-size: 12px;
    color: #bbb;
    letter-spacing: 0;
}

/* ══════════════════════════════════════════
   18. 유튜브 Swiper (#m-youtube)
══════════════════════════════════════════ */
#m-youtube { overflow: hidden; background: var(--c-bg); }
#m-youtube .inner { max-width: var(--inner-max); margin: 0 auto; padding: 0 var(--inner-px); }
#m-youtube .sec-title h2 { font-size: 52px; }
#m-youtube .fc-p { color: var(--c-blue); }
.youtube-slider-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}
.yt-swiper { overflow: visible; }
.yt-swiper .swiper-wrapper { align-items: center; }
.yt-swiper .swiper-slide {
    width: auto;
    opacity: 0.40;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.yt-swiper .swiper-slide-active { opacity: 1; transform: scale(1.02); }
.yt-swiper .swiper-slide-prev,
.yt-swiper .swiper-slide-next  { opacity: 0.60; }
.yt-item {
    border-radius: var(--r-md);
    overflow: hidden;
    background: #111;
    box-shadow: var(--shadow);
}
.embed-youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.embed-youtube iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.yt-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 50%;
    background: #fff;
    color: #666;
    font-size: 16px;
    cursor: pointer; z-index: 20;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
    transition: all var(--tr);
}
.yt-nav:hover { border-color: var(--c-navy); color: var(--c-navy); }
.yt-prev { left: 10px; }
.yt-next { right: 10px; }

/* ══════════════════════════════════════════
   19. 서브 페이지 공통
══════════════════════════════════════════ */
#svisual .container {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
}
.snb { border-bottom: 2px solid var(--c-navy); }
.snb a, .ssnb a {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-mid);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--tr);
    letter-spacing: -0.03em;
}
.snb a:hover, .snb a.active,
.ssnb a:hover, .ssnb a.active {
    color: var(--c-navy);
    border-bottom-color: var(--c-navy);
}

/* ══════════════════════════════════════════
   20. AOS 기본 지원
══════════════════════════════════════════ */
[data-aos] {
    transition-property: opacity, transform;
}

/* ══════════════════════════════════════════
   21. F-COMMUNITY 리뉴얼
══════════════════════════════════════════ */
#f-community {
    background: var(--c-navy);
    padding: 0;
}
#f-community .container-lg {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 24px;
}
.f-icon-wrap { padding: 0; }
.f-icon-list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0; padding: 0;
    list-style: none;
}
.f-icon-list li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.f-icon-list li:last-child { border-right: 0; }
.f-icon-list li a,
.f-icon-list li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 8px;
    transition: background var(--tr);
}
.f-icon-list li a:hover { background: rgba(255,255,255,0.06); }
.f-icon-list li img {
    display: block;
    max-height: 64px;
    width: auto;
    margin: 0 auto;
}

/* ══════════════════════════════════════════
   22. FOOTER 리뉴얼
══════════════════════════════════════════ */
#footer {
    background: #f8f8f6;
    border-top: 1px solid var(--c-border);
}
.footer-policy {
    border-bottom: 1px solid var(--c-border);
    background: #fff;
}
.footer-policy .container-lg {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-policy-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0; padding: 0;
    list-style: none;
    height: 48px;
    justify-content: center;
}
.footer-policy-list li {
    position: relative;
    padding: 0 16px;
}
.footer-policy-list li + li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 10px;
    background: #ccc;
}
.footer-policy-list li a {
    font-size: 12px;
    color: var(--c-text-mid);
    letter-spacing: -0.02em;
    transition: color var(--tr);
}
.footer-info {
    background-color: #fff;
    padding: 32px 0 36px;
}
.footer-info .container-lg {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 24px;
}
.footer-info-inner {
    display: flex;
    align-items: center;
    gap: 36px;
}
.footer-logo { flex: 0 0 auto; }
.footer-logo img {
    display: block;
    max-width: 250px;
    width: 100%;
    height: auto;
    opacity: 0.75;
}
.footer-text { flex: 1; }
.footer-biz {
    font-size: 12px;
    color: #888;
    line-height: 1.7;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}
.footer-divider { display: inline-block; margin: 0 6px; color: #ccc; }
.footer-address {
    font-style: normal;
    font-size: 12px;
    color: #888;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}
.footer-copy {
    font-size: 11px;
    color: #bbb;
    margin: 0;
    letter-spacing: -0.01em;
}

/* ════════════════════════════════════════════════════════
   반응형 미디어쿼리
   순서: 1280px → 1024px → 996px → 768px
   ※ 모바일(767px 이하)는 mobile.css에서 전담
════════════════════════════════════════════════════════ */

/* ── 태블릿 보완 (≤ 1280px) ── */
@media (max-width: 1280px) {
    :root { --sec-py: 100px; }

    .sec-title h2         { font-size: 40px; }
    .sec-title p          { font-size: 16px; }

    #m-visual { min-height: 820px; }
    .visual-content { min-height: 820px; }
    #m-visual .main-title { font-size: 58px; }
    #m-visual .sub-title  { font-size: 17px; }
    #m-visual .desc       { font-size: 16px; }

    .signature-text           { padding: 48px 52px; }
    .signature-text h3        { font-size: 32px; }
    .signature-text .sub-copy { font-size: 16px; }
    .signature-text ul li     { font-size: 16px; }

    .doctor-intro-wrap { gap: 56px; }
    .doctor-message    { font-size: 32px; }
    .doctor-desc p     { font-size: 15px; }

    .care-title  { font-size: 44px; }
    .care-desc   { font-size: 16px; }

    .contact-info-card { width: 480px; padding: 40px 36px; }
    .contact-tel       { font-size: 44px; }

    .phi-item h3 { font-size: 26px; }
    .phi-item p  { font-size: 14px; }
}

/* ── 태블릿 (≤ 1024px) ── */
@media (max-width: 1024px) {
    :root { --sec-py: 80px; }

    /* top-btn 숨김 */
    #top-btn { display: none; }

    /* 헤더 */
    .header-inner { height: 60px; padding: 0 16px; }
    .header-logo img { height: 34px; }
    .header-col { flex: 0 0 auto; }
    #h-updown { display: none; }
    .header-special-link img { max-height: 36px; }

    /* 인덱스 헤더: absolute 유지 */
    #index #header { position: absolute; }
    /* 서브 헤더: relative + 배경 */
    .wrap:not(#index) #header { position: relative; }

    /* GNB 숨김 */
    #gnb { display: none; }

    /* 햄버거 버튼 표시 */
    .m-nav-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px; height: 18px;
        background: none; border: none;
        cursor: pointer; padding: 0;
        flex: 0 0 auto;
    }
    .m-nav-btn span {
        display: block;
        width: 100%; height: 2px;
        background: #333;
        border-radius: 1px;
        transition: all 0.3s ease;
    }
    #index .m-nav-btn span { background: #fff; }
    .wrap:not(#index) .m-nav-btn span { background: #333; }

    /* 비주얼 */
    #m-visual { min-height: 700px; }
    .visual-content { min-height: 700px; align-items: center; padding: 100px 20px; }
    #m-visual .txt-box { max-width: 100%; text-align: center; margin-top: 300px; }
    #m-visual .main-title { font-size: 48px; }
    #m-visual .desc { margin: 20px auto 0; max-width: 500px; }
    .apply-btn { min-width: auto; }

    /* Signature — 1컬럼 전환 */
    .signature-row { grid-template-columns: 1fr; }
    .signature-row.reverse .signature-thumb { order: 0; }
    .signature-row.reverse .signature-text  { order: 1; }
    .signature-thumb img { min-height: 260px; }
    .signature-text { padding: 32px 24px; min-height: auto; }
    .signature-text h3 { font-size: 28px; margin-bottom: 12px; }
    .signature-text .sub-copy { font-size: 16px; margin-bottom: 20px; }
    .signature-text ul li { font-size: 16px; }

    /* Doctor */
    .doctor-intro-wrap { flex-direction: column; gap: 36px; }
    .doctor-visual, .doctor-copy { flex: none; width: 100%; }
    .doctor-photo-box { max-width: 100%; }
    .doctor-message   { font-size: 28px; }
    .doctor-desc p    { font-size: 15px; line-height: 1.7; }

    /* After Care */
    .after-care-wrap { flex-direction: column; gap: 36px; }
    .care-left  { max-width: 100%; min-height: auto; }
    .care-right { width: 100%; }
    .care-image-box { min-height: 400px; }
    .care-title  { font-size: 38px; }
    .care-desc   { font-size: 15px; }
    .care-detail-list li { font-size: 14px; }

    /* Contact */
    .contact-map-wrap  { display: flex; flex-direction: column; }
    .map-area          { height: 360px; order: 1; }
    .map-area img, .map-area iframe { height: 360px; }
    .contact-card-inner { position: relative; top: auto; left: auto; transform: none; pointer-events: auto; height: auto; order: 2; }
    .contact-info-card  { position: relative; top: auto; left: auto; transform: none; width: 100%; max-width: 100%; box-shadow: none; border-radius: 0; }
    .contact-hours, .contact-note { width: 100%; }
    .contact-tel  { font-size: 38px; }

    /* 그리드 */
    .grid-4-col, .ds-grid-4 { grid-template-columns: repeat(2, 1fr); }

    /* Brand Banner */
    .banner-inner { padding: 100px 20px; }
    #brand-banner .txt-box h3 { font-size: 32px; }

    /* 섹션 타이틀 */
    .sec-title           { margin-bottom: 40px; }
    .sec-title h2        { font-size: 36px; letter-spacing: -0.03em; }
    .sec-title p         { font-size: 16px; margin-top: 10px; }

    /* Notice / YouTube */
    #m-notice .board-list td { font-size: 13px; }
    #m-youtube .sec-title h2 { font-size: 36px; }

    /* f-community */
    .f-icon-list li img { max-height: 52px; }

    /* footer */
    .footer-info-inner { gap: 24px; }
    .footer-logo img { max-width: 140px; }
}

/* ── 태블릿 (≤ 996px) — 특정 섹션 보완 ── */
@media (max-width: 996px) {
    #signature { padding: 0; }
    .quick-tabs a { font-size: 14px; }

    .after-care-wrap {
        margin-top: 0;
        flex-direction: column-reverse;
    }
    .care-left { flex-direction: column-reverse; }
    .care-bottom-box { padding-top: 0; padding-bottom: 28px; }
}

/* ── 모바일 보완 (≤ 768px) ── */
/* ※ 세부 모바일 스타일은 mobile.css(max-width: 767px)에서 처리 */
/* 여기서는 768px 경계점 보정만 수행 */
@media (max-width: 768px) {
    :root { --sec-py: 64px; }

    .sec-title           { margin-bottom: 32px; }
    .sec-title h2        { font-size: 32px; letter-spacing: -0.03em; line-height: 1.25; }
    .sec-title p         { font-size: 16px; margin-top: 8px; }

    #m-visual            { min-height: 560px; }
    .visual-content      { min-height: 800px; padding: 80px 20px; }
    #m-visual .main-title{ font-size: 42px; line-height: 1.25; }
    #m-visual .desc      { font-size: 15px; line-height: 1.65; margin-top: 14px; }
    .apply-btn           { font-size: 14px; padding: 13px 28px; }
    .visual-btns         { margin-top: 25px; }

    .signature-text           { padding: 28px 20px; min-height: auto; }
    .signature-text h3        { font-size: 25px; margin-bottom: 10px; }
    .signature-text .sub-copy { font-size: 16px; margin-bottom: 16px; }
    .signature-text ul li     { font-size: 15px; padding-left: 16px; }
    .signature-thumb img      { min-height: 240px; max-height: 300px; }

    .doctor-intro-wrap   { gap: 28px; }
    .doctor-message      { font-size: 26px; line-height: 1.45; }
    .doctor-desc p       { font-size: 15px; line-height: 1.7; }

    .care-title          { font-size: 28px; margin: 0 0 10px; }
    .care-desc           { font-size: 16px; line-height: 1.65; }
    .care-detail-list li { font-size: 13px; padding: 11px 0; }
    .care-image-box      { min-height: 280px; }

    .ba-col img, .ba-blur { height: 220px; }
    .ba-card              { gap: 1px; }
    .ba-arrow             { width: 36px; height: 36px; font-size: 16px; }
    .ba-label             { font-size: 12px; }

    .contact-tel         { font-size: 30px; }
    .contact-hours p     { font-size: 13px; }
    .contact-note li     { font-size: 12px; }

    .phi-item            { height: 180px; }
    .phi-item h3         { font-size: 22px; }
    .phi-item p          { font-size: 13px; }
    .phi-desc p          { font-size: 16px; }

    #before-after .sec-title { margin-bottom: 30px; }
    .ba-more                 { margin-bottom: 55px; }

    #m-youtube .sec-title h2 { font-size: 36px; }

    .grid-4-col, .ds-grid-4  { grid-template-columns: 1fr 1fr; gap: 12px; }

    .banner-inner             { padding: 40px 20px; }
    #brand-banner .txt-box h3 { font-size: 26px; line-height: 1.3; }
    #brand-banner .txt-box p  { font-size: 17px; line-height: 1.4; margin-top: 20px; }

    .footer-info-inner   { gap: 16px; flex-direction: column; }
    .footer-logo img     { max-width: 120px; }
    .footer-copy         { font-size: 12px; }
}
