/* ========================================
   기본 리셋 & 전역 스타일
   ======================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-primary: #5b4ba5;
    --color-primary-dark: #3f3380;
    --color-accent: #ffd400;
    --color-text: #222;
    --color-text-sub: #666;
    --color-line: #e5e7eb;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f8fa;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,.08);
    --radius: 8px;
    --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ========================================
   공통 섹션 / 타이틀
   ======================================== */
.section { padding: 120px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 4px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}
.section-line {
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    margin: 0 auto 20px;
}
.section-desc {
    color: var(--color-text-sub);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

/* ========================================
   버튼 공통
   ======================================== */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all .2s;
    font-size: 15px;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-weight: 500;
    transition: all .2s;
    font-size: 14px;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-ghost {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--color-line);
    color: var(--color-text-sub);
    border-radius: var(--radius);
    font-weight: 500;
    transition: all .2s;
    background: #fff;
    font-size: 15px;
}
.btn-ghost:hover { background: var(--color-bg-alt); }

/* ========================================
   헤더
   ======================================== */
#header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    transition: all .3s;
    border-bottom: 1px solid transparent;
}
#header.scrolled {
    background: #fff;
    border-bottom-color: var(--color-line);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo { display: flex; align-items: center; }
.logo-img {
    height: 36px;
    width: auto;
    display: block;
    transition: transform .2s;
}
.logo:hover .logo-img { transform: scale(1.03); }
.nav-menu { display: flex; gap: 36px; }
.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: color .2s;
    position: relative;
    padding: 4px 0;
}
.nav-menu a:hover { color: var(--color-primary); }
.nav-menu a::after {
    content: '';
    position: absolute; left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: width .3s;
}
.nav-menu a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
    width: 24px; height: 2px; background: var(--color-text);
    transition: all .3s;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(100deg,
            rgba(30, 20, 70, 0.78) 0%,
            rgba(50, 35, 110, 0.55) 45%,
            rgba(30, 20, 70, 0.45) 100%),
        url('../images/intro.png') center/cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(91, 75, 165, .35) 0%, transparent 55%),
        radial-gradient(circle at 85% 85%, rgba(255, 212, 0, .12) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 3;
    animation: fadeUp 1s ease;
    max-width: 640px;
}
.hero-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    letter-spacing: 6px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: .9;
}
.hero-title {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 40px;
    word-break: keep-all;
}
.hero-title span { color: var(--color-accent); }
.hero-desc {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 36px;
}
.scroll-indicator {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: #fff;
}
.scroll-indicator span {
    display: block;
    width: 2px; height: 40px;
    background: #fff;
    margin: 0 auto 8px;
    animation: scrollAnim 2s infinite;
    transform-origin: top;
}
.scroll-indicator p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
}
@keyframes scrollAnim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   About
   ======================================== */
.section-about { background: #fff; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text h3 {
    font-size: 28px;
    margin-bottom: 24px;
    line-height: 1.4;
}
.about-text p {
    color: var(--color-text-sub);
    margin-bottom: 16px;
    font-size: 16px;
}
.about-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--color-line);
}
.about-points li {
    text-align: center;
}
.about-points strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.1;
}
.about-points span {
    font-size: 13px;
    color: var(--color-text-sub);
    white-space: nowrap;
}
.about-image-box {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    aspect-ratio: 1 / 1;
    max-width: 420px;
    margin: 0 auto;
}
.about-image-box picture,
.about-image-box img {
    width: 100%;
    height: 100%;
    display: block;
}
.about-image-box img {
    object-fit: contain;
    /* SVG는 영향 없음. 작은 PNG/JPG가 확대될 때 약간의 선명도 보정 */
    image-rendering: -webkit-optimize-contrast;
}

/* ========================================
   Products
   ======================================== */
.section-products { background: var(--color-bg-alt); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.product-card:hover .product-thumb img { transform: scale(1.04); }

.product-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #fff;
    overflow: hidden;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .35s ease;
    display: block;
    padding: 8px;
    background: #fff;
}
.product-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--color-accent);
    color: #1a1d24;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.product-info {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-cat {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.product-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}
.product-card p {
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.5;
}

/* ===== 제품 상세 모달 (대형) =====
   .modal-box(아래쪽 정의)의 max-width:560px를 확실하게 덮어쓰기 위해
   specificity를 올려서 선언함(.modal-box.modal-box-lg) */
