/* ========================================
   메인 페이지 - 완전 리디자인
   모든 클래스 mp- 접두사 사용
   ======================================== */

/* ===== HERO (슬라이더 - 풀스크린) ===== */
.mp-hero {
    position: relative;
    overflow: hidden;
    background: #111;
    height: 100vh;
    min-height: 600px;
}
.mp-hero-swiper {
    width: 100%;
    height: 100%;
}
.mp-hero-swiper .swiper-slide {
    overflow: hidden;
}
.mp-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 페이지네이션 */
.mp-hero-pagination {
    bottom: 24px !important;
}
.mp-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.4s;
    border: 2px solid rgba(255,255,255,0.8);
}
.mp-hero-pagination .swiper-pagination-bullet-active {
    width: 32px;
    background: #fff;
    border-color: #fff;
}
/* 좌우 화살표 */
.mp-hero-prev,
.mp-hero-next {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.mp-hero-prev:hover,
.mp-hero-next:hover {
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.mp-hero-prev::after,
.mp-hero-next::after {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333 !important;
}

/* ===== 공통 버튼 ===== */
.mp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    padding: 16px 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: -0.2px;
}
.mp-btn--primary {
    background: linear-gradient(135deg, #c8102e, #e42040);
    color: #fff;
    box-shadow: 0 4px 24px rgba(200,16,46,0.35);
}
.mp-btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(200,16,46,0.45);
}
.mp-btn--glass {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.mp-btn--glass:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-3px);
}
.mp-btn--white {
    background: #fff;
    color: #c8102e;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.mp-btn--white:hover {
    color: #c8102e;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.mp-btn--outline-white {
    background: transparent;
    color: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(255,255,255,0.2);
}
.mp-btn--outline-white:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    transform: translateY(-3px);
}
.mp-btn--md {
    padding: 14px 32px;
}

/* ===== 퀵 메뉴 (아이콘 카드) ===== */
.mp-quick {
    padding: 64px 0 72px;
    background: #f8f9fb;
}
.mp-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mp-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 32px;
    background: #fff;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border-color: transparent;
    color: inherit;
}
.mp-quick-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s;
}
.mp-quick-icon i {
    font-size: 1.6rem;
    color: var(--color-primary);
}
.mp-quick-card:hover .mp-quick-icon {
    background: var(--color-primary);
    transform: scale(1.08);
}
.mp-quick-card:hover .mp-quick-icon i {
    color: #fff;
}
.mp-quick-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.mp-quick-desc {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.6;
    margin: 0 0 16px;
}
.mp-quick-more {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s;
}
.mp-quick-card:hover .mp-quick-more {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 클리닉 소개 ===== */
.mp-about {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}
.mp-about-inner {
    display: flex;
    align-items: center;
    gap: 72px;
}
.mp-about-visual {
    flex-shrink: 0;
    position: relative;
    width: 420px;
}
.mp-about-img-main {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.mp-about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-about-img-main:hover img {
    transform: scale(1.04);
}
.mp-about-float-card {
    position: absolute;
    bottom: -24px;
    right: -32px;
    background: #fff;
    border-radius: 18px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    animation: mpBounce 3s ease-in-out infinite;
}
@keyframes mpBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.mp-about-float-card i {
    font-size: 1.6rem;
    color: var(--color-primary);
}
.mp-about-float-card strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1a1a1a;
}
.mp-about-float-card span {
    display: block;
    font-size: 0.78rem;
    color: #999;
}
.mp-about-body {
    flex: 1;
    min-width: 0;
}
.mp-section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.mp-about-title {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -1px;
    margin-bottom: 0;
}
.mp-about-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ff6b81);
    border-radius: 3px;
    margin: 20px 0 28px;
}
.mp-about-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 2;
    margin-bottom: 32px;
}
.mp-about-desc strong {
    color: #1a1a1a;
    font-weight: 700;
}
.mp-about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-bottom: 36px;
}
.mp-about-feat {
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mp-about-feat i {
    color: var(--color-primary);
    font-size: 1rem;
}
.mp-about-feat img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ===== 이미지 배너 (패럴랙스 디바이더) ===== */
.mp-divider {
    position: relative;
    padding: 100px 0;
    background: url('/images/content/lab-background.jpg') center 30% / cover no-repeat fixed;
    overflow: hidden;
}
.mp-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.mp-divider .container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.mp-divider-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}
.mp-divider-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 16px;
}
.mp-divider-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}
.mp-divider-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}
.mp-divider-stat strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
}
.mp-divider-stat span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
    .mp-divider { padding: 64px 0; }
    .mp-divider-title { font-size: 1.4rem; }
    .mp-divider-stats { gap: 32px; }
    .mp-divider-stat strong { font-size: 1.6rem; }
}

/* ===== 갤러리 ===== */
.mp-gallery {
    padding: 88px 0 96px;
    background: #f7f8fa;
}
.mp-section-head {
    text-align: center;
    margin-bottom: 52px;
}
.mp-section-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.mp-section-sub {
    font-size: 0.9rem;
    color: #999;
}
.mp-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}
.mp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mp-gallery-item:hover img {
    transform: scale(1.06);
}
.mp-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s;
}
.mp-gallery-item:hover .mp-gallery-overlay {
    opacity: 1;
}
.mp-gallery-caption {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 갤러리 내비게이션 */
.mp-gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}
.mp-gallery-prev,
.mp-gallery-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}
.mp-gallery-prev:hover,
.mp-gallery-next:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(200,16,46,0.1);
}
.mp-gallery-dots {
    position: static !important;
    width: auto !important;
}
.mp-gallery-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #ccc;
    opacity: 1;
    transition: all 0.4s;
}
.mp-gallery-dots .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--color-primary);
}

