/**
 * 메인 페이지 CSS
 * 파일: /theme/dental/css/index.css
 *
 * theme.css 변수 의존:
 *   --dp, --dp-dark, --dp-light, --teal, --teal-light
 *   --warm, --surface, --border
 *   --text-main, --text-sub, --text-muted
 *   --radius-sm, --radius-md, --radius-lg
 *   --shadow-sm, --shadow-md, --shadow-lg
 *   --nav-h
 */


/* =========================================================
   공통 — 섹션 레이아웃
========================================================= */

.idx-sec {
    padding: 88px 0;
}

.idx-sec--white {
    background: var(--surface);
}

.idx-sec--light {
    background: #eef4ff;
}


/* 섹션 헤더 */

.idx-sec__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0rem;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.idx-sec__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.idx-eyebrow {
    display: block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2.8px;
    color: var(--teal);
    margin: 0 0 .4rem;
    text-transform: uppercase;
}

.idx-eyebrow--white {
    color: rgba(255,255,255,.55);
    letter-spacing: 3px;
}

.idx-sec__title {
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -.5px;
    line-height: 1.2;
    margin: 0;
}

.idx-sec__sub {
    color: var(--text-sub);
    font-size: .95rem;
    margin: .5rem 0 0;
}

.idx-sec__cta {
    text-align: center;
    margin-top: 48px;
}


/* =========================================================
   공통 — 버튼
========================================================= */

/* 흰색 버튼 기본 */

.idx-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    background: #fff;
    color: var(--dp) !important;

    font-weight: 700;
    font-size: .97rem;

    padding: .8rem 1.9rem;

    border-radius: 12px;
    border: 1px solid transparent;

    cursor: pointer;
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .15s ease,
        box-shadow .2s ease;

    text-decoration: none;
    white-space: nowrap;
}

.idx-btn-white:hover {
    background: #f0f6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.idx-btn-white--lg {
    font-size: 1.05rem;
    padding: .9rem 2.4rem;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.idx-btn-white--lg:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,.26);
}


/* 예약 시작하기 — 진한 핑크 */
.idx-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #b83f68;
    color: #fff !important;
    font-weight: 700;
    font-size: .97rem;
    padding: .8rem 1.9rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background .18s, transform .15s, box-shadow .2s;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 7px 20px rgba(184, 63, 104, .22);
}

.idx-btn-primary:hover {
    background: #962f53;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(150, 47, 83, .30);
}

.idx-btn-primary:active {
    transform: translateY(0);
}


/* 고스트 버튼 */

.idx-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    background: rgba(255,255,255,.12);
    color: #fff !important;

    font-weight: 600;
    font-size: .97rem;

    padding: .78rem 1.6rem;

    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,.32);

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease;

    text-decoration: none;
    white-space: nowrap;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.idx-btn-ghost:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.55);
}


/* 아웃라인 버튼 */

.idx-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;

    background: transparent;
    color: var(--dp) !important;

    font-weight: 600;
    font-size: .88rem;

    padding: .52rem 1.2rem;

    border-radius: 10px;
    border: 1.5px solid var(--dp);

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;

    text-decoration: none;
    white-space: nowrap;
}

.idx-btn-outline:hover {
    background: var(--dp);
    color: #fff !important;
}

.idx-btn-sm {
    padding: .35rem .85rem !important;
    font-size: .78rem !important;
}


/* =========================================================
   HERO
   핑크 풀 배너 + 슬라이드
========================================================= */

.idx-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    /*
     * 배너 이미지가 없거나 로딩되기 전에도
     * 핑크 배경이 보이도록 기본 배경 지정
     */
    background:
        linear-gradient(
            135deg,
            #8f3f62 0%,
            #c76b91 38%,
            #e7a0b8 72%,
            #f3c6d3 100%
        );

    color: #fff;

    padding-top: 80px;
    padding-bottom: 0;
}


/* =========================================================
   HERO — 풀 배경 배너
========================================================= */

.idx-hero__banner {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
    pointer-events: none;
}

.idx-hero__slides {
    position: absolute;
    inset: 0;
}


/* 개별 슬라이드 */

.idx-hero__slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.03);

    transition:
        opacity 1s ease,
        visibility 1s ease,
        transform 6s ease;
}

.idx-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}


/* 배너 이미지 */

.idx-hero__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.idx-hero__slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    opacity: 1 !important;
}


/* =========================================================
   HERO — 배너 오버레이
========================================================= */

.idx-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0) 42%,
            rgba(247,210,224,.10) 65%,
            rgba(225,145,177,.24) 100%
        );
}


/* 배너 위 은은한 핑크 빛 */

