@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
    /* 파란색 & 하늘색 브랜드 베이스 */
    --brand-blue: #1D4ED8;        /* '통증의학과' & 'B' 딥 로얄 블루 */
    --brand-blue-dark: #1E3A8A;   /* 딥 네이비 블루 */
    --brand-blue-deep: #0F2B5C;   /* 최심도 딥 블루 */

    --brand-sky: #0284C7;         /* '닥터반' & '+' 십자가 스카이 블루 */
    --brand-sky-medium: #38BDF8;  /* 화사한 미디엄 스카이 블루 */
    --brand-sky-light: #E0F2FE;   /* 연한 하늘색 배경 */
    --brand-sky-soft: #F0F9FF;    /* 최연한 베이스 하늘색 */
    --brand-blue-banner: #F0F6FD; /* 부드러운 블루 배너 배경 */

    /* 특이한 부분에 사용하는 포인트 옐로우 골드 */
    --accent-yellow: #F59E0B;      /* 간판 골드 옐로우 */
    --accent-yellow-hover: #D97706;
    --accent-yellow-light: #FEF3C7;
    --accent-yellow-dark: #B45309;

    --dark: #111827;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-400: #9CA3AF;
    --gray-200: #E5E7EB;
    --gray-100: #F9FAFB;
    --white: #FFFFFF;
    --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px; /* 고정 네비게이션 높이 보정 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    word-break: keep-all;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================
   스크롤 인터랙션 애니메이션 (Reveal on Scroll)
   ======================================================== */
.fade-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* ========================================================
   Header & GNB Navigation Bar
   ======================================================== */
.brand-top-bar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
}
.brand-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-custom {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo-icon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
    border: 2px solid var(--accent-yellow);
}
.logo-cross-symbol {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--brand-sky);
    line-height: 1;
}
.logo-b-symbol {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--brand-blue);
    line-height: 1;
    margin-left: 6px;
    margin-top: 2px;
}

.logo-text-group {
    display: flex;
    align-items: baseline;
    gap: 3px;
    letter-spacing: -0.5px;
}
.logo-text-drban {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--brand-sky);
}
.logo-tag-vertical {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    writing-mode: vertical-rl;
    line-height: 1;
    margin: 0 1px;
}
.logo-text-pain {
    font-size: 1.95rem;
    font-weight: 900;
    color: var(--brand-blue);
}
.logo-dept-subtag {
    font-size: 0.8rem;
    background: var(--accent-yellow-light);
    color: var(--accent-yellow-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 6px;
    border: 1px solid #FDE68A;
}

.top-action-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-action-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--brand-blue);
    padding: 7px 16px;
    border-radius: 8px;
    background: var(--brand-sky-soft);
    border: 1.5px solid var(--brand-sky-light);
    transition: all 0.2s;
}
.top-action-tel:hover {
    background: var(--brand-sky-light);
    border-color: var(--brand-sky);
}

