/* ==========================================================================
   SEOUL EYE CLINIC PREMIUM DESIGN SYSTEM & LAYOUTS (styles.css)
   ========================================================================== */

/* 1. Design Tokens & Root Variables */
:root {
    --primary: #139AD6;           /* Seoul Eye Blue - Trust, Cleanliness */
    --primary-hover: #0284c7;     /* Hover state blue */
    --primary-dark: #0F2C59;      /* Brand Accent Dark Navy */
    --primary-light: #F0F9FF;     /* Soft Sky Blue Tint for backgrounds */
    --primary-tint: #E0F2FE;      /* Card tint / Borders */
    
    --accent: #38BDF8;            /* Bright Blue Accent */
    --accent-red: #EF4444;        /* Alerts / Closed status */
    
    --text-main: #1E293B;         /* Slate 800 - High Contrast Body */
    --text-muted: #64748B;        /* Slate 500 - Subtitles / Small text */
    --text-light: #94A3B8;        /* Slate 400 - Borders/Placeholders */
    
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;          /* Section alternate background */
    --bg-glass: rgba(255, 255, 255, 0.85); /* Semi-transparent */
    
    /* Layout */
    --header-height: 80px;
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(19, 154, 214, 0.08), 0 4px 6px -2px rgba(19, 154, 214, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 44, 89, 0.1), 0 10px 10px -5px rgba(15, 44, 89, 0.04);
    --shadow-glass: 0 8px 32px 0 rgba(15, 44, 89, 0.08);
    
    /* Typography */
    --font-ko: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 2. Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ko);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* 한글은 어절 단위로만 줄바꿈한다. 기본값(normal)은 '수정 / 체', '상 / 태'처럼
       단어 중간을 끊는다. 긴 영문·URL만 예외적으로 강제 줄바꿈. */
    word-break: keep-all;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* Typography Utilities */
.font-outfit {
    font-family: var(--font-en);
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--primary);
}

.bg-light {
    background-color: var(--bg-light);
}

/* 3. Reusable Components & Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(19, 154, 214, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 154, 214, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-outline-dark:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 10px 22px;
    font-size: 0.9rem;
    border-radius: 50px;
}

.btn-cta:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-block {
    display: width;
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-sm);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* 4. Layout Sections */
.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 20px;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.35;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 5. Header / Navigation Styling */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224, 242, 254, 0.5);
    z-index: 1000;
    transition: all var(--transition-normal);
}

#header.scrolled {
    height: 70px;
    background-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(15, 44, 89, 0.05);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Alignment */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.logo-icon-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-ko {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-en {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Desktop Navigation */
.gnb-nav {
    height: 100%;
}

.gnb-list {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 0;
}

.gnb-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 8px 12px;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.gnb-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    transform: scaleX(0);
    transform-origin: center;
    height: 2px;
    background-color: var(--primary);
    transition: transform var(--transition-fast);
}

.gnb-item:hover {
    color: var(--primary);
}

.gnb-item:hover::after,
.gnb-item.active::after {
    transform: scaleX(1);
}

.gnb-item.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition-fast);
}

/* Mobile Drawer (Responsive Navigation) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 1010;
    transition: right var(--transition-normal);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.drawer-logo .logo-ko {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.drawer-close {
    font-size: 2rem;
    color: var(--text-muted);
}

.drawer-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* The drawer is a fixed-height column: the menu is the only part that grows,
       so it must be the part that scrolls when the list outgrows the screen. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 16px;
}

.drawer-item {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.drawer-item:hover {
    color: var(--primary);
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--primary-tint);
    padding-top: 24px;
    flex-shrink: 0;
}

.drawer-tel {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 44, 89, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* 6. SPA Page Navigation Transitions */
#main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    position: relative;
}

.page-view {
    display: none;
}

.page-view.active {
    display: block;
    animation: fadeSlideIn var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 7. Home Page Specific Styling */
/* Hero Section */
.hero-section {
    position: relative;
    height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 120px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.hero-video.is-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(15, 44, 89, 0.30), rgba(15, 44, 89, 0.55));
    pointer-events: none;
}

/* Fall back to the static hero image on mobile and for reduced-motion users */
@media (max-width: 768px) {
    .hero-video { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    color: var(--bg-white);
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 36px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Quick Info Cards (Glassmorphism) */
.quick-cards {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    z-index: 10;
}

.quick-card {
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(224, 242, 254, 0.6);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-normal);
}

.quick-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Philosophy Section */
.philosophy-section {
    padding-top: 140px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.philosophy-desc.italic {
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    color: var(--primary-dark);
    font-weight: 500;
}

.philosophy-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-card {
    background-color: var(--primary-light);
    border: 1px solid var(--primary-tint);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.visual-card .number {
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.visual-card .label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Clinic Cards Grid */
.clinic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.clinic-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(224, 242, 254, 0.4);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.clinic-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-tint);
}

.clinic-card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.clinic-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.clinic-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    height: 72px; /* Fixed height for alignment */
    overflow: hidden;
}

.clinic-card-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.clinic-card-btn:hover {
    color: var(--primary-dark);
}

.difference-cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.difference-cta-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* 8. Sub-Pages Shared Header */
.subpage-header {
    background-color: var(--primary-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(19, 154, 214, 0.15) 0%, transparent 40%);
    color: var(--bg-white);
    padding: 80px 20px;
    text-align: center;
}

.subpage-header-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.sub-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.subpage-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.subpage-header p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* 9. Sub-page 1: Hospital Introduction (Intro) */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
}