.idx-hero__banner::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(255,225,235,.28),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(255,183,207,.18),
            transparent 30%
        );
}


/* =========================================================
   HERO — 기존 배경 장식
========================================================= */

.idx-hero__bg {
    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    overflow: hidden;
}

.idx-hero__orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(72px);
}

.idx-hero__orb--a {
    width: 520px;
    height: 520px;

    background: rgba(255,205,220,.20);

    top: -200px;
    right: -130px;
}

.idx-hero__orb--b {
    width: 340px;
    height: 340px;

    background: rgba(255,240,245,.14);

    bottom: -80px;
    left: -80px;
}

.idx-hero__lines {
    position: absolute;
    inset: 0;

    opacity: .12;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 52px 52px;
}


/* =========================================================
   HERO — 내부 그리드
========================================================= */

.idx-hero__wrap {
    position: relative;

    z-index: 3;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 48px;

    align-items: center;

    padding-bottom: 72px;
}


/* =========================================================
   HERO — 카피
========================================================= */

.idx-hero__clinic {
    display: inline-flex;

    align-items: center;

    gap: .4rem;

    background: rgba(255,255,255,.13);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,.18);

    color: #ffeaf1;

    font-size: .8rem;
    font-weight: 600;

    padding: .3rem .9rem;

    border-radius: 20px;

    margin-bottom: 1.4rem;
}

.idx-hero__title {
    font-size: clamp(2rem, 3.2vw, 3rem);

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -.6px;

    color: #fff;

    margin: 0 0 1.1rem;
}

.idx-hero__em {
    font-style: normal;

    background:
        linear-gradient(
            90deg,
            #ffd4e2,
            #ffe8ef
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.idx-hero__desc {
    color: rgba(255,255,255,.78);

    font-size: 1.04rem;

    line-height: 1.78;

    margin: 0 0 1.9rem;
}

.idx-hero__btns {
    display: flex;

    gap: .75rem;

    flex-wrap: wrap;

    margin-bottom: 1.8rem;

    align-items: center;
}


/* =========================================================
   HERO — 메인 예약 버튼
   진한 핑크
========================================================= */

.idx-hero .idx-btn-white {
    background: #b83268;

    color: #fff !important;

    border: 1px solid #b83268;

    box-shadow:
        0 10px 28px rgba(139,39,82,.28);
}

.idx-hero .idx-btn-white:hover {
    background: #982653;

    color: #fff !important;

    border-color: #982653;

    transform: translateY(-2px);

    box-shadow:
        0 14px 34px rgba(139,39,82,.36);
}

.idx-hero .idx-btn-white:active {
    background: #862047;

    border-color: #862047;

    color: #fff !important;

    transform: translateY(0);
}


/* =========================================================
   HERO — 로그인 / 내 예약
========================================================= */

.idx-hero .idx-btn-ghost {
    color: #fff !important;

    border-color: rgba(255,255,255,.55);

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.idx-hero .idx-btn-ghost:hover {
    background: rgba(255,255,255,.18);

    border-color: #fff;
}


/* =========================================================
   HERO — 전화
========================================================= */

.idx-hero__tel {
    display: inline-flex;

    align-items: center;

    gap: .5rem;

    color: #fff0f5 !important;

    font-size: .9rem;

    font-weight: 600;

    text-decoration: none;

    transition: color .15s ease;
}

.idx-hero__tel:hover {
    color: #fff !important;
}

.idx-hero__tel-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    background: #ffd0df;

    border-radius: 50%;

    flex-shrink: 0;

    box-shadow:
        0 0 0 5px rgba(255,208,223,.15);

    animation:
        telPulse 1.8s ease-in-out infinite;
}

.idx-hero__tel-tag {
    background: rgba(255,255,255,.14);

    font-size: .7rem;

    font-weight: 500;

    padding: 2px 8px;

    border-radius: 8px;
}

@keyframes telPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: .55;
    }

}


/* =========================================================
   HERO — 오른쪽 비주얼 카드
========================================================= */

.idx-hero__cards {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding: 20px 0;
}


/* 메인 카드 */

.idx-hcard--main {
    position: relative;

    display: flex;

    align-items: center;

    gap: 1rem;

    width: 100%;
    max-width: 300px;

    padding: 1.5rem 2rem;

    background: rgba(255,255,255,.92);

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.65);

    box-shadow:
        0 20px 50px rgba(92,27,53,.18);
}

.idx-hcard__icon {
    width: 54px;
    height: 54px;

    background: #f8d9e4;

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.55rem;

    color: #b34d75;

    flex-shrink: 0;
}