.gnb-header {
    background-color: #FFFFFF;
    border-bottom: 2px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 900;
}
.gnb-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}
.gnb-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.gnb-item {
    font-size: 1.05rem;
    font-weight: 700;
    color: #475569;
    padding: 16px 22px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gnb-item:hover {
    color: var(--brand-blue);
}
.gnb-item.active {
    color: var(--brand-blue) !important;
    font-weight: 800 !important;
}
.gnb-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3.5px;
    background-color: var(--brand-blue);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
}
.gnb-item:hover::after {
    width: 60%;
}
.gnb-item.active::after {
    width: 100% !important;
    background-color: var(--brand-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #0F172A;
    cursor: pointer;
}

/* ========================================================
   1. Main Hero Visual (첫 화면에 딱 맞게 100vh 꽉 채움)
   ======================================================== */
.main-hero-banner {
    position: relative;
    height: calc(100vh - 126px);
    height: calc(100dvh - 126px);
    min-height: 560px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(240, 249, 255, 0.25) 0%, rgba(224, 242, 254, 0.55) 45%, rgba(255, 255, 255, 0.95) 75%, #FFFFFF 100%);
    z-index: 1;
}
.hero-typography-box {
    position: relative;
    z-index: 3;
    margin-left: auto;
    max-width: 660px;
    text-align: right;
    padding: 40px 0;
}
.hero-sub-text {
    font-size: 1.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.hero-highlight-badge {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: #0F172A;
    font-size: 2.6rem;
    font-weight: 900;
    padding: 4px 20px;
    border-radius: 6px;
    letter-spacing: -1px;
    margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.hero-highlight-suffix {
    font-size: 2.6rem;
    font-weight: 900;
    color: #0F172A;
    vertical-align: middle;
}
.hero-main-hospital-name {
    font-size: 3.1rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}
.hero-name-drban { color: var(--brand-sky); }
.hero-name-pain { color: var(--brand-blue); }

.hero-action-btns {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 24px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary {
    background-color: var(--accent-yellow);
    color: #0F172A;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    color: #0F172A;
    transform: translateY(-2px);
}
.btn-blue {
    background-color: var(--brand-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}
.btn-blue:hover {
    background-color: var(--brand-blue-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: #FFFFFF;
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
}
.btn-outline:hover {
    background: var(--brand-blue);
    color: #FFFFFF;
}

/* 하단 스크롤 유도 인디케이터 (SCROLL DOWN) */
.hero-scroll-guide {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--brand-blue);
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-scroll-guide:hover {
    transform: translateX(-50%) translateY(4px);
    opacity: 0.85;
}
.scroll-mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--brand-blue);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.scroll-wheel-dot {
    width: 4px;
    height: 7px;
    background-color: var(--brand-blue);
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollWheel 1.8s infinite ease-in-out;
}
.scroll-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--brand-blue-dark);
}
.scroll-arrow-down {
    font-size: 0.82rem;
    color: var(--brand-blue);
    animation: bounceDown 1.8s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(9px); opacity: 0.2; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ========================================================
   모던 미니멀 섹션 타이틀 (첨부된 ejros.net 스타일 1:1 매칭)
   ======================================================== */
.ej-section-title-wrap {
    text-align: center;
    margin-bottom: 55px;
}
.ej-section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}
.ej-section-divider {
    width: 44px;
    height: 2px;
    background-color: var(--brand-sky);
    margin: 16px auto 0;
    border-radius: 2px;
}
.ej-section-subtitle {
    margin-top: 14px;
    font-size: 1.05rem;
    color: #6B7280;
    font-weight: 400;
}

/* ========================================================
   2. 진료안내 (ejros.net 라인 아이콘 원형 그리드 스타일)
   ======================================================== */
.section-clinic-clean {
    padding: 95px 0 100px;
    background-color: #FFFFFF;
}
.ej-clinic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 32px;
    row-gap: 55px;
    margin-bottom: 50px;
}
.ej-clinic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}
.ej-clinic-item:hover {
    transform: translateY(-6px);
}
.ej-clinic-icon-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1.5px solid #1E293B;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0F172A;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.ej-clinic-item:hover .ej-clinic-icon-circle {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(29, 78, 216, 0.25);
}
.ej-clinic-item-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    line-height: 1.35;
}
.ej-clinic-item-desc {
    font-size: 0.92rem;
    color: #4B5563;
    line-height: 1.7;
    word-break: keep-all;
    max-width: 260px;
}

/* ========================================================
   3. 중간 소프트 블루 배너 (첨부 사진 매칭)
   ======================================================== */
.ej-blue-banner {
    background-color: var(--brand-blue-banner);
    border-top: 1px solid #DCE9F6;
    border-bottom: 1px solid #DCE9F6;
    padding: 60px 20px;
    text-align: center;
}
.ej-blue-banner h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.ej-blue-banner p {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.85;
    max-width: 820px;
    margin: 0 auto;
}

/* ========================================================
   4. 병원 소개 (첨부 사진 1:1 매칭: 서술문 + 3개 사진 카드)
   ======================================================== */
.section-about-clean {
    padding: 95px 0 105px;
    background-color: #FFFFFF;
}
.ej-about-intro-text {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
    font-size: 1.02rem;
    color: #374151;
    line-height: 1.9;
}
.ej-about-intro-text p {
    margin-bottom: 18px;
}
.ej-about-intro-text strong {
    color: var(--brand-blue-dark);
    font-weight: 800;
}