.doctor-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.doctor-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.doctor-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 44, 89, 0.9);
    color: var(--bg-white);
    padding: 20px;
    backdrop-filter: blur(8px);
}

.doctor-tag h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.doctor-tag p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.doctor-info .highlight-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.doctor-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.doctor-message {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.doctor-career {
    margin-top: 40px;
    border-top: 1px solid var(--primary-tint);
    padding-top: 30px;
}

.doctor-career h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.doctor-career ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-career li {
    font-size: 0.95rem;
    color: var(--text-main);
    padding-left: 14px;
    position: relative;
}

.doctor-career li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Promises Grid */
.promises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.promise-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 36px 28px;
    border: 1px solid var(--primary-tint);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.promise-card .num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(19, 154, 214, 0.12);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.promise-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.promise-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 10. Sub-page 2: Vision Correction (Vision) Tabs */
.tab-wrapper {
    width: 100%;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--primary-tint);
    margin-bottom: 50px;
}

.tab-btn {
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-contents {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn var(--transition-normal) ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-tag {
    display: inline-block;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tab-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.tab-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-bullets h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-bullets ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-bullets li {
    font-size: 0.95rem;
    color: var(--text-main);
    padding-left: 20px;
    position: relative;
}

.feature-bullets li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tab-visual-box {
    background-color: var(--bg-light);
    border: 1px solid var(--primary-tint);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
}

.vs-process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.process-step {
    flex: 1;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 15%;
    right: -10%;
    color: var(--text-light);
    font-weight: bold;
}

.process-step span {
    display: inline-block;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.vs-target {
    border-top: 1px dashed var(--text-light);
    padding-top: 24px;
}

.vs-target h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.vs-target p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 11. Sub-page 3: Cataract Center */
.cataract-intro {
    background-color: var(--primary-light);
    border: 1px solid var(--primary-tint);
    border-radius: var(--border-radius-md);
    padding: 50px 30px;
    margin-bottom: 80px;
}

.cataract-intro h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.checklist {
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-item {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 12px 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--primary-tint);
}

.warning-text {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.95rem;
}

.cataract-treatment-grid {
    align-items: center;
}

.treatment-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.treatment-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.treatment-benefits h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.treatment-benefits ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.treatment-benefits li {
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.treatment-benefits li::before {
    content: '▶';
    font-size: 0.7rem;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 4px;
}

.treatment-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.benefit-box .emoji {
    font-size: 1.8rem;
    margin-bottom: 6px;
    display: block;
}

.benefit-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.benefit-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 12. Sub-page 4: Dry Eye Center */
.dryeye-info-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 40px;
    border: 1px solid var(--primary-tint);
}

.dryeye-info-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.dryeye-info-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.dry-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.dryeye-therapy-card {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.dryeye-therapy-card::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(19, 154, 214, 0.2) 0%, transparent 70%);
}

.dryeye-therapy-card .tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.dryeye-therapy-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.dryeye-therapy-card p {
    opacity: 0.85;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.therapy-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.t-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.t-num {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    border: 2px solid var(--accent);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.t-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.t-step p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* 13. Sub-page 5: Contact / Appointment (Contact) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.schedule-card, .location-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    border: 1px solid var(--primary-tint);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.schedule-card h2, .location-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 12px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    font-size: 1.05rem;
    font-weight: 500;
}

.schedule-list li span:first-child { flex-shrink: 0; white-space: nowrap; }
.schedule-list li span:last-child { text-align: right; }

.schedule-list li.closed {
    color: var(--accent-red);
}

.notice-txt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.kakao-map {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    background-color: var(--bg-light);
    overflow: hidden;
}

.address, .subway, .parking {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.location-btns {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.location-btns .btn { flex: 1; margin-top: 0; text-align: center; }

@media (max-width: 480px) {
    .kakao-map { height: 240px; }
    .location-btns { flex-direction: column; }
}

.btn-phone {
    display: block;
    width: 100%;
    margin-top: 24px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
    border: 1px solid var(--primary-tint);
}

.btn-phone:hover {
    background-color: var(--primary-tint);
}

/* Appointment Form */
.form-block {
    background-color: var(--bg-light);
    border: 1px solid var(--primary-tint);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-block h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.form-block p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: inherit;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--text-light);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 154, 214, 0.15);
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Fallback Map Styling */
.map-wrapper {
    margin-top: 40px;
}

.map-wrapper h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.map-box {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--primary-tint);
    position: relative;
    box-shadow: var(--shadow-sm);
}

/* 카카오맵이 그려지는 레이어. 지도가 실제로 뜨기 전까지는 감춰 두고,
   app.js 가 .is-ready 를 붙이면 그때 CSS 약도 위를 덮는다. SDK 로드나
   도메인 인증이 실패하면 .is-ready 가 붙지 않으므로 약도가 그대로 남는다. */
/* display:none 대신 visibility 로 감춘다. 카카오맵은 컨테이너에 크기가 있어야
   타일을 제대로 배치하는데, visibility 는 레이아웃을 유지한다.
   페이드(opacity 트랜지션)는 쓰지 않는다. 감춰진 상태에서 트랜지션이 시작되면
   0 에 머문 채 지도가 안 보이는 경우가 있었다. */
.map-canvas {
    position: absolute;
    inset: 0;
    z-index: 10;
    visibility: hidden;
}

.map-canvas.is-ready {
    visibility: visible;
}

/* 지도가 뜨면 CSS 약도를 통째로 내린다. .pin(z-index:5)과 .tooltip(z-index:6)은
   .map-fallback 이 스택 컨텍스트를 만들지 않아 .map-canvas 와 같은 층에서 겨룬다.
   남겨 두면 지도 위에 고정된 가짜 핀이 떠서, 확대·축소할 때 실제 마커와 어긋나 보인다. */
.map-canvas.is-ready ~ .map-fallback {
    display: none;
}

.map-fallback {
    width: 100%;
    height: 100%;
    background-color: #E2E8F0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-grid-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.street {
    position: absolute;
    background-color: #CBD5E1;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.street-h {
    width: 100%;
    height: 60px;
    transform: translateY(20px);
}

.street-v {
    height: 100%;
    width: 60px;
    transform: translateX(-100px);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.pin {
    position: relative;
    z-index: 5;
    color: var(--primary);
    animation: bounce 2s infinite;
}

/* The inline SVG carries only a viewBox, so without an explicit size it
   collapses to 0 and the marker never shows. */
.pin svg {
    width: 46px;
    height: 46px;
    display: block;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.tooltip {
    position: absolute;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    z-index: 6;
    bottom: 55%;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.tooltip strong {
    display: block;
    font-size: 0.95rem;
}

.tooltip p {
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0;
}

.map-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* 좁은 화면에서는 두 버튼을 나란히 두면 각각 두 줄로 접히고, 전화번호가
   02-814- / 1122 로 끊긴다. 세로로 쌓아 한 줄씩 온전히 보이게 한다. */
@media (max-width: 560px) {
    .map-buttons {
        flex-direction: column;
    }

    .map-buttons .btn {
        width: 100%;
    }
}

/* 14. Footer */
#footer {
    background-color: #0B192C; /* Darker Slate/Navy for depth */
    color: #94A3B8;
    border-top: 4px solid var(--primary);
    padding: 60px 20px 40px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid #1E293B;
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-white);
    display: block;
    margin-bottom: 12px;
}

.footer-info-details {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--bg-white);
}

/* 15. Responsive Styling (Media Queries) */

@media (max-width: 1024px) {
    .section-grid, .intro-grid, .tab-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .quick-cards {
        position: static;
        transform: none;
        margin-top: 40px;
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .hero-section {
        height: auto;
        padding: 80px 20px 40px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    :root {
        --header-height: 70px;
    }
    
    .gnb-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .btn-cta {
        display: none; /* Hide desktop button, it is inside Mobile Drawer */
    }
    
    .clinic-grid, .promises-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tab-buttons {
        flex-direction: column;
        border-bottom: none;
        margin-bottom: 30px;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        border: 1px solid var(--primary-tint);
        border-radius: var(--border-radius-sm);
        margin-bottom: 10px;
        padding: 12px;
    }
    
    .tab-btn.active {
        background-color: var(--primary);
        color: var(--bg-white);
        border-color: var(--primary);
    }
    
    .vs-process {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-step:not(:last-child)::after {
        content: '↓';
        top: auto;
        bottom: -20px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   REFERENCE-TONE REDESIGN (seoulbesteye style, blue palette)
   Airy typography · real-photo placeholders · flat white cards · line icons
   ========================================================================== */

:root {
    --line: #E6EEF5;          /* hairline borders */
    --ph-bg: #EDF3F8;         /* image placeholder base */
    --ink-soft: #475569;
}

/* --- Shared helpers --- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 18px;
}

.text-blue { color: var(--primary); }

.text-link {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-fast);
}

.text-link:hover { letter-spacing: 0.3px; }

.line-icon svg { width: 100%; height: 100%; display: block; }

/* Image placeholder (swap for real <img> later) */
.img-ph {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background:
        repeating-linear-gradient(45deg, rgba(19,154,214,0.03) 0 12px, transparent 12px 24px),
        var(--ph-bg);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-hint {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* --- Hero refinements (lighter, airier) --- */
.hero-section { margin-bottom: 0; height: 620px; }

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #BFE3F5;
    margin-bottom: 22px;
}

.hero-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hero-subtitle { opacity: 0.92; font-weight: 300; }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* --- Statement + Full-bleed Photo Strip --- */
.statement-section { padding: 110px 0 0; }

.statement-title {
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1.45;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.statement-title strong { font-weight: 700; color: var(--primary); }

.statement-title.sm { font-size: 2rem; }

.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
}

.photo-cell {
    position: relative;
    height: 440px;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #DCE8F1, #C6D8E6);
}

.photo-cell + .photo-cell { border-left: 1px solid rgba(255,255,255,0.5); }

.photo-cell .photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.photo-cell:hover .photo-img { transform: scale(1.05); }

.photo-cell figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 30px 18px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(15,44,89,0.75), transparent);
}

/* --- Numbered Feature Blocks --- */
.feature-blocks {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding-top: 120px;
    padding-bottom: 120px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-num {
    display: block;
    font-family: var(--font-en);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-tint);
    margin-bottom: 18px;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 26px;
}

.feature-visual .img-ph { aspect-ratio: 3 / 2; box-shadow: var(--shadow-md); }

/* --- Clinic Flat Cards --- */
.clinic-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 54px;
}

.clinic-body p { min-height: 2.6em; }

.clinic-flat {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.clinic-flat:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-tint);
}

.clinic-thumb {
    height: 200px;
    background: var(--ph-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.clinic-thumb .clinic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.clinic-flat:hover .clinic-img { transform: scale(1.05); }

.clinic-body { padding: 30px 28px 34px; }

.clinic-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.clinic-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- Circle Icon Shortcuts --- */
.shortcut-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0 10px;
}

.shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.shortcut-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.shortcut-circle svg { width: 38px; height: 38px; }

.shortcut:hover .shortcut-circle {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
}

.shortcut-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* --- Hours + Location Strip --- */
.info-strip { background: var(--bg-light); margin-top: 100px; padding: 90px 0; }

.info-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.info-hours h3 {
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 26px;
}

.info-hours ul { list-style: none; margin-bottom: 30px; }

.info-hours li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    max-width: 380px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
}

.info-hours li span:first-child { color: var(--text-muted); font-weight: 500; flex-shrink: 0; white-space: nowrap; }
.info-hours li span:last-child { color: var(--primary-dark); font-weight: 600; text-align: right; }
.info-hours li.off span:last-child { color: var(--accent-red); }

.info-location .img-ph.map { aspect-ratio: 16 / 9; }

/* 홈의 약도 미리보기. 자리표시자(.img-ph)가 계속 박스 높이를 잡아 주고,
   지도가 준비되면 그 위를 덮는다. 지도는 클릭을 받지 않고 바깥 <a> 로
   흘려보내, 눌렀을 때 오시는 길로 넘어가게 한다. */
.info-map {
    position: relative;
    display: block;
}

.home-map-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    visibility: hidden;
    pointer-events: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.home-map-canvas.is-ready {
    visibility: visible;
}

.info-address {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 대표전화 강조 밴드 */
.info-tel-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 48px;
    padding: 28px 24px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    border-radius: var(--border-radius-md);
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.info-tel-band:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.info-tel-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-tel-icon svg { width: 30px; height: 30px; }
.info-tel-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.info-tel-label {
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 4px;
}
.info-tel-number {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .info-tel-band {
        flex-direction: column;
        gap: 12px;
        margin-top: 36px;
        padding: 24px;
        text-align: center;
    }
    .info-tel-number { font-size: 2rem; }
}

/* --- Fixed Quick Menu (side rail) --- */
.quick-menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 990;
    width: 92px;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-right: none;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    box-shadow: -6px 0 24px rgba(15,44,89,0.08);
    overflow: hidden;
    text-align: center;
}

.qm-head {
    background: linear-gradient(160deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.35;
    padding: 16px 4px;
}

.qm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 16px 6px;
    border-bottom: 1px solid var(--line);
    color: var(--primary-dark);
    transition: background var(--transition-fast);
}

.qm-item svg { width: 24px; height: 24px; color: var(--primary); }
.qm-item span { font-size: 0.78rem; font-weight: 600; }
.qm-item strong { font-size: 0.66rem; font-weight: 700; color: var(--primary); letter-spacing: -0.3px; }
.qm-item:hover { background: var(--primary-light); }

.qm-top {
    width: 100%;
    padding: 14px 4px;
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: var(--bg-white);
    cursor: pointer;
}

.qm-top:hover { color: var(--primary); }

/* --- Checkup page (flat) --- */
.checkup-target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.checkup-target {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    padding: 40px 22px;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
}

.ct-icon { width: 46px; height: 46px; color: var(--primary); }

.checkup-target p { font-weight: 600; color: var(--primary-dark); line-height: 1.6; }

.checkup-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.checkup-item {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    padding: 34px 30px;
    transition: all var(--transition-normal);
}

.checkup-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-tint); transform: translateY(-4px); }

.ci-icon { width: 40px; height: 40px; color: var(--primary); display: block; margin-bottom: 18px; }

.checkup-item h4 { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.checkup-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* --- GNB Dropdown --- */
.gnb-has-menu { position: relative; height: 100%; display: flex; align-items: center; }

.gnb-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    display: flex;
    flex-direction: column;
    min-width: 176px;
    gap: 2px;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition-normal);
    z-index: 1005;
}

/* Tighter GNB to fit the enumerated categories.
   Every item gets the same hit area regardless of label length. */
.gnb-list { gap: 0; }
.gnb-item {
    font-size: 0.92rem;
    padding: 8px 10px;
    min-width: 104px;
    justify-content: center;
    text-align: center;
}
.btn-cta { white-space: nowrap; flex-shrink: 0; }
.btn-cta { padding: 9px 18px; font-size: 0.85rem; }

.gnb-has-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
}

.gnb-has-menu:hover .gnb-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-col { display: flex; flex-direction: column; }

.dropdown-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.dropdown-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
    text-align: left;
}

.dropdown-link:hover { background: var(--primary-light); color: var(--primary); font-weight: 600; }

/* --- Mobile drawer groups --- */
.drawer-group { display: flex; flex-direction: column; gap: 12px; }

.drawer-group-title { font-size: 0.82rem; font-weight: 800; color: var(--primary); letter-spacing: 0.5px; }

.drawer-item.drawer-sub { font-size: 1rem; font-weight: 600; color: var(--text-muted); padding-left: 12px; }
.drawer-item.drawer-sub:hover { color: var(--primary); }

/* --- Mobile bottom CTA bar --- */
.mobile-cta-bar { display: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .gnb-item { font-size: 0.85rem; padding: 8px 6px; min-width: 92px; }
    .statement-title { font-size: 2.1rem; }
    .photo-cell { height: 300px; }
    .feature-row { grid-template-columns: 1fr; gap: 36px; }
    .feature-row.reverse .feature-text,
    .feature-row.reverse .feature-visual { order: 0; }
    .clinic-cards { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .checkup-target-grid { grid-template-columns: repeat(2, 1fr); }
    .checkup-item-grid { grid-template-columns: repeat(2, 1fr); }
    .info-strip-grid { grid-template-columns: 1fr; gap: 40px; }
    .shortcut-row { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .doctor-profile { grid-template-columns: 1fr; gap: 30px; }
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-cell.wide { grid-column: span 2; }
}

/* --- 병원소개: 의료진 소개 & 병원 둘러보기 --- */
.doctor-profile {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.doctor-photo .doctor-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: block;
}

.doctor-photo .img-ph { aspect-ratio: 3 / 4; }

.doctor-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.doctor-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius-sm);
    display: block;
}

.feature-visual .feature-doc-img {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: block;
}

.feature-visual .feature-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: block;
}