.idx-hcard__label {
    display: block;

    font-size: .74rem;

    color: #71334d;

    margin-bottom: 3px;
}

.idx-hcard__val {
    display: block;

    font-size: .97rem;

    font-weight: 700;

    color: #b56b87;
}

.idx-hcard__live {
    position: absolute;

    top: -11px;
    right: 16px;

    background: #fde8ef;

    color: #a33d65;

    font-size: .66rem;

    font-weight: 800;

    padding: 3px 10px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 4px;

    letter-spacing: .6px;
}

.idx-hcard__dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    background: #d85f89;

    border-radius: 50%;

    animation:
        telPulse 1.5s infinite;
}


/* 플로팅 칩 */

.idx-hero__cards .idx-hcard--chip {
    display: flex;

    align-items: center;

    gap: .4rem;

    background: rgba(255,245,248,.94);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,.65);

    border-radius: 50px;

    padding: .52rem 1.1rem;

    font-size: .82rem;

    font-weight: 700;

    color: #71334d;

    white-space: nowrap;
}

.idx-hcard--chip i {
    color: #c2587d;
}

.idx-hcard--chip-a {
    animation:
        chipF 3.2s ease-in-out infinite;
}

.idx-hcard--chip-b {
    animation:
        chipF 3.8s ease-in-out infinite .8s;
}

.idx-hcard--chip-c {
    animation:
        chipF 3.5s ease-in-out infinite 1.6s;
}

