*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;line-height:1.5;min-width:320px;word-break:keep-all;-webkit-text-size-adjust:100%}
body{font-family:'Pretendard Variable','Pretendard',-apple-system,BlinkMacSystemFont,sans-serif;color:#14122e;background:#fff;-webkit-font-smoothing:antialiased}
button{color:inherit;background:none;border:0;font:inherit;cursor:pointer}
ul,ol{list-style:none}img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.main_video {
    /*margin-top: 100px;*/
    width: 100%;

    video {
        width: 100%;
    }
}

.empty {
    width: 100%;
    height: 500px;
}

.first_menu{
    min-width: 190px;
}

.first_menu_a{
    justify-content: center;
}

/* Tokens
   ─────────────────────────────────────────────────────────────────── */
.visual-section {
    --vs-purple-900: #2D0E3D;
    --vs-purple-700: #5F0080;
    --vs-gray-700:   #333;
    --vs-gray-200:   #ebebeb;
    --vs-max-width:  1400px;
    --vs-tab-h-pc:   72px;
    --vs-tab-h-mo:   60px;
    --vs-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --vs-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}
@property --shimmer-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}


/* Section
   ─────────────────────────────────────────────────────────────────── */
.visual-section {
    position: relative;
    width: 100%;
    background: #fff;
    padding-bottom: calc(var(--vs-tab-h-pc) / 2 + 48px);
}
@media (max-width: 768px) {
    .visual-section { padding-bottom: calc(var(--vs-tab-h-mo) + 24px); }
}


/* Swiper Layout
   ─────────────────────────────────────────────────────────────────── */
.visual-section .swiper-outer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; max-height: 100vh;
    overflow: hidden;
}
.visual-section #visualSwiper { width: 100%; height: 100%; }
.visual-section #visualSwiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* Slide Background
   실제 이미지 사용 시 .slide-bg 대신 <img> 태그로 교체
   ─────────────────────────────────────────────────────────────────── */
.visual-section .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 7s var(--vs-ease-out);
}

/* ── 이미지 배경 슬롯 ── */
.visual-section .slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s var(--vs-ease-out);
}
.visual-section .swiper-slide-active .slide-img { transform: scale(1); }
/* 이미지 미배치/로드실패 시 폴백 배경 */
.visual-section .main-slide1 .slide-bg { background: linear-gradient(135deg, #2D0E3D 0%, #5F0080 55%, #8E4DAB 100%); }
.visual-section .main-slide2 .slide-bg { background: linear-gradient(135deg, #0d1b35 0%, #1a3a6e 50%, #1e5799 100%); }
.visual-section .main-slide3 .slide-bg { background: linear-gradient(135deg, #0c2618 0%, #1a4a2c 50%, #2d7a48 100%); }

/* 영상 위 색상 스크림 — 슬라이드별 아이덴티티 + 타이포 가독성 */
.visual-section .slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.visual-section .slide-copy { position: relative; z-index: 2; }

/* ── 타이포 진입 애니메이션 (활성 슬라이드) ── */
.visual-section .slide-copy > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.4s var(--vs-ease-out), transform 1.4s var(--vs-ease-out);
}
.visual-section .swiper-slide-active .copy-eyebrow { transition-delay: .3s; }
.visual-section .swiper-slide-active .copy-title   { transition-delay: .40s; }
.visual-section .swiper-slide-active .copy-sub     { transition-delay: .58s; }
.visual-section .swiper-slide-active .slide-copy > * {
    opacity: 1;
    transform: translateY(0);
}
/* eyebrow는 살짝 다르게(글자 간격 좁혀지며 등장) */
.visual-section .swiper-slide-active .copy-eyebrow { opacity: .65; }
@media (prefers-reduced-motion: reduce) {

    .visual-section .swiper-slide-active .copy-eyebrow { opacity: .65; }
}

.visual-section .swiper-slide-active .slide-bg { transform: scale(1); }

.visual-section .main-slide1 .slide-scrim {
    background:
            linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.62) 100%),
            rgba(95,0,128,.18) 0%;
    background-blend-mode: multiply;
}
.visual-section .main-slide2 .slide-scrim {
    background:
            linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.62) 100%),
            rgba(30,87,153,.18) 0%;
    background-blend-mode: multiply;
}
.visual-section .main-slide3 .slide-scrim {
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 60%, rgba(0,0,0,.18) 100%);
    background-blend-mode: multiply;
}

.visual-section #visualSwiper .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
    rgba(0,0,0,0)    35%,
    rgba(0,0,0,.18)  70%,
    rgba(0,0,0,.38) 100%);
    pointer-events: none;
    z-index: 1;
}


/* Slide Copy
   ─────────────────────────────────────────────────────────────────── */
.visual-section .slide-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    /* 중앙에서 약간 오른쪽으로 이동 */
    padding-left: clamp(28%, 32vw, 40%);
    padding-right: clamp(3rem, 6vw, 7rem);
    text-align: right;
    color: #fff;
    pointer-events: none;
}
.visual-section .slide-copy > * { max-width: min(88vw, 620px); }

/* ── 좌측 강점 리스트 = 슬라이드 인디케이터 겸용 ── */
.visual-section .slide-features {
    position: absolute;
    left: clamp(1.5rem, 4vw, 4rem);
    top: 66%;
    transform: translateY(-50%);
    z-index: 6;
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: min(42vw, 560px);
}
.visual-section .feat-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    cursor: pointer;
    color: rgba(255,255,255,.82);
    font-size: clamp(.72rem, 1.05vw, .9rem);
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.4;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
    transition: color .5s var(--vs-ease-out), opacity .5s var(--vs-ease-out);
    /* 진입 애니 */
    opacity: 0;
    transform: translateY(16px);
}
.visual-section.features-in .feat-item { opacity: 1; transform: none; transition: opacity .9s var(--vs-ease-out), transform .9s var(--vs-ease-out), color .5s var(--vs-ease-out); }
.visual-section.features-in .feat-item:nth-child(1) { transition-delay: .5s; }
.visual-section.features-in .feat-item:nth-child(2) { transition-delay: .64s; }
.visual-section.features-in .feat-item:nth-child(3) { transition-delay: .78s; }
.visual-section .feat-item:hover { color: rgba(255,255,255,.95); }
.visual-section .feat-item.is-active { color: #fff; font-weight: 600; }
/* ● 마커 = 타이머 링 */
.visual-section .feat-dot {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid rgba(255,255,255,.4);
    transition: transform .4s var(--vs-ease-out), border-color .4s var(--vs-ease-out);
}
.visual-section .feat-item.is-active .feat-dot {
    transform: scale(1.15);
    border-color: rgba(167,139,250,.35);
}
/* 원호(도넛) 진행: conic-gradient 배경 + 가운데 뚫기 */
.visual-section .feat-fill {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(#ffffff var(--p, 0deg), transparent 0deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    opacity: 0;
    filter: drop-shadow(0 0 5px rgba(255,255,255,.85));
}
.visual-section .feat-item.is-active .feat-fill { opacity: 1; }
.visual-section .feat-item.is-active .feat-fill.run {
    animation: featarc 7.5s linear forwards;
}
.visual-section.is-paused .feat-item.is-active .feat-fill.run { animation-play-state: paused; }
.visual-section .feat-item.is-active .feat-dot { border-color: #A78BFA; }


.visual-section.is-paused .feat-item.is-active .feat-fill.run { animation-play-state: paused; }
@keyframes featarc {
    from { --p: 0deg; }
    to   { --p: 360deg; }
}
@property --p {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
} to { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
    .visual-section .feat-fill.run { animation: none; --p: 360deg; }
    .visual-section .feat-item { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 768px) {
    .visual-section .slide-features {
        left: 1.3rem; right: 1.3rem; top: auto; bottom: 3.5rem; transform: none;
        max-width: none; gap: 1rem;
    }
    .visual-section .feat-item { font-size: .74rem; }
}

.visual-section .slide-copy > * { max-width: min(90vw, 760px); }

/* ══════ HERO 스와이퍼 반응형 통합 ══════ */
/* 태블릿 이하: 높이 확보 */
@media (max-width: 1024px) {
    .visual-section .swiper-outer { aspect-ratio: auto; height: 70vh; min-height: 460px; }
    .visual-section .slide-copy { padding-right: clamp(3.5rem, 8vw, 6rem); }
    .visual-section .copy-title { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 300; line-height: 1.3; }

    /* ── 메인 타이포 3줄 시간차 애니 ── */
    .visual-section .copy-title .ln {
        display: block;
        font-weight: 300;
        opacity: 0;
    }




    to { opacity: 1; transform: translateY(0); } }





.visual-section .copy-title .ln em {
    font-weight: 800;   /* 3번째 줄만 두껍게 */
    font-style: normal;
    opacity: 1;
}
/* 활성 슬라이드에서 줄이 하나씩 시간차로 올라옴 */

/* 모바일: 세로 레이아웃 재구성 */
@media (max-width: 768px) {
    .visual-section .swiper-outer { aspect-ratio: auto; height: 78vh; min-height: 520px; }
    /* 타이포: 우측정렬 유지하되 여백 축소, 화살표와 겹침 방지 위해 위쪽 배치 */
    .visual-section .slide-copy {
        align-items: flex-end;
        justify-content: flex-start;
        padding: 4.5rem 1.4rem 0;
        text-align: right;
    }
    .visual-section .slide-copy > * { max-width: 88vw; }
    .visual-section .copy-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .visual-section .copy-sub { font-size: .8rem;  line-height: 1.6; margin-top: .9rem;}
    /* 강점 리스트: 하단, 전체폭 */
    .visual-section .slide-features {
        left: 1.3rem; right: 1.3rem; bottom: 4.8rem;
        max-width: none;
        gap: .9rem;
    }
    .visual-section .slide-features li { font-size: .72rem; line-height: 1.35; }
    /* 화살표: 모바일 숨김 (스와이프/자동재생으로 대체) */
    .visual-section .swiper-button-prev,
    .visual-section .swiper-button-next { display: none !important; }
    /* 하단 인디케이터 여백 */
    .visual-section .slide-indicator { bottom: 1.2rem; }
}
/* 초광폭: 타이포/리스트 상한 고정 */
@media (min-width: 1920px) {
    .visual-section .slide-copy { padding-right: clamp(11rem, 12vw, 18rem); }
    .visual-section .copy-title { font-size: 3.4rem; }
    .visual-section .slide-features { max-width: 620px; }
}

.visual-section .copy-eyebrow {
    font-size: clamp(.65rem, .9vw, .8rem);
    font-weight: 600;
    letter-spacing: .42em;
    text-transform: uppercase;
    opacity: .7;
}
.visual-section .copy-title {
    font-size: clamp(1.9rem, 3vw, 3.4rem);
    font-weight: 300;
    letter-spacing: -.025em;
    line-height: 1.22;
}
.visual-section .copy-title em {
    font-style: normal;
    font-weight: 800;
    opacity: 1;
}
.visual-section .copy-sub {
    font-size: clamp(.82rem, 1.1vw, 1rem);
    font-weight: 400;
    letter-spacing: .02em;
    opacity: .72;
}
/* Navigation Arrows (글래스모피즘)
   ─────────────────────────────────────────────────────────────────── */
.visual-section #visualSwiper .swiper-button-prev,
.visual-section #visualSwiper .swiper-button-next { z-index: 15;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(95, 0, 128, .22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(194,163,217,.32);
    border-radius: 50%;
    box-shadow:
            inset 0  1px 0 rgba(255,255,255,.20),
            inset 0 -1px 0 rgba(  0,  0,  0,.10),
            0 4px 24px rgba(45,14,61,.25);
    color: rgba(255,255,255,.85);
    cursor: pointer;
    transition:
            background   .3s var(--vs-ease-smooth),
            border-color .3s var(--vs-ease-smooth),
            box-shadow   .3s var(--vs-ease-smooth),
            color        .3s var(--vs-ease-smooth),
            transform    .3s var(--vs-ease-out);
}
@media (min-width: 769px) {
    .visual-section #visualSwiper .swiper-button-next { display: flex;  z-index: 15;}
}
.visual-section #visualSwiper .swiper-button-prev::after,
.visual-section #visualSwiper .swiper-button-next::after { display: none; }
.visual-section #visualSwiper .swiper-button-prev svg,
.visual-section #visualSwiper .swiper-button-next svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
}
.visual-section #visualSwiper .swiper-button-prev { left:  2rem; }
.visual-section #visualSwiper .swiper-button-next { right: 2rem;  z-index: 15;}
@media (min-width: 1280px) {
    .visual-section #visualSwiper .swiper-button-prev { left:  3rem; }
    .visual-section #visualSwiper .swiper-button-next { right: 3rem;  z-index: 15;}
}
.visual-section #visualSwiper .swiper-button-prev:hover,
.visual-section #visualSwiper .swiper-button-next:hover {
    background: rgba(95, 0, 128, .45);
    border-color: rgba(194,163,217,.6);
    box-shadow:
            inset 0  1px 0 rgba(255,255,255,.30),
            inset 0 -1px 0 rgba(  0,  0,  0,.15),
            0 8px 32px rgba(45,14,61,.35);
    color: #fff;
}
.visual-section #visualSwiper .swiper-button-prev:hover { transform: translateX(-3px); }
.visual-section #visualSwiper .swiper-button-next:hover { transform: translateX( 3px); }

.visual-section .slide-dots { display: flex; align-items: center; gap: .55rem; }
.visual-section .slide-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    overflow: hidden;
    transition: width .4s var(--vs-ease-out), background .35s var(--vs-ease-smooth);
}
.visual-section .slide-dot:hover:not(.is-active) { background: rgba(255,255,255,.65); }
.visual-section .slide-dot.is-active {
    width: 40px;
    background: rgba(255,255,255,.18);
}
.visual-section .slide-dot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.88);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
}
.visual-section .slide-dot.is-active::before {
    animation: vs-prog-fill 3s linear forwards;
}
.visual-section.is-paused .slide-dot.is-active::before {
    animation-play-state: paused;
}
@keyframes vs-prog-fill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes vs-shimmer-rotate { to { --shimmer-angle: 360deg; } }

/*!
 * =========================================================================
 * 당산원치과 — Typography System v2 (LOCKED, integer px)
 * ─────────────────────────────────────────────────────────────────────────
 *  Display     56px / 36px (mobile)   weight 700  lh 1.15  ls -0.03em
 *  Title  H2   40px / 28px            weight 700  lh 1.25  ls -0.025em
 *  Subtitle    28px / 22px            weight 700  lh 1.30  ls -0.020em
 *  Card Title  20px / 18px            weight 700  lh 1.40  ls -0.015em
 *  Lead        18px / 15px            weight 400  lh 1.65  ls -0.005em
 *  Body        16px / 14px            weight 400  lh 1.70  ls 0
 *  Eyebrow     13px / 12px            weight 600  lh 1.00  ls 0.25em UPPER
 *  Caption     12px / 11px            weight 500  lh 1.55  ls 0.02em
 *
 *  Mobile breakpoint: ≤768px
 *  모든 섹션이 이 토큰을 그대로 사용. 절대 개별 상속 X.
 * =========================================================================
 */
:root {
    /* desktop */
    --fs-display:    56px;
    --fs-title:      40px;
    --fs-subtitle:   28px;
    --fs-card-title: 20px;
    --fs-lead:       18px;
    --fs-body:       16px;
    --fs-eyebrow:    13px;
    --fs-caption:    12px;

    --lh-display:    1.15;
    --lh-title:      1.25;
    --lh-subtitle:   1.3;
    --lh-card-title: 1.4;
    --lh-lead:       1.65;
    --lh-body:       1.7;
    --lh-eyebrow:    1;
    --lh-caption:    1.55;

    --ls-display:    -0.03em;
    --ls-title:      -0.025em;
    --ls-subtitle:   -0.02em;
    --ls-card-title: -0.015em;
    --ls-lead:       -0.005em;
    --ls-eyebrow:    0.25em;
    --ls-caption:    0.02em;
}
@media (max-width: 768px) {
    :root {
        --fs-display:    36px;
        --fs-title:      28px;
        --fs-subtitle:   22px;
        --fs-card-title: 18px;
        --fs-lead:       15px;
        --fs-body:       14px;
        --fs-eyebrow:    12px;
        --fs-caption:    11px;
    }
}



/* ── 최신 토큰 보정 (FULL 기준) ── */
:root{ --dwc-serif:'Cormorant Garamond',Georgia,'Times New Roman',serif; }
:root{ --fs-title: 48px; }
@media (max-width:768px){ :root{ --fs-title: 34px; } }


/* ════════ 최신 섹션 CSS (FULL) ════════
* .dw-case v3 — Case Study (Featured + Thumbnails) / NO Swiper
                                                     * ─────────────────────────────────────────────────────────────────────────
                                                     * 자체 구현 슬라이더 — Swiper 의존성 0
*  ─ fade 전환: opacity transition (CSS)
*  ─ thumbs sync: 클릭 이벤트 + is-active 클래스 토글
*  ─ direction 변경: CSS flex만으로 (vertical/horizontal)
*  ─ BEFORE/AFTER 드래그: pointer events
            * =========================================================================
*/

@property --dwc-shimmer-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.dw-case {
    /* Royal Indigo + Lavender */
    --dwc-primary:        #4C1D95;
    --dwc-primary-hover:  #361371;
    --dwc-accent:         #7C3AED;
    --dwc-lavender:       #A78BFA;
    --dwc-soft:           #F0ECFB;
    --dwc-deep:           #1E1B4B;

    --dwc-text:           #14122E;
    --dwc-text-2:         #4D4769;
    --dwc-text-3:         #8A83A3;
    --dwc-text-4:         #B8B3CC;
    --dwc-line:           #EBE7F5;
    --dwc-line-strong:    #D4CEEA;
    --dwc-bg:             #FFFFFF;
    --dwc-bg-soft:        #FAFAF9;

    /* Layout (정렬 시스템 v2 - 모든 섹션이 동일 패딩 사용)
       ─ container max:     1280px
       ─ side padding:      20 / 32 / 40 px (mobile / tablet / desktop)
       ─ section vertical:  80-72 / 104-88 / 128-112 px
    */
    --dwc-container:      1280px;
    --dwc-px:             20px;     /* ≤768  모바일 */
    --dwc-px-md:          32px;     /* 769~1024 태블릿 */
    --dwc-px-lg:          40px;     /* ≥1025 데스크탑 */

    --dwc-ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
    --dwc-ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);
    --dwc-ease-snap:      cubic-bezier(0.34, 1.4, 0.64, 1);

    position: relative;
    padding: 80px 0 72px;
    background: var(--dwc-bg-soft);
    overflow: hidden;
    scroll-margin-top: 24px;
}
@media (min-width: 769px)  { .dw-case { padding: 104px 0 88px; } }
@media (min-width: 1025px) { .dw-case { padding: 128px 0 112px; } }

.dw-case .dwc-container {
    max-width: var(--dwc-container);
    margin-inline: auto;
    padding-inline: var(--dwc-px);
}
@media (min-width: 769px)  { .dw-case .dwc-container { padding-inline: var(--dwc-px-md); } }
@media (min-width: 1025px) { .dw-case .dwc-container { padding-inline: var(--dwc-px-lg); } }


/* Header + Tabs (좌/우)
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2.75rem;
}
@media (min-width: 769px) {
    .dw-case .dwc-top {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
        gap: 2rem;
        margin-bottom: 3rem;
    }
}
@media (min-width: 1025px) {
    .dw-case .dwc-top { margin-bottom: 3.5rem; }
}

.dw-case .dwc-header { max-width: 32rem; }

.dw-case .dwc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    line-height: var(--lh-eyebrow);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--dwc-accent);
    margin-bottom: 16px;
}
.dw-case .dwc-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.dw-case .dwc-title {
    font-size: var(--fs-title);
    font-weight: 700;
    line-height: var(--lh-title);
    letter-spacing: var(--ls-title);
    color: var(--dwc-text);
    margin-bottom: 14px;
}
.dw-case .dwc-title .dwc-accent {
    background: linear-gradient(120deg,
    var(--dwc-primary) 0%,
    var(--dwc-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dw-case .dwc-lead {
    font-size: var(--fs-lead);
    font-weight: 400;
    color: var(--dwc-text-2);
    line-height: var(--lh-lead);
    letter-spacing: var(--ls-lead);
}


/* Tabs
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    background: var(--dwc-bg);
    border-radius: 999px;
    box-shadow:
            0 1px 2px rgba(28, 17, 71, 0.04),
            0 4px 16px rgba(28, 17, 71, 0.05);
    flex-shrink: 0;
}
.dw-case .dwc-tab {
    position: relative;
    padding: 12px 24px;
    font-size: var(--fs-body);
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--dwc-text-3);
    border-radius: 999px;
    transition:
            color 0.35s var(--dwc-ease-smooth),
            background 0.35s var(--dwc-ease-smooth);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .dw-case .dwc-tab {
        padding: 10px 18px;
    }
}
.dw-case .dwc-tab:hover { color: var(--dwc-text); }
.dw-case .dwc-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg,
    var(--dwc-primary) 0%,
    var(--dwc-accent) 100%);
    box-shadow: 0 4px 12px rgba(76, 29, 149, 0.25);
}


/* Pane
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-pane { display: none; }
.dw-case .dwc-pane.is-active {
    display: block;
    animation: dwc-pane-in 0.5s var(--dwc-ease-out);
}
@keyframes dwc-pane-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* Stage (메인 + 썸네일 그리드)
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 1025px) {
    .dw-case .dwc-stage {
        grid-template-columns: minmax(0, 1fr) 9.5rem;
        gap: 1.25rem;
        align-items: start;
    }
}
@media (min-width: 1280px) {
    .dw-case .dwc-stage {
        grid-template-columns: minmax(0, 1fr) 11rem;
        gap: 1.5rem;
    }
}


/* Featured (메인) — 자체 슬라이더
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-featured {
    position: relative;
    min-width: 0;
}

/* track (모든 slide를 absolute로 겹쳐 fade) */
.dw-case .dwc-track {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1530;
    aspect-ratio: 16 / 10;
    box-shadow:
            0 1px 2px rgba(28, 17, 71, 0.04),
            0 12px 36px rgba(28, 17, 71, 0.10);
}

/* 각 슬라이드 = 절대위치 + fade */
.dw-case .dwc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
            opacity 0.55s var(--dwc-ease-out),
            visibility 0s 0.55s;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
}
.dw-case .dwc-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition:
            opacity 0.55s var(--dwc-ease-out),
            visibility 0s 0s;
    z-index: 1;
}


/* Comparator (BEFORE/AFTER)
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-compare-img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}
.dw-case .dwc-compare-img--before { z-index: 1; }
.dw-case .dwc-compare-img--after  {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    will-change: clip-path;
}

/* AFTER 사이드 미세 라벤더 글로우 */
.dw-case .dwc-compare-img--after::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%,
    rgba(167, 139, 250, 0.10) 0%,
    transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* 핸들 */
.dw-case .dwc-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
            0 0 0 1px rgba(76, 29, 149, 0.15),
            0 0 16px rgba(167, 139, 250, 0.35);
    transform: translateX(-50%);
    pointer-events: none;
    will-change: left;
}
.dw-case .dwc-handle-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.75rem;
    height: 2.75rem;
    background: var(--dwc-bg);
    border-radius: 50%;
    box-shadow:
            0 0 0 2px var(--dwc-primary),
            0 8px 24px rgba(76, 29, 149, 0.35);
    display: grid;
    place-items: center;
    color: var(--dwc-primary);
    transition: transform 0.25s var(--dwc-ease-snap);
}
.dw-case .dwc-handle-grip svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke-width: 2.25;
}
.dw-case .dwc-slide:hover .dwc-handle-grip {
    transform: translate(-50%, -50%) scale(1.08);
}
.dw-case .dwc-slide.is-dragging .dwc-handle-grip {
    transform: translate(-50%, -50%) scale(0.94);
}


/* Badges
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-badge {
    position: absolute;
    top: 1rem;
    z-index: 4;
    padding: 0.4rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 999px;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.dw-case .dwc-badge--before {
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dwc-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* AFTER — 시그니처 시머 */
.dw-case .dwc-badge--after {
    right: 1rem;
    background: var(--dwc-primary);
    color: #fff;
    box-shadow:
            0 4px 12px rgba(76, 29, 149, 0.45),
            0 0 0 1px rgba(167, 139, 250, 0.20);
    isolation: isolate;
    overflow: hidden;
}
.dw-case .dwc-badge--after::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1px;
    background: conic-gradient(
            from var(--dwc-shimmer-angle),
            transparent 0%,
            transparent 58%,
            rgba(167, 139, 250, 0.55) 70%,
            rgba(255, 255, 255, 0.95) 78%,
            rgba(196, 181, 253, 0.60) 86%,
            transparent 100%);
    -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: inherit;
    pointer-events: none;
    animation: dwc-shimmer-rotate 4.5s linear infinite;
    opacity: 0.75;
}
@keyframes dwc-shimmer-rotate {
    to { --dwc-shimmer-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
    .dw-case .dwc-badge--after::after { animation: none; }
    .dw-case .dwc-slide { transition: none; }
}


/* Featured Footer (메타 + nav + counter)
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-featured-foot {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 577px) {
    .dw-case .dwc-featured-foot {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.dw-case .dwc-featured-meta { min-width: 0; }
.dw-case .dwc-featured-meta-name {
    font-size: var(--fs-card-title);
    font-weight: 700;
    letter-spacing: var(--ls-card-title);
    color: var(--dwc-text);
    line-height: var(--lh-card-title);
    margin-bottom: 6px;
}
.dw-case .dwc-featured-meta-name small {
    display: inline-block;
    margin-left: 10px;
    font-size: var(--fs-caption);
    font-weight: 500;
    color: var(--dwc-text-3);
    letter-spacing: 0;
}
.dw-case .dwc-featured-meta-date {
    font-size: var(--fs-caption);
    color: var(--dwc-text-3);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
.dw-case .dwc-featured-meta-date span {
    display: inline-block;
    margin: 0 8px;
    color: var(--dwc-text-4);
}

.dw-case .dwc-featured-ctrl {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
}

.dw-case .dwc-nav {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    background: var(--dwc-bg);
    border: 1px solid var(--dwc-line);
    border-radius: 50%;
    color: var(--dwc-text-2);
    cursor: pointer;
    transition:
            background 0.3s var(--dwc-ease-smooth),
            border-color 0.3s var(--dwc-ease-smooth),
            color 0.3s var(--dwc-ease-smooth),
            transform 0.35s var(--dwc-ease-out);
}
.dw-case .dwc-nav svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 1.75;
}
.dw-case .dwc-nav:hover:not(.is-disabled) {
    background: var(--dwc-primary);
    border-color: var(--dwc-primary);
    color: #fff;
}
.dw-case .dwc-nav--prev:hover:not(.is-disabled) { transform: translateX(-2px); }
.dw-case .dwc-nav--next:hover:not(.is-disabled) { transform: translateX(2px); }
.dw-case .dwc-nav.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.dw-case .dwc-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-caption);
    font-variant-numeric: tabular-nums;
    color: var(--dwc-text-3);
    letter-spacing: 0.02em;
}
.dw-case .dwc-counter .bar {
    width: 3.5rem;
    height: 2px;
    background: var(--dwc-line-strong);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.dw-case .dwc-counter .bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--p, 25%);
    background: linear-gradient(90deg,
    var(--dwc-primary) 0%,
    var(--dwc-accent) 100%);
    border-radius: 2px;
    transition: width 0.5s var(--dwc-ease-out);
}


/* 면책 고지
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-disclaimer {
    margin-top: 14px;
    font-size: var(--fs-caption);
    color: var(--dwc-text-4);
    line-height: var(--lh-caption);
    letter-spacing: 0.01em;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.dw-case .dwc-disclaimer svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
    opacity: 0.6;
}


/* Thumbnails — 자체 구현 (flex)
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-thumbs { min-width: 0; position: relative; }

/* 썸네일 스크롤 양끝 페이드 — 더 많은 항목이 있음을 표시 */
.dw-case .dwc-thumbs::before,
.dw-case .dwc-thumbs::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s var(--dwc-ease-out);
}
/* 모바일·태블릿: 가로 스크롤 → 좌우 페이드 */
.dw-case .dwc-thumbs::before {
    top: 0; bottom: 0; left: 0; width: 2.5rem;
    background: linear-gradient(to right, var(--dwc-bg-soft) 0%, transparent 100%);
}
.dw-case .dwc-thumbs::after {
    top: 0; bottom: 0; right: 0; width: 2.5rem;
    background: linear-gradient(to left, var(--dwc-bg-soft) 0%, transparent 100%);
}
.dw-case .dwc-thumbs.has-fade-start::before { opacity: 1; }
.dw-case .dwc-thumbs.has-fade-end::after   { opacity: 1; }

@media (min-width: 1025px) {
    /* 데스크탑: 세로 스크롤 → 상하 페이드 */
    .dw-case .dwc-thumbs::before {
        left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2.5rem;
        background: linear-gradient(to bottom, var(--dwc-bg-soft) 0%, transparent 100%);
    }
    .dw-case .dwc-thumbs::after {
        left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 2.5rem;
        background: linear-gradient(to top, var(--dwc-bg-soft) 0%, transparent 100%);
    }
}

.dw-case .dwc-thumbs-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem;
    margin: -0.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--dwc-line-strong) transparent;
}
.dw-case .dwc-thumbs-list::-webkit-scrollbar { height: 4px; }
.dw-case .dwc-thumbs-list::-webkit-scrollbar-thumb { background: var(--dwc-line-strong); border-radius: 2px; }
.dw-case .dwc-thumbs-list::-webkit-scrollbar-track { background: transparent; }