/* --- 병원소개: 인사말 --- */
.greeting-block {
    max-width: 780px;
}

.greeting-title {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
    margin: 14px 0 30px;
}

.greeting-block .doctor-message {
    font-size: 1.08rem;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 22px;
}

.greeting-sign {
    margin-top: 34px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.greeting-sign strong { color: var(--primary-dark); font-weight: 700; }

@media (max-width: 768px) {
    .greeting-title { font-size: 1.8rem; }
}

.doctor-name {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.doctor-name span {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 6px;
    font-family: var(--font-en);
}

.doctor-lead {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.8;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.tour-cell {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.tour-cell.tour-tall { grid-row: span 2; }

.tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-normal);
}

.tour-cell:hover .tour-img { transform: scale(1.04); }

.tour-cell figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 16px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(15,44,89,0.72), transparent);
}

@media (max-width: 768px) {
    .tour-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .tour-cell.tour-tall { grid-row: span 1; }
    .doctor-name { font-size: 1.5rem; }
}

/* --- 첨단 장비 (Advanced Equipment) --- */
.equip-section { margin-top: 30px; }
.equip-head { text-align: center; margin-bottom: 40px; }
.equip-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 12px auto 0;
    line-height: 1.6;
}
.equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.equip-card {
    margin: 0;
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.equip-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-tint);
    transform: translateY(-4px);
}
.equip-thumb {
    height: 190px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}