@keyframes chipF {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* 칩 row */

.idx-chips-row {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    justify-content: center;
}


/* 장식 링 */

.idx-hero__ring {
    position: absolute;

    width: 300px;
    height: 300px;

    border:
        1.5px dashed rgba(255,225,235,.30);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    animation:
        spin 28s linear infinite;

    pointer-events: none;
}

@keyframes spin {
    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


/* =========================================================
   HERO — 좌우 슬라이드 버튼
========================================================= */

.idx-hero__arrow {
    position: absolute;

    top: 50%;

    z-index: 20;

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border:
        1px solid rgba(255,255,255,.45);

    border-radius: 50%;

    background:
        rgba(255,255,255,.15);

    color: #fff;

    font-size: 22px;

    line-height: 1;

    cursor: pointer;

    transform:
        translateY(-50%);

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        opacity .25s ease;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /*
     * 모바일 터치 대응
     */
    pointer-events: auto;

    touch-action: manipulation;

    -webkit-tap-highlight-color: transparent;

    user-select: none;
    -webkit-user-select: none;
}

.idx-hero__arrow:hover {
    background: rgba(255,255,255,.28);

    border-color: #fff;

    color: #fff;
}

.idx-hero__arrow:active {
    transform:
        translateY(-50%)
        scale(.92);
}

.idx-hero__arrow:focus {
    outline: none;

    border-color: rgba(255,255,255,.9);

    box-shadow:
        0 0 0 3px rgba(255,255,255,.15);
}

.idx-hero__arrow--prev {
    left: 28px;
}

.idx-hero__arrow--next {
    right: 28px;
}

.idx-hero__arrow i {
    display: block;

    pointer-events: none;
}


/* =========================================================
   HERO — 웨이브
========================================================= */

.idx-hero__wave {
    position: relative;

    z-index: 5;

    line-height: 0;

    margin-bottom: -2px;
}

.idx-hero__wave svg {
    display: block;

    width: 100%;

    height: 64px;
}

.idx-hero__wave svg path {
    fill: #f8e4eb;
}


/* =========================================================
   STATS BAR
========================================================= */

.idx-stats {
    background: var(--surface);

    padding: 0;

    border-bottom:
        1px solid var(--border);
}

.idx-stats__list {
    list-style: none;

    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.idx-stats__item {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: .2rem;

    padding: 28px 16px;

    border-right:
        1px solid var(--border);

    text-align: center;

    transition:
        background .15s ease;
}

.idx-stats__item:last-child {
    border-right: none;
}

.idx-stats__item:hover {
    background: var(--dp-light);
}

.idx-stats__num {
    font-family: 'DM Sans', sans-serif;

    font-size: 2.1rem;

    font-weight: 800;

    color: var(--dp);

    line-height: 1;

    letter-spacing: -.5px;
}

.idx-stats__unit {
    font-size: .95rem;

    font-weight: 600;

    margin-left: 1px;

    color: var(--dp);
}

.idx-stats__label {
    font-size: .78rem;

    color: var(--text-sub);

    font-weight: 500;

    margin-top: 4px;
}


/* =========================================================
   예약 단계
========================================================= */

.idx-steps {
    display: grid;

    grid-template-columns:
        1fr 32px 1fr 32px 1fr;

    align-items: center;

    gap: 0;
}

.idx-step {
    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 2.4rem 2rem;

    text-align: center;

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

.idx-step:hover {
    transform: translateY(-6px);

    box-shadow:
        var(--shadow-md);
}

.idx-step__num {
    font-family: 'DM Sans', sans-serif;

    font-size: 3.8rem;

    font-weight: 900;

    color: var(--dp-light);

    line-height: 1;

    margin-bottom: .5rem;

    letter-spacing: -3px;
}

.idx-step__ico {
    width: 66px;
    height: 66px;

    border-radius: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 1.9rem;

    margin: 0 auto 1.2rem;
}

.idx-step__title {
    font-size: 1.08rem;

    font-weight: 700;

    color: var(--text-main);

    margin: 0 0 .55rem;
}

.idx-step__desc {
    font-size: .87rem;

    color: var(--text-sub);

    line-height: 1.7;

    margin: 0;
}

.idx-step__arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 1.6rem;


    color: var(--text-muted);

    opacity: .5;
}


/* =========================================================
   의료진
========================================================= */

.idx-filter {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 32px;
}

.idx-filter__tab {
    background: var(--surface);

    color: var(--text-sub);

    border:
        1.5px solid var(--border);

    border-radius: 50px;

    padding: .3rem 1rem;

    font-size: .82rem;

    font-weight: 600;

    cursor: pointer;

    transition: all .15s ease;
}

.idx-filter__tab--on,
.idx-filter__tab:hover {
    background: var(--dp);

    color: #fff;

    border-color: var(--dp);
}


.idx-docgrid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;
}

.idx-doc {
    background: var(--surface);

    border-radius: 18px;

    overflow: hidden;

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow-sm);

    display: flex;

    flex-direction: column;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.idx-doc:hover {
    transform: translateY(-6px);

    box-shadow:
        var(--shadow-md);
}

.idx-doc__img {
    height: 230px;

    position: relative;

    overflow: hidden;

    background: var(--dp-light);
}

.idx-doc__img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}

.idx-doc:hover .idx-doc__img img {
    transform: scale(1.06);
}

.idx-doc__noimg {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 5.5rem;

    color: var(--dp);

    opacity: .18;
}

.idx-doc__dep {
    position: absolute;

    top: 12px;
    left: 12px;

    background: var(--dp);

    color: #fff;

    font-size: .7rem;

    font-weight: 700;

    padding: 3px 12px;

    border-radius: 50px;

    letter-spacing: .3px;
}

.idx-doc__body {
    padding: 1.4rem;

    flex: 1;

    display: flex;

    flex-direction: column;
}

.idx-doc__name {
    font-size: 1.08rem;

    font-weight: 800;

    color: var(--text-main);

    margin: 0 0 .35rem;
}

.idx-doc__career {
    font-size: .79rem;

    color: var(--text-sub);

    line-height: 1.55;

    flex: 1;

    margin: 0 0 .8rem;

    white-space: normal;

word-break: keep-all;
overflow-wrap: break-word;
}

.idx-doc__tags {
    display: flex;

    flex-wrap: wrap;

    gap: 4px;

    margin-bottom: 1rem;
}

.idx-doc__tag {
    background: var(--dp-light);

    color: var(--dp);

    font-size: .7rem;

    font-weight: 600;

    padding: 2px 10px;

    border-radius: 50px;
}

/* 의료진 예약 버튼 — 진한 핑크 */
.idx-doc__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: #b83f68;
    color: #fff !important;
    font-weight: 700;
    font-size: .86rem;
    padding: .65rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background .18s, transform .15s, box-shadow .18s;
    margin-top: auto;
    box-shadow: 0 5px 14px rgba(184, 63, 104, .20);
}

.idx-doc__btn:hover {
    background: #962f53;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(150, 47, 83, .28);
}

.idx-doc__btn:active {
    transform: translateY(0);
}


/* =========================================================
   진료 시간 / 오시는 길
========================================================= */

.idx-info {
    display: grid;

    grid-template-columns: 380px 1fr;

    gap: 28px;

    align-items: stretch;
}

.idx-panel {
    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 2rem;

    box-shadow:
        var(--shadow-sm);
}

.idx-panel--map {
    display: flex;

    flex-direction: column;
}

.idx-panel__hd {
    display: flex;

    align-items: center;

    gap: .8rem;

    margin-bottom: 1.5rem;

    padding-bottom: 1.2rem;

    border-bottom:
        1px solid var(--border);
}

.idx-panel__ico {
    width: 44px;
    height: 44px;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 1.2rem;

    flex-shrink: 0;
}

.idx-panel__ico--blue {
    background: var(--dp-light);

    color: var(--dp);
}

