/* ============================================================
   우주한방병원 - Premium Korean Medicine Hospital
   Design System & Styles
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
    /* Primary Colors */
    --navy:        #0a0e1a;
    --navy-light:  #121830;
    --navy-mid:    #1a2040;
    --charcoal:    #1e2235;

    /* Gold Spectrum */
    --gold:        #c9a96e;
    --gold-light:  #dfc08a;
    --gold-dark:   #a88a4e;
    --gold-muted:  rgba(201,169,110,0.15);
    --gold-glow:   rgba(201,169,110,0.4);

    /* Neutrals */
    --ivory:       #f5f0e8;
    --ivory-dark:  #e8e0d0;
    --cream:       #faf7f2;
    --warm-gray:   #9a9490;
    --warm-gray-l: #b8b2ac;
    --text-dark:   #2a2520;
    --text-body:   #5a5550;
    --text-light:  #8a8580;

    /* Accent */
    --burgundy:    #6b2d3e;
    --sage:        #4a6b5a;
    --ink:         #1a1a2e;

    /* Layout */
    --container:   1280px;
    --section-pad: clamp(80px, 10vw, 140px);
    --gap:         clamp(20px, 3vw, 40px);

    /* Typography */
    --font-serif:  'Hahmlet', 'Gowun Batang', Georgia, serif;
    --font-sans:   'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
    --font-display:'Hahmlet', var(--font-serif);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition:  0.4s var(--ease-out-expo);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

::selection {
    background: var(--gold);
    color: var(--navy);
}

/* ── Layout ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

/* ── Preloader ── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-circle {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(201,169,110,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preloader-hanja {
    font-family: 'Zhi Mang Xing', var(--font-serif);
    font-size: 2.4rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    font-weight: 400;
}

.preloader-sub {
    font-size: 0.85rem;
    color: var(--warm-gray);
    letter-spacing: 0.2em;
}

/* ── Top Info Bar ── */
.top-bar {
    background: var(--navy);
    border-bottom: 1px solid rgba(201,169,110,0.12);
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.top-bar-left svg {
    vertical-align: -2px;
    margin-right: 4px;
    opacity: 0.6;
}

.top-bar-divider {
    opacity: 0.2;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.top-bar-phone:hover {
    color: var(--gold-light);
}

.top-bar-phone svg {
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(-12deg); }
    20% { transform: rotate(12deg); }
    30% { transform: rotate(-8deg); }
    40% { transform: rotate(8deg); }
    50% { transform: rotate(0); }
}

/* ── Korean Pattern Overlay ── */
.pattern-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.015;
    background-image:
        radial-gradient(circle at 25% 25%, var(--gold) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--gold) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ── Header / Navigation ── */
.header {
    position: fixed;
    top: 37px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.5s var(--ease-out-expo);
}

.header.scrolled {
    top: 0;
    padding: 12px 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,169,110,0.1);
}

.nav {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-hanja {
    font-family: 'Zhi Mang Xing', var(--font-serif);
    font-size: 1.7rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    font-weight: 400;
}

.logo-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.1em;
    font-weight: 300;
    padding-left: 12px;
    border-left: 1px solid rgba(201,169,110,0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 36px);
}

.nav-link {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.03em;
    padding: 8px 0;
    position: relative;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(201,169,110,0.2);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201,169,110,0.35);
    color: var(--navy) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-menu-header .logo-hanja {
    font-size: 2rem;
    margin-bottom: 40px;
    display: block;
}

.mobile-menu-list li {
    margin: 0;
}

.mobile-menu-list a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: rgba(255,255,255,0.8);
    padding: 14px 0;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    color: var(--gold);
}

.mobile-menu-contact {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(201,169,110,0.15);
}