.equip-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.equip-card figcaption { padding: 16px 14px; text-align: center; }
.equip-name {
    display: block;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.02rem;
    margin-bottom: 5px;
}
.equip-model {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .equip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .equip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .equip-thumb { height: 150px; padding: 14px; }
}

/* --- 대표 장비 피처 (Leica Proveo) --- */
.equip-feature {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) 1.15fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 52px;
    padding: 36px;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.equip-feature-media {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30);
    background: #fff;
}
.equip-feature-media img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.equip-feature-badge {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #eaf1fb;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.equip-feature-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}
.equip-feature-title span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b9cdea;
    margin-left: 6px;
}
.equip-feature-sub {
    font-size: 1.15rem;
    font-weight: 700;
    color: #eaf1fb;
    margin-bottom: 16px;
}
.equip-feature-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}
.equip-feature-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.equip-feature-points span {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #eaf1fb;
}
.equip-subhead {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 26px;
}

@media (max-width: 768px) {
    .equip-feature {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px;
        text-align: center;
    }
    .equip-feature-media img { max-height: 340px; }
    .equip-feature-desc { margin: 0 auto; }
    .equip-feature-points { justify-content: center; }
    .equip-feature-title { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .quick-menu { display: none; }

    .statement-section { padding-top: 70px; }
    .statement-title { font-size: 1.7rem; }
    .statement-title.sm { font-size: 1.5rem; }

    .photo-strip { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
    .photo-cell { height: 220px; }

    .feature-blocks { gap: 64px; padding-top: 70px; padding-bottom: 70px; }
    .feature-text h3 { font-size: 1.6rem; }
    .feature-num { font-size: 2.6rem; }

    .checkup-target-grid,
    .checkup-item-grid { grid-template-columns: 1fr; }

    .shortcut-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .shortcut-circle { width: 76px; height: 76px; }
    .shortcut-circle svg { width: 30px; height: 30px; }
    .shortcut-label { font-size: 0.85rem; }

    .info-strip { margin-top: 60px; padding: 60px 0; }
    .gnb-dropdown { display: none; }

    /* Mobile bottom CTA bar */
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 995;
        box-shadow: 0 -4px 16px rgba(15,44,89,0.12);
    }
    .mobile-cta-bar a {
        flex: 1;
        text-align: center;
        padding: 15px 0;
        font-size: 0.98rem;
        font-weight: 700;
        color: #fff;
    }
    .mcb-call { background: var(--primary-dark); }
    body { padding-bottom: 52px; }
}

/* ==========================================================================
   질환 상세 페이지 (Disease Clinic) — 백내장 샘플
   ========================================================================== */

/* Hero banner */
.dc-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background:
        linear-gradient(90deg, rgba(15,44,89,0.85) 0%, rgba(15,44,89,0.55) 100%),
        url('../assets/images/interior_equipment.jpg');
    background-size: cover;
    background-position: center;
}
.dc-hero-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    color: #fff;
}
.dc-hero-sub {
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.5px;
}
.dc-hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    margin: 6px 0 14px;
    letter-spacing: -0.01em;
}
.dc-hero-desc {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.92;
    max-width: 640px;
    line-height: 1.6;
}