.idx-panel__ico--teal {
    background: var(--teal-light);

    color: var(--teal);
}

.idx-panel__title {
    font-size: 1.1rem;

    font-weight: 700;

    color: var(--text-main);

    margin: 0;
}


/* 시간표 */

.idx-hours {
    list-style: none;

    margin: 0;
    padding: 0;
}

.idx-hours__row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: .8rem 0;

    border-bottom:
        1px solid var(--border);

    gap: .5rem;
}

.idx-hours__row:last-child {
    border-bottom: none;
}

.idx-hours__dt {
    font-size: .78rem;

    font-weight: 700;

    color: var(--text-sub);

    background: #f1f5f9;

    padding: 3px 11px;

    border-radius: 8px;

    min-width: 44px;

    text-align: center;
}

.idx-hours__dd {
    font-size: .95rem;

    font-weight: 600;

    color: var(--text-main);
}

.idx-hours__row--lunch .idx-hours__dt {
    background: #fef9c3;

    color: #854d0e;
}

.idx-hours__row--off .idx-hours__dt {
    background: #fee2e2;

    color: #991b1b;
}

.idx-hours__row--off .idx-hours__dd {
    color: #b91c1c;
}


.idx-panel__tel {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: .5rem;

    margin-top: 1.4rem;

    background:
        linear-gradient(
            90deg,
            var(--dp),
            var(--teal)
        );

    color: #fff !important;

    border-radius: 12px;

    padding: .85rem;

    font-size: 1.05rem;

    font-weight: 800;

    letter-spacing: -.3px;

    text-decoration: none;

    transition:
        opacity .18s ease,
        transform .15s ease;
}

.idx-panel__tel:hover {
    opacity: .88;

    transform: translateY(-1px);
}


.idx-panel__addr {
    display: flex;

    align-items: flex-start;

    gap: .5rem;

    font-size: .9rem;

    color: var(--text-sub);

    line-height: 1.6;

    margin-bottom: 1rem;
}

.idx-panel__addr i {
    color: var(--teal);

    flex-shrink: 0;

    margin-top: 2px;
}


/* 지도 */

.idx-mapbox {
    flex: 1;

    min-height: 160px;

    background: #f3f7ff;

    border:
        1.5px dashed #c7d9f0;

    border-radius: 14px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: .6rem;

    padding: 2.5rem 1.5rem;

    text-align: center;

    color: var(--text-muted);
}

.idx-mapbox i {
    font-size: 2.4rem;

    opacity: .32;
}

.idx-mapbox p {
    margin: 0;

    font-size: .87rem;
}

#kakaoMap {
    overflow: hidden;

    border-radius: 12px;
}


/* =========================================================
   공지사항
========================================================= */

.idx-notice {
    list-style: none;

    margin: 0;
    padding: 0;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: 16px;

    overflow: hidden;
}

.idx-notice li a {
    display: flex;

    align-items: center;

    gap: .9rem;

    padding: 1.1rem 1.4rem;

    border-bottom:
        1px solid var(--border);

    color: var(--text-main);

    text-decoration: none;

    transition:
        background .12s ease;
}

.idx-notice li:last-child a {
    border-bottom: none;
}

.idx-notice li a:hover {
    background: var(--dp-light);
}

.idx-notice__ico {
    width: 34px;
    height: 34px;

    background: var(--dp-light);

    color: var(--dp);

    border-radius: 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: .84rem;

    flex-shrink: 0;
}

.idx-notice__subj {
    flex: 1;

    font-size: .91rem;

    font-weight: 500;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.idx-notice__date {
    font-size: .78rem;

    color: var(--text-muted);

    flex-shrink: 0;
}

.idx-notice__arr {
    color: var(--text-muted);

    font-size: .82rem;

    flex-shrink: 0;

    transition:
        transform .15s ease;
}

.idx-notice li a:hover .idx-notice__arr {
    transform: translateX(3px);
}


/* =========================================================
   하단 CTA
========================================================= */

.idx-cta {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            140deg,
            #082d6b 0%,
            #1255a0 55%,
            #0b7068 100%
        );

    padding: 100px 0;

    text-align: center;

    color: #fff;
}

.idx-cta__bg {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.idx-cta__orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(72px);
}

.idx-cta__orb--a {
    width: 420px;
    height: 420px;

    background: rgba(255,255,255,.06);

    top: -160px;
    right: -80px;
}

.idx-cta__orb--b {
    width: 300px;
    height: 300px;

    background: rgba(13,148,136,.18);

    bottom: -100px;
    left: -60px;
}

.idx-cta__inner {
    position: relative;

    z-index: 1;
}

