/* ============================================
   언커버 안경원 (UNCOVER OPTICAL)
   Clean & Mobile-First Design System v3
   ============================================ */

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

:root {
    --primary-teal: #00786A;
    --primary-teal-dark: #005B50;
    --primary-teal-light: #00958A;
    --bg-white: #ffffff;
    --bg-oak: #f5f1e8;
    --bg-light: #fafafa;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6a6a6a;
    --border: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --font-heading: 'Gowun Dodum', sans-serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

/* --- 2. Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.35;
    font-weight: 400;
    color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.875rem; }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.75rem; }
p  { margin-bottom: 1rem; color: var(--text-secondary); }

/* --- 3. Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--text-light); font-size: 1.05rem; }
.bg-white { background-color: var(--bg-white); }
.bg-oak   { background-color: var(--bg-oak); }

/* --- 4. Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-primary);
    white-space: nowrap;
}
.logo img { height: 36px; width: auto; }

/* Desktop Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 0.4rem 0 0.85rem; /* 아래 패딩 늘려서 드롭다운으로 hover 유지 */
    position: relative;
    white-space: nowrap;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s;
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { width: 100%; }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;          /* 간격 없이 바로 붙임 */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0 0.75rem; /* 위 패딩 줄여서 자연스럽게 */
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}
/* 드롭다운 위에 투명 영역을 ::before로 덮어 hover gap 방지 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: var(--bg-oak);
    color: var(--primary-teal);
}

/* Reservation CTA in Nav */
.nav-cta {
    background: var(--primary-teal);
    color: white !important;
    padding: 0.55rem 1.25rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}
.nav-cta:hover {
    background: var(--primary-teal-dark);
}
.nav-cta::after { display: none !important; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- 5. Hero Section --- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
        url('images/hero_image.jpg') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
    padding-top: 70px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 24px;
}
.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    color: #fff;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.4);
    margin-bottom: 1.25rem;
    word-break: keep-all;
}
.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.85;
    color: rgba(255,255,255,0.92);
    margin-bottom: 2.5rem;
    word-break: keep-all;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- 6. Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--primary-teal); color: #fff; }
.btn-primary:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}
.btn-secondary:hover {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}
.btn-cta {
    background: white;
    color: var(--primary-teal);
    padding: 1rem 2.75rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* --- 7. Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.feature-card {
    background: var(--bg-light);
    padding: 2.25rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-teal);
}
.feature-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}
.feature-icon svg { width: 34px; height: 34px; stroke: white; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; line-height: 1.7; }

/* 왜 언커버인가 — 유튜브 영상 */
.why-video {
    margin-top: 3rem;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    aspect-ratio: 16 / 9;
}
.why-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 8. Content Blocks --- */
.content-section { background: var(--bg-oak); }
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}
.content-block:last-child { margin-bottom: 0; }
.content-block.reverse {
    direction: rtl;
}
.content-block.reverse > * { direction: ltr; }
.content-text p { font-size: 1rem; line-height: 1.85; }
.content-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.content-image img {
    width: 100%; height: auto;
    transition: transform 0.4s;
}
.content-image:hover img { transform: scale(1.04); }

/* --- 9. CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 2rem; }

/* --- 10. Page Hero --- */
.page-hero {
    padding: 130px 0 80px;
    background: linear-gradient(135deg, var(--bg-oak) 0%, var(--bg-white) 100%);
    text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-light); }

/* --- 11. Info Cards (Experience) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.info-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.info-card-image { width: 100%; height: 200px; overflow: hidden; }
.info-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.info-card:hover .info-card-image img { transform: scale(1.08); }
.info-card-content { padding: 1.75rem; }
.info-card-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.info-card-content p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.card-link {
    display: inline-block;
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 0.95rem;
}
.card-link:hover { color: var(--primary-teal-dark); transform: translateX(4px); }

/* --- 12. Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}
.contact-info {
    background: var(--bg-oak);
    padding: 2.5rem;
    border-radius: 12px;
}
.contact-item { margin-bottom: 1.75rem; }
.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-teal);
}
.contact-item p { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }
.contact-item a:hover { color: var(--primary-teal); }

/* --- 13. Footer --- */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.footer-section h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}
.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.9;
    display: block;
    margin-bottom: 0.3rem;
}
.footer-section a:hover { color: var(--primary-teal-light); }
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--primary-teal);
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* --- 14. Channel Sidebar --- */
.channel-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
}
.sidebar-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-teal);
    color: white;
    width: 44px; height: 44px;
    border-radius: 6px 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s;
}
.sidebar-toggle:hover { background: var(--primary-teal-dark); }
.sidebar-toggle svg {
    width: 20px; height: 20px;
    transition: transform 0.3s;
}
.channel-sidebar.open .sidebar-toggle svg {
    transform: rotate(180deg);
}
.sidebar-content {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: white;
    border-radius: 10px 0 0 10px;
    box-shadow: -3px 0 14px rgba(0,0,0,0.13);
    padding: 16px 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}