.dw-case .dwc-thumbs-list > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 5.5rem;
    height: 4rem;
}

@media (min-width: 1025px) {
    .dw-case .dwc-thumbs-list {
        flex-direction: column;
        gap: 0.5rem;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 30rem;
        scrollbar-width: thin;
    }
    .dw-case .dwc-thumbs-list::-webkit-scrollbar { width: 4px; height: 0; }
    .dw-case .dwc-thumbs-list > li {
        width: 100%;
        height: 4.75rem;
    }
}
@media (min-width: 1280px) {
    .dw-case .dwc-thumbs-list > li {
        height: 5.25rem;
    }
}

.dw-case .dwc-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1530;
    border: 0;
    padding: 0;
    cursor: pointer;
    isolation: isolate;
    transition:
            transform 0.35s var(--dwc-ease-out),
            box-shadow 0.35s var(--dwc-ease-smooth);
}
.dw-case .dwc-thumb-img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s var(--dwc-ease-out);
}
/* 비활성 — 어둡게 */
.dw-case .dwc-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 46, 0.45);
    z-index: 1;
    transition: background 0.35s var(--dwc-ease-smooth);
    pointer-events: none;
}
.dw-case .dwc-thumb:hover::before {
    background: rgba(20, 18, 46, 0.20);
}
/* 활성 */
.dw-case .dwc-thumb.is-active {
    transform: scale(1.02);
    box-shadow:
            0 4px 12px rgba(76, 29, 149, 0.20),
            0 12px 32px rgba(76, 29, 149, 0.18);
}
.dw-case .dwc-thumb.is-active::before {
    background: rgba(76, 29, 149, 0.10);
}
/* 활성 시머 */
.dw-case .dwc-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(
            from var(--dwc-shimmer-angle),
            transparent 0%,
            transparent 60%,
            rgba(167, 139, 250, 0.55) 72%,
            rgba(255, 255, 255, 0.95) 80%,
            rgba(196, 181, 253, 0.60) 88%,
            transparent 100%);
    -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--dwc-ease-smooth);
}
.dw-case .dwc-thumb.is-active::after {
    opacity: 1;
    animation: dwc-shimmer-rotate 3.5s linear infinite;
}

.dw-case .dwc-thumb-num {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


/* Footer (View More) — REMOVED in v4
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-footer { display: none; }


/* Sample backgrounds (실제 사이트선 <img> background-image로 교체)
   ─────────────────────────────────────────────────────────────────── */
.dw-case .dwc-sample-before {
    background:
            radial-gradient(ellipse 30% 50% at 50% 60%, rgba(220,210,180,.45) 0%, transparent 70%),
            radial-gradient(ellipse 60% 30% at 50% 40%, rgba(180,160,130,.30) 0%, transparent 60%),
            linear-gradient(135deg, #2a2218 0%, #1a1610 50%, #2a2218 100%);
}
.dw-case .dwc-sample-after {
    background:
            radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255,255,255,.20) 0%, transparent 70%),
            linear-gradient(135deg, #f5f3f0 0%, #e8e3d8 50%, #f5f3f0 100%);
}
.dw-case .dwc-sample-thumb {
    background: linear-gradient(90deg, #2a2218 0%, #2a2218 50%, #e8e3d8 50%, #f5f3f0 100%);
}
.dw-case .dwc-pane[data-cat="laminate"] .dwc-sample-before {
    background:
            radial-gradient(ellipse 50% 50% at 50% 50%, rgba(200,180,150,.35) 0%, transparent 70%),
            linear-gradient(135deg, #3d3328 0%, #2a2218 100%);
}
.dw-case .dwc-pane[data-cat="laminate"] .dwc-sample-after {
    background:
            radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,255,255,.30) 0%, transparent 60%),
            linear-gradient(135deg, #fafaf8 0%, #ede9e1 100%);
}
.dw-case .dwc-pane[data-cat="laminate"] .dwc-sample-thumb {
    background: linear-gradient(90deg, #3d3328 0%, #3d3328 50%, #ede9e1 50%, #fafaf8 100%);
}
.dw-case .dwc-pane[data-cat="ortho"] .dwc-sample-before {
    background:
            radial-gradient(ellipse 50% 40% at 30% 50%, rgba(190,170,140,.40) 0%, transparent 70%),
            radial-gradient(ellipse 50% 40% at 70% 50%, rgba(170,150,120,.30) 0%, transparent 70%),
            linear-gradient(135deg, #2d2418 0%, #3a2f20 100%);
}
.dw-case .dwc-pane[data-cat="ortho"] .dwc-sample-after {
    background:
            radial-gradient(ellipse 60% 40% at 50% 50%, rgba(167, 139, 250, 0.05) 0%, transparent 70%),
            linear-gradient(135deg, #f8f6f2 0%, #ebe6dc 100%);
}
.dw-case .dwc-pane[data-cat="ortho"] .dwc-sample-thumb {
    background: linear-gradient(90deg, #2d2418 0%, #2d2418 50%, #ebe6dc 50%, #f8f6f2 100%);
}


.dw-doctors,
.dw-youtube {
    /* Color */
    --dwc-primary:        #4C1D95;
    --dwc-primary-hover:  #361371;
    --dwc-accent:         #7C3AED;
    --dwc-lavender:       #A78BFA;
    --dwc-soft:           #F0ECFB;
    --dwc-deep:           #1E1B4B;

    --dwc-text:           #14122E;
    --dwc-text-2:         #4D4769;
    --dwc-text-3:         #8A83A3;
    --dwc-text-4:         #B8B3CC;
    --dwc-line:           #EBE7F5;
    --dwc-line-strong:    #D4CEEA;
    --dwc-bg:             #FFFFFF;
    --dwc-bg-soft:        #FAFAF9;

    /* Layout (LOCKED) */
    --dwc-container:      1280px;
    --dwc-px:             20px;
    --dwc-px-md:          32px;
    --dwc-px-lg:          40px;

    /* Motion */
    --dwc-ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
    --dwc-ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);
    --dwc-ease-snap:      cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* 공통 컨테이너 */
.dw-doctors .dwc-container,
.dw-youtube .dwc-container {
    max-width: var(--dwc-container);
    margin-inline: auto;
    padding-inline: var(--dwc-px);
}
@media (min-width: 769px) {
    .dw-doctors .dwc-container,
    .dw-youtube .dwc-container { padding-inline: var(--dwc-px-md); }
}
@media (min-width: 1025px) {
    .dw-doctors .dwc-container,
    .dw-youtube .dwc-container { padding-inline: var(--dwc-px-lg); }
}

/* 공통 헤더 (eyebrow + title + lead) */
.dw-doctors .dwc-eyebrow,
.dw-youtube .dwc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    line-height: var(--lh-eyebrow);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--dwc-accent);
    margin-bottom: 16px;
}
.dw-doctors .dwc-eyebrow::before,
.dw-youtube .dwc-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.dw-doctors .dwc-title,
.dw-youtube .dwc-title {
    font-size: var(--fs-title);
    font-weight: 700;
    line-height: var(--lh-title);
    letter-spacing: var(--ls-title);
    color: var(--dwc-text);
    margin-bottom: 14px;
}
.dw-doctors .dwc-title .dwc-accent,
.dw-youtube .dwc-title .dwc-accent {
    background: linear-gradient(120deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dw-doctors .dwc-lead,
.dw-youtube .dwc-lead {
    font-size: var(--fs-lead);
    color: var(--dwc-text-2);
    line-height: var(--lh-lead);
    letter-spacing: var(--ls-lead);
}


/*!
 * =========================================================================
 * .dw-doctors — 의료진 섹션
 * =========================================================================
 */
.dw-doctors {
    position: relative;
    padding: 80px 0 72px;
    background: var(--dwc-bg-soft);
    overflow: hidden;
}
@media (min-width: 769px)  { .dw-doctors { padding: 104px 0 88px; } }
@media (min-width: 1025px) { .dw-doctors { padding: 128px 0 112px; } }


/* Header */
.dw-doctors .dwc-header {
    text-align: center;
    margin-bottom: 48px;
}
@media (min-width: 1025px) { .dw-doctors .dwc-header { margin-bottom: 72px; } }


/* Hero Banner — 영상 메시지 영역 (자연재생 + 임팩트 hover)
   ─ 영상은 <video data-lazyplay preload="none" muted loop playsinline> 형태로 자연재생
   ─ src 미지정 시엔 그라디언트 fallback이 보임 (개발자가 src 교체)
   ─ hover 시 영상/텍스트가 확실히 확장 + 라벤더 글로우 + 빛 줄기 sweep
   ─────────────────────────────────────────────────────────────────── */
.dw-doctors .dwc-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    margin-bottom: 64px;
    isolation: isolate;
    transform: translateZ(0);
    transition:
            box-shadow 0.7s var(--dwc-ease-smooth),
            transform 0.7s var(--dwc-ease-snap),
            margin 0.7s var(--dwc-ease-snap);
    box-shadow:
            0 4px 16px rgba(28, 17, 71, 0.12),
            0 16px 40px rgba(76, 29, 149, 0.10);
}
@media (min-width: 577px)  { .dw-doctors .dwc-hero { aspect-ratio: 16 / 9; } }
@media (min-width: 769px)  { .dw-doctors .dwc-hero { aspect-ratio: 16 / 8; } }
@media (min-width: 1025px) { .dw-doctors .dwc-hero { aspect-ratio: 16 / 7; margin-bottom: 96px; } }

/* hover 시 컨테이너 — 라벤더 링 + 깊은 글로우 + 살짝 들림 */
.dw-doctors .dwc-hero:hover {
    transform: translateY(-8px) translateZ(0);
    width: auto;
    margin-inline: calc((min(92vw, 1600px) - 100%) / -2);
    box-shadow:
            0 12px 32px rgba(28, 17, 71, 0.20),
            0 48px 96px rgba(76, 29, 149, 0.40),
            0 0 0 1.5px rgba(167, 139, 250, 0.5);
}

/* 영상 (자연재생 — autoplay muted loop playsinline) */
.dw-doctors .dwc-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition:
            transform 0.8s var(--dwc-ease-out),
            filter 0.6s var(--dwc-ease-smooth);
}
.dw-doctors .dwc-hero:hover .dwc-hero-video {
    transform: scale(1.10);
    filter: saturate(1.25) brightness(1.06) contrast(1.08);
}

/* 어두운 오버레이 (텍스트 가독성) — hover 시 옅어지며 영상이 더 살아남 */
.dw-doctors .dwc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
            radial-gradient(ellipse at center, rgba(20, 18, 46, 0.40) 0%, rgba(20, 18, 46, 0.62) 100%),
            radial-gradient(ellipse 50% 70% at 30% 50%, rgba(167, 139, 250, 0.20) 0%, transparent 60%);
    transition: opacity 0.6s var(--dwc-ease-smooth);
    pointer-events: none;
}
.dw-doctors .dwc-hero:hover .dwc-hero-overlay {
    opacity: 0.7;
}

/* 빛 줄기 sweep — hover 진입 시 좌→우로 한 번 빛이 스쳐 지나감 */
.dw-doctors .dwc-hero-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.18) 48%,
    rgba(167, 139, 250, 0.30) 50%,
    rgba(255, 255, 255, 0.18) 52%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%);
    pointer-events: none;
    opacity: 0;
    transform: skewX(-12deg);
}
.dw-doctors .dwc-hero:hover .dwc-hero-shine {
    animation: dwc-hero-sweep 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
@keyframes dwc-hero-sweep {
    0%   { left: -60%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

/* 텍스트 컨테이너 — hover 시 확실히 확장 + 위로 떠오름 */
.dw-doctors .dwc-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    z-index: 3;
    color: #fff;
    transition:
            transform 0.7s var(--dwc-ease-snap);
    pointer-events: none;
}
.dw-doctors .dwc-hero:hover .dwc-hero-content {
    transform: scale(1.06) translateY(-8px);
}

/* VIDEO MESSAGE 태그 + 펄스 도트 */
.dw-doctors .dwc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    transition:
            background 0.5s var(--dwc-ease-smooth),
            border-color 0.5s var(--dwc-ease-smooth);
}
.dw-doctors .dwc-hero:hover .dwc-hero-tag {
    background: rgba(167, 139, 250, 0.22);
    border-color: rgba(167, 139, 250, 0.7);
}
.dw-doctors .dwc-hero-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px var(--dwc-lavender);
    animation: dwc-pulse 1.6s ease-in-out infinite;
}
@keyframes dwc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}

/* 메인 메시지 — hover 시 더 깊은 그림자 + 라벤더 글로우 */
.dw-doctors .dwc-hero-message {
    font-size: var(--fs-subtitle);
    font-weight: 700;
    line-height: var(--lh-subtitle);
    letter-spacing: var(--ls-subtitle);
    max-width: 680px;
    text-shadow: 0 2px 24px rgba(20, 18, 46, 0.4);
    transition: text-shadow 0.6s var(--dwc-ease-smooth);
}
.dw-doctors .dwc-hero:hover .dwc-hero-message {
    text-shadow:
            0 4px 40px rgba(20, 18, 46, 0.7),
            0 0 32px rgba(167, 139, 250, 0.4);
}
.dw-doctors .dwc-hero-sub {
    margin-top: 12px;
    font-size: var(--fs-body);
    color: #fff;
    line-height: var(--lh-body);
    text-shadow: 0 1px 16px rgba(20, 18, 46, 0.5);
    transition: color 0.6s var(--dwc-ease-smooth);
}
.dw-doctors .dwc-hero:hover .dwc-hero-sub {
    color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .dw-doctors .dwc-hero,
    .dw-doctors .dwc-hero-video,
    .dw-doctors .dwc-hero-content { transition: none; }
    .dw-doctors .dwc-hero:hover { transform: none; }
    .dw-doctors .dwc-hero:hover .dwc-hero-video,
    .dw-doctors .dwc-hero:hover .dwc-hero-content { transform: none; filter: none; }
    .dw-doctors .dwc-hero:hover .dwc-hero-shine { animation: none; }
}


/* Doctor Marquee — 자동 흐름 캐러셀
   ─────────────────────────────────────────────────────────────────── */
.dw-doctors .dwc-marquee {
    position: relative;
    overflow: hidden;
    /* 좌우 페이드 마스크 (넘쳐 보이지 않게) */
    -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%);
    mask-image: linear-gradient(90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%);
    padding: 8px 0; /* hover 시 카드 transform 잘리지 않게 */
}

.dw-doctors .dwc-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    /* JS가 transform 직접 컨트롤 — CSS animation 안 씀 (드래그와 동시 지원 위해) */
    cursor: grab;
    user-select: none;
    /* 모바일 — 가로 드래그만 차단, 세로 스크롤은 페이지가 처리 */
    touch-action: pan-y;
}
.dw-doctors .dwc-marquee-track.is-dragging {
    cursor: grabbing;
}
@media (min-width: 1025px) {
    .dw-doctors .dwc-marquee-track { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    /* JS에서 reduced-motion 감지하여 자동 흐름 비활성 */
}

/* 카드 너비 (마퀴 안에서 고정) */
.dw-doctors .dwc-marquee .dwc-card {
    flex: 0 0 220px;
}
@media (min-width: 577px)  { .dw-doctors .dwc-marquee .dwc-card { flex-basis: 250px; } }
@media (min-width: 769px)  { .dw-doctors .dwc-marquee .dwc-card { flex-basis: 280px; } }
@media (min-width: 1025px) { .dw-doctors .dwc-marquee .dwc-card { flex-basis: 300px; } }


/* Doctor Card — 인터랙션 풀패키지
   ─────────────────────────────────────────────────────────────────── */
.dw-doctors .dwc-card {
    position: relative;
    background: var(--dwc-bg);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    isolation: isolate;
    transform-style: preserve-3d;
    transition:
            transform 0.5s var(--dwc-ease-out),
            box-shadow 0.5s var(--dwc-ease-smooth),
            opacity 0.4s var(--dwc-ease-smooth),
            filter 0.4s var(--dwc-ease-smooth);
    box-shadow:
            0 1px 2px rgba(28, 17, 71, 0.04),
            0 4px 12px rgba(28, 17, 71, 0.04);
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;

    /* 마우스 따라가는 글로우 좌표 (JS 가 갱신) */
    --mx: 50%;
    --my: 50%;
}

/* [E] 비활성 카드 — 호버 중인 형제 외 살짝 어둡게 */
.dw-doctors .dwc-marquee:hover .dwc-card {
    opacity: 0.55;
    filter: saturate(0.7);
}
.dw-doctors .dwc-marquee:hover .dwc-card:hover {
    opacity: 1;
    filter: saturate(1) brightness(1.02);
}

/* [B] hover 시 입체 + 글로우 */
.dw-doctors .dwc-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow:
            0 8px 16px rgba(76, 29, 149, 0.10),
            0 32px 64px rgba(76, 29, 149, 0.22);
}

/* [G] 클릭 햅틱 — pressed scale */
.dw-doctors .dwc-card:active {
    transform: translateY(-6px) rotateX(2deg) scale(0.97);
    transition-duration: 0.1s;
}

/* [D] 마우스 따라가는 라벤더 글로우 */
.dw-doctors .dwc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
            circle 220px at var(--mx) var(--my),
            rgba(167, 139, 250, 0.28) 0%,
            rgba(167, 139, 250, 0) 60%);
    opacity: 0;
    transition: opacity 0.45s var(--dwc-ease-smooth);
    mix-blend-mode: screen;
}
.dw-doctors .dwc-card:hover::before {
    opacity: 1;
}

/* 사진 영역 */
.dw-doctors .dwc-card-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #f0ecfb 0%, #e8e3f5 100%);
}
.dw-doctors .dwc-card-photo-img {
    position: absolute;
    inset: 0;
    background-position: center top;
    background-size: cover;
    transition: transform 0.7s var(--dwc-ease-out);
}
.dw-doctors .dwc-card:hover .dwc-card-photo-img {
    transform: scale(1.08);
}

/* [F] 사진 위 — 라벤더 마스크 (평소엔 살짝 깔림, hover 시 좌→우로 닦여 사라짐) */
.dw-doctors .dwc-card-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg,
    rgba(167, 139, 250, 0.18) 0%,
    rgba(167, 139, 250, 0.05) 40%,
    transparent 70%);
    transition: transform 0.7s var(--dwc-ease-out), opacity 0.5s var(--dwc-ease-smooth);
    transform-origin: left;
}
.dw-doctors .dwc-card:hover .dwc-card-photo::before {
    transform: translateX(110%);
    opacity: 0;
}

/* 사진 위 분과 라벨 (좌상단) */
.dw-doctors .dwc-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dwc-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(28, 17, 71, 0.08);
    transition: all 0.4s var(--dwc-ease-out);
}
/* hover 시 분과 칩이 채워지면서 보라 → 그라디언트 활성 */
.dw-doctors .dwc-card:hover .dwc-card-tag {
    background: linear-gradient(135deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    color: #fff;
    box-shadow:
            0 4px 12px rgba(76, 29, 149, 0.30),
            0 0 0 1px rgba(167, 139, 250, 0.30);
}

/* 사진 위 미세 그라디언트 (이름 위쪽 가독성) */
.dw-doctors .dwc-card-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(20, 18, 46, 0.15) 100%);
    pointer-events: none;
    z-index: 2;
}

/* 정보 영역 */
.dw-doctors .dwc-card-info {
    position: relative;
    z-index: 2;
    padding: 20px 18px 22px;
    text-align: center;
}
@media (min-width: 1025px) {
    .dw-doctors .dwc-card-info { padding: 24px 20px 26px; }
}
/* ★ 카드 분과 전문의 강조 라벨 (이름 위) — 포인트 컬러 그라데이션 배지 */
.dw-doctors .dwc-card-spec {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(76, 29, 149, 0.22);
}
@media (min-width: 1025px) {
    .dw-doctors .dwc-card-spec { font-size: 14px; padding: 6px 16px; }
}
.dw-doctors .dwc-card-name {
    font-size: var(--fs-card-title);
    font-weight: 700;
    line-height: var(--lh-card-title);
    letter-spacing: var(--ls-card-title);
    color: var(--dwc-text);
    margin-bottom: 6px;
    /* [F] 평소엔 살짝 아래에 + 압축, hover 시 위로 슬라이드 */
    transform: translateY(0);
    transition: transform 0.45s var(--dwc-ease-out);
}
.dw-doctors .dwc-card:hover .dwc-card-name {
    transform: translateY(-2px);
}
.dw-doctors .dwc-card-name small {
    display: inline-block;
    margin-left: 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dwc-text-3);
    letter-spacing: 0;
}
.dw-doctors .dwc-card-quote {
    font-size: 14px;
    color: var(--dwc-text-2);
    line-height: 1.55;
    letter-spacing: -0.005em;
    /* 2줄 클램프 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(13px * 1.55 * 2);
    /* [F] hover 시 살짝 진해짐 */
    opacity: 0.85;
    transition: opacity 0.45s var(--dwc-ease-smooth);
}
.dw-doctors .dwc-card:hover .dwc-card-quote {
    opacity: 1;
}
@media (min-width: 1025px) {
    .dw-doctors .dwc-card-quote {
        font-size: 14px;
        min-height: calc(14px * 1.55 * 2);
    }
}

/* [C] 시머 테두리 (hover) — 가속 */
.dw-doctors .dwc-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(
            from var(--dwc-shimmer-angle),
            transparent 0%,
            transparent 55%,
            rgba(167, 139, 250, 0.65) 70%,
            rgba(255, 255, 255, 0.95) 80%,
            rgba(196, 181, 253, 0.70) 88%,
            transparent 100%);
    -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--dwc-ease-smooth);
}
.dw-doctors .dwc-card:hover::after {
    opacity: 1;
    /* hover 시 가속 (4.5s → 1.8s) */
    animation: dwc-shimmer-rotate 1.8s linear infinite;
}
@keyframes dwc-shimmer-rotate {
    to { --dwc-shimmer-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
    .dw-doctors .dwc-card::after { animation: none; }
}


/*!
 * =========================================================================
 * .dwc-modal — 의료진 약력 팝업
 * =========================================================================
 */
.dwc-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 18, 46, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s var(--dwc-ease-smooth);
}
.dwc-modal.is-open {
    display: flex;
    opacity: 1;
}

.dwc-modal-panel {
    --dwc-primary:        #4C1D95;
    --dwc-primary-hover:  #361371;
    --dwc-accent:         #7C3AED;
    --dwc-lavender:       #A78BFA;
    --dwc-soft:           #F0ECFB;
    --dwc-text:           #14122E;
    --dwc-text-2:         #4D4769;
    --dwc-text-3:         #8A83A3;
    --dwc-text-4:         #B8B3CC;
    --dwc-line:           #EBE7F5;
    --dwc-line-strong:    #D4CEEA;
    --dwc-bg:             #FFFFFF;
    --dwc-bg-soft:        #FAFAF9;
    --dwc-ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
    --dwc-ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    width: 100%;
    max-width: 980px;
    max-height: calc(100vh - 40px);
    background: var(--dwc-bg);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.94) translateY(16px);
    opacity: 0;
    transition:
            transform 0.42s var(--dwc-ease-out),
            opacity 0.42s var(--dwc-ease-smooth);
    display: flex;
    flex-direction: column;
}
.dwc-modal.is-open .dwc-modal-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal close */
.dwc-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dwc-text);
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(28, 17, 71, 0.12);
    transition: transform 0.25s var(--dwc-ease-out);
}
.dwc-modal-close:hover {
    transform: rotate(90deg);
    color: var(--dwc-primary);
}
.dwc-modal-close svg { width: 18px; height: 18px; stroke-width: 2; }

/* Modal nav (이전/다음) */
.dwc-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dwc-text);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(28, 17, 71, 0.12);
    transition: all 0.3s var(--dwc-ease-smooth);
}
.dwc-modal-nav--prev { left: 16px; }
.dwc-modal-nav--next { right: 16px; }
.dwc-modal-nav:hover {
    background: var(--dwc-primary);
    color: #fff;
}
.dwc-modal-nav svg { width: 18px; height: 18px; stroke-width: 2; }
@media (max-width: 768px) {
    .dwc-modal-nav {
        width: 36px;
        height: 36px;
        bottom: 16px;
        top: auto;
        transform: none;
    }
    .dwc-modal-nav--prev { left: 16px; }
    .dwc-modal-nav--next { right: 16px; left: auto; }
}

/* Modal body grid */
.dwc-modal-body {
    display: grid;
    grid-template-columns: 1fr;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
@media (min-width: 769px) {
    .dwc-modal-body {
        grid-template-columns: 320px 1fr;
    }
}
@media (min-width: 1025px) {
    .dwc-modal-body {
        grid-template-columns: 380px 1fr;
    }
}

/* Modal photo column */
.dwc-modal-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #f0ecfb 0%, #d4ceea 100%);
    overflow: hidden;
}
@media (min-width: 769px) {
    .dwc-modal-photo {
        aspect-ratio: auto;
        height: 100%;
    }
}
.dwc-modal-photo-img {
    position: absolute;
    inset: 0;
    background-position: center top;
    background-size: cover;
}
.dwc-modal-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(20, 18, 46, 0.25) 100%);
    pointer-events: none;
}

/* Modal text column */
.dwc-modal-text {
    padding: 32px 28px 36px;
    overflow-y: auto;
}
@media (min-width: 1025px) {
    .dwc-modal-text { padding: 48px 48px 56px; }
}

.dwc-modal-tag {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(76, 29, 149, 0.28);
}
@media (max-width: 768px) {
    .dwc-modal-tag { font-size: 14px; padding: 7px 16px; }
}
.dwc-modal-name {
    font-size: var(--fs-subtitle);
    font-weight: 700;
    line-height: var(--lh-subtitle);
    letter-spacing: var(--ls-subtitle);
    color: var(--dwc-text);
    margin-bottom: 20px;
}
.dwc-modal-name small {
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dwc-text-3);
    letter-spacing: 0;
}

/* 진료철학 */
.dwc-modal-quote {
    position: relative;
    padding: 16px 0 16px 18px;
    margin-bottom: 28px;
    border-left: 2px solid var(--dwc-lavender);
    font-size: 16px;
    color: var(--dwc-text);
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: -0.005em;
}
@media (min-width: 1025px) {
    .dwc-modal-quote {
        font-size: 17px;
        padding-left: 22px;
    }
}

/* 약력 그룹 */
.dwc-modal-section { margin-top: 24px; }
.dwc-modal-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dwc-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--dwc-line);
}
.dwc-modal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dwc-modal-list li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    color: var(--dwc-text-2);
    line-height: 1.55;
    letter-spacing: -0.005em;
}
.dwc-modal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dwc-lavender);
}


/*!
 * =========================================================================
 * .dw-youtube — 유튜브 채널 섹션
 * ─ 의료진 섹션 70% 높이로 (padding 70%)
 * =========================================================================
 */
.dw-youtube {
    position: relative;
    padding: 56px 0 50px;
    background: var(--dwc-bg);
    overflow: hidden;
}
@media (min-width: 769px)  { .dw-youtube { padding: 73px 0 62px; } }
@media (min-width: 1025px) { .dw-youtube { padding: 90px 0 78px; } }

/* Header */
.dw-youtube .dwc-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
}
@media (min-width: 769px) {
    .dw-youtube .dwc-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 40px;
    }
}
.dw-youtube .dwc-header-left { max-width: 600px; }
.dw-youtube .dwc-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--dwc-bg-soft);
    border: 1px solid var(--dwc-line);
    color: var(--dwc-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--dwc-ease-smooth);
    flex-shrink: 0;
}
.dw-youtube .dwc-channel-link:hover {
    background: var(--dwc-primary);
    color: #fff;
    border-color: var(--dwc-primary);
}
.dw-youtube .dwc-channel-link svg { width: 16px; height: 16px; }


/* 2-row 구조 — 롱폼/숏폼 둘 다 보이게 (탭 제거) */
.dw-youtube .dwc-yt-row {
    margin-top: 24px;
}
.dw-youtube .dwc-yt-row + .dwc-yt-row {
    margin-top: 32px;
}
@media (min-width: 769px) {
    .dw-youtube .dwc-yt-row + .dwc-yt-row {
        margin-top: 40px;
    }
}

/* row label (작은 라벨) */
.dw-youtube .dwc-yt-row-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--dwc-text-3);
    text-transform: uppercase;
}
.dw-youtube .dwc-yt-row-label::before {
    content: "";
    width: 16px;
    height: 1px;
    background: var(--dwc-line-strong);
}
.dw-youtube .dwc-yt-row-label-count {
    font-size: 11px;
    color: var(--dwc-text-4);
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}


/* LONG / SHORT 카드 너비 (data-row 로 구분) */
.dw-youtube .dwc-yt-row[data-row="long"] .dwc-yt-list > li {
    width: 280px;
}
@media (min-width: 769px) {
    .dw-youtube .dwc-yt-row[data-row="long"] .dwc-yt-list > li { width: 340px; }
}

.dw-youtube .dwc-yt-row[data-row="short"] .dwc-yt-list > li {
    width: 140px;
}
@media (min-width: 577px) {
    .dw-youtube .dwc-yt-row[data-row="short"] .dwc-yt-list > li { width: 160px; }
}
@media (min-width: 769px) {
    .dw-youtube .dwc-yt-row[data-row="short"] .dwc-yt-list > li { width: 180px; }
}
@media (min-width: 1025px) {
    .dw-youtube .dwc-yt-row[data-row="short"] .dwc-yt-list > li { width: 200px; }
}