.idx-cta__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);

    font-weight: 800;

    color: #fff;

    margin: 0 0 .9rem;

    letter-spacing: -.5px;
}

.idx-cta__desc {
    color: rgba(255,255,255,.72);

    font-size: .98rem;

    line-height: 1.75;

    margin: 0 0 2.2rem;
}


/* =========================================================
   반응형 — 1200px
========================================================= */

@media (max-width: 1200px) {

    .idx-docgrid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   반응형 — 991px
========================================================= */

@media (max-width: 991px) {

    /* HERO */

    .idx-hero {
        padding-top: 60px;
    }

    .idx-hero__wrap {
        grid-template-columns: 1fr;

        text-align: center;

        padding-bottom: 60px;
    }

    .idx-hero__clinic {
        margin-left: auto;
        margin-right: auto;
    }

    .idx-hero__btns {
        justify-content: center;
    }

    .idx-hero__tel {
        justify-content: center;
    }

    .idx-hero__cards {
        display: none;
    }


    /* 예약 단계 */

    .idx-steps {
        grid-template-columns: 1fr;

        gap: 20px;

        max-width: 400px;

        margin: 0 auto;
    }

    .idx-step__arrow {
        display: none;
    }


    /* 진료 안내 */

    .idx-info {
        grid-template-columns: 1fr;
    }


    /* 의료진 */

    .idx-docgrid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* stats */

    .idx-stats__list {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .idx-stats__item:nth-child(2) {
        border-right: none;
    }

    .idx-stats__item:nth-child(1),
    .idx-stats__item:nth-child(2) {
        border-bottom:
            1px solid var(--border);
    }


    /* 슬라이드 버튼 */

    .idx-hero__arrow--prev {
        left: 18px;
    }

    .idx-hero__arrow--next {
        right: 18px;
    }

}


/* =========================================================
   반응형 — 767px
   모바일 배너
========================================================= */

@media (max-width: 767px) {

    .idx-hero {
        min-height: 680px;

        padding-top: 55px;
    }

    /*
     * 절대 배경 배너도 HERO 높이에 맞춤
     */
    .idx-hero__banner {
        min-height: 680px;
    }

    .idx-hero__slides {
        min-height: 680px;
    }

    .idx-hero__slide {
        min-height: 680px;
    }

    .idx-hero__slide img {
        object-position: center center;
    }


    /* 모바일 오버레이 */

    .idx-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5,25,55,.48) 0%,
                rgba(5,25,55,.58) 45%,
                rgba(5,25,55,.82) 100%
            );
    }


    /* 모바일 장식 약화 */

    .idx-hero__orb {
        opacity: .35;
    }

    .idx-hero__lines {
        opacity: .2;
    }


    /* 모바일 카피 */

    .idx-hero__title {
        font-size: 1.85rem;

        line-height: 1.28;
    }

    .idx-hero__desc {
        font-size: .92rem;

        line-height: 1.7;

        margin-bottom: 1.5rem;
    }

    .idx-hero__clinic {
        font-size: .75rem;

        padding: .28rem .75rem;

        margin-bottom: 1.1rem;
    }


    /* 모바일 버튼 */

    .idx-hero__btns {
        gap: .6rem;

        margin-bottom: 1.4rem;
    }

    .idx-hero .idx-btn-white,
    .idx-hero .idx-btn-ghost {
        font-size: .88rem;

        padding: .7rem 1.15rem;

        border-radius: 11px;
    }


    /* 전화 */

    .idx-hero__tel {
        font-size: .84rem;
    }


    /* 모바일 좌우 버튼 */

    .idx-hero__arrow {
        width: 40px;
        height: 40px;

        font-size: 17px;

        z-index: 30;

        background:
            rgba(0,0,0,.25);

        border-color:
            rgba(255,255,255,.55);

        /*
         * 모바일 터치 핵심
         */
        pointer-events: auto;

        touch-action: manipulation;

        -webkit-tap-highlight-color: transparent;
    }

    .idx-hero__arrow--prev {
        left: 10px;
    }

    .idx-hero__arrow--next {
        right: 10px;
    }

    .idx-hero__arrow:hover {
        background:
            rgba(255,255,255,.25);
    }

    .idx-hero__arrow:active {
        transform:
            translateY(-50%)
            scale(.88);
    }


    /* 모바일 웨이브 */

    .idx-hero__wave svg {
        height: 42px;
    }


    /* stats */

    .idx-stats__num {
        font-size: 1.7rem;
    }

    .idx-stats__label {
        font-size: .72rem;
    }


    /* 지도 */

    .idx-mapbox {
        min-height: 220px;
    }

}