.channel-sidebar.open .sidebar-content {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.channel-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.channel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #f0f0f0;
    position: relative;
    transition: all 0.25s;
}
.channel-link:hover {
    background: var(--primary-teal);
    transform: scale(1.08);
}
.channel-link svg { width: 22px; height: 22px; }
.channel-tooltip {
    position: absolute;
    right: 52px;
    background: rgba(0,0,0,0.78);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.channel-link:hover .channel-tooltip { opacity: 1; }

/* --- 15. Timeline (kept for compatibility) --- */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: var(--primary-teal);
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
}
.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 3rem;
}
.timeline-content { width: 45%; }
.timeline-year { font-size: 1.4rem; font-weight: 600; color: var(--primary-teal); margin-bottom: 0.4rem; }

/* --- 16. Map Placeholder --- */
.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.map-container iframe { width: 100%; height: 420px; border: none; display: block; }

/* =========================================
   RESPONSIVE — Tablet (≤ 992px)
   ========================================= */
@media (max-width: 992px) {
    .section { padding: 60px 0; }

    /* Nav mobile */
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px; left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1.5rem 0 2rem;
        gap: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 12px rgba(0,0,0,0.1);
    }
    .nav-menu.active { transform: translateX(0); }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu > li > a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
    }
    .nav-menu > li > a::after { display: none; }

    /* Mobile dropdown — always visible inside menu */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: unset;
        background: var(--bg-oak);
        pointer-events: auto;
    }
    .dropdown-menu a {
        padding: 0.7rem 2.25rem;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-cta {
        margin: 1.5rem 1.5rem 0;
        display: inline-block;
        width: calc(100% - 3rem);
        text-align: center;
        padding: 0.85rem 1rem;
        border-radius: 8px;
        font-size: 1rem;
    }

    /* Content blocks stack */
    .content-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .content-block.reverse { direction: ltr; }

    /* Timeline */
    .timeline::before { left: 16px; }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 44px;
    }
    .timeline-content {
        width: 100%;
        text-align: left !important;
        padding: 0 !important;
    }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================
   RESPONSIVE — Mobile (≤ 640px)
   ========================================= */
@media (max-width: 640px) {
    :root { font-size: 15px; }
    .section { padding: 50px 0; }
    .container { padding: 0 16px; }

    /* Hero — mobile image */
    .hero {
        min-height: 80vh;
        padding-top: 70px;
        background:
            linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.42)),
            url('images/hero_mobile.jpg') center / cover no-repeat;
        background-attachment: scroll; /* fix parallax on iOS */
    }
    .hero-content { padding: 0 16px; }
    .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
    .hero-description { font-size: 0.95rem; }
    .hero-subtitle { font-size: 0.8rem; letter-spacing: 2px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }

    /* Page Hero */
    .page-hero { padding: 110px 0 60px; }

    /* Section title */
    .section-title { margin-bottom: 2rem; }

    /* Feature cards — 1 column */
    .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .feature-card { padding: 1.75rem 1.5rem; }
    .feature-icon { width: 60px; height: 60px; }
    .feature-icon svg { width: 28px; height: 28px; }

    /* Cards grid — 1 column */
    .cards-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    /* Contact info */
    .contact-info { padding: 1.75rem; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer { padding: 2.5rem 0 1.25rem; }

    /* CTA buttons */
    .btn { padding: 0.85rem 1.75rem; font-size: 0.95rem; }
    .btn-cta { padding: 0.9rem 2.25rem; }

    /* Channel sidebar hidden on small screens */
    .channel-sidebar { display: none; }
}