.mobile-phone {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.mobile-menu-contact p {
    color: var(--warm-gray);
    font-size: 0.85rem;
}

/* ── Hero Section — Full Image ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(10, 14, 26, 0.88) 0%,
            rgba(10, 14, 26, 0.65) 40%,
            rgba(10, 14, 26, 0.40) 70%,
            rgba(10, 14, 26, 0.55) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-content-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-sub-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 1px solid rgba(201,169,110,0.3);
    padding-bottom: 12px;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    color: #fff;
    word-break: keep-all;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
    margin-bottom: 36px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Hero Info Cards (오른쪽 4개 아이콘 카드) */
.hero-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-info-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201,169,110,0.12);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
}

.hero-info-card:hover {
    background: rgba(201,169,110,0.1);
    border-color: rgba(201,169,110,0.3);
    transform: translateY(-4px);
}

/* 교통사고 강조 카드 */
.hero-info-card--accent {
    background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(239,68,68,0.08));
    border-color: rgba(239,68,68,0.4);
    animation: cardBounce 2.5s ease-in-out infinite;
    text-decoration: none;
}

.hero-info-card--accent strong {
    color: #fca5a5 !important;
}

.hero-info-card--accent span {
    color: #fca5a5 !important;
    font-weight: 500;
}

.hero-info-card--accent .hero-info-icon {
    color: #f87171;
}

.hero-info-card--accent:hover {
    background: rgba(239,68,68,0.25);
    border-color: #f87171;
    animation: none;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(239,68,68,0.15);
}

@keyframes cardBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
    50% { transform: translateY(-3px); }
    70% { transform: translateY(-6px); }
}

.hero-info-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    color: var(--gold);
}

.hero-info-icon svg {
    width: 100%;
    height: 100%;
}

.hero-info-card strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
}

.hero-info-card span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

/* Hero Bottom Stats Bar */
.hero-bottom-bar {
    position: relative;
    z-index: 2;
    background: rgba(10,14,26,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201,169,110,0.1);
    padding: 24px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.4s var(--ease-out-expo);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: 0 4px 25px rgba(201,169,110,0.25);
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(201,169,110,0.4);
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold span,
.btn-gold svg {
    position: relative;
    z-index: 1;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,169,110,0.08);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 60px);
}

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

.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.hero-stat-unit {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: var(--gold);
    font-weight: 400;
}

.hero-stat-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.25), transparent);
}

/* ── Section Labels & Titles ── */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-label--center {
    justify-content: center;
}

.section-label-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section-label-text {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    color: var(--text-body);
    line-height: 1.8;
    max-width: 600px;
}

.section-header {
    margin-bottom: clamp(40px, 6vw, 70px);
}

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

.section-header--center .section-subtitle {
    margin: 0 auto;
}

.text-gold {
    color: var(--gold);
}

/* ── About Section ── */
/* ── AI Chat Section ── */
.section-ai {
    background: linear-gradient(180deg, #eee8de 0%, #e4ddd0 100%);
    overflow: hidden;
}

.ai-section-header {
    margin-bottom: 36px;
}

/* Chat Device Frame */
.chat-device {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 12px 40px rgba(0,0,0,0.08),
        0 40px 80px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid rgba(0,0,0,0.06);
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--navy);
    border-bottom: 1px solid rgba(201,169,110,0.1);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201,169,110,0.3);
}

.chat-avatar-status {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #34D399;
    border-radius: 50%;
    border: 2px solid var(--navy);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(52,211,153,0); }
}

.chat-doc-name {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

.chat-doc-status {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

.chat-badge-ai {
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

/* Chat Body */
.chat-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background:
        linear-gradient(180deg, #faf8f5, #f6f3ee);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

/* Chat Messages */
.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: msgIn 0.4s var(--ease-out-expo);
}

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

.chat-msg--ai {
    align-self: flex-start;
}

.chat-msg--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 4px;
}

.chat-msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.chat-bubble--ai {
    background: #fff;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.chat-bubble--user {
    background: var(--navy);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

.chat-typing-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.chat-typing-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-typing-dots {
    display: flex;
    gap: 4px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.chat-typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--warm-gray);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Quick Tags inside chat */
.chat-tags {
    padding: 4px 0 8px;
}

.chat-tags-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.chat-tags-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ai-tag {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--ivory-dark);
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-tag:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--gold-muted);
}

/* AI Result inside chat */
.chat-result {
    background: #fff;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.chat-result-section {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.chat-result-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.chat-result-section:first-child {
    padding-top: 0;
}

.chat-result-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.chat-result-label span {
    font-size: 1rem;
}

.chat-result-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.chat-result p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
}

