/* ==========================================================================
   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;
}

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-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: 32px;
}

.gnb-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 8px 0;
    position: relative;
}

.gnb-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

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

.gnb-item:hover::after,
.gnb-item.active::after {
    width: 100%;
}

.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;
}

.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;
    margin-bottom: auto;
}

.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;
}

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

.drawer-btn {
    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;
}

.hero-container {
    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 1.2fr;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.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;
    font-size: 1.05rem;
    font-weight: 500;
}

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

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

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

.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);
}

.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 {
    font-size: 2.5rem;
    position: relative;
    z-index: 5;
    animation: bounce 2s infinite;
}

@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;
}

/* 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;
    background:
        repeating-linear-gradient(45deg, rgba(15,44,89,0.04) 0 14px, transparent 14px 28px),
        linear-gradient(180deg, #DCE8F1, #C6D8E6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.5);
}

.photo-cell:last-child { border-right: none; }

.photo-watermark {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(15,44,89,0.35);
}

.photo-cell .photo-hint { color: rgba(15,44,89,0.5); font-weight: 600; }

/* --- 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:
        repeating-linear-gradient(45deg, rgba(19,154,214,0.04) 0 14px, transparent 14px 28px),
        var(--ph-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.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(5, 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;
    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; }
.info-hours li span:last-child { color: var(--primary-dark); font-weight: 600; }
.info-hours li.off span:last-child { color: var(--accent-red); }

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

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

/* --- 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 */
.gnb-list { gap: 22px; }
.gnb-item { font-size: 0.92rem; white-space: nowrap; }
.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) {
    .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%; height: 100%; object-fit: cover; border-radius: var(--border-radius-md); }

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

/* --- 병원소개: 인사말 --- */
.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(3, 1fr);
    gap: 20px;
}

.tour-cell.wide { grid-column: span 2; }

.tour-cell .img-ph { aspect-ratio: 4 / 3; height: 100%; }
.tour-cell.wide .img-ph { aspect-ratio: 8 / 3; }

@media (max-width: 768px) {
    .tour-grid { grid-template-columns: 1fr; }
    .tour-cell.wide { grid-column: span 1; }
    .tour-cell.wide .img-ph { aspect-ratio: 4 / 3; }
    .doctor-name { font-size: 1.5rem; }
}

@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); }
    .mcb-book { background: var(--primary); }
    body { padding-bottom: 52px; }
}
