/* ===================================
   Global Styles & Variables — v11
   =================================== */
:root {
    --primary-navy: #1a2b4a;
    --secondary-navy: #2c3e5f;
    --accent-gold: #c9a860;
    --accent-gold-light: #d4b876;
    --text-dark: #2d2d2d;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    width: 100%;
    /* overflow-x: hidden 제거 → eq-scroll-outer의 가로 스크롤을 막지 않음 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-navy);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-navy);
    position: relative;
    word-break: keep-all;
    line-height: 1.4;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 0;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

.btn-primary:hover {
    background: var(--secondary-navy);
    border-color: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: white;
}

.btn-kakao {
    background: #FEE500;
    color: #3C1E1E !important;
    border-color: #FEE500;
}

.btn-kakao:hover {
    background: #f0d900;
    border-color: #f0d900;
    color: #3C1E1E !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn i {
    margin-right: 8px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-brand-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: none;
}
.nav-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}
.nav-brand-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}
.nav-brand-sub {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 0.04em;
}
@media (max-width: 768px) {
    .nav-brand-logo { height: 54px; }
    .nav-brand-name { font-size: 1.35rem; }
    .nav-brand-sub  { font-size: 0.8rem; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    background-image: url('../images/clinic-lobby.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.85) 0%, rgba(44, 62, 95, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 50px;
    line-height: 1.5;
    letter-spacing: -1px;
    color: white;
    word-break: keep-all;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

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

/* ===================================
   Treatments Section
   =================================== */
.treatments-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.treatment-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.treatment-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-image img {
    transform: scale(1.1);
}

.treatment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 43, 74, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.treatment-card:hover .treatment-overlay {
    opacity: 1;
}

.treatment-more {
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

.treatment-content {
    padding: 30px 25px;
}

.treatment-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary-navy);
    word-break: keep-all;
    line-height: 1.4;
}

.treatment-content p {
    color: var(--text-gray);
    line-height: 1.7;
    word-break: keep-all;
}

/* ===================================
   Cases Section
   =================================== */
.cases-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.case-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-image {
    aspect-ratio: 3/2;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.case-label {
    padding: 15px 20px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-navy);
}

/* ===================================
   Activity Gallery (Dr. Park)
   =================================== */
.activity-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.activity-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.activity-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.activity-label {
    padding: 12px 16px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary-navy);
    line-height: 1.4;
    word-break: keep-all;
}

@media (max-width: 900px) {
    .activity-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .activity-gallery {
        grid-template-columns: 1fr;
    }
}


.doctor-section {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.doctor-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.doctor-text h2 {
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--primary-navy);
    word-break: keep-all;
}

.doctor-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
    word-break: keep-all;
}

.doctor-book-badge {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
}

/* ===================================
   Book Section
   =================================== */
.book-showcase {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.book-cover {
    position: relative;
}

.book-cover img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.bestseller-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-gold);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.bestseller-badge i {
    margin-right: 5px;
}

.book-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-navy);
    word-break: keep-all;
    line-height: 1.4;
}

.book-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    color: var(--text-gray);
    font-size: 1rem;
    flex-wrap: wrap;
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-meta i {
    color: var(--accent-gold);
}

.book-highlights {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.highlight-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.book-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===================================
   YouTube Section
   =================================== */
.youtube-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.youtube-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.youtube-video-item {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* ===================================
   Consultation Section
   =================================== */
.consultation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    text-align: center;
    color: white;
}

.consultation-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    word-break: keep-all;
    line-height: 1.4;
}

.consultation-section p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
    word-break: keep-all;
    line-height: 1.6;
}

.consultation-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    word-break: keep-all;
    line-height: 1.4;
}

.footer-info p {
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
    word-break: keep-all;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-right: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-social {
    text-align: center;
    padding: 30px 0;
}

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-weight: 500;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.youtube {
    background: #FF0000;
    color: white;
}

.social-btn.youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.instagram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    opacity: 0.7;
}

.footer-disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===================================
   Detail Page Styles
   =================================== */
.detail-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: white;
    text-align: center;
}

.detail-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    word-break: keep-all;
    line-height: 1.4;
}

.detail-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    word-break: keep-all;
    line-height: 1.6;
}

.detail-section {
    padding: 80px 0;
}

.detail-section:nth-child(even) {
    background: var(--bg-light);
}

.detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-navy);
    word-break: keep-all;
    line-height: 1.4;
}

.detail-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-navy);
    word-break: keep-all;
    line-height: 1.4;
}

.detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
    word-break: keep-all;
}

.detail-content ul {
    list-style: none;
    padding: 0;
}

.detail-content ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    word-break: keep-all;
}

.detail-content ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
    word-break: keep-all;
    line-height: 1.4;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
    word-break: keep-all;
    line-height: 1.7;
}