.ej-about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ej-about-card {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.ej-about-card:hover {
    transform: translateY(-6px);
}
.ej-about-img-box {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}
.ej-about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ej-about-card:hover .ej-about-img-box img {
    transform: scale(1.04);
}
.ej-about-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}
.ej-about-card-desc {
    font-size: 0.93rem;
    color: #4B5563;
    line-height: 1.7;
}

/* ========================================================
   5. 진료시간 안내 (#hours-section - 유선전화 중심 심플 구성)
   ======================================================== */
.section-hours-reservation {
    padding: 95px 0 105px;
    background: linear-gradient(180deg, var(--brand-sky-soft) 0%, var(--brand-sky-light) 100%);
    border-top: 1px solid #BAE6FD;
    border-bottom: 1px solid #BAE6FD;
}
.hours-res-card-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.hours-info-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
    border: 1px solid var(--gray-200);
}
.hours-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hours-card-title i {
    color: var(--brand-sky);
}
.hours-table-clean {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.hours-table-clean tr {
    border-bottom: 1px solid var(--gray-200);
}
.hours-table-clean th {
    padding: 15px 10px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 800;
    color: #374151;
    width: 35%;
}
.hours-table-clean td {
    padding: 15px 10px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #111827;
}
.hours-table-clean td.highlight {
    color: var(--brand-blue);
    font-weight: 800;
}
.sat-no-lunch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-yellow-light);
    color: var(--accent-yellow-dark);
    border: 1px solid #FDE68A;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 6px;
}

.reservation-action-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.res-card-top h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 8px;
}
.res-card-top p {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 24px;
}
.res-big-phone-box {
    background: var(--brand-sky-soft);
    border: 1px solid var(--brand-sky-light);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}
.res-phone-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4B5563;
    margin-bottom: 6px;
}
.res-big-phone-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.res-phone-circle-yellow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-yellow);
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}
.res-big-fax {
    font-size: 1.05rem;
    color: #6B7280;
    font-weight: 700;
    margin-top: 8px;
}
.res-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-res-call {
    background: var(--brand-blue);
    color: #FFFFFF;
    font-size: 1.12rem;
    font-weight: 800;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
    transition: all 0.2s;
}
.btn-res-call:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
}

/* ========================================================
   6. 오시는 길 & 주차 (#location-section)
   ======================================================== */
.section-location-clean {
    padding: 95px 0 105px;
    background-color: #FFFFFF;
}
.location-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.location-details-box {
    background: #FFFFFF;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.loc-item {
    margin-bottom: 22px;
}
.loc-item h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.loc-item h4 i { color: var(--brand-sky); }
.loc-item p {
    font-size: 1.02rem;
    color: #4B5563;
    line-height: 1.65;
}
.map-embed-box {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid #FFFFFF;
    height: 400px;
    background: #E2E8F0;
    position: relative;
}
.map-custom-overlay-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--accent-yellow);
    z-index: 10;
    pointer-events: none;
}
.map-custom-overlay-marker i {
    color: var(--accent-yellow);
    font-size: 1.3rem;
}
.map-custom-overlay-marker strong {
    font-size: 1.05rem;
    color: #0F172A;
}

/* ========================================================
   7. 병원 둘러보기 갤러리 (깨끗하고 안락한 인테리어 사진들)
   ======================================================== */
.section-interior-clean {
    padding: 90px 0 100px;
    background-color: var(--gray-100);
}
.interior-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.interior-photo-item {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s;
}
.interior-photo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.interior-photo-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.interior-photo-caption {
    padding: 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #1E293B;
}

/* ========================================================
   8. 푸터 & 비급여/서류 모달 레이어 & 숨겨진 관리자 로그인 링크
   ======================================================== */