/* ===== 진료시간 + 공지 ===== */
.mp-info {
    padding: 80px 0 88px;
    background: #fff;
}
.mp-hours-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mp-hours-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(200,16,46,0.08);
    pointer-events: none;
}
.mp-hours-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}
.mp-hours-head i {
    font-size: 1.3rem;
    color: #ff6b81;
}
.mp-hours-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}
.mp-hours-body {
    margin-bottom: 28px;
}
.mp-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mp-hours-row:last-child {
    border-bottom: none;
}
.mp-hours-day {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mp-dot--on { background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.4); }
.mp-dot--pause { background: #fbbf24; box-shadow: 0 0 8px rgba(251,191,36,0.4); }
.mp-dot--off { background: #f87171; box-shadow: 0 0 8px rgba(248,113,113,0.4); }
.mp-hours-time {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.mp-hours-closed {
    color: #f87171 !important;
    font-weight: 700 !important;
}
.mp-hours-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.mp-hours-link:hover {
    color: #fff;
}

/* 공지 카드 */
.mp-notice-card {
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mp-notice-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.mp-notice-head > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mp-notice-head i {
    font-size: 1.2rem;
    color: var(--color-primary);
}
.mp-notice-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}
.mp-notice-more {
    font-size: 0.82rem;
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.mp-notice-more:hover {
    color: var(--color-primary);
}
.mp-notice-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mp-notice-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    gap: 12px;
    padding: 32px 0;
}
.mp-notice-empty i {
    font-size: 2.4rem;
    color: #e0e0e0;
}
.mp-notice-empty p {
    font-size: 0.88rem;
    color: #bbb;
    margin: 0;
}
.mp-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-notice-list li + li {
    border-top: 1px solid #f0f0f0;
}
.mp-notice-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}
.mp-notice-item:hover {
    background: #f9f9fb;
    color: #333;
}
.mp-notice-badge {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    padding: 2px 6px;
}
.mp-notice-title {
    flex: 1;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mp-notice-date {
    flex-shrink: 0;
    font-size: 0.78rem;
    color: #aaa;
}

/* ===== CTA ===== */
.mp-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #c8102e 0%, #a50d24 50%, #8b0a1e 100%);
    position: relative;
    overflow: hidden;
}
.mp-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.mp-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    pointer-events: none;
}
.mp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.mp-cta-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.mp-cta-text strong {
    font-weight: 900;
}
.mp-cta-text p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.mp-cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

/* ===== 반응형 ===== */
@media (max-width: 1199px) {
    .mp-about-visual { width: 360px; }
    .mp-about-inner { gap: 52px; }
}
@media (max-width: 991px) {
    .mp-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mp-about { padding: 72px 0; }
    .mp-about-inner {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }
    .mp-about-visual { width: 320px; margin: 0 auto; }
    .mp-about-float-card { right: -16px; bottom: -16px; }
    .mp-about-line { margin: 20px auto 28px; }
    .mp-about-features { justify-items: center; }
    .mp-about-body { text-align: center; }
    .mp-about-body .mp-btn { margin: 0 auto; }
    .mp-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 767px) {
    .mp-info { padding: 56px 0 64px; }
}
@media (max-width: 575px) {
    .mp-hero-prev, .mp-hero-next { width: 36px !important; height: 36px !important; }
    .mp-hero-prev::after, .mp-hero-next::after { font-size: 14px !important; }
    .mp-btn { padding: 14px 28px; font-size: 0.88rem; justify-content: center; border-radius: 12px; }
    .mp-quick { padding: 40px 0 48px; }
    .mp-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mp-quick-card { padding: 28px 16px 24px; border-radius: 16px; }
    .mp-quick-icon { width: 48px; height: 48px; margin-bottom: 14px; }
    .mp-quick-icon i { font-size: 1.3rem; }
    .mp-quick-title { font-size: 0.92rem; }
    .mp-quick-desc { font-size: 0.75rem; margin-bottom: 8px; }
    .mp-quick-more { opacity: 1; transform: none; }
    .mp-about { padding: 56px 0; }
    .mp-about-visual { width: 260px; }
    .mp-about-float-card { padding: 14px 20px; }
    .mp-about-float-card i { font-size: 1.2rem; }
    .mp-about-float-card strong { font-size: 0.82rem; }
    .mp-about-title { font-size: 1.5rem; }
    .mp-about-features { grid-template-columns: 1fr; text-align: left; justify-items: start; }
    .mp-gallery { padding: 56px 0 64px; }
    .mp-section-title { font-size: 1.4rem; }
    .mp-gallery-item { border-radius: 16px; }
    .mp-hours-card { padding: 28px 24px; border-radius: 20px; }
    .mp-notice-card { padding: 28px 24px; border-radius: 20px; }
    .mp-cta { padding: 56px 0; }
    .mp-cta-text h2 { font-size: 1.3rem; }
    .mp-cta-actions { flex-direction: column; width: 100%; }
    .mp-cta-actions .mp-btn { justify-content: center; }
}