/* =========================================================
   반응형 — 576px
========================================================= */

@media (max-width: 576px) {

    .idx-sec {
        padding: 64px 0;
    }


    /* 의료진 */

    .idx-docgrid {
        grid-template-columns: 1fr;
    }


    /* 섹션 제목 */

    .idx-sec__title {
        font-size: 1.65rem;
    }


    /* HERO */

    .idx-hero {
        min-height: 650px;

        padding-top: 45px;
    }

    .idx-hero__banner,
    .idx-hero__slides,
    .idx-hero__slide {
        min-height: 650px;
    }

    .idx-hero__title {
        font-size: 1.72rem;
    }

    .idx-hero__desc {
        font-size: .88rem;
    }


    /* 예약 버튼 */

    .idx-hero__btns {
        width: 100%;

        justify-content: center;
    }

    .idx-hero .idx-btn-white,
    .idx-hero .idx-btn-ghost {
        padding: .68rem 1rem;

        font-size: .84rem;
    }


    /* 슬라이드 버튼 */

    .idx-hero__arrow {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }

    .idx-hero__arrow--prev {
        left: 7px;
    }

    .idx-hero__arrow--next {
        right: 7px;
    }


    /* stats */

    .idx-stats__list {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .idx-stats__item {
        padding: 22px 10px;
    }

    .idx-stats__num {
        font-size: 1.55rem;
    }

    .idx-stats__unit {
        font-size: .78rem;
    }


    /* 공지 */

    .idx-notice li a {
        gap: .6rem;

        padding:
            .9rem 1rem;
    }

    .idx-notice__ico {
        width: 30px;
        height: 30px;

        font-size: .75rem;
    }

    .idx-notice__date {
        display: none;
    }


    /* CTA */

    .idx-cta {
        padding: 76px 20px;
    }

    .idx-cta__title {
        font-size: 1.8rem;
    }

    .idx-cta__desc {
        font-size: .88rem;
    }

}


/* =========================================================
   접근성 / 터치 안정성
========================================================= */

/*
 * 링크와 버튼의 모바일 터치 영역 안정화
 */

.idx-hero__arrow,
.idx-hero__arrow *,
.idx-hero .idx-btn-white,
.idx-hero .idx-btn-ghost {
    -webkit-tap-highlight-color: transparent;
}


/*
 * 슬라이드 배경이 클릭 이벤트를 가로채지 않도록 처리
 */

.idx-hero__banner,
.idx-hero__slides,
.idx-hero__slide,
.idx-hero__slide picture,
.idx-hero__slide img,
.idx-hero__overlay {
    pointer-events: none;
}


/*
 * 슬라이드 버튼은 반드시 클릭 가능
 */

.idx-hero__arrow {
    pointer-events: auto !important;
}

.idx-doc__career {
    white-space: pre-line;
}

/* =========================================================
   예약 시작하기 아래 액션 이미지
========================================================= */

.idx-reserve-action {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 32px auto 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(120, 45, 75, .15);
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.idx-reserve-action img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.idx-reserve-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(120, 45, 75, .25);
}

.idx-reserve-action:hover img {
    transform: scale(1.03);
}


/* 모바일 */
@media (max-width: 767px) {

    .idx-reserve-action {
        margin-top: 24px;
        border-radius: 14px;
    }

}

/* =========================================================
   FAQ 아코디언
========================================================= */

.idx-faq-section {
    background: #fff;
}

.idx-faq-list {
    max-width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.idx-faq-item {
    border-bottom: 1px solid var(--border);
    background: #fff;
    transition: background .2s ease;
}

.idx-faq-item.is-open {
    background: #fff9fb;
}


/* 질문 버튼 */

.idx-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 20px 22px;

    border: 0;
    background: transparent;

    text-align: left;

    color: var(--text-main);

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;

    font-family: inherit;
}

.idx-faq-question:hover {
    background: #fff7f9;
}


/* Q 아이콘 */

.idx-faq-q-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dp-light);
    color: var(--dp);

    font-family: 'DM Sans', sans-serif;

    font-size: .85rem;
    font-weight: 800;
}


/* 질문 */

.idx-faq-subject {
    flex: 1;

    font-size: .98rem;
    font-weight: 700;

    line-height: 1.5;

    color: var(--text-main);
}


/* 화살표 */

.idx-faq-arrow {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f8f1f4;

    color: var(--dp);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.idx-faq-item.is-open .idx-faq-arrow {
    transform: rotate(180deg);

    background: var(--dp);
    color: #fff;
}


/* 답변 */

.idx-faq-answer {
    overflow: hidden;
}

.idx-faq-answer[hidden] {
    display: none;
}

.idx-faq-answer-inner {
    display: flex;
    gap: 14px;

    padding:
        0 22px 24px 70px;
}


/* A 아이콘 */

.idx-faq-a-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f7e8e2;
    color: var(--teal);

    font-family: 'DM Sans', sans-serif;

    font-size: .85rem;
    font-weight: 800;
}