/* SHORT 카드 태그 — 그라디언트 강조 */
.dw-youtube .dwc-yt-row[data-row="short"] .dwc-yt-card-tag {
    background: linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%);
    color: #fff;
}

/* 마퀴 wrapper (페이드 마스크 + overflow hidden) */
.dw-youtube .dwc-yt-slider-wrap {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%);
    mask-image: linear-gradient(90deg,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%);
}

/* 마퀴 리스트 — JS가 transform 컨트롤 (드래그 + 자동 통합) */
.dw-youtube .dwc-yt-list {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 4px 0;
    will-change: transform;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}
.dw-youtube .dwc-yt-list.is-dragging {
    cursor: grabbing;
}
.dw-youtube .dwc-yt-list > li {
    flex: 0 0 auto;
}

/* nav 화살표 모두 제거 (자동 마퀴 + 드래그) */
.dw-youtube .dwc-yt-nav { display: none !important; }

.dw-youtube .dwc-yt-card {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}
.dw-youtube .dwc-yt-card-thumb {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1530;
    isolation: isolate;
    transition:
            transform 0.4s var(--dwc-ease-out),
            box-shadow 0.4s var(--dwc-ease-smooth);
    /* 시머 테두리 변수 */
    box-shadow:
            0 1px 2px rgba(28, 17, 71, 0.04),
            0 0 0 1px rgba(235, 231, 245, 0);
}
.dw-youtube .dwc-yt-card:hover .dwc-yt-card-thumb {
    transform: translateY(-4px);
    box-shadow:
            0 0 0 1.5px rgba(167, 139, 250, 0.6),
            0 8px 16px rgba(76, 29, 149, 0.18),
            0 16px 32px rgba(76, 29, 149, 0.12);
}

/* hover 시 시머 회전 테두리 (롱폼/숏폼 공통) */
.dw-youtube .dwc-yt-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(
            from var(--dwc-shimmer-angle),
            transparent 0%,
            transparent 60%,
            rgba(167, 139, 250, 0.55) 75%,
            rgba(255, 255, 255, 0.85) 82%,
            rgba(196, 181, 253, 0.50) 90%,
            transparent 100%);
    -webkit-mask:
            linear-gradient(#000 0 0) content-box,
            linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--dwc-ease-smooth);
}
.dw-youtube .dwc-yt-card:hover .dwc-yt-card-thumb::after {
    opacity: 1;
    animation: dwc-shimmer-rotate 2.5s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .dw-youtube .dwc-yt-card-thumb::after { animation: none; }
}
.dw-youtube .dwc-yt-row[data-row="long"] .dwc-yt-card-thumb {
    aspect-ratio: 16 / 9;
}
/* SHORT (세로형 9:16) */
.dw-youtube .dwc-yt-row[data-row="short"] .dwc-yt-card-thumb {
    aspect-ratio: 9 / 16;
}

.dw-youtube .dwc-yt-card-img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s var(--dwc-ease-out);
}
.dw-youtube .dwc-yt-card:hover .dwc-yt-card-img {
    transform: scale(1.05);
}

/* 어두운 오버레이 (호버 시 살짝 옅어짐) */
.dw-youtube .dwc-yt-card-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(20, 18, 46, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Play 버튼 */
.dw-youtube .dwc-yt-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(76, 29, 149, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    color: #fff;
    opacity: 0;
    transition: all 0.4s var(--dwc-ease-out);
}
.dw-youtube .dwc-yt-card:hover .dwc-yt-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.dw-youtube .dwc-yt-card-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}
@media (max-width: 768px) {
    .dw-youtube .dwc-yt-card-play {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        width: 44px;
        height: 44px;
    }
    .dw-youtube .dwc-yt-card-play svg { width: 16px; height: 16px; }
}

.dw-youtube .dwc-yt-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dwc-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.dw-youtube .dwc-yt-card-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.dw-youtube .dwc-yt-card-title {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--dwc-text);
    /* 2줄 클램프 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 1025px) {
    .dw-youtube .dwc-yt-card-title { font-size: 15px; }
}


/* prefers-reduced-motion 감지는 JS에서 처리 (자동 흐름 비활성) */
@media (prefers-reduced-motion: reduce) {
    .dw-youtube .dwc-yt-list { will-change: auto; }
}


/* Sample image placeholders */
.dw-doctors .dwc-card-photo-img {
    background: linear-gradient(135deg, #f0ecfb 0%, #d4ceea 50%, #b8b3cc 100%);
}
.dw-doctors .dwc-card[data-doc="1"] .dwc-card-photo-img,
.dwc-modal-photo[data-doc="1"] .dwc-modal-photo-img {
    /* [카드용 실사진] 서송희 원장 (보철과) — 480×600 webp */
    background-image: url(/assets/images/1.doctor-card/doctor-card01.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.dw-doctors .dwc-card[data-doc="2"] .dwc-card-photo-img,
.dwc-modal-photo[data-doc="2"] .dwc-modal-photo-img {
    /* [카드용 실사진] 이윤정 원장 (교정과) — 480×600 webp */
    background-image: url(/assets/images/1.doctor-card/doctor-card02.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.dw-doctors .dwc-card[data-doc="3"] .dwc-card-photo-img,
.dwc-modal-photo[data-doc="3"] .dwc-modal-photo-img {
    /* [카드용 실사진] 이성배 원장 (치주과) — 480×600 webp */
    background-image: url(/assets/images/1.doctor-card/doctor-card03.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.dw-doctors .dwc-card[data-doc="4"] .dwc-card-photo-img,
.dwc-modal-photo[data-doc="4"] .dwc-modal-photo-img {
    /* [카드용 실사진] 박성훈 원장 (보존과) — 480×600 webp */
    background-image: url(/assets/images/1.doctor-card/doctor-card04.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* ─────────────────────────────────────────────────────────────
 * 모달 사진 전용 override (카드 사진과 분리)
 *   · 모달 photo 컬럼은 데스크탑에서 ~9:17 비율로 카드(4:5)보다 훨씬 세로로 김
 *   · 모달용 사진을 별도로 받아 url() 채우기
 *   · 권장: 800×1400 (≈9:16) 또는 1000×1700 (레티나 2x 대응)
 *   · 최소: 800×1200 (2:3) — 약간 잘리지만 자연스러움
 * ─────────────────────────────────────────────────────────────*/

/* [모달용 실사진] 서송희 원장 — 1000×1700 webp */
.dwc-modal-photo[data-doc="1"] .dwc-modal-photo-img {
    background-image: url(/assets/images/1.doctor-card-modal/doctor-card01-modal.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* [모달용 실사진] 이윤정 원장 — 1000×1700 webp */
.dwc-modal-photo[data-doc="2"] .dwc-modal-photo-img {
    background-image: url(/assets/images/1.doctor-card-modal/doctor-card02-modal.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* [모달용 실사진] 이성배 원장 — 1000×1700 webp */
.dwc-modal-photo[data-doc="3"] .dwc-modal-photo-img {
    background-image: url(/assets/images/1.doctor-card-modal/doctor-card03-modal.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* [모달용 실사진] 박성훈 원장 — 1000×1700 webp */
.dwc-modal-photo[data-doc="4"] .dwc-modal-photo-img {
    background-image: url(/assets/images/1.doctor-card-modal/doctor-card04-modal.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.dw-youtube .dwc-yt-card-img {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
}
.dw-youtube .dwc-yt-card[data-tone="2"] .dwc-yt-card-img {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a78bfa 100%);
}
.dw-youtube .dwc-yt-card[data-tone="3"] .dwc-yt-card-img {
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
}
.dw-youtube .dwc-yt-card[data-tone="4"] .dwc-yt-card-img {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}


.dw-implant {
    --dwc-primary: #4C1D95; --dwc-primary-hover: #361371;
    --dwc-accent: #7C3AED; --dwc-lavender: #A78BFA;
    --dwc-soft: #F0ECFB; --dwc-deep: #1E1B4B;
    --dwc-text: #14122E; --dwc-text-2: #4D4769;
    --dwc-text-3: #8A83A3; --dwc-text-4: #B8B3CC;
    --dwc-line: #EBE7F5; --dwc-line-strong: #D4CEEA;
    --dwc-bg: #FFFFFF; --dwc-bg-soft: #FAFAF9;
    --dwc-container: 1280px;
    --dwc-px: 20px; --dwc-px-md: 32px; --dwc-px-lg: 40px;
    --dwc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --dwc-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --dwc-ease-snap: cubic-bezier(0.34, 1.4, 0.64, 1);
}

.dw-implant {
    position: relative;
    padding: 80px 0 72px;
    background: var(--dwc-bg-soft);
    overflow: hidden;
}
@media (min-width: 769px)  { .dw-implant { padding: 104px 0 88px; } }
@media (min-width: 1025px) { .dw-implant { padding: 128px 0 112px; } }

.dw-implant .dwc-container {
    max-width: var(--dwc-container);
    margin-inline: auto;
    padding-inline: var(--dwc-px);
}
@media (min-width: 769px)  { .dw-implant .dwc-container { padding-inline: var(--dwc-px-md); } }
@media (min-width: 1025px) { .dw-implant .dwc-container { padding-inline: var(--dwc-px-lg); } }

/* Section Header */
.dw-implant .dwc-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--fs-eyebrow); font-weight: 600;
    line-height: var(--lh-eyebrow); letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase; color: var(--dwc-accent);
    margin-bottom: 16px;
}
.dw-implant .dwc-eyebrow::before {
    content: ""; width: 24px; height: 1px;
    background: currentColor; opacity: 0.6;
}

.dw-youtube .dwc-yt-logo {
    width: 24px;
    height: auto;
    flex: 0 0 auto;
    display: block;
}

.dw-implant .dwc-title {
    font-size: var(--fs-title); font-weight: 700;
    line-height: var(--lh-title); letter-spacing: var(--ls-title);
    color: var(--dwc-text); margin-bottom: 14px;
}
.dw-implant .dwc-title .dwc-accent {
    background: linear-gradient(120deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dw-implant .dwc-lead {
    font-size: var(--fs-lead); color: var(--dwc-text-2);
    line-height: var(--lh-lead); letter-spacing: var(--ls-lead);
}

/* ════════ [메인 타이틀 통일] 전 섹션 굵기 800 (크기는 토큰 48px로 통일) ════════ */
.dw-case .dwc-title,
.dw-youtube .dwc-title,
.dw-implant .dwc-title,
.dw-ortho .dwc-title {
    font-weight: 800;
    letter-spacing: -0.03em;
}
/* 강조문구: 그라데이션 언더라인 + 좌→우 스윕 애니메이션 (전 섹션 공통) */
.dwc-hl {
    font-weight: 700;
    color: var(--dwc-text);
    position: relative;
    padding-bottom: 3px;
    white-space: nowrap;
}
.dwc-hl::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--dwc-primary), var(--dwc-accent));
    border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
/* 어두운 hero 영상 위에 올라가는 강조는 흰 글자 */
.dwc-hero-content .dwc-hl,
.dwc-hero-message .dwc-hl,
.dwc-hero-sub .dwc-hl { color: #fff; }
/* 섹션이 보이면(reveal) 언더라인이 그어짐 */
.is-revealed .dwc-hl::after,
.is-revealed.dwc-hl::after,
[data-reveal].is-revealed .dwc-hl::after { transform: scaleX(1); }
/* hero는 항상 보이므로 즉시 그어짐 */
.dwc-hero .dwc-hl::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
    .dwc-hl::after { transition: none; transform: scaleX(1); }
}
/* ════════════════════════════════════════════════════ */
.dw-implant .dwc-header {
    text-align: center; margin-bottom: 48px;
    max-width: 760px; margin-inline: auto;
}
@media (min-width: 1025px) { .dw-implant .dwc-header { margin-bottom: 72px; } }


/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transition:
            opacity 1s var(--dwc-ease-out),
            transform 1s var(--dwc-ease-out);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-60px, 0, 0); }
[data-reveal="right"] { transform: translate3d( 60px, 0, 0); }
[data-reveal="up"]    { transform: translate3d(0, 40px, 0); }
[data-reveal="zoom"]  { transform: scale(0.92); }
[data-reveal].is-revealed { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}


/* Hero with amplified hover */
.dw-implant .dwc-hero {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    margin-bottom: 80px;
    isolation: isolate; transform: translateZ(0);
    transition:
            box-shadow 0.7s var(--dwc-ease-smooth),
            transform 0.7s var(--dwc-ease-snap),
            margin 0.7s var(--dwc-ease-snap);
    box-shadow:
            0 4px 16px rgba(28, 17, 71, 0.10),
            0 12px 32px rgba(76, 29, 149, 0.08);
}
@media (min-width: 577px)  { .dw-implant .dwc-hero { aspect-ratio: 16 / 9; } }
@media (min-width: 769px)  { .dw-implant .dwc-hero { aspect-ratio: 16 / 8; } }
@media (min-width: 1025px) { .dw-implant .dwc-hero { aspect-ratio: 16 / 7; margin-bottom: 112px; } }
.dw-implant .dwc-hero:hover {
    transform: translateY(-8px) translateZ(0);
    width: auto;
    margin-inline: calc((min(92vw, 1600px) - 100%) / -2);
    box-shadow:
            0 12px 32px rgba(28, 17, 71, 0.20),
            0 56px 100px rgba(76, 29, 149, 0.45),
            0 0 0 1.5px rgba(167, 139, 250, 0.55);
}

.dw-implant .dwc-hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    transition: transform 0.9s var(--dwc-ease-out), filter 0.6s var(--dwc-ease-smooth);
}
.dw-implant .dwc-hero:hover .dwc-hero-video {
    transform: scale(1.12);
    filter: saturate(1.3) brightness(1.08) contrast(1.1);
}

.dw-implant .dwc-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
            radial-gradient(ellipse at center, rgba(20, 18, 46, 0.50) 0%, rgba(20, 18, 46, 0.72) 100%),
            radial-gradient(ellipse 50% 70% at 30% 50%, rgba(167, 139, 250, 0.18) 0%, transparent 60%);
    transition: opacity 0.6s var(--dwc-ease-smooth);
    pointer-events: none;
}
.dw-implant .dwc-hero:hover .dwc-hero-overlay { opacity: 0.7; }

.dw-implant .dwc-hero-shine {
    position: absolute; top: 0; left: -60%;
    width: 50%; height: 100%; z-index: 2;
    background: linear-gradient(115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.20) 48%,
    rgba(167, 139, 250, 0.32) 50%,
    rgba(255, 255, 255, 0.20) 52%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%);
    pointer-events: none; opacity: 0;
    transform: skewX(-12deg);
}
.dw-implant .dwc-hero:hover .dwc-hero-shine {
    animation: dwc-hero-sweep 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
@keyframes dwc-hero-sweep {
    0%   { left: -60%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 130%; opacity: 0; }
}

.dw-implant .dwc-hero-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 24px;
    z-index: 3; color: #fff;
    transition: transform 0.7s var(--dwc-ease-snap);
    pointer-events: none;
}
.dw-implant .dwc-hero:hover .dwc-hero-content {
    transform: scale(1.07) translateY(-10px);
}
.dw-implant .dwc-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.35);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: var(--fs-eyebrow); font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 24px;
    transition:
            background 0.5s var(--dwc-ease-smooth),
            border-color 0.5s var(--dwc-ease-smooth);
}
.dw-implant .dwc-hero:hover .dwc-hero-tag {
    background: rgba(167, 139, 250, 0.22);
    border-color: rgba(167, 139, 250, 0.7);
}
.dw-implant .dwc-hero-tag::before {
    content: ""; width: 6px; height: 6px;
    border-radius: 50%; background: #fff;
    box-shadow: 0 0 8px var(--dwc-lavender);
    animation: dwc-pulse 1.6s ease-in-out infinite;
}
@keyframes dwc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}
.dw-implant .dwc-hero-message {
    font-size: var(--fs-subtitle); font-weight: 700;
    line-height: var(--lh-subtitle); letter-spacing: var(--ls-subtitle);
    max-width: 680px;
    text-shadow: 0 2px 24px rgba(20, 18, 46, 0.4);
    transition: text-shadow 0.6s var(--dwc-ease-smooth);
}
.dw-implant .dwc-hero:hover .dwc-hero-message {
    text-shadow:
            0 4px 40px rgba(20, 18, 46, 0.7),
            0 0 32px rgba(167, 139, 250, 0.45);
}
.dw-implant .dwc-hero-sub {
    margin-top: 12px; font-size: var(--fs-body);
    color: #fff; line-height: var(--lh-body);
    transition: color 0.6s var(--dwc-ease-smooth);
}
.dw-implant .dwc-hero:hover .dwc-hero-sub { color: rgba(255, 255, 255, 0.94); }

/* [영상 텍스트 1.5배 — 전 hero 섹션 통일] 토큰 기반이라 반응형 유지 */
.dw-doctors .dwc-hero-tag,
.dw-implant .dwc-hero-tag,
.dw-ortho   .dwc-hero-tag      { font-size: calc(var(--fs-eyebrow) * 1.3); }
.dw-doctors .dwc-hero-message,
.dw-implant .dwc-hero-message,
.dw-ortho   .dwc-hero-message  { font-size: calc(var(--fs-subtitle) * 1.3); max-width: 880px; }
.dw-doctors .dwc-hero-sub,
.dw-implant .dwc-hero-sub,
.dw-ortho   .dwc-hero-sub      { font-size: calc(var(--fs-body) * 1.3); }

@media (prefers-reduced-motion: reduce) {
    .dw-implant .dwc-hero,
    .dw-implant .dwc-hero-video,
    .dw-implant .dwc-hero-content { transition: none; }
    .dw-implant .dwc-hero:hover { transform: none; }
    .dw-implant .dwc-hero:hover .dwc-hero-video,
    .dw-implant .dwc-hero:hover .dwc-hero-content { transform: none; filter: none; }
    .dw-implant .dwc-hero:hover .dwc-hero-shine { animation: none; }
}


/* Pillar (split layout — image + text) */
.dw-implant .dwc-pillar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 80px;
}
@media (min-width: 769px) {
    .dw-implant .dwc-pillar {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}
@media (min-width: 1025px) {
    .dw-implant .dwc-pillar {
        gap: 80px;
        margin-bottom: 112px;
    }
}
.dw-implant .dwc-pillar--reverse .dwc-pillar-visual { order: 2; }
@media (max-width: 768px) {
    .dw-implant .dwc-pillar--reverse .dwc-pillar-visual { order: -1; }
}

.dw-implant .dwc-pillar-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0ecfb 0%, #d4ceea 50%, #a78bfa 100%);
    box-shadow:
            0 4px 12px rgba(28, 17, 71, 0.06),
            0 16px 40px rgba(76, 29, 149, 0.10);
}
@media (min-width: 769px) { .dw-implant .dwc-pillar-visual { aspect-ratio: 16 / 9; } }

.dw-implant .dwc-pillar-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}

.dw-implant .dwc-pillar-badge {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--dwc-primary);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(28, 17, 71, 0.08);
}

.dw-implant .dwc-pillar-text { padding-block: 8px; }
.dw-implant .dwc-pillar-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--dwc-accent); margin-bottom: 12px;
}
.dw-implant .dwc-pillar-title {
    font-size: var(--fs-subtitle); font-weight: 700;
    line-height: var(--lh-subtitle); letter-spacing: var(--ls-subtitle);
    color: var(--dwc-text); margin-bottom: 18px;
}
.dw-implant .dwc-pillar-title strong {
    background: linear-gradient(120deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.dw-implant .dwc-pillar-desc {
    font-size: 15px; color: var(--dwc-text-2);
    line-height: 1.7; letter-spacing: -0.005em;
    margin-bottom: 20px;
}
@media (min-width: 1025px) { .dw-implant .dwc-pillar-desc { font-size: 16px; } }

.dw-implant .dwc-spec-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 20px;
}
.dw-implant .dwc-spec-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px;
    background: var(--dwc-bg);
    border: 1px solid var(--dwc-line);
    font-size: 12px; font-weight: 600;
    color: var(--dwc-text-2);
    transition: all 0.3s var(--dwc-ease-smooth);
}
.dw-implant .dwc-spec-chip:hover {
    background: var(--dwc-soft);
    border-color: var(--dwc-lavender);
    color: var(--dwc-primary);
}
.dw-implant .dwc-spec-chip-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--dwc-lavender);
    flex-shrink: 0;
}


/* Spec Grid */
.dw-implant .dwc-specs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 80px;
    padding: 36px 24px;
    border-radius: 24px;
    background:
            radial-gradient(ellipse 80% 120% at 15% 0%, rgba(167, 139, 250, 0.16) 0%, transparent 55%),
            radial-gradient(ellipse 80% 120% at 100% 100%, rgba(124, 92, 255, 0.12) 0%, transparent 55%),
            linear-gradient(135deg, #f3effc 0%, #ece6f8 100%);
}
@media (min-width: 577px) { .dw-implant .dwc-specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) {
    .dw-implant .dwc-specs {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin-bottom: 112px;
        padding: 48px 40px;
    }
}

.dw-implant .dwc-spec {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
            0 1px 2px rgba(28, 17, 71, 0.04),
            0 12px 32px rgba(76, 29, 149, 0.12);
    transition:
            transform 0.45s var(--dwc-ease-out),
            box-shadow 0.45s var(--dwc-ease-smooth),
            border-color 0.4s var(--dwc-ease-smooth);
}
.dw-implant .dwc-spec:hover {
    transform: translateY(-6px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow:
            0 4px 12px rgba(28, 17, 71, 0.08),
            0 20px 48px rgba(76, 29, 149, 0.18);
}

.dw-implant .dwc-spec-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #f0ecfb 0%, #d4ceea 100%);
}
.dw-implant .dwc-spec-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--dwc-ease-out);
}
.dw-implant .dwc-spec:hover .dwc-spec-img { transform: scale(1.06); }

.dw-implant .dwc-spec-flag {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    padding: 4px 10px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dwc-primary);
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.1em;
}

.dw-implant .dwc-spec-text { padding: 20px; }
@media (min-width: 1025px) { .dw-implant .dwc-spec-text { padding: 24px; } }
.dw-implant .dwc-spec-name {
    font-size: 16px; font-weight: 700;
    color: var(--dwc-text);
    line-height: 1.4; letter-spacing: -0.01em;
    margin-bottom: 8px;
}
@media (min-width: 1025px) { .dw-implant .dwc-spec-name { font-size: 17px; } }
.dw-implant .dwc-spec-desc {
    font-size: 13px; color: var(--dwc-text-3);
    line-height: 1.55; letter-spacing: 0;
}


/* Differentiator banner */
.dw-implant .dwc-diff {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background:
            radial-gradient(ellipse 60% 80% at 70% 50%, rgba(167, 139, 250, 0.18) 0%, transparent 60%),
            linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%);
    padding: 48px 28px;
    color: #fff;
    isolation: isolate;
    margin-bottom: 80px;
}
/* 배경 수술 영상 + 어두운 오버레이 (호버 효과 없음, 잔잔히 자동재생) */
.dw-implant .dwc-diff-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.dw-implant .dwc-diff-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    background: transparent;
}
.dw-implant .dwc-diff-grid { position: relative; z-index: 2; }
@media (min-width: 769px) { .dw-implant .dwc-diff { padding: 64px 48px; } }
@media (min-width: 1025px) {
    .dw-implant .dwc-diff {
        padding: 96px 80px;
        margin-bottom: 112px;
    }
}

.dw-implant .dwc-diff-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 32px; align-items: center;
}
@media (min-width: 1025px) {
    .dw-implant .dwc-diff-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 64px;
    }
    /* 좌우 스왑: 통계(글래스모피즘) 좌측, 텍스트 우측 (우측 인물 안 가리게) */
    .dw-implant .dwc-diff-grid > div:first-child { order: 2; text-align: right; }
    .dw-implant .dwc-diff-stats { order: 1; }
}

.dw-implant .dwc-diff-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--dwc-lavender); margin-bottom: 14px;
}
.dw-implant .dwc-diff-title {
    font-size: var(--fs-subtitle); font-weight: 700;
    line-height: 1.3; letter-spacing: -0.02em;
    margin-bottom: 20px;
}
@media (min-width: 1025px) {
    .dw-implant .dwc-diff-title { font-size: 36px; line-height: 1.25; }
}
.dw-implant .dwc-diff-desc {
    font-size: 15px; line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: -0.005em;
}
@media (min-width: 1025px) { .dw-implant .dwc-diff-desc { font-size: 16px; } }

.dw-implant .dwc-diff-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.dw-implant .dwc-diff-stat {
    padding: 20px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(167, 139, 250, 0.25);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s var(--dwc-ease-smooth);
}
.dw-implant .dwc-diff-stat:hover {
    background: rgba(167, 139, 250, 0.14);
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-3px);
}
.dw-implant .dwc-diff-stat-num {
    font-size: 32px; font-weight: 700;
    line-height: 1; letter-spacing: -0.025em;
    background: linear-gradient(120deg, #fff 0%, var(--dwc-lavender) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 1025px) { .dw-implant .dwc-diff-stat-num { font-size: 40px; } }
.dw-implant .dwc-diff-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}


/* Process */
.dw-implant .dwc-process {
    background: var(--dwc-bg);
    border: 1px solid var(--dwc-line);
    border-radius: 18px;
    padding: 32px 24px;
}
@media (min-width: 769px)  { .dw-implant .dwc-process { padding: 40px 32px; } }
@media (min-width: 1025px) { .dw-implant .dwc-process { padding: 56px 48px; } }

.dw-implant .dwc-process-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--dwc-accent);
    margin-bottom: 8px;
}
.dw-implant .dwc-process-title {
    font-size: var(--fs-subtitle); font-weight: 700;
    line-height: var(--lh-subtitle); letter-spacing: var(--ls-subtitle);
    color: var(--dwc-text);
    margin-bottom: 32px;
}
@media (min-width: 1025px) { .dw-implant .dwc-process-title { margin-bottom: 48px; } }

.dw-implant .dwc-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    counter-reset: dwc-step;
    list-style: none;
}
@media (min-width: 577px) { .dw-implant .dwc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) {
    .dw-implant .dwc-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.dw-implant .dwc-step {
    position: relative;
    padding: 24px 20px;
    background: var(--dwc-bg-soft);
    border: 1px solid var(--dwc-line);
    border-radius: 12px;
    counter-increment: dwc-step;
    overflow: hidden;
    isolation: isolate;
    transition:
            background 0.5s var(--dwc-ease-smooth),
            border-color 0.5s var(--dwc-ease-smooth),
            transform 0.5s var(--dwc-ease-out),
            box-shadow 0.5s var(--dwc-ease-smooth);
}

/* 자식 요소들은 이미지 위에 떠있게 (z-index: 1) */
.dw-implant .dwc-step > *,
.dw-implant .dwc-step::before {
    position: relative;
    z-index: 1;
}

/* 카드 변신용 배경 이미지 — 평소 opacity 0, hover 시 1 */
.dw-implant .dwc-step::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition:
            opacity 0.5s var(--dwc-ease-smooth),
            transform 0.7s var(--dwc-ease-out);
}

/* 4단계별 placeholder 그라디언트 + 다크 오버레이 합쳐서 (실제 이미지 들어가면 var(--step-img) 형태로 교체) */
.dw-implant .dwc-step:nth-child(1)::after {
    background:
            linear-gradient(180deg, rgba(20, 18, 46, 0.45) 0%, rgba(20, 18, 46, 0.78) 100%),
            linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a78bfa 100%);
    background-size: cover;
}
.dw-implant .dwc-step:nth-child(2)::after {
    background:
            linear-gradient(180deg, rgba(20, 18, 46, 0.45) 0%, rgba(20, 18, 46, 0.78) 100%),
            linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
    background-size: cover;
}
.dw-implant .dwc-step:nth-child(3)::after {
    background:
            linear-gradient(180deg, rgba(20, 18, 46, 0.45) 0%, rgba(20, 18, 46, 0.78) 100%),
            linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
    background-size: cover;
}
.dw-implant .dwc-step:nth-child(4)::after {
    background:
            linear-gradient(180deg, rgba(20, 18, 46, 0.45) 0%, rgba(20, 18, 46, 0.78) 100%),
            linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c4b5fd 100%);
    background-size: cover;
}

/* hover 시 — 카드가 이미지 카드로 변신 */
.dw-implant .dwc-step:hover {
    background: transparent;
    border-color: transparent;
    transform: translateY(-4px) scale(1.025);
    box-shadow:
            0 12px 28px rgba(28, 17, 71, 0.22),
            0 24px 56px rgba(76, 29, 149, 0.35),
            0 0 0 1.5px rgba(167, 139, 250, 0.45);
}
.dw-implant .dwc-step:hover::after {
    opacity: 1;
    transform: scale(1.04);  /* 이미지 살짝 줌인 */
}