.cta-box {
    background: var(--bg-light);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-navy);
    word-break: keep-all;
    line-height: 1.4;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    word-break: keep-all;
    line-height: 1.7;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 40px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 1.6rem;
        word-break: keep-all;
        line-height: 1.5;
        margin-bottom: 40px;
    }

    .hero-title-line1,
    .hero-title-line2 {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

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

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

    .doctor-text h2,
    .detail-hero h1,
    .detail-content h2,
    .consultation-section h2,
    .section-title {
        word-break: keep-all;
        line-height: 1.4;
    }

    .doctor-description,
    .detail-hero p,
    .detail-content p,
    .news-excerpt {
        word-break: keep-all;
        line-height: 1.7;
    }

    .news-card h3 {
        word-break: keep-all;
        line-height: 1.5;
    }

    .youtube-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .book-cover {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .consultation-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .consultation-buttons .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .social-buttons {
        flex-direction: row;
        gap: 10px;
    }

    .social-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 2rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
        line-height: 1.5;
        word-break: keep-all;
    }

    .hero-title-line1,
    .hero-title-line2 {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .treatments-grid,
    .cases-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .equipment-card--last {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
    }

    .treatment-content h3 {
        font-size: 1.3rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .treatment-content p {
        font-size: 0.95rem;
        word-break: keep-all;
        line-height: 1.7;
    }

    .book-cover {
        max-width: 300px;
    }

    .book-meta {
        flex-direction: column;
        gap: 10px;
    }

    .book-buttons {
        flex-direction: column;
    }

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

    .consultation-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .consultation-buttons .btn-large {
        width: 100%;
        justify-content: center;
    }

    .detail-hero h1 {
        font-size: 1.8rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .detail-hero p {
        font-size: 1rem;
        word-break: keep-all;
        line-height: 1.6;
    }

    .detail-content h2 {
        font-size: 1.6rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .detail-content p {
        font-size: 1rem;
        word-break: keep-all;
        line-height: 1.8;
    }

    .youtube-videos-grid {
        grid-template-columns: 1fr;
    }

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

    .news-card h3 {
        font-size: 1.05rem;
        word-break: keep-all;
        line-height: 1.5;
    }

    .equipment-section {
        padding: 60px 0 40px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .treatments-section,
    .youtube-section,
    .reviews-section,
    .doctor-section,
    .consultation-section {
        padding: 60px 0;
    }

    .news-excerpt {
        font-size: 0.9rem;
        word-break: keep-all;
        line-height: 1.7;
    }

    .doctor-content {
        flex-direction: column;
        gap: 30px;
    }

    .doctor-text h2 {
        font-size: 1.5rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .doctor-description {
        font-size: 0.95rem;
        word-break: keep-all;
        line-height: 1.7;
    }

    .feature-item h4 {
        font-size: 1.1rem;
        word-break: keep-all;
    }

    .feature-item p {
        font-size: 0.95rem;
        word-break: keep-all;
        line-height: 1.7;
    }

    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-info p {
        font-size: 0.9rem;
        word-break: keep-all;
        line-height: 1.7;
    }

    .footer-social h4 {
        font-size: 1.1rem;
    }

    .social-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .consultation-section h2 {
        font-size: 1.8rem;
        word-break: keep-all;
        line-height: 1.4;
    }

    .consultation-section p {
        font-size: 1rem;
        word-break: keep-all;
        line-height: 1.7;
    }
}

/* ===================================
   Equipment Scroll Section
   =================================== */
.equipment-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0 80px;
}

/* 스크롤 외부 래퍼: 전체 너비 사용, overflow-x만 허용 */
.eq-scroll-outer {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding: 16px 40px 32px;
    /* 스크롤바 스타일 */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) #ebebeb;
}

.eq-scroll-outer::-webkit-scrollbar {
    height: 6px;
}
.eq-scroll-outer::-webkit-scrollbar-track {
    background: #ebebeb;
    border-radius: 10px;
}
.eq-scroll-outer::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

/* 카드들을 한 줄로 늘어놓는 트랙 */
.eq-track {
    display: inline-flex;
    gap: 24px;
    /* 최소 너비를 강제해 가로 스크롤이 발생하게 함 */
    min-width: max-content;
}

/* 개별 카드 */
.eq-card {
    width: 260px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.eq-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* 이미지 영역 */
.eq-img {
    width: 100%;
    height: 280px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.eq-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.eq-card:hover .eq-img img {
    transform: scale(1.05);
}

/* 이름 영역 */
.eq-name {
    padding: 18px 16px;
    text-align: center;
}

.eq-name strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 4px;
}

.eq-name span {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* 모바일: 카드 조금 더 작게 */
@media (max-width: 640px) {
    .eq-scroll-outer {
        padding: 12px 16px 24px;
    }

    .eq-track {
        gap: 16px;
    }

    .eq-card {
        width: 220px;
    }

    .eq-img {
        height: 230px;
        padding: 18px;
    }

    .eq-name {
        padding: 14px 12px;
    }

    .eq-name strong {
        font-size: 1rem;
    }

    .eq-name span {
        font-size: 0.8rem;
    }
}

/* Extra small devices (360px and down) */
@media (max-width: 360px) {
    .eq-card {
        width: 190px;
    }

    .eq-img {
        height: 200px;
        padding: 14px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-buttons .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* ===================================
   News Section
   =================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-gold);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.news-card:hover::before {
    height: 100%;
}

.news-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.news-card h3 {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-weight: 600;
    word-break: keep-all;
}

.news-excerpt {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
    word-break: keep-all;
}
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.news-source {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-source i {
    color: var(--accent-gold);
    margin-right: 5px;
}

.news-link {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.news-card:hover .news-link {
    color: var(--accent-gold);
}

.news-link i {
    transition: var(--transition);
}

.news-card:hover .news-link i {
    transform: translateX(5px);
}

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .news-card {
        padding: 25px;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card h3 {
        font-size: 1.05rem;
    }
}

/* ── 모바일 하단 고정 예약바 ── */
.mobile-booking-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-booking-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    }

    .mobile-booking-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 46px;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .mobile-booking-bar .mbb-call {
        background: var(--primary-navy);
        color: #fff;
    }

    .mobile-booking-bar .mbb-naver {
        background: #03C75A;
        color: #fff;
    }

    .mobile-booking-bar .mbb-kakao {
        background: #FEE500;
        color: #3C1E1E;
    }

    /* 예약바에 가려지지 않도록 하단 여백 확보 */
    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom));
    }

    /* 맨 위로 버튼이 예약바와 겹치지 않도록 위로 이동 */
    .scroll-top-btn {
        bottom: 78px !important;
        right: 14px !important;
        width: 44px !important;
        height: 44px !important;
    }
}