.chat-result ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-result ul li {
    font-size: 0.86rem;
    color: var(--text-body);
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.6;
}

.chat-result ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.chat-result-highlight {
    background: linear-gradient(135deg, var(--gold-muted), rgba(201,169,110,0.05));
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 4px;
}

.chat-result-highlight p {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.88rem;
}

/* Recommended Doctor Card */
.chat-doctor-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: 14px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.chat-doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.chat-doctor-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.chat-doctor-info {
    flex: 1;
    min-width: 0;
}

.chat-doctor-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.chat-doctor-name span {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 400;
    margin-left: 4px;
}

.chat-doctor-spec {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.chat-doctor-reason {
    font-size: 0.78rem;
    color: var(--gold-light);
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(201,169,110,0.1);
    border-radius: 8px;
    display: inline-block;
}

.chat-result-cta {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.chat-result-cta .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.85rem;
}

.btn-outline-dark {
    border: 1px solid var(--ivory-dark);
    color: var(--text-body);
}

.btn-outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--gold-muted);
}

/* Chat Input */
.chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.chat-input textarea {
    flex: 1;
    border: 1px solid var(--ivory-dark);
    border-radius: 24px;
    padding: 12px 20px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--text-dark);
    resize: none;
    outline: none;
    background: #faf8f5;
    line-height: 1.4;
    max-height: 80px;
    transition: border-color 0.3s;
}

.chat-input textarea:focus {
    border-color: var(--gold);
}

.chat-input textarea::placeholder {
    color: var(--warm-gray-l);
}

.chat-send {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 3px 12px rgba(201,169,110,0.25);
}

.chat-send:hover {
    transform: scale(1.08);
    box-shadow: 0 5px 20px rgba(201,169,110,0.4);
}

.chat-send:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .chat-device {
        border-radius: 16px;
        min-height: 460px;
    }

    .chat-header {
        padding: 14px 16px;
    }

    .chat-body {
        padding: 16px;
    }

    .chat-input {
        padding: 12px 14px;
    }

    .chat-result-cta {
        flex-direction: column;
    }
}

/* ── About Section ── */
.section-about {
    background: var(--cream);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-img-placeholder,
.facility-placeholder,
.doctor-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-main img,
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-main .about-img-placeholder {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.img-placeholder-inner,
.facility-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    opacity: 0.4;
}

.img-placeholder-inner span,
.facility-placeholder-inner span {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.about-img-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    opacity: 0.2;
    z-index: -1;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 4px solid var(--cream);
}

.about-img-secondary .about-img-placeholder {
    background: linear-gradient(135deg, var(--navy-mid), var(--charcoal));
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    box-shadow: 0 10px 40px rgba(201,169,110,0.3);
    z-index: 2;
}

.about-exp-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.about-exp-text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.about-content .section-subtitle {
    margin-bottom: 36px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.about-feature:hover {
    background: rgba(201,169,110,0.05);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--gold);
}

.about-feature-icon svg {
    width: 100%;
    height: 100%;
}

.about-feature h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.about-feature p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
}

.ink-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.ink-decoration--about {
    bottom: -100px;
    right: -50px;
    background: radial-gradient(ellipse, rgba(201,169,110,0.06) 0%, transparent 70%);
}

/* ── Hospital Intro Video ── */
.section-intro-video {
    background: var(--cream);
}

.intro-video-wrap {
    max-width: 960px;
    margin: 40px auto 0;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
}

.intro-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .intro-video-wrap { border-radius: 14px; }
}