.footer-clean-band {
    background-color: #0F172A;
    color: #CBD5E1;
    border-top: 3px solid var(--brand-sky);
    padding: 42px 0;
    font-size: 0.92rem;
}
.footer-modal-links {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-modal-btn {
    background: none;
    border: none;
    color: #93C5FD;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}
.footer-modal-btn:hover {
    color: #FFFFFF;
}
.footer-clean-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.6fr;
    gap: 20px;
    align-items: center;
}
.footer-clean-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #FFFFFF;
}
.footer-clean-logo .logo-b {
    color: var(--accent-yellow);
}
.footer-clean-biz {
    font-size: 0.95rem;
    color: #94A3B8;
}
.footer-clean-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94A3B8;
}

/* 푸터 내부에 눈에 띄지 않게 조용히 숨겨진 관리자 로그인 링크 */
.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #475569;
    font-size: 0.8rem;
    text-decoration: none;
    margin-left: 14px;
    opacity: 0.55;
    transition: all 0.2s;
    vertical-align: middle;
}
.footer-admin-link:hover {
    color: #94A3B8;
    opacity: 1;
}

/* Modal Windows */
.custom-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.custom-modal-backdrop.active {
    display: flex;
}
.custom-modal-card {
    background: #FFFFFF;
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    border: 1px solid var(--gray-200);
}
.custom-modal-header {
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
    color: #FFFFFF;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}
.custom-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
}
.custom-modal-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}
.custom-modal-body {
    padding: 28px;
}

/* 우측 플로팅 바 (사용자 요청으로 제거 완료) */
.floating-side-quick {
    display: none !important;
}

.main-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.main-popup-box {
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.popup-close-x {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #94A3B8;
    cursor: pointer;
    z-index: 10;
}
.popup-close-x:hover { color: #0F172A; }
.popup-header-art {
    background: linear-gradient(135deg, var(--brand-sky-soft), var(--brand-sky-light));
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid #BAE6FD;
}
.popup-hospital-badge {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 6px;
}
.popup-main-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0F172A;
}
.popup-body-content {
    padding: 24px;
    text-align: center;
}
.popup-calendar-mini {
    background: #F8FAFC;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid var(--gray-200);
}
.popup-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    font-size: 0.85rem;
    text-align: center;
}
.popup-cal-day-header {
    font-weight: 700;
    color: #64748B;
    padding-bottom: 6px;
}
.popup-cal-day-header.sun { color: #EF4444; }
.popup-cal-cell {
    padding: 6px 0;
    color: #334155;
    font-weight: 600;
}
.popup-cal-cell.closed {
    background-color: #FEE2E2;
    color: #DC2626;
    border-radius: 50%;
    font-weight: 800;
}
.popup-notice-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.65;
    margin-bottom: 8px;
}
.popup-footer-bar {
    display: flex;
    background: #F8FAFC;
    border-top: 1px solid var(--gray-200);
}
.popup-footer-btn {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: background-color 0.2s;
}
.popup-footer-btn:hover {
    background-color: #E2E8F0;
    color: #0F172A;
}
.popup-footer-btn:first-child {
    border-right: 1px solid var(--gray-200);
}

/* ========================================================
   Responsive Media Queries
   ======================================================== */
@media (max-width: 1024px) {
    .main-hero-banner {
        height: auto;
        min-height: 520px;
    }
    .ej-clinic-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }
    .ej-about-card-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hours-res-card-grid {
        grid-template-columns: 1fr;
    }
    .location-clean-grid {
        grid-template-columns: 1fr;
    }
    .interior-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-clean-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-clean-logo {
        justify-content: center;
    }
    .footer-modal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-hero-banner {
        height: auto;
        min-height: 480px;
    }
    .gnb-menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .gnb-menu.active {
        display: flex;
    }
    .gnb-menu .gnb-item {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding: 12px 16px;
        border-radius: 6px;
    }
    .gnb-menu .gnb-item.active {
        background-color: #F0F6FD;
        color: var(--brand-blue) !important;
        border-left: 4px solid var(--brand-blue);
    }
    .gnb-menu .gnb-item.active::after {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .ej-clinic-grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
    .interior-gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero-highlight-badge, .hero-highlight-suffix, .hero-main-hospital-name {
        font-size: 2rem;
    }
    .hero-sub-text {
        font-size: 1.3rem;
    }
    .brand-logo-custom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .top-action-tel {
        display: none;
    }
    .hero-scroll-guide {
        display: none;
    }
}