.modal-box.modal-box-lg {
    max-width: 1400px;
    width: 95vw;
    max-height: 94vh;
}
.modal-box.modal-box-lg .modal-head {
    padding: 18px 28px;
}
.modal-box.modal-box-lg .modal-head h3 {
    font-size: 22px;
    color: var(--color-primary);
}
.modal-box.modal-box-lg .modal-body { padding: 28px 32px; }

.pm-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 36px;
    align-items: start;
}
.pm-image {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 20px;
    min-height: 480px;
}
.pm-image img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}
.pm-info .product-cat { margin-bottom: 10px; font-size: 12px; }
.pm-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}
.pm-desc {
    font-size: 15px;
    color: var(--color-text-sub);
    line-height: 1.65;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-line);
}
.pm-spec {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.pm-spec th, .pm-spec td {
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid var(--color-line);
    vertical-align: top;
    line-height: 1.55;
}
.pm-spec th {
    width: 36%;
    color: var(--color-primary);
    font-weight: 600;
    background: #fafbfc;
    font-size: 13px;
}
.pm-spec td { color: var(--color-text); }

/* 큰 화면에서 이미지 더 크게 */
@media (min-width: 1440px) {
    .pm-image { min-height: 560px; }
    .pm-image img { max-height: 75vh; }
    .pm-info h4 { font-size: 26px; }
}
.pm-spec .spec-list { margin: 0; padding: 0; }
.pm-spec .spec-list li {
    position: relative;
    padding-left: 12px;
    line-height: 1.7;
}
.pm-spec .spec-list li::before {
    content: '·';
    position: absolute;
    left: 2px;
    color: var(--color-primary);
    font-weight: 700;
}
@media (max-width: 960px) {
    .pm-grid { grid-template-columns: 1fr; gap: 24px; }
    .pm-image { min-height: 320px; padding: 14px; }
    .pm-image img { max-height: 50vh; }
    .modal-box-lg .modal-body { padding: 20px; }
    .modal-box-lg .modal-head { padding: 16px 20px; }
    .modal-box-lg .modal-head h3 { font-size: 18px; }
    .pm-info h4 { font-size: 19px; }
}

/* ========================================
   History
   ======================================== */
.section-history { background: #fff; }
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: var(--color-line);
}
.timeline-item {
    position: relative;
    padding-bottom: 48px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px; top: 8px;
    width: 18px; height: 18px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.timeline-content ul li {
    color: var(--color-text);
    padding: 6px 0;
    font-size: 15px;
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
}
.timeline-content ul li::before {
    content: '•';
    position: absolute; left: 0;
    color: var(--color-primary);
    font-weight: 700;
}
.timeline-content ul li em {
    font-style: normal;
    color: var(--color-text-sub);
    font-size: 13px;
    margin-left: 4px;
}
.t-month {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    background: #eaf2fe;
    color: var(--color-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: 1px;
}

/* ========================================
   QnA
   ======================================== */
.section-qna { background: var(--color-bg-alt); }
.qna-wrap {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.qna-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-text);
}
.qna-count { font-size: 15px; color: var(--color-text-sub); }
.qna-count span { color: var(--color-primary); font-weight: 700; }

.qna-table {
    width: 100%;
    border-collapse: collapse;
}
.qna-table thead th {
    padding: 14px 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-sub);
    border-bottom: 1px solid var(--color-line);
    background: var(--color-bg-alt);
}
.qna-table tbody tr {
    cursor: pointer;
    transition: background .15s;
}
.qna-table tbody tr:hover { background: var(--color-bg-alt); }
.qna-table tbody td {
    padding: 16px 8px;
    border-bottom: 1px solid var(--color-line);
    font-size: 14px;
}
.col-no { width: 70px; text-align: center; }
.col-title { text-align: left; }
.col-author { width: 120px; text-align: center; }
.col-date { width: 140px; text-align: center; }
.col-status { width: 80px; text-align: center; }
.lock-icon { margin-right: 6px; font-size: 13px; }
.qna-table .secret-title {
    color: var(--color-text-sub);
    font-style: italic;
}
.qna-table .status-badge,
.detail-meta .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.status-waiting { background: #fff3e0; color: #e65100; }
.status-done    { background: #e8f5e9; color: #2e7d32; }

.qna-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-sub);
}

/* ===== 페이지네이션 ===== */
.qna-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-text);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
}
.page-btn:hover:not(:disabled):not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.page-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    cursor: default;
}
.page-btn:disabled {
    color: #cbd2db;
    cursor: not-allowed;
}