/* hover 시 텍스트 색 — 흰색으로 변경 */
.dw-implant .dwc-step::before {
    content: "0" counter(dwc-step);
    display: block;
    font-size: 32px; font-weight: 700;
    line-height: 1; letter-spacing: -0.025em;
    background: linear-gradient(120deg, var(--dwc-primary) 0%, var(--dwc-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
    transition: background 0.5s var(--dwc-ease-smooth);
}
.dw-implant .dwc-step:hover::before {
    background: linear-gradient(120deg, #fff 0%, var(--dwc-lavender) 100%);
    -webkit-background-clip: text; background-clip: text;
}
.dw-implant .dwc-step-title {
    font-size: 16px; font-weight: 700;
    color: var(--dwc-text);
    line-height: 1.4; letter-spacing: -0.01em;
    margin-bottom: 6px;
    transition: color 0.5s var(--dwc-ease-smooth);
}
@media (min-width: 1025px) { .dw-implant .dwc-step-title { font-size: 17px; } }
.dw-implant .dwc-step:hover .dwc-step-title { color: #fff; }

.dw-implant .dwc-step-desc {
    font-size: 13px; color: var(--dwc-text-3);
    line-height: 1.55;
    transition: color 0.5s var(--dwc-ease-smooth);
}
.dw-implant .dwc-step:hover .dwc-step-desc { color: rgba(255, 255, 255, 0.82); }

@media (prefers-reduced-motion: reduce) {
    .dw-implant .dwc-step,
    .dw-implant .dwc-step::after,
    .dw-implant .dwc-step::before,
    .dw-implant .dwc-step-title,
    .dw-implant .dwc-step-desc { transition: none; }
    .dw-implant .dwc-step:hover { transform: none; }
    .dw-implant .dwc-step:hover::after { transform: none; }
}


.dw-ortho{
    --dwc-primary:#4C1D95;--dwc-accent:#7C3AED;--dwc-lavender:#A78BFA;
    --dwc-soft:#F0ECFB;--dwc-deep:#1E1B4B;
    --dwc-text:#14122E;--dwc-text-2:#4D4769;--dwc-text-3:#8A83A3;--dwc-text-4:#B8B3CC;
    --dwc-line:#EBE7F5;--dwc-line-strong:#D4CEEA;--dwc-bg:#FFFFFF;--dwc-bg-soft:#FAFAF9;
    --dwc-container:1280px;--dwc-px:20px;--dwc-px-md:32px;--dwc-px-lg:40px;
    --dwc-ease-out:cubic-bezier(0.22,1,0.36,1);
    --dwc-ease-smooth:cubic-bezier(0.4,0,0.2,1);
    --dwc-ease-snap:cubic-bezier(0.34,1.4,0.64,1);
    position:relative;padding:80px 0 72px;background:var(--dwc-bg-soft);overflow:hidden
}
@media(min-width:769px){.dw-ortho{padding:104px 0 88px}}
@media(min-width:1025px){.dw-ortho{padding:128px 0 112px}}
.dw-ortho .dwc-container{max-width:var(--dwc-container);margin-inline:auto;padding-inline:var(--dwc-px)}
@media(min-width:769px){.dw-ortho .dwc-container{padding-inline:var(--dwc-px-md)}}
@media(min-width:1025px){.dw-ortho .dwc-container{padding-inline:var(--dwc-px-lg)}}

/* Scroll Reveal (재진입 토글) */
[data-reveal]{opacity:0;transition:opacity 1s var(--dwc-ease-out),transform 1s var(--dwc-ease-out);will-change:opacity,transform}
[data-reveal="left"]{transform:translate3d(-60px,0,0)}
[data-reveal="right"]{transform:translate3d(60px,0,0)}
[data-reveal="up"]{transform:translate3d(0,40px,0)}
[data-reveal="zoom"]{transform:scale(0.92)}
[data-reveal].is-revealed{opacity:1;transform:translate3d(0,0,0) scale(1)}
[data-reveal-delay="1"]{transition-delay:.1s}
[data-reveal-delay="2"]{transition-delay:.2s}
[data-reveal-delay="3"]{transition-delay:.3s}
@media(prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transform:none;transition:none}}


/* ═══════════════════════════════════════════
   1. HEADER
   ═══════════════════════════════════════════ */
.dw-ortho .dwc-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-eyebrow);font-weight:600;line-height:var(--lh-eyebrow);letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--dwc-accent);margin-bottom:16px}
.dw-ortho .dwc-eyebrow::before{content:"";width:24px;height:1px;background:currentColor;opacity:.6}
.dw-ortho .dwc-title{font-size:var(--fs-title);font-weight:800;line-height:var(--lh-title);letter-spacing:-0.03em;color:var(--dwc-text);margin-bottom:14px}
.dw-ortho .dwc-title .dwc-accent{background:linear-gradient(120deg,var(--dwc-primary),var(--dwc-accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.dw-ortho .dwc-lead{font-size:var(--fs-lead);color:var(--dwc-text-2);line-height:var(--lh-lead);letter-spacing:var(--ls-lead)}
.dw-ortho .dwc-header{text-align:center;margin-bottom:48px;max-width:760px;margin-inline:auto}
@media(min-width:1025px){.dw-ortho .dwc-header{margin-bottom:72px}}


/* ═══════════════════════════════════════════
   2. HERO VIDEO (임팩트 hover — 임플란트와 동일 패턴)
   ═══════════════════════════════════════════ */
.dw-ortho .dwc-hero{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:4/5;background:linear-gradient(135deg,#1e1b4b,#312e81 50%,#4c1d95);margin-bottom:80px;isolation:isolate;transform:translateZ(0);transition:box-shadow .7s var(--dwc-ease-smooth),transform .7s var(--dwc-ease-snap);box-shadow:0 4px 16px rgba(28,17,71,.10),0 12px 32px rgba(76,29,149,.08)}
@media(min-width:577px){.dw-ortho .dwc-hero{aspect-ratio:16/9}}
@media(min-width:769px){.dw-ortho .dwc-hero{aspect-ratio:16/8}}
@media(min-width:1025px){.dw-ortho .dwc-hero{aspect-ratio:17/7;margin-bottom:96px}}
.dw-ortho .dwc-hero:hover{transform:translateY(-8px) scale(1.014);box-shadow:0 12px 32px rgba(28,17,71,.20),0 56px 100px rgba(76,29,149,.45),0 0 0 1.5px rgba(167,139,250,.55)}
.dw-ortho .dwc-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .9s var(--dwc-ease-out),filter .6s var(--dwc-ease-smooth)}
.dw-ortho .dwc-hero:hover .dwc-hero-video{transform:scale(1.12);filter:saturate(1.3) brightness(1.08) contrast(1.1)}
.dw-ortho .dwc-hero-overlay{position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse at center,rgba(20,18,46,.50),rgba(20,18,46,.72)),radial-gradient(ellipse 50% 70% at 30% 50%,rgba(167,139,250,.18),transparent 60%);transition:opacity .6s var(--dwc-ease-smooth);pointer-events:none}
.dw-ortho .dwc-hero:hover .dwc-hero-overlay{opacity:.7}
.dw-ortho .dwc-hero-shine{position:absolute;top:0;left:-60%;width:50%;height:100%;z-index:2;background:linear-gradient(115deg,transparent,rgba(255,255,255,0) 30%,rgba(255,255,255,.20) 48%,rgba(167,139,250,.32) 50%,rgba(255,255,255,.20) 52%,rgba(255,255,255,0) 70%,transparent);pointer-events:none;opacity:0;transform:skewX(-12deg)}
.dw-ortho .dwc-hero:hover .dwc-hero-shine{animation:dwc-hero-sweep 1.1s cubic-bezier(.22,1,.36,1) .1s forwards}
@keyframes dwc-hero-sweep{0%{left:-60%;opacity:0}20%{opacity:1}80%{opacity:1}100%{left:130%;opacity:0}}
.dw-ortho .dwc-hero-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;z-index:3;color:#fff;transition:transform .7s var(--dwc-ease-snap);pointer-events:none}
.dw-ortho .dwc-hero:hover .dwc-hero-content{transform:scale(1.07) translateY(-10px)}
.dw-ortho .dwc-hero-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.42);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;font-size:calc(var(--fs-eyebrow) * 1.3);font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:24px;transition:background .5s var(--dwc-ease-smooth),border-color .5s var(--dwc-ease-smooth)}
.dw-ortho .dwc-hero:hover .dwc-hero-tag{background:rgba(167,139,250,.22);border-color:rgba(167,139,250,.7)}
.dw-ortho .dwc-hero-tag::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 8px 1px rgba(255,255,255,.7);animation:dwc-pulse 1.6s ease-in-out infinite}
@keyframes dwc-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.85)}}
.dw-ortho .dwc-hero-message{font-size:calc(var(--fs-subtitle) * 1.3);font-weight:700;line-height:var(--lh-subtitle);letter-spacing:var(--ls-subtitle);max-width:880px;text-shadow:0 2px 24px rgba(20,18,46,.4);transition:text-shadow .6s var(--dwc-ease-smooth)}
.dw-ortho .dwc-hero:hover .dwc-hero-message{text-shadow:0 4px 40px rgba(20,18,46,.7),0 0 32px rgba(167,139,250,.45)}
.dw-ortho .dwc-hero-sub {margin-top:12px;font-size:calc(var(--fs-body) * 1.3);color: #fff;line-height:var(--lh-body);transition:color .6s var(--dwc-ease-smooth)}
.dw-ortho .dwc-hero:hover .dwc-hero-sub{color:rgba(255,255,255,.94)}
@media(prefers-reduced-motion:reduce){.dw-ortho .dwc-hero,.dw-ortho .dwc-hero-video,.dw-ortho .dwc-hero-content{transition:none}.dw-ortho .dwc-hero:hover{transform:none}.dw-ortho .dwc-hero:hover .dwc-hero-video,.dw-ortho .dwc-hero:hover .dwc-hero-content{transform:none;filter:none}.dw-ortho .dwc-hero:hover .dwc-hero-shine{animation:none}}


/* ═══════════════════════════════════════════
   3. 원장 PILLAR — 이미지 카드 + hover 약력 슬라이드
   ═══════════════════════════════════════════ */
.dw-ortho .dwc-doctor{position:relative;display:grid;grid-template-columns:1fr;gap:32px;align-items:center;margin-bottom:80px}
@media(min-width:769px){.dw-ortho .dwc-doctor{grid-template-columns:1fr 1.3fr;gap:48px}}
@media(min-width:1025px){.dw-ortho .dwc-doctor{gap:64px;margin-bottom:112px}}

.dw-ortho .dwc-doctor-photo{position:relative;aspect-ratio:3/4;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#f0ecfb,#d4ceea 50%,#a78bfa);box-shadow:0 4px 12px rgba(28,17,71,.06),0 16px 40px rgba(76,29,149,.10)}
@media(min-width:769px){.dw-ortho .dwc-doctor-photo{aspect-ratio:4/5}}
.dw-ortho .dwc-doctor-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .7s var(--dwc-ease-out)}
.dw-ortho .dwc-doctor-photo:hover img{transform:scale(1.04)}

/* hover 시 약력 오버레이 슬라이드 업 */
.dw-ortho .dwc-doctor-overlay{position:absolute;bottom:0;left:0;right:0;z-index:2;padding:24px;background:linear-gradient(180deg,transparent 0%,rgba(20,18,46,.85) 40%,rgba(20,18,46,.95) 100%);color:#fff;transform:translateY(60%);opacity:0;transition:transform .6s var(--dwc-ease-out),opacity .5s var(--dwc-ease-smooth);pointer-events:none}
@media(min-width:1025px){.dw-ortho .dwc-doctor-overlay{padding:32px}}
.dw-ortho .dwc-doctor-photo:hover .dwc-doctor-overlay{transform:translateY(0);opacity:1}
.dw-ortho .dwc-doctor-overlay-name{font-size:var(--fs-card-title);font-weight:700;margin-bottom:6px}
.dw-ortho .dwc-doctor-overlay-creds{font-size:13px;line-height:1.6;color:rgba(255,255,255,.82)}

/* 이름 + 배지 (항시 보이는 좌상단) */
.dw-ortho .dwc-doctor-badge{position:absolute;top:16px;left:16px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:var(--dwc-primary);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;box-shadow:0 2px 8px rgba(28,17,71,.08)}

.dw-ortho .dwc-doctor-text{padding-block:8px}
.dw-ortho .dwc-doctor-eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--dwc-accent);margin-bottom:12px}
.dw-ortho .dwc-doctor-title{font-size:var(--fs-subtitle);font-weight:700;line-height:var(--lh-subtitle);letter-spacing:var(--ls-subtitle);color:var(--dwc-text);margin-bottom:18px}
.dw-ortho .dwc-doctor-title strong{background:linear-gradient(120deg,var(--dwc-primary),var(--dwc-accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:700}
.dw-ortho .dwc-doctor-desc{font-size:15px;color:var(--dwc-text-2);line-height:1.7;letter-spacing:-.005em;margin-bottom:20px}
@media(min-width:1025px){.dw-ortho .dwc-doctor-desc{font-size:16px}}

/* 교정 종류 칩 */
.dw-ortho .dwc-ortho-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.dw-ortho .dwc-ortho-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--dwc-bg);border:1px solid var(--dwc-line);font-size:12px;font-weight:600;color:var(--dwc-text-2);transition:all .3s var(--dwc-ease-smooth)}
.dw-ortho .dwc-ortho-chip:hover{background:var(--dwc-soft);border-color:var(--dwc-lavender);color:var(--dwc-primary)}
.dw-ortho .dwc-ortho-chip-dot{width:6px;height:6px;border-radius:50%;background:var(--dwc-lavender);flex-shrink:0}


/* ═══════════════════════════════════════════
   4. 치아 정렬 모핑 ★ — 영상 배너 자리
   비뚤어진 치아 → 정렬된 치아로 부드럽게 모핑
   스크롤 진입 시 자동 발동 (재진입 가능)
   ═══════════════════════════════════════════ */
.dw-ortho .dwc-tooth-morph{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:16/6;background:radial-gradient(ellipse at center,#312e81 0%,#1e1b4b 60%,#14122e 100%);margin-bottom:80px;isolation:isolate;box-shadow:0 4px 16px rgba(28,17,71,.10),0 24px 56px rgba(76,29,149,.18)}
@media(max-width:768px){.dw-ortho .dwc-tooth-morph{aspect-ratio:16/9}}
@media(min-width:1025px){.dw-ortho .dwc-tooth-morph{margin-bottom:112px;aspect-ratio:16/5}}

/* 배경 빛 */
.dw-ortho .dwc-tooth-morph::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse 60% 80% at 50% 50%,rgba(167,139,250,.18) 0%,transparent 70%);pointer-events:none}

/* SVG 치아 컨테이너 */
.dw-ortho .dwc-tooth-svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}