/* Section shell */
.dc-section {
    padding: 90px 20px;
}
.dc-section.dc-bg { background: var(--bg-light); }
.dc-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.dc-head { text-align: center; margin-bottom: 56px; }
.dc-eyebrow {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.dc-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.dc-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text-muted);
}
.dc-lead strong { color: var(--primary); font-weight: 700; }

/* Eye anatomy diagram */
.dc-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}
.dc-diagram figure { margin: 0; text-align: center; }
.dc-eye { width: 260px; max-width: 74vw; height: auto; }
.dc-diagram figcaption {
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.dc-diagram .cloudy figcaption { color: var(--accent-red); }
.dc-arrow {
    font-size: 2.2rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Vision comparison */
.dc-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.dc-vision { margin: 0; }
.dc-scene {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    line-height: 0;
}
.dc-scene-svg { width: 100%; height: auto; display: block; }
.dc-vision.early .dc-scene-svg { filter: blur(2.5px) saturate(0.82) brightness(1.04); }
.dc-vision.late  .dc-scene-svg { filter: blur(6px) saturate(0.55) brightness(1.12); }
.dc-vision.early .dc-scene::after,
.dc-vision.late  .dc-scene::after {
    content: '';
    position: absolute;
    inset: 0;
}
.dc-vision.early .dc-scene::after { background: rgba(210,180,110,0.14); }
.dc-vision.late  .dc-scene::after { background: rgba(206,168,74,0.30); }
.dc-vision figcaption {
    margin-top: 16px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border-radius: 999px;
    padding: 8px 0;
    font-size: 0.98rem;
}
.dc-vision.late figcaption { background: var(--primary-dark); }
.dc-vision-note {
    text-align: center;
    margin-top: 34px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Self-diagnosis checklist */
.dc-checklist {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--primary-tint);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.dc-checklist-head {
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-family: var(--font-en);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 1.2rem;
    padding: 18px;
}
.dc-checklist ul { list-style: none; margin: 0; padding: 14px 32px; }
.dc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 1.05rem;
    color: var(--text-main);
}
.dc-checklist li:last-child { border-bottom: none; }
.dc-checklist li svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--primary); margin-top: 1px; }