/* =========================================
   Extra: prevent overflow on very small
   ========================================= */
@media (max-width: 380px) {
    .logo a span { display: none; }
}

/* =========================================
   CONTACT — 매장 외관 사진
   ========================================= */
.contact-store-photo {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/7;
    margin-bottom: 0;
}
.contact-store-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.4s ease;
}
.contact-store-photo:hover img { transform: scale(1.03); }

@media (max-width: 640px) {
    .contact-store-photo { aspect-ratio: 4/3; }
}

/* =========================================
   브리핑 검안 — 프로세스 사진
   ========================================= */
.briefing-process-photo {
    margin-top: 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/7;
}
.briefing-process-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transition: transform 0.4s ease;
}
.briefing-process-photo:hover img { transform: scale(1.03); }

@media (max-width: 640px) {
    .briefing-process-photo { aspect-ratio: 4/3; }
}

/* =========================================
   솔루션 — 맞춤 설계 사진
   ========================================= */
.solution-custom-photo {
    margin-top: 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/7;
}
.solution-custom-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.4s ease;
}
.solution-custom-photo:hover img { transform: scale(1.03); }

@media (max-width: 640px) {
    .solution-custom-photo { aspect-ratio: 4/3; }
}

/* =========================================
   내부 교육 — 현장 사진
   ========================================= */
.internal-edu-photo {
    margin-top: 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/7;
}
.internal-edu-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.4s ease;
}
.internal-edu-photo:hover img { transform: scale(1.03); }

@media (max-width: 640px) {
    .internal-edu-photo { aspect-ratio: 4/3; }
}

/* =========================================
   안경사 포럼 — 슬라이더
   ========================================= */
.forum-slider {
    position: relative;
    margin-top: 3rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
    user-select: none;
}
.forum-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.forum-slide {
    flex: 0 0 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
}
.forum-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 화살표 버튼 */
.forum-prev,
.forum-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
    z-index: 10;
}
.forum-prev { left: 14px; }
.forum-next { right: 14px; }
.forum-prev:hover,
.forum-next:hover { background: rgba(0,0,0,0.72); }
/* 닷 인디케이터 */
.forum-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}
.forum-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.forum-dot.active {
    background: #fff;
    transform: scale(1.25);
}
@media (max-width: 640px) {
    .forum-slide { aspect-ratio: 4/3; }
    .forum-prev, .forum-next { width: 36px; height: 36px; }
}

/* =========================================
   피팅 — 렌즈 사진 2장 나란히
   ========================================= */
.fitting-lens-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.fitting-lens-photo {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-sm);
}
.fitting-lens-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.fitting-lens-photo:hover img { transform: scale(1.04); }

@media (max-width: 768px) {
    .fitting-lens-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 480px) {
    .fitting-lens-photos { grid-template-columns: 1fr; }
    .fitting-lens-photo { aspect-ratio: 4/3; }
}

/* =========================================
   EXPERIENCE — 왜곡검사기 사진 2열
   ========================================= */
.distortion-photos-exp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.distortion-photo-exp {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #111;
}
.distortion-photo-exp img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.distortion-photo-exp:hover img { transform: scale(1.04); }
.distortion-caption-exp {
    padding: 0.85rem 1rem 0.9rem;
    background: #fff;
}
.distortion-badge-exp {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.4rem;
    letter-spacing: 0.4px;
}
.distortion-badge-exp.good  { background: #e6f5f3; color: var(--primary-teal); }
.distortion-badge-exp.check { background: #fff3e0; color: #e67e22; }
.distortion-caption-exp p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .distortion-photos-exp { grid-template-columns: 1fr; gap: 12px; }
}

/* =========================================
   누진 체험 — 사진 3열 그리드
   ========================================= */
.progressive-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 2rem;
}
.progressive-photo {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
}
.progressive-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.progressive-photo:hover img { transform: scale(1.04); }

@media (max-width: 768px) {
    .progressive-photo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .progressive-photo:last-child {
        grid-column: 1 / 3;
        aspect-ratio: 16/7;
    }
}
@media (max-width: 480px) {
    .progressive-photo-grid { grid-template-columns: 1fr; }
    .progressive-photo:last-child { grid-column: auto; aspect-ratio: 4/3; }
}