/* 답변 내용 */

.idx-faq-content {
    flex: 1;

    padding-top: 5px;

    color: var(--text-sub);

    font-size: .92rem;

    line-height: 1.85;

    word-break: keep-all;
}


/* 하단 버튼 */

.idx-faq-more {
    text-align: center;

    margin-top: 36px;
}


/* 모바일 */

@media (max-width: 767px) {

    .idx-faq-question {
        gap: 10px;
        padding: 17px 12px;
    }

    .idx-faq-q-icon,
    .idx-faq-a-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .idx-faq-subject {
        font-size: .9rem;
    }

    .idx-faq-arrow {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: .75rem;
    }

    .idx-faq-answer-inner {
        gap: 10px;
        padding:
            0 12px 20px 52px;
    }

    .idx-faq-content {
        font-size: .86rem;
        line-height: 1.75;
    }

}

/*@media (max-width: 767px) {

    .idx-steps {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .idx-step {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        gap: 18px;
        text-align: left;
        border-radius: 14px;
    }

    /* 숫자 
    .idx-step__num {
        flex: 0 0 38px;
        font-size: 1.5rem;
        line-height: 1;
        margin: 0;
    }

    /* 이미지 
    .idx-step__ico {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 12px;
        font-size: 1.15rem;
    }

    /* 글자 전체 영역 
    .idx-step__title {
        flex: 1;
        font-size: .88rem;
        line-height: 1.4;
        margin: 0 0 3px;
    }

    /* 제목 + 설명을 함께 세로 배치
    .idx-step__title,
    .idx-step__desc {
        text-align: left;
    }

    /* 설명 표시 
    .idx-step__desc {
        display: block;
        flex: 1;
        font-size: .72rem;
        line-height: 1.4;
        color: var(--text-sub);
        margin: 0;
    }

    /* 제목과 설명을 묶는 구조가 없으므로
    .idx-step {
        flex-wrap: wrap;
    }

    .idx-step__title {
        margin-left: 0;
    }

    .idx-step__arrow {
        display: none;
    }
}*/
/* =========================================================
   모바일 3단계 예약
   숫자 + 원형 아이콘 + 제목/설명
========================================================= */

@media (max-width: 767px) {

    /* 전체 예약 단계 */
    .idx-steps {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* 예약 카드 */
    .idx-step {
        display: grid;

        grid-template-columns: 38px 48px minmax(0, 1fr);
        grid-template-rows: auto auto;

        align-items: center;

        width: 100%;
        min-height: 62px;

        padding: 8px 14px;

        background: #fff;

        border: 1px solid #e2e8f0;
        border-radius: 24px;

        text-align: left;

        box-shadow: none;

        transition: none;
    }

    /* 카드 마우스 효과 제거 */
    .idx-step:hover {
        transform: none;
        box-shadow: none;
    }


    /* =========================
       ① 숫자
    ========================= */

    .idx-step__num {
        grid-column: 1;
        grid-row: 1 / 3;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 0;

        font-family: 'DM Sans', sans-serif;

        font-size: 1.7rem;
        font-weight: 900;

        line-height: 1;

        letter-spacing: -2px;

        color: #f5dbe5;
    }


    /* =========================
       ② 원형 아이콘
    ========================= */

    .idx-step__ico {
        grid-column: 2;
        grid-row: 1 / 3;

        width: 42px;
        height: 42px;

        margin: 0;

        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 1rem;

        flex-shrink: 0;
    }


    /* =========================
       ③ 제목
    ========================= */

    .idx-step__title {
        grid-column: 3;
        grid-row: 1;

        min-width: 0;

        margin: 0 !important;
        padding: 0;

        font-size: .88rem;
        font-weight: 700;

        line-height: 1.25;

        color: #1e293b;

        text-align: left;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* =========================
       ④ 설명
    ========================= */

    .idx-step__desc {
        grid-column: 3;
        grid-row: 2;

        min-width: 0;

        margin: 1px 0 0 !important;
        padding: 0;

        font-size: .68rem;

        line-height: 1.25;

        color: #94a3b8;

        text-align: left;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* 단계 사이 화살표 숨김 */
    .idx-step__arrow {
        display: none;
    }


    /* 예약 시작하기 버튼 간격 */
    .idx-sec__cta {
        margin-top: 22px;
    }

}