/* Causes grid */
.dc-causes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
}
/* 4개짜리 원인 그리드는 3열에서 3+1로 떨어지므로 2+2로 배치한다. */
.dc-causes.dc-duo { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
.dc-cause { text-align: center; }
.dc-cause-icon {
    width: 108px;
    height: 108px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}
.dc-cause:hover .dc-cause-icon { transform: translateY(-5px); border-color: var(--primary); }
.dc-cause-icon svg { width: 46px; height: 46px; }
.dc-cause h4 { font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.dc-cause p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Treatment cases */
.dc-treatment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.dc-case {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    padding: 40px 34px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.dc-case.primary { border-color: var(--primary); box-shadow: var(--shadow-md); }
.dc-case-icon {
    width: 84px; height: 84px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.dc-case.primary .dc-case-icon { background: var(--primary); color: #fff; }
.dc-case-icon svg { width: 40px; height: 40px; }
.dc-case-label { display: block; font-family: var(--font-en); font-weight: 600; letter-spacing: 1px; color: var(--primary); font-size: 0.9rem; margin-bottom: 8px; }
.dc-case h3 { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; }
.dc-case p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.7; }
.dc-emphasis {
    margin-top: 44px;
    text-align: center;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.dc-emphasis strong { display: block; margin-top: 18px; color: var(--primary); font-size: 1.2rem; font-weight: 700; }
.dc-link { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.dc-link:hover { color: var(--primary-dark); }

/* IOL lens cards */
.dc-lens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* 카드가 4개인 경우 3+1로 떨어지므로 2+2로 배치한다. */
.dc-lens.dc-duo { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
.dc-lens-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.dc-lens-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dc-lens-card .dc-case-icon { margin-left: 0; }
.dc-lens-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.dc-lens-card p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.7; }

/* Surgery process steps */
.dc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: dcstep;
}
.dc-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    padding: 34px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.dc-step-num {
    width: 46px; height: 46px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}
.dc-step h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.dc-step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* CTA band */
.dc-cta {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}
.dc-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.dc-cta p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 32px; }
.dc-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dc-cta-btns .btn { min-width: 190px; }
.dc-cta-btns .btn-white { background: #fff; color: var(--primary-dark); font-weight: 700; padding: 15px 30px; border-radius: 50px; }
.dc-cta-btns .btn-white:hover { background: #eaf4fb; }
.dc-cta-btns .btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.7); padding: 15px 30px; border-radius: 50px; font-weight: 600; }
.dc-cta-btns .btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* Disclaimer */
.dc-disclaimer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 26px 20px 60px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .dc-causes { grid-template-columns: repeat(2, 1fr); }
    .dc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dc-hero { min-height: 240px; }
    .dc-hero-title { font-size: 2.4rem; }
    .dc-section { padding: 60px 18px; }
    .dc-head { margin-bottom: 40px; }
    .dc-title { font-size: 1.8rem; }
    .dc-vision-grid { grid-template-columns: 1fr; }
    .dc-treatment { grid-template-columns: 1fr; }
    .dc-lens,
    .dc-lens.dc-duo { grid-template-columns: 1fr; }
    .dc-diagram { gap: 18px; }
    .dc-arrow { transform: rotate(90deg); }
}
@media (max-width: 480px) {
    .dc-causes,
    .dc-causes.dc-duo { grid-template-columns: 1fr; }
    .dc-steps { grid-template-columns: 1fr; }
}

/* --- 질환별 증상 시각효과 (터널시야 / 중심암점 / 근거리 흐림) --- */
.dc-vision-grid.dc-duo { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }

.dc-vision.tunnel-2 .dc-scene::after,
.dc-vision.tunnel-3 .dc-scene::after,
.dc-vision.scotoma-2 .dc-scene::after,
.dc-vision.scotoma-3 .dc-scene::after { content: ''; position: absolute; inset: 0; }

.dc-vision.tunnel-2 .dc-scene::after { background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(12,20,35,0.9) 66%); }
.dc-vision.tunnel-3 .dc-scene::after { background: radial-gradient(circle at 50% 50%, transparent 15%, rgba(12,20,35,0.95) 40%); }

.dc-vision.scotoma-2 .dc-scene::after { background: radial-gradient(circle at 50% 46%, rgba(45,35,25,0.92) 0 7%, rgba(45,35,25,0.5) 13%, transparent 24%); }
.dc-vision.scotoma-3 .dc-scene-svg { filter: blur(1.2px); }
.dc-vision.scotoma-3 .dc-scene::after { background: radial-gradient(circle at 50% 46%, rgba(28,20,12,0.96) 0 14%, rgba(28,20,12,0.55) 22%, transparent 36%); }

.dc-vision.bluronly .dc-scene-svg { filter: blur(4px) brightness(1.02); }

.dc-vision.tunnel-3 figcaption,
.dc-vision.scotoma-3 figcaption,
.dc-vision.bluronly figcaption { background: var(--primary-dark); }

/* --- 체크리스트 체크표시 (CSS) --- */
.dc-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23139AD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --- 대상/장점 리스트 (드림렌즈 등) --- */
.dc-pointlist {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.dc-pointlist .dc-point {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    font-size: 1.02rem;
    color: var(--text-main);
    font-weight: 500;
}
.dc-pointlist .dc-point svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--primary); }
@media (max-width: 768px) {
    .dc-vision-grid.dc-duo { grid-template-columns: 1fr; }
    .dc-pointlist { grid-template-columns: 1fr; }
}

/* --- 형제 질환 탭 (같은 카테고리 내 질환 전환) --- */
.dc-siblings {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.dc-siblings-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
}
.dc-sib {
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.dc-sib:hover { border-color: var(--primary); color: var(--primary); }
.dc-sib.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- 비급여 진료비용 안내 (#pricing) --- */
.fee-container {
    padding-top: 70px;
    padding-bottom: 90px;
}

.fee-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--primary-light);
    border: 1px solid var(--primary-tint);
    border-radius: var(--border-radius-md);
    padding: 22px 26px;
    margin-bottom: 30px;
}
.fee-notice svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--primary); margin-top: 2px; }
.fee-notice p { font-size: 0.98rem; line-height: 1.7; color: var(--ink-soft); }
.fee-notice strong { color: var(--primary-dark); font-weight: 700; }