/* ── Philosophy Section ── */
.section-philosophy {
    background: var(--navy);
    color: #fff;
    overflow: hidden;
    padding: var(--section-pad) 0;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.philosophy-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(201,169,110,0.5) 40px,
            rgba(201,169,110,0.5) 41px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(201,169,110,0.5) 40px,
            rgba(201,169,110,0.5) 41px
        );
}

.philosophy-content {
    text-align: center;
    margin-bottom: clamp(50px, 7vw, 80px);
}

.philosophy-title {
    margin: 30px 0;
}

.philosophy-hanja {
    display: block;
    font-family: 'Zhi Mang Xing', var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.25em;
    line-height: 1.2;
}

.philosophy-meaning {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.3em;
    margin-top: 10px;
    font-weight: 600;
}

.philosophy-desc {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: rgba(255,255,255,0.7);
    line-height: 2;
    font-weight: 600;
}

.philosophy-source {
    font-size: 0.95rem;
    color: var(--gold);
    font-style: italic;
    opacity: 0.8;
    font-weight: 600;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.philosophy-pillar {
    padding: 40px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,169,110,0.08);
    border-radius: 8px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.philosophy-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.philosophy-pillar:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(201,169,110,0.2);
    transform: translateY(-5px);
}

.philosophy-pillar:hover::before {
    opacity: 1;
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--gold);
    opacity: 0.4;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    color: var(--gold);
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.pillar-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-weight: 300;
}

/* ── Departments Section ── */
.section-departments {
    background: var(--cream);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.dept-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    border: 1px solid rgba(0,0,0,0.04);
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
}

.dept-card:hover::before {
    transform: scaleX(1);
}

.dept-card-content {
    padding: 36px 32px;
    position: relative;
    z-index: 1;
}

.dept-icon {
    width: 50px;
    height: 50px;
    color: var(--gold);
    margin-bottom: 20px;
}

.dept-icon svg {
    width: 100%;
    height: 100%;
}

.dept-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.dept-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.dept-list {
    margin-bottom: 24px;
}

.dept-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 5px 0;
    padding-left: 16px;
    position: relative;
}

.dept-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-muted);
    border: 1px solid var(--gold);
    transform: translateY(-50%);
}

.dept-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dept-link:hover {
    color: var(--gold);
    gap: 10px;
}

.dept-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    z-index: 0;
}

/* ── Doctors Section ── */
.section-doctors {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.doctor-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s var(--ease-out-expo);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.doctor-img {
    position: relative;
    aspect-ratio: 3/3.5;
    overflow: hidden;
}

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

.doctor-img-placeholder {
    background: linear-gradient(180deg, var(--navy), var(--navy-mid));
    color: var(--gold);
    opacity: 0.5;
}

.doctor-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10,14,26,0.8), transparent);
}

.doctor-img-overlay span {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.doctor-info {
    padding: 28px;
}

.doctor-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.doctor-name span {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 400;
    margin-left: 8px;
}

.doctor-title {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.doctor-career li {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 4px 0;
    padding-left: 14px;
    position: relative;
}

.doctor-career li::before {
    content: '·';
    position: absolute;
    left: 2px;
    color: var(--gold);
    font-weight: 700;
}

/* ── Facilities Section ── */
.section-facilities {
    background: var(--cream);
}

.facilities-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.facility-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
}

.facility-item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.facility-item:hover img {
    transform: scale(1.05);
}

.facility-placeholder {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}

.facility-placeholder-inner {
    color: var(--gold);
    opacity: 0.3;
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(10,14,26,0.85), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.facility-item:hover .facility-overlay {
    transform: translateY(0);
    opacity: 1;
}

.facility-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.facility-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
}

.facility-overlay p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

/* ── Reviews Section ── */
/* ── Video Reviews (Shorts) Section ── */
.section-video-reviews {
    background: var(--navy);
    overflow: hidden;
}

.section-video-reviews .section-title {
    color: #fff;
}

.section-video-reviews .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
    max-width: 960px;
    margin: 0 auto;
}

.shorts-item {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: var(--navy-mid);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.5s var(--ease-out-expo);
}

.shorts-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,169,110,0.15);
}