/* ===== 폼 체크박스 ===== */
.form-check { margin-top: 4px; }
.check-label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    color: var(--color-text) !important;
    cursor: pointer;
}
.check-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* ===== 답변 영역 ===== */
.qna-answer {
    background: #f0ecfb;
    border-left: 4px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 6px;
    margin-top: 16px;
}
.qna-answer strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
}
.qna-answer-body {
    white-space: pre-wrap;
    line-height: 1.7;
    font-size: 14px;
    color: var(--color-text);
}

/* ===== 관리자 패널 (상세 모달 내) ===== */
.admin-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff8e1;
    border: 1px dashed #f4b400;
    border-radius: 8px;
}
.admin-badge {
    font-size: 13px;
    font-weight: 700;
    color: #8a6d00;
    letter-spacing: .3px;
}

/* ===== 답변 편집기 ===== */
.answer-editor {
    margin-top: 12px;
    padding: 14px;
    background: #fafbfc;
    border: 1px solid var(--color-line);
    border-radius: 8px;
}
.answer-editor[hidden] { display: none; }
.answer-editor textarea {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 110px;
    transition: border-color .15s;
}
.answer-editor textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.answer-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

/* 공통 small 버튼 */
.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed; inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }
.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.5);
    animation: fadeIn .2s;
}
.modal-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow: auto;
    animation: modalUp .25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-line);
}
.modal-head h3 { font-size: 18px; font-weight: 700; }
.modal-close {
    font-size: 28px;
    color: var(--color-text-sub);
    line-height: 1;
    width: 32px; height: 32px;
}
.modal-body { padding: 24px; }

.form-row { margin-bottom: 18px; }
.form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}
.form-row .req { color: #e53935; }
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s;
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--color-text-sub);
}
.detail-meta span strong { color: var(--color-text); margin-right: 6px; }
.detail-content {
    padding: 8px 0 24px;
    white-space: pre-wrap;
    line-height: 1.7;
    font-size: 15px;
    min-height: 120px;
}
.detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--color-line);
}
.btn-danger {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e53935;
    color: #e53935;
    border-radius: 6px;
    font-size: 14px;
    transition: all .2s;
}
.btn-danger:hover { background: #e53935; color: #fff; }

/* ========================================
   Location
   ======================================== */
.section-location { background: #fff; }
.branch-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.branch-tab {
    padding: 10px 28px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-sub);
    background: #fff;
    transition: all .2s;
}
.branch-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.branch-tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(91,75,165,.3);
}
.location-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
}
.map-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}
.map-tabs {
    position: absolute;
    top: 12px; left: 12px;
    display: flex;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.map-tab {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-sub);
    transition: all .2s;
}
.map-tab.active {
    background: var(--color-primary);
    color: #fff;
}

.location-info {
    padding: 20px 0;
}
.location-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-text);
}
.info-list li {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
}
.info-label {
    width: 80px;
    font-weight: 600;
    color: var(--color-text);
    flex-shrink: 0;
}
.info-value { color: var(--color-text-sub); }
.info-value a { color: var(--color-primary); }

.location-buttons {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
#footer {
    background: #1a1d24;
    color: #aaa;
    padding: 50px 0 30px;
    font-size: 13px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.footer-left p { margin-bottom: 4px; }
.footer-right { display: flex; align-items: flex-end; }

/* ========================================
   Scroll Top 버튼
   ======================================== */
#scrollTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
    z-index: 90;
}
#scrollTop.show {
    opacity: 1;
    pointer-events: auto;
}
#scrollTop:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   Reveal Animation
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   반응형
   ======================================== */
@media (max-width: 960px) {
    .section { padding: 80px 0; }
    .section-title { font-size: 30px; }
    .hero-title { font-size: 42px; }
    .hero-content { max-width: 100%; }
    .hero {
        background-position: center right -100px;
    }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .location-grid { grid-template-columns: 1fr; }
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-h); left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        border-top: 1px solid var(--color-line);
        box-shadow: var(--shadow-md);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px; display: block; }
    .hamburger { display: flex; }
    .col-author { display: none; }
    .qna-wrap { padding: 20px; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 34px; }
    .hero-desc { font-size: 15px; }
    .about-points { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .qna-table thead { display: none; }
    .qna-table, .qna-table tbody, .qna-table tr, .qna-table td { display: block; width: 100%; }
    .qna-table tr {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-line);
    }
    .qna-table td {
        padding: 4px 0;
        text-align: left !important;
        border: none;
    }
    .qna-table td.col-title { font-size: 15px; font-weight: 600; }
    .qna-table td.col-date,
    .qna-table td.col-no { font-size: 12px; color: var(--color-text-sub); }
}