.fee-jumps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}
.fee-jump {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: var(--font-ko);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all var(--transition-fast);
}
.fee-jump:hover { border-color: var(--primary); color: var(--primary); }

.fee-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 32px 36px;
    margin-bottom: 30px;
    scroll-margin-top: 110px;
}

.fee-group-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 14px;
}
.fee-group-head h2 { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); }
.fee-group-head span { font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; color: var(--text-light); }

.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th,
.fee-table td {
    text-align: left;
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
}
.fee-table thead th {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
    padding-top: 14px;
    padding-bottom: 10px;
}
.fee-table thead th:last-child,
.fee-table td { text-align: right; }
.fee-table tbody th {
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}
.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td { border-bottom: none; }
.fee-table tbody tr:hover th,
.fee-table tbody tr:hover td { background: var(--bg-light); }

.fee-unit {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
}
.fee-amount {
    font-family: var(--font-en);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-variant-numeric: tabular-nums;
}
.fee-won { margin-left: 3px; font-size: 0.9rem; color: var(--text-muted); }

.fee-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.fee-foot p { font-size: 0.85rem; line-height: 1.6; color: var(--text-light); }
.fee-foot p::before { content: '※ '; }
.fee-tel {
    flex-shrink: 0;
    padding: 11px 24px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition-fast);
}
.fee-tel:hover { background: var(--primary); color: #fff; }

@media (max-width: 768px) {
    .fee-container { padding: 50px 18px 70px; }
    .fee-notice { gap: 12px; padding: 18px; margin-bottom: 24px; }
    .fee-notice svg { width: 22px; height: 22px; }
    .fee-notice p { font-size: 0.92rem; }
    .fee-notice br { display: none; }
    .fee-jumps { gap: 8px; margin-bottom: 34px; }
    .fee-jump { padding: 8px 15px; font-size: 0.88rem; }
    .fee-group { padding: 24px 18px; margin-bottom: 22px; }
    .fee-group-head h2 { font-size: 1.18rem; }
    .fee-group-head span { display: none; }
    .fee-table th,
    .fee-table td { padding: 13px 4px; }
    .fee-table tbody th { font-size: 0.94rem; }
    .fee-unit { display: block; margin-left: 0; margin-top: 3px; }
    .fee-amount { font-size: 1rem; }
    .fee-foot { justify-content: center; text-align: center; }
}

/* ==========================================================================
   법적 고지 문서 (개인정보처리방침 · 이용약관)
   조문이 길어 읽기 편한 것이 전부인 화면이다. 본문 폭을 좁혀 한 줄이
   너무 길어지지 않게 하고, 조 제목과 본문의 간격으로 위계를 만든다.
   ========================================================================== */

.legal-doc {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.85;
}

.legal-meta {
    margin: 0 0 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--primary-tint);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.legal-lead {
    margin: 0 0 28px;
    color: var(--text-muted);
}

/* 문서에서 가장 먼저 읽혀야 하는 한 가지를 담는 상자.
   방침에서는 "이 사이트는 개인정보를 모으지 않는다",
   약관에서는 "게시된 의학정보가 진료를 대체하지 않는다" 이다. */
.legal-callout {
    margin: 0 0 40px;
    padding: 24px 26px;
    border: 1px solid var(--primary-tint);
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius-sm);
    background: var(--primary-light);
}