.shorts-item iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .shorts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .shorts-item {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .shorts-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 20px;
    }
}

/* ── Reviews Section ── */
.section-reviews {
    background: linear-gradient(180deg, var(--ivory), var(--cream));
    overflow: hidden;
    position: relative;
}

.reviews-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background:
        radial-gradient(circle at 20% 30%, var(--gold) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--gold) 0%, transparent 50%);
}

.reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.08;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ── CTA Section ── */
.section-cta {
    background: var(--navy);
    color: #fff;
    padding: clamp(80px, 10vw, 120px) 0;
    overflow: hidden;
    position: relative;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(107,45,62,0.06) 0%, transparent 60%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ── Contact Section ── */
.section-contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--gold-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item p,
.contact-item a {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--gold-dark);
}

.hours-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    max-width: 260px;
    font-size: 0.88rem;
    color: var(--text-body);
}

.hours-row--closed span:last-child {
    color: var(--burgundy);
    font-weight: 500;
}

.contact-transport {
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.contact-transport h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-body);
}

.transport-badge {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.transport-badge--subway {
    background: #3CB44A;
}

.transport-badge--bus {
    background: #3366CC;
    font-size: 0.6rem;
}

.transport-badge--car {
    background: var(--text-dark);
}

/* Contact Form */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(30px, 4vw, 48px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-subtitle {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: var(--burgundy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-l);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-muted);
    background: #fff;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9490' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group--checkbox {
    margin: 24px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-body);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--navy);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}

.checkbox-label a {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* ── Footer ── */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(30px, 4vw, 60px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,169,110,0.1);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-phone a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-hours {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

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

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--gold);
}

/* ── Version Switcher ── */
.version-switcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-sans);
    background: rgba(10,14,26,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(201,169,110,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.version-current {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
}

.version-switch-btn {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    padding: 6px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.version-switch-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

@media (max-width: 640px) {
    .version-switcher {
        bottom: 90px;
        right: 12px;
        padding: 10px 14px;
    }
    .version-current { font-size: 0.65rem; }
    .version-switch-btn { font-size: 0.7rem; padding: 4px 10px; }
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201,169,110,0.4);
}

/* ── Scroll Animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .philosophy-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        max-width: 500px;
    }

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

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

    .doctors-grid .doctor-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .facility-item--large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

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

    .reviews-track .review-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .header {
        top: 0;
    }

    .hero-content-inner {
        grid-template-columns: 1fr;
        padding-top: 100px;
        gap: 30px;
    }

    .hero-info-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .hero-info-card {
        padding: 16px 10px;
    }

    .hero-info-card strong {
        font-size: 0.85rem;
    }

    .hero-info-card span {
        font-size: 0.7rem;
    }

    .hero-info-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctors-grid .doctor-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .facilities-gallery {
        grid-template-columns: 1fr;
    }

    .facility-item--large {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .reviews-track {
        grid-template-columns: 1fr;
    }

    .reviews-track .review-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .cta-actions {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 16px;
    }

    .about-experience-badge {
        top: 15px;
        right: 15px;
        width: 80px;
        height: 80px;
    }

    .about-exp-num {
        font-size: 1.6rem;
    }

    .about-img-frame {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-desc br {
        display: none;
    }

    .philosophy-hanja {
        letter-spacing: 0.1em;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.88rem;
    }

    .btn-lg {
        padding: 16px 32px;
    }

    .review-card {
        padding: 28px;
    }

    .contact-form-card {
        padding: 24px;
    }
}

/* ── Particle Styles ── */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}

/* ── Form Success Animation ── */
.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInScale 0.5s var(--ease-out-expo);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-success svg {
    color: var(--sage);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-body);
    font-size: 0.92rem;
}

/* ── Smooth hover on all interactive elements ── */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ── Print Styles ── */
@media print {
    .header, .hero-particles, .pattern-overlay,
    .back-to-top, .hero-scroll-indicator, #preloader {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-bg {
        display: none;
    }

    .hero-content {
        color: #000;
    }

    .section {
        padding: 30px 0;
    }
}