/* 각 치아 */
.dw-ortho .dwc-tooth-svg .tooth{transform-box:fill-box;transform-origin:center;transition:transform 1.4s var(--dwc-ease-out),opacity .8s var(--dwc-ease-smooth);fill:#fff;filter:drop-shadow(0 2px 6px rgba(167,139,250,.4))}

/* 정렬 위치 (기본) */
.dw-ortho .dwc-tooth-svg .tooth{transform:translate(0,0) rotate(0deg) scale(1);opacity:1}

/* 평소 (is-revealed 없을 때) — 비뚤어진 상태 */
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-1  {transform:translate(-9px,11px)  rotate(-15deg) scale(.96)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-2  {transform:translate( 5px,-7px) rotate(  9deg) scale(1.03)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-3  {transform:translate(-3px, 6px) rotate( -4deg) scale(.98)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-4  {transform:translate( 8px, 3px) rotate( 13deg) scale(1.02)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-5  {transform:translate(-5px,-4px) rotate( -8deg) scale(.95)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-6  {transform:translate( 2px, 9px) rotate(  6deg) scale(1.01)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-7  {transform:translate(-8px,-11px)rotate(-12deg) scale(1.04)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-8  {transform:translate( 7px,10px) rotate(  8deg) scale(.96)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-9  {transform:translate(-2px,-6px) rotate( -3deg) scale(1.02)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-10 {transform:translate( 4px, 5px) rotate( 10deg) scale(.97)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-11 {transform:translate(-6px,-3px) rotate( -7deg) scale(1.03)}
.dw-ortho .dwc-tooth-morph:not(.is-revealed) .dwc-tooth-svg .tooth-12 {transform:translate( 8px, 9px) rotate( 14deg) scale(.99)}

/* 치아 staggered 정렬 — 좌→우 순차 */
.dw-ortho .dwc-tooth-svg .tooth-1  {transition-delay:0s}
.dw-ortho .dwc-tooth-svg .tooth-2  {transition-delay:.04s}
.dw-ortho .dwc-tooth-svg .tooth-3  {transition-delay:.08s}
.dw-ortho .dwc-tooth-svg .tooth-4  {transition-delay:.12s}
.dw-ortho .dwc-tooth-svg .tooth-5  {transition-delay:.16s}
.dw-ortho .dwc-tooth-svg .tooth-6  {transition-delay:.20s}
.dw-ortho .dwc-tooth-svg .tooth-7  {transition-delay:.24s}
.dw-ortho .dwc-tooth-svg .tooth-8  {transition-delay:.28s}
.dw-ortho .dwc-tooth-svg .tooth-9  {transition-delay:.32s}
.dw-ortho .dwc-tooth-svg .tooth-10 {transition-delay:.36s}
.dw-ortho .dwc-tooth-svg .tooth-11 {transition-delay:.40s}
.dw-ortho .dwc-tooth-svg .tooth-12 {transition-delay:.44s}

/* 잇몸/가이드 라인 */
.dw-ortho .dwc-tooth-svg .align-line{stroke:rgba(167,139,250,.6);stroke-width:1;stroke-dasharray:780;stroke-dashoffset:780;transition:stroke-dashoffset 1.8s var(--dwc-ease-out) .5s,opacity .8s var(--dwc-ease-smooth) .5s;opacity:0;filter:drop-shadow(0 0 4px rgba(167,139,250,.5))}
.dw-ortho .dwc-tooth-morph.is-revealed .dwc-tooth-svg .align-line{stroke-dashoffset:0;opacity:1}

/* 라벤더 빛 줄기 (정렬 완료 후 좌→우 sweep) */
.dw-ortho .dwc-tooth-morph::after{content:"";position:absolute;top:0;left:-50%;width:40%;height:100%;z-index:2;background:linear-gradient(115deg,transparent,rgba(167,139,250,.35) 50%,transparent);transform:skewX(-12deg);opacity:0;pointer-events:none}
.dw-ortho .dwc-tooth-morph.is-revealed::after{animation:dwc-tooth-sweep 1.2s var(--dwc-ease-out) 1.6s}
@keyframes dwc-tooth-sweep{0%{left:-50%;opacity:0}20%{opacity:1}80%{opacity:1}100%{left:130%;opacity:0}}

/* 메시지 (정렬 완료 후 페이드 인) */
.dw-ortho .dwc-tooth-morph-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;padding:24px 24px 32px;z-index:3;color:#fff;pointer-events:none;opacity:0;transform:translateY(20px);transition:opacity .9s var(--dwc-ease-smooth) 1.4s,transform .9s var(--dwc-ease-out) 1.4s}
@media(min-width:1025px){.dw-ortho .dwc-tooth-morph-content{padding:32px 32px 48px}}
.dw-ortho .dwc-tooth-morph.is-revealed .dwc-tooth-morph-content{opacity:1;transform:translateY(0)}
.dw-ortho .dwc-tooth-morph-msg{font-size:var(--fs-subtitle);font-weight:700;line-height:1.3;letter-spacing:-.02em;text-shadow:0 2px 24px rgba(20,18,46,.5);max-width:600px}
@media(min-width:1025px){.dw-ortho .dwc-tooth-morph-msg{font-size:32px}}
.dw-ortho .dwc-tooth-morph-sub{margin-top:8px;font-size:13px;color:rgba(255,255,255,.75);letter-spacing:0}

/* prefers-reduced-motion: 즉시 정렬 */
@media(prefers-reduced-motion:reduce){.dw-ortho .dwc-tooth-svg .tooth,.dw-ortho .dwc-tooth-svg .align-line,.dw-ortho .dwc-tooth-morph-content{transition:none;animation:none}.dw-ortho .dwc-tooth-morph::after{animation:none}}


/* ═══════════════════════════════════════════
   4-b. ★ 팔각형 안모 분석 (Face Analysis Octagon)
   안모 360 회전 + 팔각형 차트 + 각도별 항목 강조
   드래그/키보드/스크롤로 컨트롤
   ═══════════════════════════════════════════ */
.dw-ortho .dwc-face-analysis{display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:80px;align-items:stretch;isolation:isolate}
@media(min-width:769px){.dw-ortho .dwc-face-analysis{grid-template-columns:1fr 1fr;gap:40px}}
@media(min-width:1025px){.dw-ortho .dwc-face-analysis{gap:56px;margin-bottom:112px}}
.dw-ortho .dwc-face-stage{display:flex;flex-direction:column;gap:16px}
.dw-ortho .dwc-face-rotator{position:relative;aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse 90% 80% at 50% 30%,rgba(167,139,250,0.32) 0%,rgba(124,58,237,0.22) 35%,rgba(46,16,101,0.65) 70%,#14082c 100%);box-shadow:0 30px 80px -20px rgba(76,29,149,0.4),0 0 0 1px rgba(196,181,253,0.12) inset,0 0 60px rgba(139,92,246,0.15) inset;cursor:grab;user-select:none}
.dw-ortho .dwc-face-rotator.is-dragging{cursor:grabbing}
.dw-ortho .dwc-face-rotator:focus-visible{outline:2px solid var(--dwc-lavender);outline-offset:3px}
.dw-ortho .dwc-face-rotator::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background-image:linear-gradient(rgba(196,181,253,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(196,181,253,0.03) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(ellipse at center,black 45%,transparent 95%);mask-image:radial-gradient(ellipse at center,black 45%,transparent 95%)}
.dw-ortho .dwc-face-image{position:absolute;inset:0;width:100%;height:100%;z-index:2}
.dw-ortho .dwc-face-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 0.1s ease-out;mix-blend-mode:screen;pointer-events:none}
.dw-ortho .dwc-face-photo.is-active{opacity:1}
.dw-ortho .dwc-face-guide-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}
.dw-ortho .dwc-face-guide-set{position:absolute;inset:0;opacity:0;transition:opacity 0.35s var(--dwc-ease-smooth)}
.dw-ortho .dwc-face-guide-set svg{width:100%;height:100%}
.dw-ortho .dwc-face-tag{position:absolute;top:18px;left:18px;z-index:4;font-size:11px;font-weight:600;letter-spacing:0.2em;color:rgba(255,255,255,0.9);text-transform:uppercase;padding:6px 12px;border-radius:999px;background:rgba(76,29,149,0.45);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(196,181,253,0.3);transition:all 0.35s var(--dwc-ease-smooth)}
.dw-ortho .dwc-face-angle{position:absolute;top:18px;right:18px;z-index:4;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:13px;font-weight:500;color:rgba(255,255,255,0.9);padding:5px 10px;border-radius:999px;background:rgba(20,8,44,0.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(196,181,253,0.2)}
.dw-ortho .dwc-face-viewlabel{position:absolute;bottom:62px;left:50%;transform:translateX(-50%);z-index:3;font-size:13px;font-weight:500;letter-spacing:0.5em;color:rgba(196,181,253,0.35);text-transform:uppercase;pointer-events:none;transition:opacity 0.35s var(--dwc-ease-smooth)}
.dw-ortho .dwc-face-hint{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:4;font-size:11px;color:rgba(196,181,253,0.55);letter-spacing:0.1em;display:flex;align-items:center;gap:10px;transition:opacity 0.3s}
.dw-ortho .dwc-face-hint::before,.dw-ortho .dwc-face-hint::after{content:"";width:14px;height:1px;background:rgba(196,181,253,0.4)}
.dw-ortho .dwc-face-rotator.is-dragging .dwc-face-hint{opacity:0}
.dw-ortho .dwc-face-control{padding:16px 18px;border-radius:12px;background:var(--dwc-bg);border:1px solid var(--dwc-line);display:flex;flex-direction:column;gap:14px}
.dw-ortho .dwc-face-slider-wrap{position:relative;height:24px;display:flex;align-items:center}
.dw-ortho .dwc-face-slider{width:100%;height:3px;-webkit-appearance:none;appearance:none;background:linear-gradient(90deg,var(--dwc-line) 0%,var(--dwc-line-strong) 100%);outline:none;cursor:pointer;border-radius:2px}
.dw-ortho .dwc-face-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:var(--dwc-accent);cursor:pointer;box-shadow:0 0 0 4px rgba(167,139,250,0.2),0 4px 12px rgba(124,58,237,0.35);transition:transform 0.15s ease}
.dw-ortho .dwc-face-slider::-webkit-slider-thumb:hover{transform:scale(1.15)}
.dw-ortho .dwc-face-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--dwc-accent);cursor:pointer;border:none;box-shadow:0 0 0 4px rgba(167,139,250,0.2),0 4px 12px rgba(124,58,237,0.35)}
.dw-ortho .dwc-face-jumps{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.dw-ortho .dwc-face-jump{padding:7px 14px;border-radius:999px;border:1px solid var(--dwc-line-strong);background:transparent;color:var(--dwc-text-3);font-size:11.5px;font-weight:500;font-family:inherit;cursor:pointer;transition:all 0.25s var(--dwc-ease-smooth)}
.dw-ortho .dwc-face-jump:hover{border-color:var(--dwc-lavender);color:var(--dwc-primary)}
.dw-ortho .dwc-face-jump.is-active{background:linear-gradient(135deg,var(--dwc-soft) 0%,#fff 100%);border-color:var(--dwc-accent);color:var(--dwc-primary);font-weight:600;box-shadow:0 2px 8px rgba(124,58,237,0.15)}
.dw-ortho .dwc-face-panel{position:relative;padding:32px 28px;border-radius:18px;background:linear-gradient(135deg,var(--dwc-bg) 0%,var(--dwc-bg-soft) 60%,var(--dwc-soft) 100%);border:1px solid var(--dwc-line);box-shadow:0 20px 50px -20px rgba(76,29,149,0.12),0 0 0 1px rgba(167,139,250,0.05) inset;overflow:hidden}
@media(min-width:1025px){.dw-ortho .dwc-face-panel{padding:40px 36px}}
.dw-ortho .dwc-face-panel::before{content:"";position:absolute;top:24px;right:24px;width:60px;height:60px;background-image:radial-gradient(circle,var(--dwc-lavender) 1px,transparent 1.5px);background-size:12px 12px;opacity:0.25;pointer-events:none}
.dw-ortho .dwc-face-panel::after{content:"";position:absolute;bottom:-40px;left:-40px;width:200px;height:200px;background:radial-gradient(circle,rgba(167,139,250,0.18) 0%,transparent 70%);pointer-events:none}
.dw-ortho .dwc-face-panel > *{position:relative;z-index:1}
.dw-ortho .dwc-face-panel-eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:0.25em;text-transform:uppercase;color:var(--dwc-accent);margin-bottom:14px}
.dw-ortho .dwc-face-panel-title{font-size:24px;font-weight:700;line-height:1.35;letter-spacing:-0.02em;color:var(--dwc-text);margin-bottom:14px}
@media(min-width:1025px){.dw-ortho .dwc-face-panel-title{font-size:28px;margin-bottom:16px}}
.dw-ortho .dwc-face-panel-title strong{background:linear-gradient(120deg,var(--dwc-primary),var(--dwc-accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:800}
.dw-ortho .dwc-face-panel-lead{font-size:13.5px;color:var(--dwc-text-2);line-height:1.85;margin-bottom:24px;letter-spacing:0.01em}
@media(min-width:1025px){.dw-ortho .dwc-face-panel-lead{font-size:14.5px;margin-bottom:28px}}
.dw-ortho .dwc-face-panel-lead strong{color:var(--dwc-primary);font-weight:600}
.dw-ortho .dwc-face-emphasis{display:inline-block;font-style:normal;font-size:1.55em;font-weight:800;letter-spacing:-0.025em;line-height:1.1;background:linear-gradient(120deg,var(--dwc-primary) 0%,var(--dwc-accent) 60%,var(--dwc-lavender) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;position:relative;padding:0 4px;margin:0 1px;vertical-align:baseline}
.dw-ortho .dwc-face-emphasis::after{content:"";position:absolute;left:2px;right:2px;bottom:0px;height:9px;background:linear-gradient(120deg,rgba(167,139,250,0.45),rgba(124,58,237,0.18));border-radius:4px;z-index:-1;filter:blur(0.3px)}
.dw-ortho .dwc-octagon{width:100%;max-width:340px;aspect-ratio:1;margin:0 auto 22px;display:block}
@media(min-width:769px){.dw-ortho .dwc-octagon{max-width:320px}}
@media(min-width:1025px){.dw-ortho .dwc-octagon{max-width:340px;margin-bottom:26px}}
.dw-ortho .dwc-octagon-bg{fill:none;stroke:var(--dwc-line-strong);stroke-width:1;opacity:0.55}
.dw-ortho .dwc-octagon-axis{stroke:var(--dwc-line-strong);stroke-width:0.5;stroke-dasharray:2 3;opacity:0.7}
.dw-ortho .dwc-octagon-value{fill:url(#dwc-octagon-grad);stroke:var(--dwc-accent);stroke-width:1.8;stroke-linejoin:round;transition:all 0.5s var(--dwc-ease-smooth);filter:drop-shadow(0 2px 10px rgba(124,58,237,0.25))}
.dw-ortho .dwc-octagon-vertex{fill:var(--dwc-lavender);stroke:#fff;stroke-width:1.5;r:3.5;transition:r 0.35s var(--dwc-ease-out),fill 0.35s var(--dwc-ease-smooth),filter 0.35s}
.dw-ortho .dwc-octagon-vertex.is-active{fill:var(--dwc-accent);r:5;filter:drop-shadow(0 0 8px rgba(124,58,237,0.7))}
.dw-ortho .dwc-octagon-label{font-family:-apple-system,BlinkMacSystemFont,"Pretendard",sans-serif;font-size:10.5px;font-weight:600;fill:var(--dwc-text-3);text-anchor:middle;dominant-baseline:middle;letter-spacing:0.02em;transition:fill 0.35s var(--dwc-ease-smooth),font-weight 0.35s}
.dw-ortho .dwc-octagon-label.is-active{fill:var(--dwc-primary);font-weight:700}
.dw-ortho .dwc-analysis-items{display:grid;grid-template-columns:1fr 1fr;gap:7px;list-style:none}
.dw-ortho .dwc-analysis-item{position:relative;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:8px;background:var(--dwc-bg);border:1px solid var(--dwc-line);color:var(--dwc-text-3);font-size:12px;font-weight:500;letter-spacing:0.01em;transition:all 0.35s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-ortho .dwc-analysis-item{padding:11px 16px;font-size:12.5px}}
.dw-ortho .dwc-analysis-item.is-active{background:linear-gradient(135deg,var(--dwc-soft) 0%,#fff 100%);border-color:var(--dwc-lavender);color:var(--dwc-primary);font-weight:600;box-shadow:0 2px 8px rgba(167,139,250,0.18)}
.dw-ortho .dwc-analysis-item.is-active::before{content:"";position:absolute;left:0;top:18%;bottom:18%;width:3px;background:linear-gradient(180deg,var(--dwc-accent),var(--dwc-lavender));border-radius:0 2px 2px 0}
.dw-ortho .dwc-analysis-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;background:var(--dwc-line-strong);transition:all 0.35s var(--dwc-ease-smooth)}
.dw-ortho .dwc-analysis-item.is-active .dwc-analysis-dot{background:var(--dwc-accent);box-shadow:0 0 8px rgba(124,58,237,0.6)}
@media(prefers-reduced-motion:reduce){.dw-ortho .dwc-face-photo,.dw-ortho .dwc-face-guide-set,.dw-ortho .dwc-octagon-value,.dw-ortho .dwc-octagon-label,.dw-ortho .dwc-octagon-vertex,.dw-ortho .dwc-analysis-item{transition:none}}
.dw-ortho .dwc-specs{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:80px;perspective:1400px}
@media(min-width:769px){.dw-ortho .dwc-specs{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1025px){.dw-ortho .dwc-specs{gap:24px;margin-bottom:112px}}

.dw-ortho .dwc-spec{position:relative;aspect-ratio:5/3;cursor:default;transform-style:preserve-3d}
@media(min-width:769px){.dw-ortho .dwc-spec{aspect-ratio:3/2}}

/* flip inner — 실제 회전하는 wrapper */
.dw-ortho .dwc-spec-flip{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .9s var(--dwc-ease-out)}
.dw-ortho .dwc-spec:hover .dwc-spec-flip{transform:rotateY(180deg)}

/* 앞면 / 뒷면 공통 */
.dw-ortho .dwc-spec-face{position:absolute;inset:0;border-radius:14px;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:28px 24px;box-shadow:0 4px 16px rgba(28,17,71,.06),0 12px 32px rgba(76,29,149,.10)}
@media(min-width:1025px){.dw-ortho .dwc-spec-face{padding:36px 32px}}

/* 앞면 */
.dw-ortho .dwc-spec-front{background:var(--dwc-bg);border:1px solid var(--dwc-line);color:var(--dwc-text)}
.dw-ortho .dwc-spec:hover .dwc-spec-front{box-shadow:0 8px 20px rgba(28,17,71,.10),0 24px 48px rgba(76,29,149,.20)}

/* 뒷면 — 회전 상태로 시작 */
.dw-ortho .dwc-spec-back{transform:rotateY(180deg);color:#fff;background-position:center;background-size:cover;background-blend-mode:normal}
.dw-ortho .dwc-spec:hover .dwc-spec-back{box-shadow:0 12px 28px rgba(28,17,71,.18),0 24px 56px rgba(76,29,149,.35),0 0 0 1.5px rgba(167,139,250,.45)}

/* 뒷면 어둠 오버레이 (가독성) */
.dw-ortho .dwc-spec-back::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,18,46,.40) 0%,rgba(20,18,46,.85) 100%);pointer-events:none}
.dw-ortho .dwc-spec-back>*{position:relative;z-index:1}

/* 뒷면별 placeholder 그라디언트 (실제 이미지 들어가면 inline style로 background-image 교체) */
.dw-ortho .dwc-spec:nth-child(1) .dwc-spec-back{background-image:linear-gradient(135deg,#4c1d95 0%,#7c3aed 50%,#a78bfa 100%)}
.dw-ortho .dwc-spec:nth-child(2) .dwc-spec-back{background-image:linear-gradient(135deg,#1e1b4b 0%,#4c1d95 50%,#7c3aed 100%)}
.dw-ortho .dwc-spec:nth-child(3) .dwc-spec-back{background-image:linear-gradient(135deg,#312e81 0%,#7c3aed 50%,#c4b5fd 100%)}

/* 텍스트 (앞면) */
.dw-ortho .dwc-spec-num{font-size:44px;font-weight:700;line-height:1;letter-spacing:-.03em;background:linear-gradient(120deg,var(--dwc-primary),var(--dwc-accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:auto;font-variant-numeric:tabular-nums}
@media(min-width:1025px){.dw-ortho .dwc-spec-num{font-size:52px}}
.dw-ortho .dwc-spec-name{font-size:16px;font-weight:700;color:var(--dwc-text);line-height:1.3;margin-bottom:4px}
@media(min-width:1025px){.dw-ortho .dwc-spec-name{font-size:17px}}
.dw-ortho .dwc-spec-sub{font-size:12px;color:var(--dwc-text-3);line-height:1.5}

/* 캡션 (뒷면) */
.dw-ortho .dwc-spec-caption-name{font-size:18px;font-weight:700;margin-bottom:8px;text-shadow:0 1px 8px rgba(20,18,46,.6)}
@media(min-width:1025px){.dw-ortho .dwc-spec-caption-name{font-size:20px}}
.dw-ortho .dwc-spec-caption-desc{font-size:13px;color:rgba(255,255,255,.85);line-height:1.6;text-shadow:0 1px 8px rgba(20,18,46,.6)}

@media(prefers-reduced-motion:reduce){.dw-ortho .dwc-spec-flip{transition:none}.dw-ortho .dwc-spec:hover .dwc-spec-flip{transform:none}}


/* ═══════════════════════════════════════════
   6. PROCESS — 컴팩트 카드 (작은 사이즈로 축소)
   ═══════════════════════════════════════════ */
.dw-ortho .dwc-process{background:var(--dwc-bg);border:1px solid var(--dwc-line);border-radius:14px;padding:24px 20px;margin-bottom:48px}
@media(min-width:769px){.dw-ortho .dwc-process{padding:28px 24px}}
@media(min-width:1025px){.dw-ortho .dwc-process{padding:32px 28px;margin-bottom:56px}}
.dw-ortho .dwc-process-eyebrow{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--dwc-accent);margin-bottom:6px}
.dw-ortho .dwc-process-title{font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.015em;color:var(--dwc-text);margin-bottom:20px}
@media(min-width:1025px){.dw-ortho .dwc-process-title{font-size:22px;margin-bottom:24px}}
.dw-ortho .dwc-steps{display:grid;grid-template-columns:1fr;gap:10px;counter-reset:dwc-step;list-style:none}
@media(min-width:577px){.dw-ortho .dwc-steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1025px){.dw-ortho .dwc-steps{grid-template-columns:repeat(4,1fr);gap:14px}}
.dw-ortho .dwc-step{position:relative;padding:14px 14px;background:var(--dwc-bg-soft);border:1px solid var(--dwc-line);border-radius:10px;counter-increment:dwc-step;overflow:hidden;isolation:isolate;transition:background .5s var(--dwc-ease-smooth),border-color .5s var(--dwc-ease-smooth),transform .5s var(--dwc-ease-out),box-shadow .5s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-ortho .dwc-step{padding:16px 16px}}
.dw-ortho .dwc-step>*,.dw-ortho .dwc-step::before{position:relative;z-index:1}
.dw-ortho .dwc-step::after{content:"";position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;opacity:0;transition:opacity .5s var(--dwc-ease-smooth),transform .7s var(--dwc-ease-out)}
.dw-ortho .dwc-step:nth-child(1)::after{background:linear-gradient(180deg,rgba(20,18,46,.45),rgba(20,18,46,.78)),linear-gradient(135deg,#4c1d95,#7c3aed 50%,#a78bfa)}
.dw-ortho .dwc-step:nth-child(2)::after{background:linear-gradient(180deg,rgba(20,18,46,.45),rgba(20,18,46,.78)),linear-gradient(135deg,#1e1b4b,#4c1d95 50%,#7c3aed)}
.dw-ortho .dwc-step:nth-child(3)::after{background:linear-gradient(180deg,rgba(20,18,46,.45),rgba(20,18,46,.78)),linear-gradient(135deg,#312e81,#4c1d95)}
.dw-ortho .dwc-step:nth-child(4)::after{background:linear-gradient(180deg,rgba(20,18,46,.45),rgba(20,18,46,.78)),linear-gradient(135deg,#7c3aed,#a78bfa 50%,#c4b5fd)}
.dw-ortho .dwc-step:hover{background:transparent;border-color:transparent;transform:translateY(-2px) scale(1.02);box-shadow:0 8px 20px rgba(28,17,71,.18),0 16px 36px rgba(76,29,149,.28),0 0 0 1.5px rgba(167,139,250,.4)}
.dw-ortho .dwc-step:hover::after{opacity:1;transform:scale(1.04)}
.dw-ortho .dwc-step::before{content:"0" counter(dwc-step);display:block;font-size:22px;font-weight:700;line-height:1;letter-spacing:-.025em;background:linear-gradient(120deg,var(--dwc-primary),var(--dwc-accent));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:8px;font-variant-numeric:tabular-nums;transition:background .5s var(--dwc-ease-smooth)}
.dw-ortho .dwc-step:hover::before{background:linear-gradient(120deg,#fff,var(--dwc-lavender));-webkit-background-clip:text;background-clip:text}
.dw-ortho .dwc-step-title{font-size:13px;font-weight:700;color:var(--dwc-text);line-height:1.35;letter-spacing:-.005em;margin-bottom:3px;transition:color .5s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-ortho .dwc-step-title{font-size:14px}}
.dw-ortho .dwc-step:hover .dwc-step-title{color:#fff}
.dw-ortho .dwc-step-desc{font-size:11px;color:var(--dwc-text-3);line-height:1.45;transition:color .5s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-ortho .dwc-step-desc{font-size:12px}}
.dw-ortho .dwc-step:hover .dwc-step-desc{color:rgba(255,255,255,.82)}

/* ★ spec card 뒷면 사진 (nth-child 별 적용) — 기존 그라데이션 placeholder override */
.dw-ortho .dwc-spec:nth-child(1) .dwc-spec-back {
    background-image: url("/assets/images/ortho/ortho-spec-01-vceph.webp") !important;
}
.dw-ortho .dwc-spec:nth-child(2) .dwc-spec-back {
    background-image: url("/assets/images/ortho/ortho-spec-02-dica-on.webp") !important;
}
.dw-ortho .dwc-spec:nth-child(3) .dwc-spec-back {
    background-image: url("/assets/images/ortho/ortho-spec-03-suresmile.webp") !important;
}


/* ─── doctor-overlay v2: 가로 그리드 + 풀박스 ─── */
.dw-ortho .dwc-doctor-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 22px 24px;
    background: linear-gradient(180deg, rgba(20,18,46,.92) 0%, rgba(20,18,46,.96) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(12px);
    opacity: 0;
    transition: transform .55s var(--dwc-ease-out), opacity .45s var(--dwc-ease-smooth);
    pointer-events: none;
}
@media(min-width:1025px) {
    .dw-ortho .dwc-doctor-overlay { padding: 28px 32px; }
}
.dw-ortho .dwc-doctor-photo:hover .dwc-doctor-overlay {
    transform: translateY(0);
    opacity: 1;
}
.dw-ortho .dwc-doctor-overlay-name {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(167,139,250,.35);
    letter-spacing: -0.005em;
}
.dw-ortho .dwc-doctor-overlay-name span {
    font-weight: 500;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    margin-left: 4px;
}
@media(min-width:1025px) {
    .dw-ortho .dwc-doctor-overlay-name { font-size: 17px; }
    .dw-ortho .dwc-doctor-overlay-name span { font-size: 14px; }
}
.dw-ortho .dwc-doctor-overlay-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 14px;
    font-size: 11.5px;
    line-height: 1.4;
    color: rgba(255,255,255,.88);
}
@media(min-width:1025px) {
    .dw-ortho .dwc-doctor-overlay-list { font-size: 12.5px; gap: 7px 16px; }
}
@media(max-width:768px) {
    .dw-ortho .dwc-doctor-overlay-list {
        grid-template-columns: 1fr;
        gap: 5px 0;
        font-size: 12px;
    }
}
.dw-ortho .dwc-doctor-overlay-list li {
    position: relative;
    padding-left: 10px;
}
.dw-ortho .dwc-doctor-overlay-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6.5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dwc-lavender);
}

/* ─── doctor-desc 안 18년차 강조 ─── */
.dw-ortho .dwc-doctor-desc .dwc-doctor-desc-em {
    background: linear-gradient(120deg, var(--dwc-primary), var(--dwc-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}


[data-reveal]{opacity:1!important;transform:none!important;transition:none!important}

/* ═══════════════════════════════════════════
   .dw-laminate — 절제된 다크 톤 + 풀블리드 감성
   ONE SMILE — 모델샷 위주, 화려한 이펙트
   ★ 모든 핀 애니메이션 스크롤 진행도 1:1 바인딩
     → 역스크롤 시 자동 원점 복귀
   ═══════════════════════════════════════════ */
.dw-laminate{
    --dwc-primary:#4C1D95;--dwc-accent:#7C3AED;--dwc-lavender:#A78BFA;
    --dwc-deep:#1E1B4B;
    --dwc-bg:#0B0B12;--dwc-bg-elev:#13131E;--dwc-bg-surface:#1A1A28;
    --dwc-text:#FFFFFF;--dwc-text-2:rgba(255,255,255,.72);--dwc-text-3:rgba(255,255,255,.5);--dwc-text-4:rgba(255,255,255,.32);
    --dwc-line:rgba(255,255,255,.1);--dwc-line-strong:rgba(255,255,255,.22);
    --dwc-container:1280px;--dwc-px:20px;--dwc-px-md:32px;--dwc-px-lg:40px;
    --dwc-ease-out:cubic-bezier(0.22,1,0.36,1);
    --dwc-ease-smooth:cubic-bezier(0.4,0,0.2,1);
    --dwc-ease-snap:cubic-bezier(0.34,1.4,0.64,1);
    position:relative;background:var(--dwc-bg);color:var(--dwc-text);overflow:clip
}
.dw-laminate .dwc-container{max-width:var(--dwc-container);margin-inline:auto;padding-inline:var(--dwc-px)}
@media(min-width:769px){.dw-laminate .dwc-container{padding-inline:var(--dwc-px-md)}}
@media(min-width:1025px){.dw-laminate .dwc-container{padding-inline:var(--dwc-px-lg)}}

/* Scroll Reveal (일반 진입용) */
[data-reveal]{opacity:0;transition:opacity 1.1s var(--dwc-ease-out),transform 1.1s var(--dwc-ease-out)}
[data-reveal="up"]{transform:translate3d(0,40px,0)}
[data-reveal="fade"]{transform:none}
[data-reveal].is-revealed{opacity:1;transform:none}
[data-reveal-delay="1"]{transition-delay:.12s}
[data-reveal-delay="2"]{transition-delay:.24s}
[data-reveal-delay="3"]{transition-delay:.36s}
@media(prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transform:none;transition:none}}

.dw-laminate .dwc-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--dwc-lavender)}

/* ═══════════════════════════════════════════
   1. HERO — ONE SMILE + VIDEO REVEAL 통합
   핀 스크롤: 앞 = 타이포, 끝 = 영상 확대 시청
   ═══════════════════════════════════════════ */
.dw-laminate .dwc-hero{position:relative;height:260vh}  /* 핀 트랙: 타이포 + 영상등장 (260vh로 축소) */
.dw-laminate .dwc-hero-stage{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;isolation:isolate;overflow:hidden}
.dw-laminate .dwc-hero-bg{position:absolute;inset:0;z-index:0}
.dw-laminate .dwc-hero-bg img,.dw-laminate .dwc-hero-bg video{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.dw-laminate .dwc-hero-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 50% 45%,rgba(11,11,18,.4) 0%,rgba(11,11,18,.82) 75%),linear-gradient(180deg,rgba(11,11,18,.6) 0%,transparent 35%,transparent 60%,rgba(11,11,18,.96) 100%)}
/* 타이포 레이어 — 스크롤 따라 fade out + 살짝 축소 */
.dw-laminate .dwc-hero-inner{position:relative;z-index:2;padding:120px 20px}
.dw-laminate .dwc-hero-label{margin-bottom:40px;opacity:0;animation:dwc-hero-in 1s var(--dwc-ease-out) .2s forwards}
/* ★ 영상 프레임 — 스크롤 끝에서 작게 등장 → 확대 */
.dw-laminate .dwc-hero-video{position:absolute;z-index:3;left:50%;top:50%;width:min(90vw,1080px);aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#1e1b4b,#4c1d95 60%,#7c3aed);box-shadow:0 40px 120px rgba(0,0,0,.7);transform-origin:center center;transform:translate(-50%,-50%) scale(0.4);opacity:0;pointer-events:none}
.dw-laminate .dwc-hero-video video,.dw-laminate .dwc-hero-video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.dw-laminate .dwc-hero-video::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(11,11,18,.7));pointer-events:none}
.dw-laminate .dwc-hero-video-cap{position:absolute;left:0;right:0;bottom:8%;z-index:2;text-align:center;padding:0 24px;opacity:0}
.dw-laminate .dwc-hero-video-cap-title{font-size:24px;font-weight:700;line-height:1.3;letter-spacing:-.02em;color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.7)}
@media(min-width:1025px){.dw-laminate .dwc-hero-video-cap-title{font-size:38px}}
.dw-laminate .dwc-hero-video-cap-sub{margin-top:10px;font-size:13px;color:rgba(255,255,255,.75);letter-spacing:.02em}
@media(min-width:1025px){.dw-laminate .dwc-hero-video-cap-sub{font-size:15px}}
/* 대형 타이포 — 글자단위 조립 */
.dw-laminate .dwc-hero-title{font-family:var(--dwc-serif);font-weight:500;line-height:.92;letter-spacing:-.01em;text-transform:uppercase;color:#fff;position:relative}
.dw-laminate .dwc-hero-title .line{display:block;position:relative}
.dw-laminate .dwc-hero-title .ch{display:inline-block;opacity:0;filter:blur(20px);transform:translateY(40px) scale(1.6) rotate(-8deg);animation:dwc-ch-assemble .9s var(--dwc-ease-out) forwards}
@keyframes dwc-ch-assemble{to{opacity:1;filter:blur(0);transform:none}}
.dw-laminate .dwc-hero-title .line--one .ch{color:#fff;text-shadow:0 0 30px rgba(167,139,250,.3)}
.dw-laminate .dwc-hero-title .line--smile .ch{font-weight:200;color:var(--dwc-lavender);text-shadow:0 0 36px rgba(167,139,250,.45)}
.dw-laminate .dwc-hero-title .ch:nth-child(1){animation-delay:.30s}
.dw-laminate .dwc-hero-title .ch:nth-child(2){animation-delay:.38s}
.dw-laminate .dwc-hero-title .ch:nth-child(3){animation-delay:.46s}
.dw-laminate .dwc-hero-title .ch:nth-child(4){animation-delay:.54s}
.dw-laminate .dwc-hero-title .ch:nth-child(5){animation-delay:.62s}
/* 조립 후 SMILE만 아주 은은한 밝기 호흡 (sweep 제거) */
.dw-laminate .dwc-hero-title .line--smile{animation:dwc-glow-breathe 5s var(--dwc-ease-smooth) 1.8s infinite}
@keyframes dwc-glow-breathe{0%,100%{filter:brightness(1)}50%{filter:brightness(1.12)}}
@keyframes dwc-hero-in{to{opacity:1}}
.dw-laminate .dwc-hero-title{font-size:64px}
@media(min-width:769px){.dw-laminate .dwc-hero-title{font-size:120px}}
@media(min-width:1025px){.dw-laminate .dwc-hero-title{font-size:188px}}
.dw-laminate .dwc-hero-kr{margin-top:36px;font-size:16px;font-weight:500;color:var(--dwc-text-2);line-height:1.7;opacity:0;animation:dwc-hero-in 1s var(--dwc-ease-out) 1.4s forwards;position:relative;z-index:1}
@media(min-width:1025px){.dw-laminate .dwc-hero-kr{font-size:19px;margin-top:48px}}
.dw-laminate .dwc-hero-scroll{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);z-index:4;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:10px;font-weight:600;letter-spacing:.25em;text-transform:uppercase;color:var(--dwc-text-3);opacity:0;animation:dwc-hero-in 1s var(--dwc-ease-out) 1.8s forwards}
.dw-laminate .dwc-hero-scroll::after{content:"";width:1px;height:44px;background:linear-gradient(to bottom,var(--dwc-lavender),transparent);animation:dwc-scroll-line 2s ease-in-out infinite}
@keyframes dwc-scroll-line{0%,100%{opacity:.3;transform:scaleY(.6)}50%{opacity:1;transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){
    .dw-laminate .dwc-hero-title .ch,.dw-laminate .dwc-hero-label,.dw-laminate .dwc-hero-kr,.dw-laminate .dwc-hero-scroll{animation:none;opacity:1;filter:none;transform:none}
    .dw-laminate .dwc-hero-title .line--smile{animation:none}
    .dw-laminate .dwc-hero-scroll::after{animation:none}
}


/* ═══════════════════════════════════════════
   3. ★ 3가지 기준 — 액자 없이 왼쪽에서 ramp 슬라이드인
   스크롤 진행도 1:1 → 이미지 X 위치 + 텍스트 보간
   ═══════════════════════════════════════════ */
.dw-laminate .dwc-pin{position:relative;height:300vh}  /* 3장면 (300vh로 축소) */
.dw-laminate .dwc-pin-stage{position:sticky;top:0;height:100vh;overflow:hidden;display:flex;align-items:center}
.dw-laminate .dwc-pin-head{position:absolute;z-index:4;top:7vh;left:50%;transform:translateX(-50%);text-align:center;width:100%;padding:0 20px;pointer-events:none}
.dw-laminate .dwc-pin-head-label{margin-bottom:12px}
.dw-laminate .dwc-pin-head-title{font-size:13px;font-weight:600;color:var(--dwc-text-3);letter-spacing:.04em}
.dw-laminate .dwc-pin-head-sub{margin-top:8px;font-size:12px;font-weight:400;color:var(--dwc-text-2);line-height:1.6;letter-spacing:.01em;opacity:.82;max-width:420px;margin-inline:auto}
@media(min-width:1025px){.dw-laminate .dwc-pin-head-sub{font-size:13px}}

/* 각 장면 */
.dw-laminate .dwc-scene{position:absolute;inset:0;display:grid;grid-template-columns:1fr;align-items:center;opacity:0;pointer-events:none}
@media(min-width:769px){.dw-laminate .dwc-scene{grid-template-columns:1.05fr 1fr}}
.dw-laminate .dwc-scene.is-on{opacity:1;pointer-events:auto}

/* ★ 이미지 — 액자 없이, 화면 왼쪽 가장자리에 붙는 큰 비주얼
   헤더(상단 7vh + 타이틀)와 안 겹치도록 top 여백 + 높이 축소 */
.dw-laminate .dwc-scene-visual{position:relative;grid-column:1/-1;width:100%;height:54vh;margin-top:14vh;overflow:hidden}
@media(min-width:769px){.dw-laminate .dwc-scene-visual{grid-column:1;height:66vh;margin-top:16vh;border-radius:0 12px 12px 0}}
.dw-laminate .dwc-scene-visual img{width:100%;height:100%;object-fit:cover}
/* placeholder 그라데이션 */
.dw-laminate .dwc-scene-visual::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(150deg,#1e1b4b,#4c1d95 55%,#7c3aed)}
.dw-laminate .dwc-scene-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 40%,rgba(11,11,18,.4) 100%);pointer-events:none}
@media(max-width:768px){.dw-laminate .dwc-scene-visual::after{background:linear-gradient(180deg,transparent 55%,rgba(11,11,18,.85))}}
/* ★ 도착 시미 플래시 — 이미지가 제자리에 도착하면 빛이 한 번 훑음 */
.dw-laminate .dwc-scene-shimmer{position:absolute;top:0;left:0;width:60%;height:100%;z-index:3;pointer-events:none;background:linear-gradient(105deg,transparent,rgba(255,255,255,.5) 45%,rgba(167,139,250,.55) 50%,rgba(255,255,255,.5) 55%,transparent);transform:skewX(-14deg) translateX(-180%);mix-blend-mode:screen;opacity:0}

/* 장면 텍스트 */
.dw-laminate .dwc-scene-text{position:relative;z-index:2;grid-column:1/-1;padding:0 32px;max-width:520px;text-align:center;margin-top:-14vh}
@media(min-width:769px){.dw-laminate .dwc-scene-text{grid-column:2;padding:0 6vw;text-align:left;max-width:none;margin-top:8vh}}
.dw-laminate .dwc-scene-idx{display:flex;align-items:baseline;gap:8px;margin-bottom:18px;font-variant-numeric:tabular-nums;justify-content:center}
@media(min-width:769px){.dw-laminate .dwc-scene-idx{justify-content:flex-start}}
.dw-laminate .dwc-scene-idx-cur{font-size:52px;font-weight:800;color:var(--dwc-lavender);line-height:1;letter-spacing:-.04em;text-shadow:0 0 30px rgba(167,139,250,.5)}
@media(min-width:1025px){.dw-laminate .dwc-scene-idx-cur{font-size:68px}}
.dw-laminate .dwc-scene-idx-total{font-size:17px;font-weight:600;color:var(--dwc-text-4)}
.dw-laminate .dwc-scene-en{display:block;font-size:11px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--dwc-lavender);margin-bottom:14px}
.dw-laminate .dwc-scene-title{font-size:34px;font-weight:700;line-height:1.2;letter-spacing:-.025em;color:#fff;margin-bottom:16px}
@media(min-width:1025px){.dw-laminate .dwc-scene-title{font-size:50px}}
.dw-laminate .dwc-scene-desc{font-size:14px;color:var(--dwc-text-2);line-height:1.7}
@media(min-width:1025px){.dw-laminate .dwc-scene-desc{font-size:16px}}

/* ★ 세련된 페이지네이션 — 우측 세로, 숫자 + 진행 라인 */
.dw-laminate .dwc-pin-nav{position:absolute;z-index:5;right:32px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:0;align-items:flex-end}
@media(max-width:768px){.dw-laminate .dwc-pin-nav{right:16px}}
.dw-laminate .dwc-pin-nav-item{position:relative;display:flex;align-items:center;gap:10px;height:64px;cursor:default}
.dw-laminate .dwc-pin-nav-num{font-size:11px;font-weight:700;color:var(--dwc-text-4);font-variant-numeric:tabular-nums;letter-spacing:.05em;transition:color .4s var(--dwc-ease-smooth)}
.dw-laminate .dwc-pin-nav-item.is-on .dwc-pin-nav-num{color:#fff}
/* 세로 진행 라인 — 각 item 우측 */
.dw-laminate .dwc-pin-nav-track{position:relative;width:2px;height:64px;background:var(--dwc-line);overflow:hidden;border-radius:2px}
.dw-laminate .dwc-pin-nav-fill{position:absolute;left:0;top:0;width:100%;height:0;background:linear-gradient(to bottom,var(--dwc-lavender),#fff);border-radius:2px}
/* dot */
.dw-laminate .dwc-pin-nav-dot{position:absolute;right:-3px;width:8px;height:8px;border-radius:50%;background:var(--dwc-bg);border:1.5px solid var(--dwc-line-strong);transition:border-color .4s,background .4s,box-shadow .4s;top:0;transform:translateY(-1px)}
.dw-laminate .dwc-pin-nav-item.is-on .dwc-pin-nav-dot{border-color:var(--dwc-lavender);background:var(--dwc-lavender);box-shadow:0 0 12px rgba(167,139,250,.8)}



/* ═══════════════════════════════════════════
   6. SMILE GALLERY — 모델샷 그리드 (유지)
   ═══════════════════════════════════════════ */
.dw-laminate .dwc-gallery{padding:120px 0}
@media(min-width:1025px){.dw-laminate .dwc-gallery{padding:160px 0}}
.dw-laminate .dwc-gallery-head{text-align:center;margin-bottom:56px}
@media(min-width:1025px){.dw-laminate .dwc-gallery-head{margin-bottom:80px}}
.dw-laminate .dwc-gallery-label{margin-bottom:18px}
.dw-laminate .dwc-gallery-title{font-size:32px;font-weight:700;line-height:1.2;letter-spacing:-.025em;color:#fff}
@media(min-width:1025px){.dw-laminate .dwc-gallery-title{font-size:52px}}
.dw-laminate .dwc-gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;grid-auto-rows:1fr}
@media(min-width:769px){.dw-laminate .dwc-gallery-grid{grid-template-columns:repeat(4,1fr);gap:16px}}
@media(min-width:1025px){.dw-laminate .dwc-gallery-grid{gap:20px}}
.dw-laminate .dwc-gallery-cell{position:relative;border-radius:6px;overflow:hidden;background:var(--dwc-bg-surface)}
/* ★ 큰 셀 = 풀샷 — 라벤더 테두리 + 글로우로 "메인" 강조 */
.dw-laminate .dwc-gallery-cell:nth-child(1){grid-column:span 2;grid-row:span 2;aspect-ratio:auto;border:1px solid rgba(167,139,250,.4);box-shadow:0 0 0 1px rgba(167,139,250,.1),0 20px 60px rgba(76,29,149,.3)}
.dw-laminate .dwc-gallery-cell:nth-child(1)::before{content:"";position:absolute;inset:0;z-index:2;border-radius:6px;box-shadow:inset 0 0 60px rgba(167,139,250,.15);pointer-events:none}
/* ★ 작은 셀 = 디테일샷 — 얇은 테두리 + 코너 마크로 "디테일/크롭" 느낌 */
.dw-laminate .dwc-gallery-cell:not(:nth-child(1)){aspect-ratio:1;border:1px solid var(--dwc-line)}
.dw-laminate .dwc-gallery-cell:not(:nth-child(1))::before{content:"";position:absolute;top:8px;left:8px;width:14px;height:14px;z-index:2;border-top:1.5px solid rgba(167,139,250,.7);border-left:1.5px solid rgba(167,139,250,.7);pointer-events:none}
.dw-laminate .dwc-gallery-cell:not(:nth-child(1))::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 55%,rgba(11,11,18,.65));opacity:0;transition:opacity .5s var(--dwc-ease-smooth);pointer-events:none}
@media(max-width:768px){.dw-laminate .dwc-gallery-cell:nth-child(1){aspect-ratio:1}}
/* 배경 placeholder — 큰 셀은 풀샷 톤, 작은 셀은 디테일 톤 */
.dw-laminate .dwc-gallery-cell{position:relative}
.dw-laminate .dwc-gallery-cell .dwc-gallery-ph{position:absolute;inset:0;z-index:0;background:linear-gradient(150deg,#1e1b4b,#4c1d95 60%,#7c3aed)}
.dw-laminate .dwc-gallery-cell:not(:nth-child(1)) .dwc-gallery-ph{background:linear-gradient(150deg,#13131e,#2a2545 60%,#4c3a6b)}
.dw-laminate .dwc-gallery-cell img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;transition:transform 1s var(--dwc-ease-out),filter .6s var(--dwc-ease-smooth)}
.dw-laminate .dwc-gallery-cell:hover img{transform:scale(1.08)}
.dw-laminate .dwc-gallery-cell:hover::after{opacity:1}
.dw-laminate .dwc-gallery-cell:hover{border-color:rgba(167,139,250,.7);box-shadow:0 0 0 1px rgba(167,139,250,.3),0 24px 70px rgba(124,58,237,.45);z-index:5}
.dw-laminate .dwc-gallery-grid:hover .dwc-gallery-cell:not(:hover){filter:brightness(.62) saturate(.85)}
/* 코너 라벨 — 풀샷 / 디테일 구분 */
.dw-laminate .dwc-gallery-tag{position:absolute;top:12px;right:12px;z-index:3;font-size:8px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.6);padding:3px 7px;border:1px solid rgba(255,255,255,.18);border-radius:3px}
.dw-laminate .dwc-gallery-cell:nth-child(1) .dwc-gallery-tag{color:var(--dwc-lavender);border-color:rgba(167,139,250,.5)}
.dw-laminate .dwc-gallery-cap{position:absolute;left:16px;bottom:14px;z-index:3;font-family:var(--dwc-serif);font-style:italic;font-size:17px;font-weight:500;letter-spacing:.01em;color:#fff;opacity:0;transform:translateY(8px);transition:opacity .5s var(--dwc-ease-smooth),transform .5s var(--dwc-ease-out)}
.dw-laminate .dwc-gallery-cell:hover .dwc-gallery-cap{opacity:1;transform:none}
/* ★ 사진 외부 진입 효과 — 위로 스크롤 시 초기화 → 다시 내리면 재등장 */
.dw-laminate .dwc-gallery-cell{opacity:0;transition:opacity .9s var(--dwc-ease-out),transform .9s var(--dwc-ease-out),border-color .5s var(--dwc-ease-smooth),box-shadow .5s var(--dwc-ease-smooth),filter .6s var(--dwc-ease-smooth)}
.dw-laminate .dwc-gallery-cell:nth-child(1){transform:translateY(80px) scale(.9)}
.dw-laminate .dwc-gallery-cell:nth-child(2){transform:translate(70px,-60px) rotate(6deg)}
.dw-laminate .dwc-gallery-cell:nth-child(3){transform:translate(-60px,-70px) rotate(-6deg)}
.dw-laminate .dwc-gallery-cell:nth-child(4){transform:translate(80px,60px) rotate(5deg)}
.dw-laminate .dwc-gallery-cell:nth-child(5){transform:translate(-70px,70px) rotate(-5deg)}
.dw-laminate .dwc-gallery-grid.is-revealed .dwc-gallery-cell{opacity:1;transform:none}
.dw-laminate .dwc-gallery-grid.is-revealed .dwc-gallery-cell:nth-child(1){transition-delay:0s}
.dw-laminate .dwc-gallery-grid.is-revealed .dwc-gallery-cell:nth-child(2){transition-delay:.12s}
.dw-laminate .dwc-gallery-grid.is-revealed .dwc-gallery-cell:nth-child(3){transition-delay:.22s}
.dw-laminate .dwc-gallery-grid.is-revealed .dwc-gallery-cell:nth-child(4){transition-delay:.32s}
.dw-laminate .dwc-gallery-grid.is-revealed .dwc-gallery-cell:nth-child(5){transition-delay:.42s}
@media(prefers-reduced-motion:reduce){.dw-laminate .dwc-gallery-cell{transition:none;transform:none;opacity:1}}


/* ═══════════════════════════════════════════
   .dw-endo — 자연치아 살리기 (라이트 톤)
   다른 섹션의 1/2 비중. 핀 스크롤 없음.
   단순한 reveal 애니메이션만.
   ═══════════════════════════════════════════ */
.dw-endo{
    --dwc-primary:#4C1D95;--dwc-accent:#7C3AED;--dwc-lavender:#A78BFA;
    --dwc-deep:#1E1B4B;
    --dwc-bg:#FFFFFF;--dwc-bg-soft:#FAFAF9;--dwc-bg-elev:#F5F3FA;
    --dwc-text:#14122E;--dwc-text-2:#4A4564;--dwc-text-3:#8A83A3;
    --dwc-line:rgba(20,18,46,.08);--dwc-line-strong:rgba(20,18,46,.16);
    --dwc-container:1280px;--dwc-px:20px;--dwc-px-md:32px;--dwc-px-lg:40px;
    --dwc-ease-out:cubic-bezier(0.22,1,0.36,1);
    --dwc-ease-smooth:cubic-bezier(0.4,0,0.2,1);
    position:relative;background:linear-gradient(180deg,#FBF9FF 0%,#F3EEFC 50%,#FBF9FF 100%);color:var(--dwc-text);overflow:clip
}
.dw-endo .dwc-container{max-width:var(--dwc-container);margin-inline:auto;padding-inline:var(--dwc-px)}
@media(min-width:769px){.dw-endo .dwc-container{padding-inline:var(--dwc-px-md)}}
@media(min-width:1025px){.dw-endo .dwc-container{padding-inline:var(--dwc-px-lg)}}

/* Scroll Reveal — 핀 없음, 단순 페이드업만 */
.dw-endo [data-reveal]{opacity:0;transition:opacity 1s var(--dwc-ease-out),transform 1s var(--dwc-ease-out)}
.dw-endo [data-reveal="up"]{transform:translate3d(0,32px,0)}
.dw-endo [data-reveal="fade"]{transform:none}
.dw-endo [data-reveal].is-revealed{opacity:1;transform:none}
/* 히어로는 88vh로 커서 개별 교차가 늦음 → 히어로 진입 시 타이포 일괄 등장 */
.dw-endo .dwc-hero.is-inview [data-reveal]{opacity:1;transform:none}
.dw-endo [data-reveal-delay="1"]{transition-delay:.1s}
.dw-endo [data-reveal-delay="2"]{transition-delay:.2s}
.dw-endo [data-reveal-delay="3"]{transition-delay:.3s}
.dw-endo [data-reveal-delay="4"]{transition-delay:.4s}
@media(prefers-reduced-motion:reduce){.dw-endo [data-reveal]{opacity:1;transform:none;transition:none}}

.dw-endo .dwc-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--dwc-primary)}


/* ═══════════════════════════════════════════
   1. HERO — 클릭 인터랙션
   기본: 타이포 + 클릭 힌트
   클릭 시: 배경 이미지가 ramp 속도로 풀스크린 펼침
   다시 클릭 시: 원상복귀
   ═══════════════════════════════════════════ */
.dw-endo .dwc-hero{position:relative;height:clamp(300px,52vw,380px);max-width:1600px;margin-inline:auto;overflow:hidden;background:linear-gradient(165deg,#EFE9FB 0%,#F6F3FE 38%,#FBF8FF 60%,#ECE4FA 100%);isolation:isolate;user-select:none}
/* 컬러 앰비언트 — 라벤더/퍼플 글로우 (라이트 톤 → 컬러감 보강) */
.dw-endo .dwc-hero::before{content:"";position:absolute;z-index:0;top:-20%;left:50%;width:min(720px,86%);height:70%;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(124,58,237,.22) 0%,rgba(167,139,250,.12) 45%,transparent 72%);pointer-events:none;filter:blur(4px)}
.dw-endo .dwc-hero::after{content:"";position:absolute;z-index:0;left:-12%;bottom:-22%;width:60%;height:62%;background:radial-gradient(ellipse at center,rgba(76,29,149,.16),transparent 70%);pointer-events:none}
@media(min-width:1025px){.dw-endo .dwc-hero{height:clamp(400px,34vw,540px)}}

/* 배경 이미지 레이어 — 기본 클립으로 숨김, 클릭 시 풀스크린으로 펼침 */
.dw-endo .dwc-hero-reveal{position:absolute;inset:0;z-index:0;clip-path:inset(0 50% 0 50%);transition:clip-path 1.6s cubic-bezier(0.22,1,0.36,1)}
.dw-endo .dwc-hero-reveal video{transform:scale(1.08);transition:transform 1.6s var(--dwc-ease-out);object-position:70% center}
.dw-endo .dwc-hero.is-open .dwc-hero-reveal{clip-path:inset(0 0 0 0)}
.dw-endo .dwc-hero.is-open .dwc-hero-reveal video{transform:scale(1)}
.dw-endo .dwc-hero-reveal img,.dw-endo .dwc-hero-reveal video{width:100%;height:100%;object-fit:cover}
/* placeholder — 이미지 없을 때 라벤더 톤 */
.dw-endo .dwc-hero-reveal::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,var(--dwc-deep) 0%,var(--dwc-primary) 50%,var(--dwc-accent) 100%)}
/* 이미지 위 어둠 오버레이 (텍스트 가독성용) */
.dw-endo .dwc-hero-reveal::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,11,18,.35) 0%,rgba(11,11,18,.6) 100%);opacity:0;transition:opacity .8s var(--dwc-ease-smooth) .4s}
.dw-endo .dwc-hero.is-open .dwc-hero-reveal::after{opacity:1}

/* 타이포 컨테이너 — 클릭 시 fade out + 살짝 축소 */
.dw-endo .dwc-hero-typo{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;padding:48px 20px;transition:opacity .6s var(--dwc-ease-smooth),transform .8s var(--dwc-ease-out)}
@media(min-width:1025px){.dw-endo .dwc-hero-typo{padding:60px 20px}}
.dw-endo .dwc-hero.is-open .dwc-hero-typo{opacity:1;transform:none}
.dw-endo .dwc-hero.is-open .dwc-hero-title,
.dw-endo .dwc-hero.is-open .dwc-hero-title .t-pre{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.45)}
.dw-endo .dwc-hero.is-open .dwc-hero-title .accent{-webkit-text-fill-color:#fff;color:#fff;background:none;animation:none;text-shadow:0 2px 28px rgba(0,0,0,.5)}
.dw-endo .dwc-hero.is-open .dwc-hero-title .accent::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.85) 50%,transparent);box-shadow:0 3px 18px rgba(255,255,255,.4)}
.dw-endo .dwc-hero.is-open .dwc-hero-lead{color:rgba(255,255,255,.92);text-shadow:0 1px 16px rgba(0,0,0,.5)}
.dw-endo .dwc-hero.is-open .dwc-hero-sig{color:#fff;border-top-color:rgba(255,255,255,.4)}
.dw-endo .dwc-hero-typo *{transition:color .8s var(--dwc-ease-smooth),text-shadow .8s var(--dwc-ease-smooth)}

.dw-endo .dwc-hero-label{margin-bottom:28px}
.dw-endo .dwc-hero-title{position:relative;font-weight:800;line-height:1.1;letter-spacing:-.03em;color:var(--dwc-text);margin-bottom:32px}
/* 1행 — 셋업(작고 절제된 톤) + 라벤더 틱 */
.dw-endo .dwc-hero-title .t-pre{display:block;font-size:20px;font-weight:600;letter-spacing:.03em;color:var(--dwc-text-2);margin-bottom:12px}
@media(min-width:769px){.dw-endo .dwc-hero-title .t-pre{font-size:25px}}
@media(min-width:1025px){.dw-endo .dwc-hero-title .t-pre{font-size:29px}}
.dw-endo .dwc-hero-title .t-pre::before{content:"";display:inline-block;width:26px;height:2px;margin:0 13px 6px 0;vertical-align:middle;border-radius:2px;background:linear-gradient(90deg,var(--dwc-accent),var(--dwc-lavender))}
/* 2행 — 핵심 메시지(크게·굵게·움직이는 퍼플 그라데이션) */
.dw-endo .dwc-hero-title .accent{display:block;font-size:52px;font-weight:800;letter-spacing:-.035em;color:var(--dwc-primary);background:linear-gradient(100deg,var(--dwc-primary) 0%,var(--dwc-accent) 36%,#9B6EF3 58%,var(--dwc-primary) 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;position:relative;animation:dwc-logo-shine 6s var(--dwc-ease-smooth) infinite}
@media(min-width:769px){.dw-endo .dwc-hero-title .accent{font-size:72px}}
@media(min-width:1025px){.dw-endo .dwc-hero-title .accent{font-size:92px}}
/* 강조 줄 밑 — 글로우 그라데이션 라인 */
.dw-endo .dwc-hero-title .accent::after{content:"";position:absolute;left:50%;bottom:-12px;width:48%;height:3px;border-radius:3px;transform:translateX(-50%) scaleX(.72);transform-origin:center;background:linear-gradient(90deg,transparent,var(--dwc-lavender) 22%,var(--dwc-primary) 50%,var(--dwc-lavender) 78%,transparent);box-shadow:0 3px 18px rgba(124,58,237,.5)}
@media(prefers-reduced-motion:reduce){.dw-endo .dwc-hero-title .accent{animation:none}}
.dw-endo .dwc-hero-lead{max-width:680px;margin:0 auto;font-size:16px;font-weight:500;color:var(--dwc-text-2);line-height:1.7}
@media(min-width:1025px){.dw-endo .dwc-hero-lead{font-size:19px}}
.dw-endo .dwc-hero-sig{display:inline-block;margin-top:28px;font-size:13px;font-weight:600;letter-spacing:.05em;color:var(--dwc-primary);padding-top:20px;border-top:1px solid var(--dwc-line-strong)}
@media(min-width:1025px){.dw-endo .dwc-hero-sig{font-size:14px}}

/* ★ 클릭 유도 힌트 — 타이포 하단 (별도 줄) */
.dw-endo .dwc-hero-cue{display:inline-flex;margin-top:40px;align-items:center;gap:12px;padding:12px 24px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid var(--dwc-line-strong);font-size:13px;font-weight:600;color:var(--dwc-primary);letter-spacing:.02em;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 4px 20px rgba(76,29,149,.08);transition:transform .3s var(--dwc-ease-out),box-shadow .3s var(--dwc-ease-smooth)}
.dw-endo .dwc-hero-cue-wrap{display:block;text-align:center;margin-top:8px}
@media(min-width:1025px){.dw-endo .dwc-hero-cue{margin-top:48px;font-size:14px;padding:14px 28px}}
.dw-endo .dwc-hero:hover .dwc-hero-cue{transform:translateY(-2px);box-shadow:0 8px 32px rgba(76,29,149,.18)}
/* 펄스 점 */
.dw-endo .dwc-hero-cue-dot{width:8px;height:8px;border-radius:50%;background:var(--dwc-primary);position:relative}
.dw-endo .dwc-hero-cue-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1.5px solid var(--dwc-primary);animation:dwc-cue-pulse 1.8s ease-out infinite}
@keyframes dwc-cue-pulse{0%{transform:scale(.9);opacity:.8}100%{transform:scale(2);opacity:0}}
/* 화살표 (오른쪽) */
.dw-endo .dwc-hero-cue-arrow{display:inline-block;width:18px;height:1.5px;background:currentColor;position:relative;margin-left:4px;transition:width .3s var(--dwc-ease-out)}
.dw-endo .dwc-hero-cue-arrow::after{content:"";position:absolute;right:0;top:50%;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translateY(-50%) rotate(45deg)}
.dw-endo .dwc-hero:hover .dwc-hero-cue-arrow{width:28px}

/* ★ 열린 상태 — 캡션 (이미지 위에 표시) */
.dw-endo .dwc-hero-caption{position:absolute;left:50%;bottom:40px;transform:translate(-50%,20px);z-index:3;text-align:center;max-width:720px;padding:0 24px;opacity:0;transition:opacity .8s var(--dwc-ease-smooth) 1s,transform .8s var(--dwc-ease-out) 1s;pointer-events:none}
.dw-endo .dwc-hero.is-open .dwc-hero-caption{opacity:0;transform:translate(-50%,0)}
.dw-endo .dwc-hero-caption-quote{font-size:18px;font-weight:600;line-height:1.55;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.6);margin-bottom:8px}
@media(min-width:1025px){.dw-endo .dwc-hero-caption-quote{font-size:24px}}
.dw-endo .dwc-hero-caption-sub{font-size:12px;font-weight:600;letter-spacing:.18em;color:rgba(255,255,255,.75);text-transform:uppercase}

/* ★ 닫기 버튼 (열린 상태에서만) */
.dw-endo .dwc-hero-close{position:absolute;top:24px;right:24px;z-index:4;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);border:none;display:grid;place-items:center;cursor:pointer;opacity:0;transform:scale(.8);transition:opacity .5s var(--dwc-ease-smooth) 1s,transform .5s var(--dwc-ease-out) 1s,background .3s;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none}
.dw-endo .dwc-hero.is-open .dwc-hero-close{opacity:1;transform:scale(1);pointer-events:auto}
.dw-endo .dwc-hero-close:hover{background:#fff}
.dw-endo .dwc-hero-close svg{width:18px;height:18px;color:var(--dwc-primary)}

@media(prefers-reduced-motion:reduce){
    .dw-endo .dwc-hero-reveal{transition:none}
    .dw-endo .dwc-hero-cue-dot::after{animation:none}
}


/* ═══════════════════════════════════════════
   2. 4가지 시스템 — 2×2 그리드, 한 화면
   ═══════════════════════════════════════════ */
.dw-endo .dwc-system{position:relative;padding:64px 0;isolation:isolate}
.dw-endo .dwc-system::before{content:"";position:absolute;z-index:-1;top:8%;right:-8%;width:46%;height:60%;background:radial-gradient(ellipse at center,rgba(124,58,237,.14),transparent 70%);pointer-events:none}
.dw-endo .dwc-system::after{content:"";position:absolute;z-index:-1;left:-8%;bottom:4%;width:42%;height:54%;background:radial-gradient(ellipse at center,rgba(167,139,250,.13),transparent 72%);pointer-events:none}
@media(min-width:1025px){.dw-endo .dwc-system{padding:96px 0}}
.dw-endo .dwc-system-head{text-align:center;margin-bottom:48px;max-width:680px;margin-inline:auto}
@media(min-width:1025px){.dw-endo .dwc-system-head{margin-bottom:64px}}
.dw-endo .dwc-system-label{margin-bottom:16px}
.dw-endo .dwc-system-title{font-size:28px;font-weight:700;line-height:1.25;letter-spacing:-.025em;color:var(--dwc-text);margin-bottom:14px}
.dw-endo .dwc-system-title strong{font-weight:800;background:linear-gradient(100deg,var(--dwc-primary) 0%,var(--dwc-accent) 55%,#9B6EF3 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
@media(min-width:1025px){.dw-endo .dwc-system-title{font-size:40px}}
.dw-endo .dwc-system-lead{font-size:14px;color:var(--dwc-text-2);line-height:1.7}
@media(min-width:1025px){.dw-endo .dwc-system-lead{font-size:16px}}

.dw-endo .dwc-system-grid{display:grid;grid-template-columns:1fr;gap:24px;perspective:1400px}
@media(min-width:769px){.dw-endo .dwc-system-grid{grid-template-columns:1fr 1fr;gap:32px}}
@media(min-width:1025px){.dw-endo .dwc-system-grid{gap:40px}}

/* ★ 카드 컨테이너 — 3D 플립 무대 */
.dw-endo .dwc-sys-card{position:relative;min-height:240px;perspective:1400px;background:transparent;border:none;padding:0}
@media(min-width:1025px){.dw-endo .dwc-sys-card{min-height:280px}}

/* 플립 인너 — 회전축 */
.dw-endo .dwc-sys-flip{position:relative;width:100%;height:100%;min-height:inherit;transform-style:preserve-3d;transition:transform .9s cubic-bezier(0.7,0,0.3,1)}
.dw-endo .dwc-sys-card:hover .dwc-sys-flip{transform:rotateY(180deg)}

/* 앞면 / 뒷면 공통 */
.dw-endo .dwc-sys-face{position:absolute;inset:0;border-radius:10px;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden}

/* 앞면 — 텍스트 카드 */
.dw-endo .dwc-sys-front{padding:32px 28px 28px;background:var(--dwc-bg-soft);border:1px solid var(--dwc-line);display:flex;flex-direction:column;justify-content:flex-start;transition:border-color .4s var(--dwc-ease-smooth),box-shadow .4s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-endo .dwc-sys-front{padding:40px 36px 32px}}
.dw-endo .dwc-sys-card:hover .dwc-sys-front{border-color:rgba(124,58,237,.35);box-shadow:0 12px 32px rgba(76,29,149,.10)}

/* 강조 카드(엔도위즈) 앞면 */
.dw-endo .dwc-sys-card--feature .dwc-sys-front{background:linear-gradient(155deg,#fff,var(--dwc-bg-elev));border-color:rgba(124,58,237,.25)}

/* 앞면 모티프 위치 */
.dw-endo .dwc-sys-motif{position:absolute;top:24px;right:24px;width:64px;height:64px;color:var(--dwc-lavender);opacity:.7;transition:opacity .4s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-endo .dwc-sys-motif{width:80px;height:80px;top:32px;right:32px}}
.dw-endo .dwc-sys-motif svg{width:100%;height:100%;overflow:visible}
.dw-endo .dwc-sys-card--feature .dwc-sys-motif{color:var(--dwc-primary);opacity:.9}
/* 모티프 애니메이션 (앞면에서만) */
.dw-endo .dwc-motif-plasma .ring{transform-origin:50% 50%;animation:dwc-motif-rotate 12s linear infinite}
.dw-endo .dwc-motif-plasma .core{transform-origin:50% 50%;animation:dwc-motif-pulse 2.4s var(--dwc-ease-smooth) infinite}
@keyframes dwc-motif-rotate{to{transform:rotate(360deg)}}
@keyframes dwc-motif-pulse{0%,100%{transform:scale(1);opacity:.6}50%{transform:scale(1.15);opacity:1}}

.dw-endo .dwc-sys-card-num{font-size:12px;font-weight:700;color:var(--dwc-lavender);letter-spacing:.15em;margin-bottom:12px;font-variant-numeric:tabular-nums;position:relative;z-index:1}
.dw-endo .dwc-sys-card-title{font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.02em;color:var(--dwc-text);margin-bottom:10px;position:relative;z-index:1;padding-right:80px}
@media(min-width:1025px){.dw-endo .dwc-sys-card-title{font-size:24px;padding-right:96px}}
.dw-endo .dwc-sys-card-title .en{display:block;margin-top:4px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--dwc-primary)}
@media(min-width:1025px){.dw-endo .dwc-sys-card-title .en{font-size:13px}}
.dw-endo .dwc-sys-card-desc{font-size:14px;color:var(--dwc-text-2);line-height:1.7;position:relative;z-index:1}
@media(min-width:1025px){.dw-endo .dwc-sys-card-desc{font-size:15px}}
.dw-endo .dwc-sys-card-desc strong{color:var(--dwc-text);font-weight:700}

/* 앞면 하단 — 플립 힌트 (오른쪽 아래) */
.dw-endo .dwc-sys-front-hint{position:absolute;bottom:20px;right:24px;display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--dwc-text-3);transition:color .3s}
.dw-endo .dwc-sys-card:hover .dwc-sys-front-hint{color:var(--dwc-primary)}
.dw-endo .dwc-sys-front-hint svg{width:14px;height:14px}

/* 뒷면 — 이미지 카드뉴스 */
.dw-endo .dwc-sys-back{transform:rotateY(180deg);background:linear-gradient(135deg,var(--dwc-deep),var(--dwc-primary) 60%,var(--dwc-accent));color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:28px}
@media(min-width:1025px){.dw-endo .dwc-sys-back{padding:32px}}
.dw-endo .dwc-sys-back-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.dw-endo .dwc-sys-back::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(11,11,18,.2) 0%,rgba(11,11,18,.85) 100%)}
.dw-endo .dwc-sys-back-num{position:absolute;top:20px;left:24px;z-index:2;font-size:11px;font-weight:700;letter-spacing:.2em;color:rgba(255,255,255,.7)}
@media(min-width:1025px){.dw-endo .dwc-sys-back-num{top:24px;left:28px;font-size:12px}}
.dw-endo .dwc-sys-back-en{position:absolute;top:20px;right:24px;z-index:2;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.6)}
@media(min-width:1025px){.dw-endo .dwc-sys-back-en{top:24px;right:28px;font-size:11px}}
.dw-endo .dwc-sys-back-title{position:relative;z-index:2;font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.02em;color:#fff;margin-bottom:10px}
@media(min-width:1025px){.dw-endo .dwc-sys-back-title{font-size:26px}}
.dw-endo .dwc-sys-back-desc{position:relative;z-index:2;font-size:13px;color:rgba(255,255,255,.88);line-height:1.6}
@media(min-width:1025px){.dw-endo .dwc-sys-back-desc{font-size:14px}}

@media(prefers-reduced-motion:reduce){
    .dw-endo .dwc-sys-flip{transition:none}
    .dw-endo .dwc-motif-plasma .ring,.dw-endo .dwc-motif-plasma .core{animation:none}
}


/* ═══════════════════════════════════════════
   3. 원장 카드 — 박성훈 보존과 원장
   ═══════════════════════════════════════════ */
.dw-endo .dwc-doctor{padding:64px 0;background:linear-gradient(150deg,#EEE8FB 0%,#F4EFFC 55%,#E9E1F8 100%);position:relative;overflow:hidden}
@media(min-width:1025px){.dw-endo .dwc-doctor{padding:88px 0}}
.dw-endo .dwc-doctor-wrap{display:grid;grid-template-columns:1fr;gap:32px;align-items:center;max-width:1040px;margin-inline:auto}
@media(min-width:769px){.dw-endo .dwc-doctor-wrap{grid-template-columns:1.15fr 1fr;gap:44px;align-items:center}}
@media(min-width:1025px){.dw-endo .dwc-doctor-wrap{grid-template-columns:1.2fr 1fr;gap:56px}}

/* 원장 사진 wrap — 그리드 패턴 배경 + 라벤더 액자 */
.dw-endo .dwc-doctor-photo-wrap{position:relative;width:100%;margin-inline:auto;isolation:isolate}
@media(min-width:769px){.dw-endo .dwc-doctor-photo-wrap{width:100%;max-width:none;margin-inline:0}}
/* 뒤에 비치는 그리드 패턴 — 살짝 오프셋 (디자인 액자 효과) */
.dw-endo .dwc-doctor-photo-grid{position:absolute;inset:-14px -14px 14px 14px;z-index:-1;border:1.5px solid var(--dwc-lavender);border-radius:10px;background-image:linear-gradient(rgba(124,58,237,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(124,58,237,.08) 1px,transparent 1px);background-size:16px 16px;background-position:0 0;opacity:.8}
/* 그리드 코너 마크 (장식) */
.dw-endo .dwc-doctor-photo-grid::before,.dw-endo .dwc-doctor-photo-grid::after{content:"";position:absolute;width:16px;height:16px;border:2px solid var(--dwc-primary)}
.dw-endo .dwc-doctor-photo-grid::before{top:-2px;left:-2px;border-right:0;border-bottom:0}
.dw-endo .dwc-doctor-photo-grid::after{bottom:-2px;right:-2px;border-left:0;border-top:0}
/* 실제 사진 */
.dw-endo .dwc-doctor-photo{position:relative;width:100%;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:linear-gradient(150deg,var(--dwc-deep),var(--dwc-primary) 50%,var(--dwc-accent));box-shadow:0 20px 60px rgba(76,29,149,.25)}
.dw-endo .dwc-doctor-photo img{width:100%;height:100%;object-fit:cover}
/* 사진 위 미세 빛 흐름 (placeholder일 때 더 살아남) */
.dw-endo .dwc-doctor-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 30%,rgba(255,255,255,.12) 50%,transparent 70%);pointer-events:none}
.dw-endo .dwc-doctor-photo-tag{position:absolute;top:16px;left:16px;z-index:2;padding:6px 12px;background:rgba(255,255,255,.95);font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--dwc-primary);border-radius:3px;backdrop-filter:blur(8px)}

.dw-endo .dwc-doctor-info{text-align:center}
@media(min-width:769px){.dw-endo .dwc-doctor-info{text-align:left}}
.dw-endo .dwc-doctor-label{font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--dwc-primary);margin-bottom:8px}
.dw-endo .dwc-doctor-name{font-size:28px;font-weight:800;letter-spacing:-.02em;color:var(--dwc-text);margin-bottom:16px}
@media(min-width:1025px){.dw-endo .dwc-doctor-name{font-size:34px}}
.dw-endo .dwc-doctor-name .role{display:inline-block;margin-left:8px;font-size:14px;font-weight:600;color:var(--dwc-text-3);vertical-align:middle}
@media(min-width:1025px){.dw-endo .dwc-doctor-name .role{font-size:15px}}
.dw-endo .dwc-doctor-quote{position:relative;font-size:17px;font-weight:600;line-height:1.55;letter-spacing:-.015em;color:var(--dwc-text);padding:20px 0 20px 24px;border-top:1px solid var(--dwc-line-strong);border-bottom:1px solid var(--dwc-line-strong);margin-bottom:20px}
@media(min-width:1025px){.dw-endo .dwc-doctor-quote{font-size:19px;padding:24px 0 24px 32px;margin-bottom:24px}}
/* 인용 부호 장식 */
.dw-endo .dwc-doctor-quote::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:48px;background:linear-gradient(to bottom,var(--dwc-lavender),var(--dwc-primary));border-radius:2px}
.dw-endo .dwc-doctor-cred{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--dwc-text-2);line-height:1.55}
@media(min-width:1025px){.dw-endo .dwc-doctor-cred{font-size:14px}}
.dw-endo .dwc-doctor-cred-item{display:flex;gap:10px;align-items:baseline}
.dw-endo .dwc-doctor-cred-item::before{content:"";flex-shrink:0;width:4px;height:4px;border-radius:50%;background:var(--dwc-lavender);transform:translateY(-2px)}
/* 석사 강조 줄 */
.dw-endo .dwc-doctor-cred-item--key{font-weight:700;color:var(--dwc-text)}
.dw-endo .dwc-doctor-cred-item--key::before{width:6px;height:6px;background:var(--dwc-primary);box-shadow:0 0 0 3px rgba(124,58,237,.14)}

/* ═══ 보존과 전문의 강조 뱃지 ═══ */
.dw-endo .dwc-doctor-badge{display:inline-block;margin-bottom:14px;padding:7px 16px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--dwc-primary);background:rgba(124,58,237,.08);border:1px solid rgba(124,58,237,.22)}
@media(min-width:1025px){.dw-endo .dwc-doctor-badge{font-size:13px}}

/* ═══ 16:9 플라즈마 시연 영상 (좌측, 약력 사진 대체) ═══ */
.dw-endo .dwc-doctor-video{position:relative;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:linear-gradient(150deg,var(--dwc-deep),var(--dwc-primary) 55%,var(--dwc-accent));box-shadow:0 20px 60px rgba(76,29,149,.22)}
.dw-endo .dwc-doctor-video video{width:100%;height:100%;object-fit:cover;display:block}
.dw-endo .dwc-doctor-video::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(11,11,18,.42) 100%);pointer-events:none}
.dw-endo .dwc-doctor-video-tag{position:absolute;left:16px;bottom:14px;z-index:2;font-size:11px;font-weight:600;letter-spacing:.04em;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.5)}
@media(min-width:1025px){.dw-endo .dwc-doctor-video-tag{font-size:12px}}

/* ═══ 2카드 — 이미지 + 본문 ═══ */
.dw-endo .dwc-sys-card{display:flex;flex-direction:column;overflow:hidden;border-radius:16px;background:#fff;border:1px solid var(--dwc-line);box-shadow:0 8px 30px rgba(76,29,149,.06);transition:transform .5s var(--dwc-ease-out),box-shadow .5s var(--dwc-ease-smooth)}
.dw-endo .dwc-sys-card:hover{transform:translateY(-4px);box-shadow:0 18px 48px rgba(76,29,149,.14)}
.dw-endo .dwc-sys-card--feature{border-color:rgba(124,58,237,.28)}
.dw-endo .dwc-sys-photo{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(150deg,#ECE4FA,#F6F3FE)}
.dw-endo .dwc-sys-photo::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(150deg,rgba(124,58,237,.18) 0%,rgba(124,58,237,.04) 45%,rgba(167,139,250,.10) 100%);mix-blend-mode:multiply;pointer-events:none}
.dw-endo .dwc-sys-photo-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s var(--dwc-ease-out)}
.dw-endo .dwc-sys-card:hover .dwc-sys-photo-img{transform:scale(1.05)}
.dw-endo .dwc-sys-photo-num{position:absolute;top:14px;left:16px;z-index:2;font-size:13px;font-weight:800;letter-spacing:.08em;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.45)}
.dw-endo .dwc-sys-body{display:flex;flex-direction:column;padding:28px 28px 32px}
@media(min-width:1025px){.dw-endo .dwc-sys-body{padding:36px 38px 40px}}
.dw-endo .dwc-sys-eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--dwc-primary);margin-bottom:10px}
.dw-endo .dwc-sys-body .dwc-sys-card-title{font-size:19px;font-weight:800;letter-spacing:-.02em;color:var(--dwc-text);line-height:1.35;margin-bottom:12px}
@media(min-width:1025px){.dw-endo .dwc-sys-body .dwc-sys-card-title{font-size:22px}}
.dw-endo .dwc-sys-body .dwc-sys-card-desc{font-size:14px;font-weight:500;color:var(--dwc-text-2);line-height:1.65}
@media(min-width:1025px){.dw-endo .dwc-sys-body .dwc-sys-card-desc{font-size:15px}}
.dw-endo .dwc-sys-body .dwc-sys-card-desc strong{color:var(--dwc-primary);font-weight:700}

/* ═══ 협진 영상 — 약력 아래 16:9 작게 ═══ */
.dw-endo .dwc-collab{max-width:980px;margin-inline:auto}
.dw-endo .dwc-collab-head{text-align:center;margin-bottom:24px;max-width:560px;margin-inline:auto}
@media(min-width:1025px){.dw-endo .dwc-collab-head{margin-bottom:28px}}
.dw-endo .dwc-collab-eyebrow{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.25em;text-transform:uppercase;color:var(--dwc-primary);margin-bottom:10px}
.dw-endo .dwc-collab-title{font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.02em;color:var(--dwc-text);margin-bottom:8px}
@media(min-width:1025px){.dw-endo .dwc-collab-title{font-size:24px}}
.dw-endo .dwc-collab-desc{font-size:13px;color:var(--dwc-text-2);line-height:1.65}
@media(min-width:1025px){.dw-endo .dwc-collab-desc{font-size:14px}}
.dw-endo .dwc-collab-video{position:relative;max-width:640px;margin:0 auto;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,var(--dwc-deep),var(--dwc-primary) 55%,var(--dwc-accent));box-shadow:0 20px 60px rgba(76,29,149,.18);border:1px solid rgba(124,58,237,.18)}
.dw-endo .dwc-collab-video video,.dw-endo .dwc-collab-video img{width:100%;height:100%;object-fit:cover}
/* 영상 오버레이 — 광원 효과 */
.dw-endo .dwc-collab-video-overlay{position:absolute;inset:0;background:radial-gradient(ellipse 80% 100% at 50% 0%,rgba(167,139,250,.18),transparent 60%),linear-gradient(180deg,transparent 50%,rgba(11,11,18,.6));pointer-events:none}
/* 영상 위 태그들 (협진 인원) */
.dw-endo .dwc-collab-video-tags{position:absolute;left:16px;bottom:16px;z-index:2;display:flex;flex-wrap:wrap;gap:6px}
@media(min-width:769px){.dw-endo .dwc-collab-video-tags{left:20px;bottom:20px;gap:8px}}
.dw-endo .dwc-collab-tag{padding:4px 10px;background:rgba(255,255,255,.94);color:var(--dwc-primary);font-size:10px;font-weight:700;letter-spacing:.08em;border-radius:999px;backdrop-filter:blur(8px)}
@media(min-width:1025px){.dw-endo .dwc-collab-tag{font-size:11px;padding:5px 12px}}
/* 우상단 LIVE/REC 인디케이터 (의료 협진 느낌) */
.dw-endo .dwc-collab-video::before{content:"REC";position:absolute;top:14px;right:14px;z-index:2;font-size:9px;font-weight:700;letter-spacing:.18em;color:#fff;padding:4px 10px 4px 22px;background:rgba(11,11,18,.55);backdrop-filter:blur(8px);border-radius:3px}
.dw-endo .dwc-collab-video::after{content:"";position:absolute;top:18px;right:54px;z-index:3;width:8px;height:8px;border-radius:50%;background:#FF4D6D;box-shadow:0 0 8px #FF4D6D;animation:dwc-rec 1.4s ease-in-out infinite}
@keyframes dwc-rec{0%,100%{opacity:1}50%{opacity:.3}}
@media(min-width:1025px){.dw-endo .dwc-collab-video::before{top:18px;right:18px;font-size:10px;padding:5px 12px 5px 26px}.dw-endo .dwc-collab-video::after{top:23px;right:62px}}
@media(prefers-reduced-motion:reduce){.dw-endo .dwc-collab-video::after{animation:none}}


/* ═══════════════════════════════════════════
   .dw-intro — 진료과목 + 병원 둘러보기 (미니)
   화이트 톤 / 작은 비중 / footer v3 동일 시스템
   ═══════════════════════════════════════════ */
.dw-intro{
    --dwc-primary:#4C1D95;--dwc-accent:#7C3AED;--dwc-lavender:#A78BFA;
    --dwc-deep:#1E1B4B;
    --dwc-bg:#FFFFFF;--dwc-bg-soft:#FAFAF9;--dwc-bg-elev:#F5F3FA;
    --dwc-text:#14122E;--dwc-text-2:#4A4564;--dwc-text-3:#8A83A3;
    --dwc-line:rgba(20,18,46,.08);--dwc-line-strong:rgba(20,18,46,.16);
    --dwc-container:1280px;--dwc-px:20px;--dwc-px-md:32px;--dwc-px-lg:40px;
    --dwc-ease-out:cubic-bezier(0.22,1,0.36,1);
    --dwc-ease-smooth:cubic-bezier(0.4,0,0.2,1);
    position:relative;background:var(--dwc-bg)
}
.dw-intro .dwc-container{max-width:var(--dwc-container);margin-inline:auto;padding-inline:var(--dwc-px)}
@media(min-width:769px){.dw-intro .dwc-container{padding-inline:var(--dwc-px-md)}}
@media(min-width:1025px){.dw-intro .dwc-container{padding-inline:var(--dwc-px-lg)}}

.dw-intro [data-reveal]{opacity:0;transition:opacity .9s var(--dwc-ease-out),transform .9s var(--dwc-ease-out)}
.dw-intro [data-reveal="up"]{transform:translate3d(0,24px,0)}
.dw-intro [data-reveal="fade"]{transform:none}
.dw-intro [data-reveal].is-revealed{opacity:1;transform:none}
.dw-intro [data-reveal-delay="1"]{transition-delay:.08s}
.dw-intro [data-reveal-delay="2"]{transition-delay:.16s}
.dw-intro [data-reveal-delay="3"]{transition-delay:.24s}
@media(prefers-reduced-motion:reduce){.dw-intro [data-reveal]{opacity:1;transform:none;transition:none}}

.dw-intro .dwc-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--dwc-text-3)}

/* ── 섹션 베이스 (간격 축소) ── */
.dw-intro .dwc-sec{padding:52px 0}
@media(min-width:1025px){.dw-intro .dwc-sec{padding:68px 0}}
.dw-intro .dwc-sec--soft{background:var(--dwc-bg-soft)}
.dw-intro .dwc-sec-head{margin-bottom:28px}
@media(min-width:1025px){.dw-intro .dwc-sec-head{margin-bottom:34px}}
.dw-intro .dwc-sec-head--center{text-align:center}
.dw-intro .dwc-sec-label{margin-bottom:12px}
.dw-intro .dwc-sec-title{font-size:var(--fs-title);font-weight:800;line-height:var(--lh-title);letter-spacing:-.03em;color:var(--dwc-text)}
@media(min-width:1025px){.dw-intro .dwc-sec-title{letter-spacing:-.03em}}
.dw-intro .dwc-sec-title em{font-style:normal;color:var(--dwc-primary)}

/* ── 진료과목 — 정보 칩 (링크 아님, 호버 시 텍스트 확장+색변) ── */
.dw-intro .dwc-dept-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
@media(min-width:600px){.dw-intro .dwc-dept-grid{grid-template-columns:repeat(2,1fr);gap:10px}}
@media(min-width:901px){.dw-intro .dwc-dept-grid{grid-template-columns:repeat(5,1fr)}}
@media(min-width:1025px){.dw-intro .dwc-dept-grid{gap:12px}}
.dw-intro .dwc-dept{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:20px 14px;border-radius:12px;background:var(--dwc-bg);border:1px solid var(--dwc-line);transition:border-color .3s var(--dwc-ease-smooth),background .3s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-intro .dwc-dept{padding:24px 16px;gap:12px}}
.dw-intro .dwc-dept:hover{border-color:rgba(124,58,237,.3);background:var(--dwc-bg-soft)}
/* PNG 아이콘 슬롯 — 색전환 없음, 원본 그대로 */
.dw-intro .dwc-dept-ico{flex-shrink:0;width:44px;height:44px;display:grid;place-items:center}
@media(min-width:1025px){.dw-intro .dwc-dept-ico{width:50px;height:50px}}
.dw-intro .dwc-dept-ico-img{width:100%;height:100%;object-fit:contain}
.dw-intro .dwc-dept-ico svg{width:28px;height:28px;color:var(--dwc-primary);transition:color .3s var(--dwc-ease-smooth),transform .3s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-intro .dwc-dept-ico svg{width:30px;height:30px}}
.dw-intro .dwc-dept:hover .dwc-dept-ico svg{transform:scale(1.08)}
/* 아이콘 placeholder (PNG 들어오기 전) */
.dw-intro .dwc-dept-ico::after{content:"";position:absolute;width:44px;height:44px;border-radius:11px;background:var(--dwc-bg-elev);z-index:-1}
@media(min-width:1025px){.dw-intro .dwc-dept-ico::after{width:50px;height:50px}}
/* 호버 시 텍스트만 확장 + 색변 */
.dw-intro .dwc-dept-name{font-size:14px;font-weight:700;color:var(--dwc-text);letter-spacing:-.01em;transition:color .3s var(--dwc-ease-smooth),letter-spacing .3s var(--dwc-ease-out),transform .3s var(--dwc-ease-out)}
@media(min-width:1025px){.dw-intro .dwc-dept-name{font-size:15px}}
.dw-intro .dwc-dept-sub{display:block;margin-top:4px;font-size:11px;font-weight:600;color:var(--dwc-text-3);letter-spacing:.01em;transition:color .3s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-intro .dwc-dept-sub{font-size:12px}}
.dw-intro .dwc-dept:hover .dwc-dept-sub{color:var(--dwc-accent)}
.dw-intro .dwc-dept:hover .dwc-dept-name{color:var(--dwc-primary);letter-spacing:.02em;transform:scale(1.06)}

/* ── 4인 협진 — 와이드 영상 임베드 + 타이포 오버레이 (가운데) ── */
.dw-intro .dwc-collab{position:relative;width:100%;margin-top:36px;border-radius:18px;overflow:hidden;aspect-ratio:21/9;background:linear-gradient(135deg,var(--dwc-deep),var(--dwc-primary) 55%,#5b2bb0);isolation:isolate}
@media(max-width:768px){.dw-intro .dwc-collab{aspect-ratio:16/11}}
@media(min-width:1025px){.dw-intro .dwc-collab{margin-top:44px}}
.dw-intro .dwc-collab video,.dw-intro .dwc-collab img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
/* 영상 위 오버레이 */
.dw-intro .dwc-collab::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(11,11,18,.45),rgba(11,11,18,.62))}
/* 광원 장식 */
.dw-intro .dwc-collab::after{content:"";position:absolute;top:-30%;left:50%;transform:translateX(-50%);width:60%;height:80%;z-index:1;background:radial-gradient(ellipse,rgba(167,139,250,.22),transparent 70%);pointer-events:none}
.dw-intro .dwc-collab-inner{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px}
.dw-intro .dwc-collab-eyebrow{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--dwc-lavender);margin-bottom:16px}
@media(min-width:1025px){.dw-intro .dwc-collab-eyebrow{font-size:12px;margin-bottom:20px}}
.dw-intro .dwc-collab-text{font-size:22px;font-weight:800;line-height:1.45;letter-spacing:-.025em;color:#fff;max-width:680px;text-shadow:0 2px 24px rgba(0,0,0,.45)}
@media(min-width:769px){.dw-intro .dwc-collab-text{font-size:30px}}
@media(min-width:1025px){.dw-intro .dwc-collab-text{font-size:38px}}
.dw-intro .dwc-collab-text em{font-style:normal;color:var(--dwc-lavender)}
.dw-intro .dwc-collab-sub{margin-top:16px;font-size:12px;font-weight:600;letter-spacing:.06em;color:rgba(255,255,255,.7)}
@media(min-width:1025px){.dw-intro .dwc-collab-sub{font-size:14px;margin-top:20px}}

/* ── 병원 둘러보기 — 메인 16:9 + 우측 세로 갤러리 ── */
.dw-intro .dwc-tour-wrap{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:901px){.dw-intro .dwc-tour-wrap{grid-template-columns:1fr 200px;gap:14px;align-items:start}}
@media(min-width:1025px){.dw-intro .dwc-tour-wrap{grid-template-columns:1fr 240px;gap:16px}}
.dw-intro .dwc-tour-main{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--dwc-bg-elev)}
.dw-intro .dwc-tour-main-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s var(--dwc-ease-smooth)}
.dw-intro .dwc-tour-main-img.is-active{opacity:1}
.dw-intro .dwc-tour-main-ph{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(150deg,var(--dwc-bg-elev),#ece8f5)}
.dw-intro .dwc-tour-main-ph svg{width:32px;height:32px;color:var(--dwc-lavender);opacity:.55}
.dw-intro .dwc-tour-main::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(20,18,46,.52));pointer-events:none}
.dw-intro .dwc-tour-main-cap{position:absolute;left:18px;bottom:16px;z-index:2;color:#fff}
.dw-intro .dwc-tour-main-cap-t{font-size:15px;font-weight:700;letter-spacing:-.01em}
@media(min-width:1025px){.dw-intro .dwc-tour-main-cap-t{font-size:18px}}
.dw-intro .dwc-tour-main-cap-n{font-size:10px;font-weight:600;color:rgba(255,255,255,.7);letter-spacing:.1em;margin-top:2px}
/* 우측 세로 스크롤 갤러리 (2열) */
.dw-intro .dwc-tour-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media(min-width:901px){.dw-intro .dwc-tour-thumbs{grid-template-columns:repeat(2,1fr);gap:8px;max-height:none}}
@media(min-width:1025px){.dw-intro .dwc-tour-thumbs{gap:10px}}
.dw-intro .dwc-tour-thumb{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--dwc-bg-elev);cursor:pointer;border:2px solid transparent;transition:border-color .3s var(--dwc-ease-smooth),transform .3s var(--dwc-ease-out)}
.dw-intro .dwc-tour-thumb:hover{transform:translateY(-2px)}
.dw-intro .dwc-tour-thumb.is-active{border-color:var(--dwc-primary)}
.dw-intro .dwc-tour-thumb img{width:100%;height:100%;object-fit:cover}
.dw-intro .dwc-tour-thumb-ph{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(150deg,var(--dwc-bg-elev),#ece8f5)}
.dw-intro .dwc-tour-thumb-ph svg{width:14px;height:14px;color:var(--dwc-lavender);opacity:.5}
.dw-intro .dwc-tour-thumb::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.42);opacity:.35;transition:opacity .3s}
.dw-intro .dwc-tour-thumb.is-active::after,.dw-intro .dwc-tour-thumb:hover::after{opacity:0}
.dw-intro .dwc-tour-head{margin-bottom:24px}
@media(min-width:1025px){.dw-intro .dwc-tour-head{margin-bottom:28px}}

/* ★ 썸네일 img 픽스 — placeholder div 위로 올라오게 absolute + z-index */
.dw-intro .dwc-tour-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.dw-intro .dwc-tour-thumb-ph {
    z-index: 0;
}
/* 메인 img도 일관성 위해 명시 (이미 absolute 처리됨) */
.dw-intro .dwc-tour-main-img { z-index: 1; }
.dw-intro .dwc-tour-main-ph { z-index: 0; }


/* ════════════════════════════════════════════════════════════
   FOOTER 영역 (진료시간 · 위치 · 푸터) — .dw-foot 스코프
   ════════════════════════════════════════════════════════════ */
.dw-foot{
    --dwc-primary:#4C1D95;--dwc-accent:#7C3AED;--dwc-lavender:#A78BFA;
    --dwc-deep:#1E1B4B;
    --dwc-bg:#FFFFFF;--dwc-bg-soft:#FAFAF9;--dwc-bg-elev:#F5F3FA;
    --dwc-text:#14122E;--dwc-text-2:#4A4564;--dwc-text-3:#8A83A3;
    --dwc-line:rgba(20,18,46,.08);--dwc-line-strong:rgba(20,18,46,.16);
    --dwc-container:1280px;--dwc-px:20px;--dwc-px-md:32px;--dwc-px-lg:40px;
    --dwc-ease-out:cubic-bezier(0.22,1,0.36,1);
    --dwc-ease-smooth:cubic-bezier(0.4,0,0.2,1);
    position:relative
}
.dw-foot .dwc-container{max-width:var(--dwc-container);margin-inline:auto;padding-inline:var(--dwc-px)}
@media(min-width:769px){.dw-foot .dwc-container{padding-inline:var(--dwc-px-md)}}
@media(min-width:1025px){.dw-foot .dwc-container{padding-inline:var(--dwc-px-lg)}}

.dw-foot [data-reveal]{opacity:0;transition:opacity 1s var(--dwc-ease-out),transform 1s var(--dwc-ease-out)}
.dw-foot [data-reveal="up"]{transform:translate3d(0,32px,0)}
.dw-foot [data-reveal="fade"]{transform:none}
.dw-foot [data-reveal].is-revealed{opacity:1;transform:none}
.dw-foot [data-reveal-delay="1"]{transition-delay:.1s}
.dw-foot [data-reveal-delay="2"]{transition-delay:.2s}
.dw-foot [data-reveal-delay="3"]{transition-delay:.3s}
@media(prefers-reduced-motion:reduce){.dw-foot [data-reveal]{opacity:1;transform:none;transition:none}}

.dw-foot .dwc-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--dwc-primary)}


/* ═══════════════════════════════════════════
   1. 진료시간 + 위치안내 — 지도 집중 레이아웃
   화이트 톤 / 보라 절제 / 지도·전화 집중
   ═══════════════════════════════════════════ */
.dw-foot.dwc-info{padding:88px 0;background:var(--dwc-bg)}
@media(min-width:1025px){.dw-foot.dwc-info{padding:128px 0}}
.dw-foot .dwc-info-head{text-align:center;margin-bottom:56px}
@media(min-width:1025px){.dw-foot .dwc-info-head{margin-bottom:72px}}
.dw-foot .dwc-info-label{margin-bottom:16px;color:var(--dwc-text-3)}
.dw-foot .dwc-info-title{font-size:28px;font-weight:700;line-height:1.25;letter-spacing:-.025em;color:var(--dwc-text)}
@media(min-width:1025px){.dw-foot .dwc-info-title{font-size:40px}}
.dw-foot .dwc-info-title em{font-style:normal;color:var(--dwc-primary)}

/* 지도 우세 그리드 — 좌 지도 크게 / 우 정보 */
.dw-foot .dwc-info-grid{display:grid;grid-template-columns:1fr;gap:20px}
@media(min-width:901px){
    .dw-foot .dwc-info-grid{grid-template-columns:1.55fr 1fr;gap:24px;align-items:stretch;position:relative}
    /* 데스크탑: 주소 카드를 지도(1열) 위에 플로팅 복원 */
    .dw-foot .dwc-loc-float{position:absolute;left:28px;bottom:28px;z-index:3;margin-top:0}
}
@media(min-width:1025px){.dw-foot .dwc-info-grid{gap:28px}}

/* ── 지도 (대형) ── */
.dw-foot .dwc-loc-map{position:relative;width:100%;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:var(--dwc-bg-elev);border:1px solid var(--dwc-line);box-shadow:0 16px 48px rgba(20,18,46,.06)}
@media(min-width:901px){.dw-foot .dwc-loc-map{aspect-ratio:auto;min-height:560px;height:100%}}
.dw-foot .dwc-loc-map iframe,.dw-foot .dwc-loc-map img{width:100%;height:100%;object-fit:cover;border:0;display:block}
/* 지도 placeholder — 미니멀 그리드 패턴 */
.dw-foot .dwc-loc-map-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--dwc-text-3)}
/* 유니크 포인트 — 펄스 핀 */
.dw-foot .dwc-loc-pin{position:relative;width:54px;height:54px;display:grid;place-items:center}
.dw-foot .dwc-loc-pin svg{width:30px;height:30px;color:var(--dwc-primary);position:relative;z-index:2}
.dw-foot .dwc-loc-pin::before,.dw-foot .dwc-loc-pin::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--dwc-primary);opacity:.18}
.dw-foot .dwc-loc-pin::before{animation:dwc-ping 2.4s var(--dwc-ease-out) infinite}
.dw-foot .dwc-loc-pin::after{animation:dwc-ping 2.4s var(--dwc-ease-out) 1.2s infinite}
@keyframes dwc-ping{0%{transform:scale(.6);opacity:.35}100%{transform:scale(2.4);opacity:0}}
.dw-foot .dwc-loc-map-ph span{font-size:13px;font-weight:600}
/* 지도 위 플로팅 주소 카드 — 유니크 포인트 */
.dw-foot .dwc-loc-float{position:absolute;left:20px;right:20px;bottom:20px;z-index:3;display:flex;align-items:center;gap:16px;padding:18px 22px;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.7);border-radius:14px;box-shadow:0 12px 40px rgba(20,18,46,.14)}
@media(min-width:901px){.dw-foot .dwc-loc-float{left:28px;right:28px;bottom:28px;padding:22px 26px}}
.dw-foot .dwc-loc-float-icon{flex-shrink:0;width:44px;height:44px;border-radius:12px;background:var(--dwc-primary);display:grid;place-items:center}
.dw-foot .dwc-loc-float-icon svg{width:20px;height:20px;color:#fff}
.dw-foot .dwc-loc-float-text{flex:1;min-width:0}
.dw-foot .dwc-loc-float-addr{font-size:14px;font-weight:700;color:var(--dwc-text);line-height:1.4;margin-bottom:3px}
@media(min-width:1025px){.dw-foot .dwc-loc-float-addr{font-size:15px}}
.dw-foot .dwc-loc-float-sub{font-size:12px;color:var(--dwc-text-3);line-height:1.4}
.dw-foot .dwc-loc-float-copy{flex-shrink:0;display:inline-flex;align-items:center;gap:5px;padding:9px 14px;border-radius:999px;background:var(--dwc-bg-elev);font-size:12px;font-weight:600;color:var(--dwc-primary);cursor:pointer;transition:background .25s,transform .25s var(--dwc-ease-out);border:1px solid var(--dwc-line)}
.dw-foot .dwc-loc-float-copy:hover{background:#fff;transform:translateY(-1px)}
.dw-foot .dwc-loc-float-copy svg{width:13px;height:13px}

/* ── 우측 정보 스택 ── */
.dw-foot .dwc-side{display:flex;flex-direction:column;gap:16px}

/* 진료시간 카드 (화이트) */
.dw-foot .dwc-hours{padding:28px 26px;border-radius:16px;background:var(--dwc-bg-soft);border:1px solid var(--dwc-line);position:relative}
@media(min-width:1025px){.dw-foot .dwc-hours{padding:32px 30px}}
.dw-foot .dwc-hours-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--dwc-text-3);margin-bottom:18px}
.dw-foot .dwc-hours-label::before{content:"";width:18px;height:18px;border-radius:6px;background:var(--dwc-primary);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat}
.dw-foot .dwc-hours-list{display:flex;flex-direction:column}
.dw-foot .dwc-hours-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--dwc-line)}
.dw-foot .dwc-hours-row:last-child{border-bottom:none}
.dw-foot .dwc-hours-day{font-size:14px;font-weight:600;color:var(--dwc-text-2)}
.dw-foot .dwc-hours-time{font-size:14px;font-weight:700;color:var(--dwc-text);font-variant-numeric:tabular-nums;letter-spacing:.01em}
@media(min-width:1025px){.dw-foot .dwc-hours-time{font-size:15px}}
/* 야간 강조 행 */
.dw-foot .dwc-hours-row--accent{margin:5px -14px;padding:13px 14px;background:linear-gradient(100deg,rgba(124,58,237,.07),rgba(124,58,237,.02));border-radius:9px;border-bottom:none}
.dw-foot .dwc-hours-row--accent .dwc-hours-day{color:var(--dwc-text);display:flex;align-items:center;gap:7px}
.dw-foot .dwc-hours-row--accent .dwc-hours-day::before{content:"야간";font-size:9px;font-weight:800;color:#fff;background:var(--dwc-primary);padding:3px 7px;border-radius:999px}
.dw-foot .dwc-hours-row--accent .dwc-hours-time{color:var(--dwc-primary)}
.dw-foot .dwc-hours-row--off .dwc-hours-time{color:var(--dwc-text-3);font-weight:600}

/* 전화 문의 — 별도 칸 + 클릭 힌트 */
.dw-foot .dwc-tel-card{display:block;padding:26px;border-radius:16px;background:linear-gradient(150deg,var(--dwc-primary),#5b2bb0);position:relative;overflow:hidden;isolation:isolate;transition:transform .35s var(--dwc-ease-out),box-shadow .35s var(--dwc-ease-smooth)}
@media(min-width:1025px){.dw-foot .dwc-tel-card{padding:30px}}
.dw-foot .dwc-tel-card::before{content:"";position:absolute;top:-40%;right:-20%;width:70%;height:120%;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 70%);z-index:-1}
.dw-foot .dwc-tel-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(76,29,149,.32)}
.dw-foot .dwc-tel-card:active{transform:translateY(-1px)}
.dw-foot .dwc-tel-top{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.dw-foot .dwc-tel-ico{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.16);display:grid;place-items:center;flex-shrink:0}
.dw-foot .dwc-tel-ico svg{width:18px;height:18px;color:#fff}
.dw-foot .dwc-tel-label{font-size:12px;font-weight:600;letter-spacing:.05em;color:rgba(255,255,255,.78)}
.dw-foot .dwc-tel-num{font-size:30px;font-weight:800;letter-spacing:-.02em;color:#fff;line-height:1.1;margin-bottom:6px}
@media(min-width:1025px){.dw-foot .dwc-tel-num{font-size:36px}}
.dw-foot .dwc-tel-hint{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:rgba(255,255,255,.85)}
.dw-foot .dwc-tel-hint-dot{width:7px;height:7px;border-radius:50%;background:#fff;position:relative}
.dw-foot .dwc-tel-hint-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:1.5px solid rgba(255,255,255,.7);animation:dwc-cue 1.8s ease-out infinite}
@keyframes dwc-cue{0%{transform:scale(.8);opacity:.9}100%{transform:scale(2.2);opacity:0}}
.dw-foot .dwc-tel-hint-arrow{width:16px;height:1.5px;background:currentColor;position:relative;transition:width .3s var(--dwc-ease-out)}
.dw-foot .dwc-tel-hint-arrow::after{content:"";position:absolute;right:0;top:50%;width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translateY(-50%) rotate(45deg)}
.dw-foot .dwc-tel-card:hover .dwc-tel-hint-arrow{width:26px}

/* 네이버 예약 CTA — 별도 칸 + 클릭 힌트 */
.dw-foot .dwc-book{display:flex;align-items:center;gap:16px;padding:22px 24px;border-radius:16px;background:#fff;border:1.5px solid var(--dwc-line-strong);transition:border-color .3s,transform .35s var(--dwc-ease-out),box-shadow .35s var(--dwc-ease-smooth)}
.dw-foot .dwc-book:hover{border-color:var(--dwc-primary);transform:translateY(-3px);box-shadow:0 14px 36px rgba(20,18,46,.10)}
.dw-foot .dwc-book:active{transform:translateY(-1px)}
.dw-foot .dwc-book-ico{flex-shrink:0;width:46px;height:46px;border-radius:13px;background:#03C75A;display:grid;place-items:center;font-weight:900;font-size:20px;color:#fff;font-family:Arial,sans-serif}
.dw-foot .dwc-book-text{flex:1;min-width:0}
.dw-foot .dwc-book-title{font-size:16px;font-weight:700;color:var(--dwc-text);margin-bottom:3px}
@media(min-width:1025px){.dw-foot .dwc-book-title{font-size:17px}}
.dw-foot .dwc-book-sub{font-size:12px;color:var(--dwc-text-3)}
.dw-foot .dwc-book-arrow{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--dwc-bg-elev);display:grid;place-items:center;transition:background .3s,transform .3s var(--dwc-ease-out)}
.dw-foot .dwc-book-arrow svg{width:15px;height:15px;color:var(--dwc-primary)}
.dw-foot .dwc-book:hover .dwc-book-arrow{background:var(--dwc-primary);transform:translateX(3px)}
.dw-foot .dwc-book:hover .dwc-book-arrow svg{color:#fff}

/* 교통 미니 정보 */
.dw-foot .dwc-access{display:flex;flex-direction:column;gap:14px;padding:20px 22px;border-radius:14px;background:var(--dwc-bg-soft);border:1px solid var(--dwc-line)}
.dw-foot .dwc-access-row{display:flex;gap:10px;align-items:flex-start}
.dw-foot .dwc-access-row svg{flex-shrink:0;width:18px;height:18px;color:var(--dwc-primary);margin-top:1px}
.dw-foot .dwc-access-text{font-size:13px;color:var(--dwc-text-2);line-height:1.55}
.dw-foot .dwc-access-text strong{display:inline-block;min-width:38px;color:var(--dwc-text);font-weight:700;margin-right:4px}


/* ═══════════════════════════════════════════
   2. 푸터 — 다크 컴팩트 (info 섹션과 대비)
   ═══════════════════════════════════════════ */
.dw-foot.dwc-footer{position:relative;background:radial-gradient(120% 80% at 50% 0%,#241B4A 0%,#1A1636 45%,#100E20 100%);color:rgba(255,255,255,.72);padding:48px 0 40px;overflow:hidden}
.dw-foot .dwc-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(167,139,250,.55) 50%,transparent)}
.dw-foot .dwc-footer::after{content:"";position:absolute;top:-40%;left:50%;width:70%;height:80%;transform:translateX(-50%);background:radial-gradient(ellipse,rgba(124,58,237,.18),transparent 70%);pointer-events:none}
@media(min-width:1025px){.dw-foot.dwc-footer{padding:52px 0 44px}}
/* 가운데 집중 + 양쪽 여백 */
.dw-foot .dwc-footer-center{position:relative;z-index:1;max-width:560px;margin-inline:auto;padding-inline:20px;display:flex;flex-direction:column;align-items:center;text-align:center}
/* 로고 — 그라데이션 셰immer 효과 (다크 대응) */
.dw-foot .dwc-footer-logo{position:relative;display:inline-block;margin-bottom:10px;cursor:default;isolation:isolate}
.dw-foot .dwc-footer-logo-text{position:relative;font-size:24px;font-weight:800;letter-spacing:-.02em;background:linear-gradient(100deg,#fff 0%,#fff 35%,var(--dwc-lavender) 50%,#fff 65%,#fff 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:dwc-logo-shine 5s var(--dwc-ease-smooth) infinite}
@media(min-width:1025px){.dw-foot .dwc-footer-logo-text{font-size:27px}}
.dw-foot .dwc-footer-logo-text .accent{-webkit-text-fill-color:var(--dwc-lavender);font-weight:800}
@keyframes dwc-logo-shine{0%,100%{background-position:120% 0}50%{background-position:-20% 0}}
/* 호버 시 빛 번짐 글로우 */
.dw-foot .dwc-footer-logo-shine{position:absolute;left:50%;top:50%;width:0;height:0;border-radius:50%;background:radial-gradient(circle,rgba(167,139,250,.4),transparent 70%);transform:translate(-50%,-50%);transition:width .6s var(--dwc-ease-out),height .6s var(--dwc-ease-out);z-index:-1;pointer-events:none}
.dw-foot .dwc-footer-logo:hover .dwc-footer-logo-shine{width:180px;height:90px}
.dw-foot .dwc-footer-logo::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:linear-gradient(90deg,transparent,var(--dwc-lavender),transparent);transform:scaleX(0);transition:transform .5s var(--dwc-ease-out)}
.dw-foot .dwc-footer-logo:hover::after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){.dw-foot .dwc-footer-logo-text{animation:none}}
.dw-foot .dwc-footer-brand-desc{font-size:13px;line-height:1.7;color:rgba(255,255,255,.55)}
@media(min-width:1025px){.dw-foot .dwc-footer-brand-desc{font-size:13px}}
.dw-foot .dwc-footer-brand-strong{color:rgba(255,255,255,.9);font-weight:700}
/* SNS — 유튜브 / 인스타 / 네이버플레이스 */
.dw-foot .dwc-footer-sns{display:flex;gap:10px;margin-top:20px}
.dw-foot .dwc-footer-sns-btn{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);display:grid;place-items:center;transition:background .3s,border-color .3s,transform .3s var(--dwc-ease-out)}
.dw-foot .dwc-footer-sns-btn:hover{background:var(--dwc-accent);border-color:var(--dwc-accent);transform:translateY(-2px)}
.dw-foot .dwc-footer-sns-btn svg{width:17px;height:17px;color:rgba(255,255,255,.7);transition:color .3s}
.dw-foot .dwc-footer-sns-btn:hover svg{color:#fff}
/* 연락 정보 — 전화 강조 */
.dw-foot .dwc-footer-info{margin-top:22px;display:flex;flex-direction:column;align-items:center;gap:8px}
.dw-foot .dwc-footer-tel{font-size:25px;font-weight:800;letter-spacing:-.02em;color:#fff;transition:opacity .25s}
@media(min-width:1025px){.dw-foot .dwc-footer-tel{font-size:28px}}
.dw-foot .dwc-footer-tel:hover{opacity:.75}
.dw-foot .dwc-footer-sep{width:24px;height:1px;background:rgba(255,255,255,.18);margin:2px 0}
.dw-foot .dwc-footer-addr{font-size:12px;color:rgba(255,255,255,.5);line-height:1.6}
@media(min-width:1025px){.dw-foot .dwc-footer-addr{font-size:13px}}
/* 링크 */
.dw-foot .dwc-footer-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);width:100%}
.dw-foot .dwc-footer-links a{font-size:12px;font-weight:600;color:rgba(255,255,255,.62);transition:color .25s}
.dw-foot .dwc-footer-links a:hover{color:#fff}
.dw-foot .dwc-footer-links a.is-strong{color:var(--dwc-lavender)}
.dw-foot .dwc-footer-legal{margin-top:14px;font-size:11px;color:rgba(255,255,255,.38);letter-spacing:.02em}

/* 맨 위로 버튼 — 퀵바(dw-quick)의 TOP으로 통합 */

/* ═══ Case Jump (히어로 타이틀 영상 점프 버튼) ═══ */
.dwc-case-jump{position:absolute;z-index:5;bottom:24px;right:24px;width:88px;height:88px;border-radius:12px;overflow:hidden;isolation:isolate;cursor:pointer;background:rgba(255,255,255,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1.5px solid rgba(255,255,255,.3);transition:width .5s var(--dwc-ease-out),height .5s var(--dwc-ease-out),border-radius .5s var(--dwc-ease-out),box-shadow .5s var(--dwc-ease-smooth),border-color .4s var(--dwc-ease-smooth),transform .5s var(--dwc-ease-out);color:#fff;text-decoration:none;text-align:left;box-shadow:0 4px 12px rgba(0,0,0,.20),0 8px 24px rgba(76,29,149,.15)}
@media(min-width:769px){.dwc-case-jump{width:112px;height:112px;bottom:28px;right:28px}}
@media(min-width:1025px){.dwc-case-jump{width:128px;height:128px;bottom:32px;right:32px}}
.dwc-case-jump:hover{width:240px;height:88px;border-radius:16px;border-color:rgba(167,139,250,.6);transform:scale(1.04);box-shadow:0 8px 20px rgba(0,0,0,.30),0 16px 40px rgba(76,29,149,.40),0 0 0 1.5px rgba(167,139,250,.5)}
@media(min-width:769px){.dwc-case-jump:hover{width:320px;height:112px}}
@media(min-width:1025px){.dwc-case-jump:hover{width:360px;height:128px}}
.dwc-case-jump-fallback{position:absolute;inset:0;z-index:0;background:linear-gradient(135deg,rgba(76,29,149,.7),rgba(124,58,237,.6))}
.dwc-case-jump::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(20,18,46,.60),rgba(20,18,46,.40) 50%,rgba(20,18,46,.30));pointer-events:none}
.dwc-case-jump-icon{position:absolute;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;background:rgba(167,139,250,.25);border:1.5px solid rgba(255,255,255,.7);display:grid;place-items:center;transition:transform .5s var(--dwc-ease-out),left .5s var(--dwc-ease-out),background .4s var(--dwc-ease-smooth)}
.dwc-case-jump-icon svg{width:15px;height:15px;fill:none}
.dwc-case-jump:hover .dwc-case-jump-icon{left:28px;transform:translate(-50%,-50%) scale(1.06);background:rgba(167,139,250,.5)}
@media(min-width:1025px){.dwc-case-jump:hover .dwc-case-jump-icon{left:36px}}
.dwc-case-jump-icon::before{content:"";position:absolute;inset:-6px;border-radius:50%;border:1.5px solid rgba(167,139,250,.6);animation:dwc-jump-pulse 1.8s ease-out infinite}
@keyframes dwc-jump-pulse{0%{transform:scale(.9);opacity:.8}100%{transform:scale(1.5);opacity:0}}
.dwc-case-jump-text{position:absolute;z-index:2;top:50%;transform:translateY(-50%);left:64px;right:16px;opacity:0;transition:opacity .4s var(--dwc-ease-smooth) .1s;pointer-events:none}
@media(min-width:1025px){.dwc-case-jump-text{left:76px}}
.dwc-case-jump:hover .dwc-case-jump-text{opacity:1}
.dwc-case-jump-eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--dwc-lavender);margin-bottom:4px}
.dwc-case-jump-label{display:block;font-size:14px;font-weight:700;line-height:1.3;color:#fff;white-space:nowrap}
@media(min-width:1025px){.dwc-case-jump-label{font-size:15px}}
.dwc-case-jump-meta{display:block;font-size:11px;color:rgba(255,255,255,.7)}
@media(max-width:576px){.dwc-case-jump{width:200px;height:64px;bottom:16px;right:16px}.dwc-case-jump-icon{left:22px}.dwc-case-jump-text{opacity:1;left:52px}.dwc-case-jump:hover{width:200px;height:64px}}

/* ═══════════════════════════════════════════════════════════════
   QUICKBAR (dw-quick + dw-ribbon) — 우측 퀵메뉴 + 하단 DB수집바
   ═══════════════════════════════════════════════════════════════ */
/* ▼ STYLE START ▼ */
.dw-quick,.dw-ribbon{
    --dwc-primary:#4C1D95;--dwc-accent:#7C3AED;--dwc-lavender:#A78BFA;
    --dwc-deep:#1E1B4B;--dwc-bg:#FFFFFF;--dwc-bg-soft:#FAFAF9;--dwc-bg-elev:#F5F3FA;
    --dwc-text:#14122E;--dwc-text-2:#4A4564;--dwc-text-3:#8A83A3;
    --dwc-line:rgba(20,18,46,.08);--dwc-line-strong:rgba(20,18,46,.16);
    --dwc-ease-out:cubic-bezier(0.22,1,0.36,1);
    --dwc-spring:cubic-bezier(0.34,1.56,0.64,1);
    font-family:'Pretendard Variable','Pretendard',-apple-system,BlinkMacSystemFont,sans-serif
}

/* ── A. 우측 퀵메뉴 — 닷→부채 확장형 ── */
.dw-quick{position:fixed;right:20px;bottom:6%;transform:none;z-index:90;display:flex;flex-direction:column-reverse;align-items:flex-end;gap:12px}
@media (max-width: 768px){
    /* 퀵메뉴: 상담바와 겹치지 않게 위로 */
    .dw-quick{ right:14px; bottom:84px; }
    .dw-quick-toggle{ width:48px; height:48px; }
}

@media(min-width:1025px){.dw-quick{right:28px}}
.dw-quick-items{display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.dw-quick-item{display:flex;align-items:center;gap:0;height:46px;border-radius:999px;background:var(--dwc-bg);border:1px solid var(--dwc-line);box-shadow:0 6px 20px rgba(20,18,46,.10);overflow:hidden;cursor:pointer;opacity:0;transform:translateY(16px) scale(.7);pointer-events:none;transition:opacity .35s var(--dwc-ease-out),transform .45s var(--dwc-spring)}
.dw-quick.is-open .dw-quick-item{opacity:1;transform:none;pointer-events:auto}
.dw-quick.is-open .dw-quick-item:nth-child(1){transition-delay:.04s}
.dw-quick.is-open .dw-quick-item:nth-child(2){transition-delay:.09s}
.dw-quick.is-open .dw-quick-item:nth-child(3){transition-delay:.14s}
.dw-quick.is-open .dw-quick-item:nth-child(4){transition-delay:.19s}
.dw-quick.is-open .dw-quick-item:nth-child(5){transition-delay:.24s}
.dw-quick-item-label{max-width:0;white-space:nowrap;font-size:13px;font-weight:700;color:var(--dwc-text);overflow:hidden;transition:max-width .4s var(--dwc-ease-out),padding .4s var(--dwc-ease-out)}
.dw-quick-item:hover .dw-quick-item-label{max-width:130px;padding-left:16px}
.dw-quick-item-ico{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;order:2}
.dw-quick-item-ico svg{width:20px;height:20px;color:var(--dwc-primary);transition:color .3s}
.dw-quick-item:hover{border-color:transparent;background:var(--dwc-primary)}
.dw-quick-item:hover .dw-quick-item-ico svg{color:#fff}
.dw-quick-item:hover .dw-quick-item-label{color:#fff;padding-right:4px}
.dw-quick-item--naver:hover{background:#03C75A}
.dw-quick-item--kakao:hover{background:#FAE100}
.dw-quick-item--kakao:hover .dw-quick-item-ico svg,.dw-quick-item--kakao:hover .dw-quick-item-label{color:#3A1D1D}
.dw-quick-item--insta:hover{background:linear-gradient(45deg,#F58529,#DD2A7B 55%,#8134AF)}
.dw-quick-toggle{position:relative;width:56px;height:56px;border-radius:50%;background:var(--dwc-primary);border:none;cursor:pointer;display:grid;place-items:center;box-shadow:0 8px 28px rgba(76,29,149,.36);transition:transform .45s var(--dwc-spring),background .3s}
.dw-quick-toggle:hover{transform:scale(1.06)}
.dw-quick.is-open .dw-quick-toggle{background:var(--dwc-deep)}
.dw-quick-toggle::before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--dwc-primary);opacity:.5;animation:dw-quick-breathe 2.6s var(--dwc-ease-out) infinite}
.dw-quick.is-open .dw-quick-toggle::before{animation:none;opacity:0}
@keyframes dw-quick-breathe{0%{transform:scale(1);opacity:.5}70%{transform:scale(1.5);opacity:0}100%{opacity:0}}
.dw-quick-toggle-ico{width:22px;height:22px;color:#fff;transition:transform .45s var(--dwc-spring)}
.dw-quick.is-open .dw-quick-toggle-ico{transform:rotate(135deg)}
@media(prefers-reduced-motion:reduce){.dw-quick-toggle::before{animation:none}}
.dw-quick-top{width:46px;height:46px;border-radius:50%;background:var(--dwc-bg);border:1px solid var(--dwc-line);cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 20px rgba(20,18,46,.10);opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .35s var(--dwc-ease-out),transform .35s var(--dwc-ease-out),background .3s}
.dw-quick-top.is-visible{opacity:1;transform:none;pointer-events:auto}
.dw-quick-top:hover{background:var(--dwc-primary)}
.dw-quick-top svg{width:18px;height:18px;color:var(--dwc-primary);transition:color .3s}
.dw-quick-top:hover svg{color:#fff}

/* ── B. 하단 DB수집바 — 글래스(투명도) + 드롭다운 필터 ── */
.dw-ribbon{position:fixed;left:0;right:0;bottom:0;z-index:80;transform:translateY(125%);opacity:0;transition:transform 1s cubic-bezier(0.16,1,0.3,1),opacity .7s ease-out;will-change:transform,opacity}
.dw-ribbon.is-visible{transform:none;opacity:1}
.dw-ribbon.is-docked{position:absolute;bottom:auto}
.dw-ribbon-inner{max-width:1280px;margin:0 16px 16px;display:flex;align-items:stretch;border-radius:18px;overflow:hidden;
    /* ★ [임시] 색상 배경 임베드 — backdrop-filter 미지원 환경 폴백
       글래스를 쓰려면 아래 background를 rgba(255,255,255,.72) 로 바꾸고
       backdrop-filter 두 줄의 주석을 해제하세요 */
    background:linear-gradient(180deg,#FBFAFE,#F4F1FB);
    /* backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%); */
    border:1px solid rgba(124,58,237,.12);
    box-shadow:0 -2px 24px rgba(20,18,46,.10),0 16px 50px rgba(76,29,149,.18)}
@media(min-width:1025px){.dw-ribbon-inner{margin:0 auto 22px;max-width:1080px}}
.dw-ribbon-aside{flex-shrink:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:18px 28px;background:linear-gradient(135deg,rgba(30,27,75,.92),rgba(76,29,149,.88) 70%);color:#fff;position:relative;overflow:hidden}
.dw-ribbon-aside::after{content:"";position:absolute;top:-40%;right:-30%;width:80%;height:140%;background:radial-gradient(circle,rgba(167,139,250,.32),transparent 70%)}
.dw-ribbon-aside-t{font-size:16px;font-weight:800;letter-spacing:-.02em;position:relative}
@media(min-width:1025px){.dw-ribbon-aside-t{font-size:19px}}
.dw-ribbon-aside-s{font-size:11px;font-weight:600;color:rgba(255,255,255,.72);position:relative}
@media(max-width:768px){.dw-ribbon-aside{display:none}}
.dw-ribbon-form{flex:1;display:flex;align-items:center;gap:12px;padding:16px 22px;flex-wrap:wrap}
/* 드롭다운 필터 (관심진료) */
.dw-ribbon-select-wrap{position:relative;flex-shrink:0}
.dw-ribbon-select{appearance:none;-webkit-appearance:none;height:46px;padding:0 40px 0 18px;border:1px solid var(--dwc-line-strong);border-radius:10px;font-size:14px;font-weight:600;font-family:inherit;color:var(--dwc-text);background:#fff;cursor:pointer;outline:none;transition:border-color .25s;min-width:148px}
.dw-ribbon-select:focus{border-color:var(--dwc-primary)}
.dw-ribbon-select-wrap::after{content:"";position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid var(--dwc-text-2);border-bottom:2px solid var(--dwc-text-2);transform:translateY(-65%) rotate(45deg);pointer-events:none}
.dw-ribbon-input{flex:1;min-width:150px;height:46px;padding:0 18px;border:1px solid var(--dwc-line-strong);border-radius:10px;font-size:14px;font-family:inherit;color:var(--dwc-text);background:#fff;outline:none;transition:border-color .25s}
.dw-ribbon-input::placeholder{color:var(--dwc-text-3)}
.dw-ribbon-input:focus{border-color:var(--dwc-primary)}
/* 성함: 고정 좁은폭 / 연락처: 나머지 채움 */
.dw-ribbon-name{flex:0 0 130px;min-width:110px}
.dw-ribbon-tel{flex:1;min-width:150px}
/* 중간 구간(769~1200px): 동의를 아랫줄로 내려 5요소 줄바꿈 방지 */
@media(max-width:1200px) and (min-width:769px){
    .dw-ribbon-agree{order:5;flex:0 0 100%;justify-content:flex-start;margin-top:2px}
}
.dw-ribbon-agree{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--dwc-text-3);cursor:pointer;user-select:none;white-space:nowrap}
.dw-ribbon-agree input{width:16px;height:16px;accent-color:var(--dwc-primary);cursor:pointer}
.dw-ribbon-agree a{color:var(--dwc-text-2);text-decoration:underline;text-underline-offset:2px}
.dw-ribbon-submit{height:46px;padding:0 26px;border-radius:10px;background:var(--dwc-primary);color:#fff;font-size:14px;font-weight:700;border:none;cursor:pointer;white-space:nowrap;transition:background .25s,transform .25s var(--dwc-spring)}
.dw-ribbon-submit .dw-submit-2l{display:none}
.dw-ribbon-submit .dw-submit-1l{display:inline}
.dw-ribbon-submit:hover{background:var(--dwc-accent);transform:translateY(-2px)}
.dw-ribbon-submit:disabled{background:var(--dwc-text-3);cursor:not-allowed;transform:none;opacity:.6}
.dw-ribbon-close{position:absolute;top:8px;right:12px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);cursor:pointer;z-index:3}
.dw-ribbon-close svg{width:12px;height:12px;color:#fff}
.dw-ribbon.is-min{transform:none;opacity:1}
.dw-ribbon.is-min .dw-ribbon-inner{display:none}
/* ── 모바일 상담바: 얇은 바 + 접기/펴기 ── */
.dw-ribbon-minibar{ display:none; }
@media (max-width: 768px){
    /* 얇은 바 (평소 상태) — 절반 폭으로 컴팩트 */
    .dw-ribbon-minibar{
        display:flex; align-items:stretch; gap:8px;
        margin:0 auto 12px; height:48px; max-width:290px; padding:0 12px;
    }
    .dw-ribbon-mini-call{
        display:flex; align-items:center; justify-content:center;
        flex:0 0 48px; width:48px; border-radius:12px;
        background:rgba(255,255,255,.14); color:#fff;
        text-decoration:none; border:1px solid rgba(255,255,255,.22);
    }
    .dw-ribbon-mini-call span{ display:none; }
    .dw-ribbon-mini-call svg{ width:19px; height:19px; }
    .dw-ribbon-mini-open{
        display:flex; align-items:center; justify-content:center; gap:6px;
        flex:1; border:0; border-radius:12px; cursor:pointer;
        background:linear-gradient(100deg,var(--dwc-accent),var(--dwc-primary));
        color:#fff; font-size:14px; font-weight:700;
    }
    .dw-ribbon-mini-open svg{ width:17px; height:17px; transition:transform .3s ease; }
    /* 폼(inner)은 기본 접힘 */
    .dw-ribbon-inner{
        max-height:0; margin:0 12px; opacity:0;
        transform:translateY(10px);
        transition:max-height .45s cubic-bezier(0.16,1,0.3,1), opacity .35s ease, transform .45s ease, margin .3s ease;
        pointer-events:none;
    }
    /* 펼침 상태 */
    .dw-ribbon.is-expanded .dw-ribbon-minibar{ display:none; }
    .dw-ribbon.is-expanded .dw-ribbon-inner{
        max-height:400px; opacity:1; transform:none; margin:0 12px 12px;
        pointer-events:auto;
    }
    .dw-ribbon.is-expanded .dw-ribbon-aside{ display:flex; }
    /* 펼침시 aside(문구) 다시 노출 */
    .dw-ribbon-aside{ padding:12px 16px 4px; }
}
.dw-ribbon-reopen{display:none;position:fixed;right:20px;bottom:20px;z-index:80;align-items:center;gap:8px;padding:12px 20px;border-radius:999px;background:var(--dwc-primary);color:#fff;font-size:13px;font-weight:700;cursor:pointer;box-shadow:0 8px 28px rgba(76,29,149,.36);border:none}
.dw-ribbon.is-min .dw-ribbon-reopen{display:flex}
.dw-ribbon-reopen svg{width:16px;height:16px}
@media(max-width:768px){
    .dw-ribbon-inner{flex-direction:column}
    .dw-ribbon-aside{padding:8px 16px 4px}
    .dw-ribbon-aside-t{font-size:13px}
    .dw-ribbon-aside-s{font-size:10px}
    .dw-ribbon-form{flex-direction:row;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 16px 12px}
    /* 진료선택: 넉넉한 폭으로 "일반진료" 안 잘리게, 화살표 유지 */
    .dw-ribbon-select-wrap{flex:0 0 auto;min-width:0}
    .dw-ribbon-select{width:auto;height:44px;padding:0 26px 0 10px;font-size:11.5px;font-weight:600;min-width:0;border-radius:10px}
    .dw-ribbon-select-wrap::after{right:10px;width:7px;height:7px}
    /* 연락처: 나머지 채움, 넉넉한 높이 */
    .dw-ribbon-input{flex:1 1 100px;min-width:90px;height:44px;font-size:13px;padding:0 12px;border-radius:10px}
    /* 모바일: 성함 좁게, 연락처 넓게 */
    .dw-ribbon-name{flex:0 0 84px;min-width:64px;padding:0 10px}
    .dw-ribbon-tel{flex:1 1 90px;min-width:70px;padding:0 10px}
    /* 상담신청: 고정, 같은 줄 */
    .dw-ribbon-submit{flex:0 0 auto;height:44px;width:auto;padding:0 12px;white-space:nowrap;font-size:12px;font-weight:800;border-radius:10px}
    .dw-ribbon-submit .dw-submit-2l{display:none}
    .dw-ribbon-submit .dw-submit-1l{display:inline}
    /* 개인정보 동의: 폼 아래 전체폭 */
    .dw-ribbon-agree{order:5;flex:0 0 100%;justify-content:center;margin-top:2px;font-size:10.5px}
}
/* 초소형 화면(≤340px): 상담신청을 아래 전체폭으로 (연락처 공간 확보) */
@media(max-width:340px){
    .dw-ribbon-submit{flex:0 0 100%;order:4;width:100%;margin-top:4px}
    .dw-ribbon-input{flex:1 1 100px;min-width:0}
    .dw-ribbon-name{flex:0 0 70px}
    .dw-ribbon-tel{flex:1 1 90px;min-width:0}
}
/* ▲ STYLE END ▲ */

/* ▲ 섹션 CSS END ▲ */