.legal-callout h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.legal-callout p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.96rem;
}

.legal-doc h2 {
    margin: 44px 0 14px;
    color: var(--primary-dark);
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.legal-doc h2:first-of-type { margin-top: 0; }

.legal-doc p { margin: 0 0 14px; }

.legal-doc ul {
    margin: 0 0 18px;
    padding-left: 20px;
    list-style: disc;
}

.legal-doc li { margin-bottom: 8px; }

.legal-doc strong { color: var(--primary-dark); font-weight: 600; }

.legal-doc a { color: var(--primary); text-decoration: underline; }
.legal-doc a:hover { color: var(--primary-hover); }

/* 조문에 딸린 단서. 본문보다 한 톤 낮춰 "덧붙임"으로 읽히게 한다. */
.legal-note {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 표는 좁은 화면에서 줄바꿈으로 뭉개지는 대신 가로로 밀리게 둔다. */
.legal-table-wrap {
    margin: 0 0 20px;
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.legal-table th,
.legal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--primary-tint);
    text-align: left;
}

.legal-table thead th {
    border-bottom: 2px solid var(--primary);
    color: var(--primary-dark);
    font-weight: 600;
    white-space: nowrap;
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td { border-bottom: none; }

.legal-contact {
    margin: 22px 0;
    padding: 22px 24px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
}

.legal-contact dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 16px;
    margin: 0;
}

.legal-contact dt {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.legal-contact dd {
    margin: 0;
    font-size: 0.96rem;
}

@media (max-width: 768px) {
    .legal-doc { font-size: 0.95rem; line-height: 1.8; }
    .legal-doc h2 { margin: 34px 0 12px; font-size: 1.06rem; }
    .legal-callout { padding: 20px; margin-bottom: 32px; }
    .legal-callout h3 { font-size: 1rem; }
    .legal-callout p { font-size: 0.92rem; }
    .legal-table { font-size: 0.9rem; }
    .legal-table th,
    .legal-table td { padding: 11px 12px; }
    .legal-contact { padding: 18px; }
    /* 좁은 화면에서 150px 라벨 칸을 유지하면 값이 눌린다. 위아래로 쌓는다. */
    .legal-contact dl { grid-template-columns: 1fr; gap: 4px; }
    .legal-contact dd { margin-bottom: 10px; }
    .legal-contact dd:last-child { margin-bottom: 0; }
}
