@charset "utf-8";

/* Noto Sans KR 웹폰트 로드 (방문자 기기와 상관없이 동일한 폰트로 표시) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* =========================================================
   [두기텍(주) 통합 스타일시트 - common.css]
   - 컨셉: 깔끔하고 신뢰감 있는 B2B 비즈니스 스타일
   ========================================================= */

/* ---------------------------------------------------------
   1. 기본 변수 및 리셋 (Base & Reset)
   --------------------------------------------------------- */
:root {
    --main-color: #0056b3;   /* 묵직하고 신뢰감 있는 다크 네이비 */
    --accent-color: #0284c7; /* 비즈니스 블루 포인트 */
    --white: #ffffff;
    --border-color: #cbd5e1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-y: scroll; }

body {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    background-color: #f8fafc;
    overflow-x: hidden;
    font-size: 18px;
    color: #334155;
}

/* ---------------------------------------------------------
   2. 레이아웃: 헤더 및 GNB (Header & Navigation)
   --------------------------------------------------------- */
#header { position: fixed; top: 0; width: 100%; z-index: 1000; background-color: var(--main-color); border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-main { height: 85px; display: flex; align-items: center; }
.main-container { max-width: 1300px; margin: 0 auto; width: 100%; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 30px; width: auto; display: block; }

.gnb { display: flex; list-style: none; gap: 50px; }
.gnb li { display: flex; align-items: center; height: 85px; }
.menu-item { display: block !important; height: 36px !important; overflow: hidden !important; text-decoration: none; }
.flip-text { display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.flip-text span { display: block; height: 36px !important; line-height: 36px; font-size: 24px; font-weight: 700; color: rgba(255,255,255,0.85); text-align: center; }
.flip-text .ko { color: #ffd700; }
.gnb li:hover .flip-text { transform: translateY(-36px); }
.menu-item.current .flip-text { transform: translateY(-36px); }

/* 메가메뉴 (2차 메뉴창) */
.mega-menu { 
    position: absolute; top: 85px; left: 50%; transform: translateX(-50%); 
    width: 780px; 
    background: #ffffff; padding: 30px 0; border-bottom: 3px solid var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: 0.3s ease; 
}
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; }
.mega-inner { display: flex; justify-content: center; gap: 40px; }
.mega-col { flex: 0 0 190px; }
.mega-col h3 { font-size: 16px; color: var(--main-color); margin-bottom: 15px; border-bottom: 2px solid var(--border-color); padding-bottom: 8px; letter-spacing: 1px; font-weight: 800; }
/* DATA 메가메뉴: 4칸 (제품별 도면 3칸 + TOOLS) */
.mega-data { width: 1000px; max-width: calc(100vw - 32px); padding-left: 44px; padding-right: 44px; }
.mega-data .mega-inner { gap: 28px; }
.mega-data .mega-col { flex: 0 1 185px; }
.mega-data .mega-col-tool { flex-basis: 250px; padding-left: 28px; border-left: 1px solid var(--border-color); }
.mega-data .flip-text-s span { white-space: nowrap; }
.mega-data .sub-item.mobile-only { display: none !important; }  /* 기술자료 전체: 모바일에서만 (PC는 DATA 글자를 누르면 바로 이동) */

.sub-item { display: block !important; height: 34px !important; overflow: hidden !important; text-decoration: none; margin-bottom: 5px; }
.flip-text-s { display: flex; flex-direction: column; transition: transform 0.3s ease; }
.flip-text-s span { display: block; height: 34px !important; line-height: 34px; font-size: 20px; font-weight: 600; color: #333; }
.flip-text-s .ko { color: var(--accent-color); font-weight: 600; }
.sub-item:hover .flip-text-s, .sub-item.current .flip-text-s { transform: translateY(-34px); }

.btn-inquiry { padding: 10px 24px; border: 1px solid rgba(255,255,255,0.3); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 2px; transition: 0.3s; background: rgba(255,255,255,0.05); }
.btn-inquiry:hover { background: var(--white); color: var(--main-color); }

/* ---------------------------------------------------------
   3. 레이아웃: 푸터 (Footer)
   --------------------------------------------------------- */
#footer { background-color: #1e293b; padding: 40px 0; border-top: 4px solid var(--accent-color); }
.footer-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-left { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.footer-logo { width: 180px; height: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.copyright { color: #94a3b8; font-size: 15px; letter-spacing: 0.5px; }

.footer-info { text-align: right; }
.footer-info p { color: #94a3b8; font-size: 16px; line-height: 1.8; margin: 0; }
.footer-info strong { color: #f8fafc; font-size: 18px; font-weight: 700; }
.footer-info a { color: #e2e8f0; text-decoration: none; transition: 0.2s; }
.footer-info a:hover { color: #38bdf8; text-decoration: underline; }

/* ---------------------------------------------------------
   4. 서브페이지 공통 비주얼 & 타이틀
   --------------------------------------------------------- */
.sub-visual {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 85px; 
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 0 20px; 
}
.sub-visual::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.85));
    z-index: 1;
}
.sub-visual h1, .visual-text h2 { 
    font-size: 48px; 
    font-weight: 900; 
    color: #fff; 
    margin-bottom: 0; 
    letter-spacing: 1px; 
    position: relative; 
    z-index: 2; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); 
}
.sub-visual h1 span { font-size: 22px; font-weight: 500; color: #94a3b8; display: block; margin-top: 10px; }
.sub-visual p, .visual-text p { font-size: 20px; color: #cbd5e1; position: relative; z-index: 1; letter-spacing: 1px; text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5); }

#main-content { background-color: var(--white); padding: 100px 0; border-top: 1px solid #e2e8f0; }
.sub-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* 공통 타이틀 */
.section-title { text-align: center; margin-bottom: 70px; }
.section-title.center { margin-bottom: 35px; }
.section-title .sub-tit { display: block; font-size: 18px; color: var(--accent-color); font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; }
.section-title h3 { font-size: 38px; color: var(--main-color); font-weight: 800; }
.section-title h2 { font-size: 32px; color: #0f172a; margin-bottom: 15px; font-weight: 800; letter-spacing: -0.5px; }
.section-title p { font-size: 18px; color: #475569; line-height: 1.6; }

.center-header { text-align: center; margin-bottom: 40px; }
.page-header { margin-bottom: 20px; }
.page-header h1 { font-size: 28px; color: #333; font-weight: 800; }
.page-header p { color: #666; margin-top: 8px; font-size: 16px; }
.sub-title { font-size: 24px; color: #1e293b; margin-bottom: 25px; font-weight: 800; border-left: 4px solid var(--main-color); padding-left: 12px; }
.divider { border: 0; height: 1px; background: #e2e8f0; margin: 90px 0; }

/* ---------------------------------------------------------
   5. 회사소개 (Intro, History, Map, Staff)
   --------------------------------------------------------- */
.intro-flex-box { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.intro-text-area { flex: 1.2; padding-top: 10px; text-align: left; } 
.intro-text-area h2 { font-size: 40px; color: var(--main-color); margin-bottom: 25px; font-weight: 800; letter-spacing: -0.5px; }
.intro-photo-area { flex: 1; max-width: 480px; display: flex; flex-direction: row; gap: 15px; }
.photo-item { width: calc(50% - 7.5px); height: auto; object-fit: cover; border-radius: 2px; border: 1px solid #e2e8f0; transition: transform 0.2s, box-shadow 0.2s; }
.photo-item:hover { transform: scale(1.04); box-shadow: 0 6px 16px rgba(0,0,0,0.1); position: relative; z-index: 2; }
.intro-photo-area.cols-3 { justify-content: center; max-width: 1100px; margin: 40px auto 0; gap: 25px; }
.intro-photo-area.cols-3 .photo-item { flex: 1; width: auto; height: 280px; object-fit: cover; }

.duki-timeline { max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline-block { display: flex; margin-bottom: 40px; position: relative; }
.timeline-block:last-child { margin-bottom: 0; }
.timeline-year { flex: 0 0 140px; font-size: 32px; font-weight: 800; color: var(--main-color); text-align: right; padding-right: 40px; position: relative; }
.timeline-year::after { content: ""; position: absolute; top: 10px; right: -6px; width: 12px; height: 12px; background-color: var(--white); border: 3px solid var(--accent-color); border-radius: 50%; z-index: 2; }
.timeline-block::before { content: ""; position: absolute; top: 15px; bottom: -50px; left: 140px; width: 1px; background-color: #cbd5e1; z-index: 1; }
.timeline-block:last-child::before { display: none; }
.timeline-events { flex: 1; list-style: none; padding-left: 40px; padding-top: 6px; }
.timeline-events li { display: flex; margin-bottom: 25px; align-items: baseline; }
.timeline-events li:last-child { margin-bottom: 0; }
.timeline-events .month { flex: 0 0 45px; font-size: 18px; font-weight: 700; color: var(--accent-color); text-align: left; }
.timeline-events p { flex: 1; font-size: 18px; color: #1e293b; line-height: 1.6; margin: 0; font-weight: 500; text-align: left; }
.timeline-events .sub-desc { display: block; font-size: 16px; color: #64748b; margin-top: 6px; font-weight: 400; text-align: left; }

.flex-box { display: flex; align-items: center; gap: 60px; }
.flex-box .text-area p { font-size: 18px; color: #334155; line-height: 1.8; margin-bottom: 20px; text-align: left; }
.shadow-img { max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); border: 1px solid #e2e8f0; }
.portrait-img { max-height: 400px; width: auto; }

.map-info-box { display: flex; gap: 30px; margin-bottom: 40px; }
.address-text { flex: 1; background: #ffffff; padding: 35px; border: 1px solid #e2e8f0; border-top: 4px solid var(--main-color); border-radius: 2px; text-align: left; } 
.address-text h4 { font-size: 24px; color: var(--main-color); margin-bottom: 20px; font-weight: 800; }
.address-text ul { list-style: none; }
.address-text li { font-size: 17px; color: #475569; margin-bottom: 12px; line-height: 1.6; }
.address-text li strong { display: inline-block; width: 85px; color: #0f172a; }
.address-text .sm-txt { font-size: 15px; color: #94a3b8; }
.map-shortcuts { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; }
.map-btn { padding: 12px 30px; border: 1px solid var(--border-color); border-radius: 2px; text-decoration: none; color: var(--main-color); font-weight: 600; font-size: 17px; transition: all 0.3s; background: #fff; }
.map-btn:hover { background: var(--main-color); color: #fff; border-color: var(--main-color); }
.map-area { width: 100%; height: 450px; background-color: #e2e8f0; border-radius: 4px; border: 1px solid #cbd5e1; }

/* 회사소개 인트로 - 문장 속에 자연스럽게 녹아드는 연혁 카운트 강조 */
.year-inline { font-size: 1.3em; font-weight: 800; color: var(--main-color); }
.year-inline .year-num { font-weight: 900; }

/* ---------------------------------------------------------
   5-1. 스크롤 리빌 애니메이션 (공통 유틸리티)
   --------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.timeline-block.reveal { transform: translateY(30px); }
.timeline-block.reveal.in-view { transform: translateY(0); }

.prod-box.reveal { transform: translateY(40px) scale(0.96); }
.prod-box.reveal.in-view { transform: translateY(0) scale(1); }

.tree .org-node.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.tree .org-node.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }

/* ---------------------------------------------------------
   6. 서브: 견적문의 (Inquiry) & 뉴스 웹진 (News)
   --------------------------------------------------------- */
.inquiry-container { max-width: 800px; margin: 0px auto 80px; padding: 0 40px; }
.form-wrapper { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 40px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); }
.form-group { margin-bottom: 25px; }
.form-group.row { display: flex; gap: 20px; }
.form-group.row .col { flex: 1; }
.form-group label { display: block; font-size: 16px; font-weight: 700; color: #334155; margin-bottom: 8px; }
.required { color: #e11d48; margin-left: 2px; }
.form-group input[type="text"], .form-group input[type="email"], .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 16px; font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--main-color); box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1); }
.file-upload-box { border: 1px dashed #cbd5e1; padding: 15px; border-radius: 4px; background-color: #f8fafc; }
.file-input { font-size: 13px; color: #475569; }
.file-hint { margin-top: 8px; font-size: 14px; color: #64748b; }
.draw-hint { margin-top: 6px; }
.draw-hint a { color: var(--main-color); font-weight: 700; text-decoration: underline; }
.file-attached { margin-top: 8px; font-size: 14px; font-weight: 700; color: #15803d; }
.form-submit { text-align: center; margin-top: 35px; }
.btn-send { background-color: var(--main-color); color: #ffffff; border: none; padding: 15px 40px; font-size: 16px; font-weight: 800; border-radius: 4px; cursor: pointer; transition: background-color 0.3s, transform 0.1s; letter-spacing: 1px; }
.btn-send:hover { background-color: #003d82; }
.btn-send:active { transform: translateY(2px); }
.btn-send:disabled { background-color: #94a3b8; cursor: not-allowed; transform: none; }

/* 문의 결과 팝업 모달 */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.modal-box { background: #ffffff; padding: 45px 35px; border-radius: 16px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.modal-icon { font-size: 48px; margin-bottom: 16px; }
.modal-box h3 { font-size: 21px; color: #0f172a; margin-bottom: 10px; font-weight: 800; }
.modal-box p { color: #64748b; margin-bottom: 26px; font-size: 16px; }
.modal-box .btn-send { padding: 12px 36px; }

/* 뉴스 게시판 */
.news-page-container { max-width: 1000px; margin: 0px auto 80px; padding: 0 20px; min-height: 60vh; }
.badge { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 700; color: #fff; background: var(--main-color); border-radius: 4px; margin-bottom: 10px; letter-spacing: 0.5px; }
.badge.notice { background: #475569; }
.badge.info { background: var(--main-color); }
.placeholder-img { width: 100%; height: 100%; background-color: #e2e8f0; display: flex; align-items: center; justify-content: center; }
.notice-img { background-color: #f1f5f9; color: #94a3b8; font-size: 16px; font-weight: 800; letter-spacing: 2px; }
.news-zine-type { display: flex; flex-direction: column; gap: 20px; }

.zine-item { 
    display: flex; 
    gap: 25px; 
    padding: 25px; 
    border: 1px solid #e2e8f0; 
    background: #fff; 
    border-radius: 8px; 
    cursor: pointer; 
    align-items: flex-start; 
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.zine-item:hover { background-color: #fcfcfc; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0,0,0,0.04); }

.zine-thumb { width: 240px; height: 150px; flex-shrink: 0; border-radius: 6px; overflow: hidden; border: 1px solid #f1f5f9; transition: all 0.4s ease; }
.zine-thumb img, .zine-thumb .placeholder-img { width: 100%; height: 100%; transition: transform 0.4s ease; object-fit: cover; }
.zine-item:hover .zine-thumb .placeholder-img { transform: scale(1.05); }

.zine-info { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.zine-info h3 { font-size: 22px; color: #1e293b; margin-bottom: 12px; font-weight: 700; }
.zine-info p { font-size: 16px; color: #64748b; line-height: 1.6; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.zine-info .date { font-size: 14px; color: #94a3b8; margin-top: auto; }

.zine-item.expanded {
    flex-direction: column !important;
    padding: 40px; 
    background-color: #f8fafc;
}
.zine-item.expanded:hover { 
    transform: none; 
    box-shadow: none; 
}
.zine-item.expanded .zine-info { display: contents; }
.zine-item.expanded .badge { order: 1; align-self: flex-start; margin-bottom: 15px; }
.zine-item.expanded h3 { order: 2; font-size: 28px; margin-bottom: 25px; color: #0f172a; }
.zine-item.expanded .zine-thumb { 
    order: 3; width: 100% !important; height: auto !important; aspect-ratio: 800 / 600 !important; max-width: 800px !important; margin: 0 auto 30px auto !important; flex-shrink: 0;
}
.zine-item.expanded p { order: 4; display: block; -webkit-line-clamp: unset; font-size: 18px; line-height: 1.8; color: #334155; margin-bottom: 30px; }
.zine-item.expanded .date { order: 5; margin-top: 0; align-self: flex-start; }
/* 뉴스 본문 안의 바로가기 링크 */
.zine-info p .news-link { color: var(--main-color); font-weight: 700; white-space: nowrap; text-decoration: none; }
.zine-info p .news-link:hover { text-decoration: underline; }
.zine-info p b { color: #0f172a; }
.zine-item.expanded .zine-thumb:has(.notice-img) { display: none !important; }

/* ---------------------------------------------------------
   7. 서브: 제품 상세 페이지 (Product Details)
   --------------------------------------------------------- */
.item-intro { text-align: left; margin-bottom: 60px; font-size: 18px; color: #475569; line-height: 1.8; word-break: keep-all; }
.item-list { display: flex; flex-direction: column; gap: 50px; }
.item-card { display: flex; align-items: stretch; gap: 0; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.item-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.item-card .text-area { flex: 1.2; padding: 40px; text-align: left; }
.item-card .text-area h4 { font-size: 26px; color: var(--main-color); margin-bottom: 20px; font-weight: 700; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.item-card .text-area h4 .origin { font-size: 15px; color: #64748b; font-weight: 500; background: #f1f5f9; padding: 4px 10px; border-radius: 2px; display: inline-block; width: max-content; }
.item-card .text-area p { font-size: 18px; color: #475569; line-height: 1.7; margin-bottom: 15px; word-break: keep-all; text-align: left; }
.item-card .text-area p:last-child { margin-bottom: 0; }
.item-card .img-area { flex: 0.8; background-color: #f8fafc; display: flex; align-items: center; justify-content: center; border-left: 1px solid #e2e8f0; padding: 30px; }
.item-card .product-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s ease; }
.item-card:hover .product-img { transform: scale(1.05); }

/* 7-1. 큰 박스형 품목 그리드 (회사소개 ITEM 섹션 등에서 사용) */
.prod-box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-box { display: block; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.prod-box:hover { transform: translateY(-6px); box-shadow: 0 14px 28px -6px rgba(0,0,0,0.12); }
.prod-box .pb-img { height: 210px; background-color: #f8fafc; display: flex; align-items: center; justify-content: center; padding: 30px; border-bottom: 1px solid #e2e8f0; }
.prod-box .pb-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s ease; }
.prod-box:hover .pb-img img { transform: scale(1.06); }
.prod-box .pb-info { padding: 22px 24px; }
.prod-box .pb-origin { display: block; font-size: 13px; color: #94a3b8; font-weight: 600; margin-bottom: 8px; }
.prod-box .pb-info h4 { font-size: 19px; font-weight: 800; color: #1e293b; }
@media screen and (max-width: 900px) {
    .prod-box-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-detail-container { max-width: 1200px; margin: -50px auto 80px; padding: 0 40px; position: relative; z-index: 10; }
.detail-section { padding: 40px 0; border-bottom: 1px solid #f1f5f9; }
.detail-section:last-child { border-bottom: none; }

.quick-download-bar { background: #fff; border-radius: 12px; padding: 25px 35px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 70px; border: 1px solid #e2e8f0; transition: all 0.3s ease; }
.quick-download-bar:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
.qd-text strong { display: block; font-size: 22px; color: #0f172a; margin-bottom: 5px; font-weight: 800; }
.qd-text span { font-size: 16px; color: #64748b; }
.qd-buttons { display: flex; gap: 15px; }
.btn-dl { padding: 18px 36px; font-size: 18px; font-weight: 800; border-radius: 8px; text-decoration: none !important; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-dl.pdf { background: #fb7185; color: #ffffff; border: 1px solid #f43f5e; box-shadow: 0 4px 10px rgba(244, 63, 94, 0.15); }
.btn-dl.pdf:hover { background: #f43f5e; color: #fff; transform: translateY(-2px); }
.btn-dl.cad { background: #60a5fa; color: #ffffff; border: 1px solid #3b82f6; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15); }
.btn-dl.cad:hover { background: #3b82f6; color: #fff; transform: translateY(-2px); }

.category-badge { display: inline-block; font-size: 16px; font-weight: 800; color: var(--main-color); background: #eff6ff; padding: 8px 18px; border-radius: 20px; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.f-card { background: #fff; border: 1px solid #e2e8f0; padding: 25px; border-radius: 10px; font-size: 18px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 15px; transition: all 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.01); }
.f-card:hover { transform: translateY(-5px); border-color: #cbd5e1; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.f-num { color: #fff; background: var(--main-color); font-size: 20px; font-weight: 900; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }

.tech-grid { display: flex; flex-direction: column; gap: 30px; }
.tech-item { display: flex; gap: 40px; align-items: center; background: #fff; padding: 40px; border-radius: 16px; border: 1px solid #e2e8f0; transition: box-shadow 0.3s; }
.tech-item:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.tech-item.reverse { flex-direction: row-reverse; }
.tech-item.full-width { flex-direction: column; align-items: stretch; text-align: left; }
.tech-item .img-box { flex: 0 0 55%; text-align: center; background: #f8fafc; padding: 18px; border-radius: 12px; border: 1px solid #f1f5f9; overflow: hidden; }
.tech-item .img-box.no-border { border: none; background: transparent; padding: 10px; }
.tech-item .img-box img { max-width: 100%; height: auto; mix-blend-mode: multiply; border-radius: 8px; transition: transform 0.25s; }
.tech-item .img-box:hover img { transform: scale(1.06); }
.tech-item .txt-box { flex: 1; }
.point-badge { display: inline-block; background: #1e293b; color: #fff; font-size: 14px; font-weight: 800; padding: 5px 12px; border-radius: 4px; margin-bottom: 12px; letter-spacing: 1px; }
.tech-item h4 { font-size: 26px; color: #0f172a; margin-bottom: 20px; font-weight: 800; line-height: 1.4; }
.tech-item p { font-size: 17px; color: #475569; line-height: 1.8; margin-bottom: 15px; }
.tech-item p.large-text { font-size: 18px; line-height: 1.8; margin-bottom: 20px; }
.txt-box.center { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 20px; }

.loop-type-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    width: 100%; 
    margin-top: 20px; 
}
.loop-item { display: flex; flex-direction: column; align-items: center; }
.loop-item .img-box { flex: none; width: 100%; padding: 0; display: flex; justify-content: center; align-items: center; overflow: visible; }
.loop-item .img-box img { width: 100%; max-width: 300px; height: auto; object-fit: contain; }
.loop-name { margin-top: 15px; font-size: 18px; font-weight: 700; color: #334155; text-align: center; }

/* 표 (Table) 및 리스트 */
.table-wrapper { width: 100%; }
.data-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.data-table th, .data-table td { border: 1px solid #cbd5e1; }
.data-table th { background: #f8fafc; color: #475569; padding: 18px; font-size: 17px; font-weight: 800; }
.data-table td { padding: 16px 18px; font-size: 16.5px; line-height: 1.6; color: #334155; text-align: center; }
.data-table .item { font-weight: 800; background: #f8fafc; color: #1e293b; }
.data-table th.highlight, .data-table td.highlight { background: #e6f2ff; color: var(--main-color); font-weight: 800; }
.data-table.small th, .data-table.small td { padding: 6px 8px; font-size: 13px; }

.table-img-box { width: 140px; height: 105px; margin: 0 auto; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.table-img-box:hover { border-color: var(--main-color); border-style: solid; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.table-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.2s; }
.table-img-box:hover img { transform: scale(1.08); }

.check-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.check-list li { position: relative; padding-left: 18px; margin-bottom: 8px; line-height: 1.6; color: #475569; font-size: 18px; }
.check-list li::before { content: '✔'; position: absolute; left: 0; top: 0; color: var(--main-color); font-size: 12px; }
.check-list li:last-child { margin-bottom: 0; }
.check-list.stacked { display: flex; flex-direction: column; gap: 15px; }

/* 7-1. 제품 상세 페이지 공용 컴포넌트 (인증 박스 / 미디어 특징 / 설치 예시 / 특징 카드) */
.narrow-block { max-width: 900px; margin: 0 auto; }
.img-full { width: 100%; height: auto; display: block; }
.pl-30 { padding-left: 30px; }

.cert-box { font-size: 15px; color: #64748b; font-weight: bold; margin-top: 25px; padding: 15px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; text-align: center; }
.cert-box .cert-logos { display: flex; gap: 10px; align-items: center; justify-content: center; }
.cert-box .cert-logos img { flex: 1; max-width: 32%; height: auto; object-fit: contain; }
.cert-box p { margin: 0 0 15px 0; }

.tech-item.media-feature { flex-direction: column; align-items: stretch; }
.tech-item.media-feature .img-box { flex: none; width: 100%; max-width: 700px; margin: 0 auto; padding: 0; }
.tech-item.media-feature .txt-box { flex: none; }
.tech-item.media-feature .img-box img { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.video-embed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.install-row { display: flex; gap: 50px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.install-row .img-box { flex: 1 1 620px; }
.install-row .txt-box { flex: 1 1 300px; }

.code-explain-grid.feature-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ce-box.feature-card { padding: 30px; }
.ce-box.feature-card strong { font-size: 17px; }
.ce-box.feature-card span { font-size: 16px; line-height: 1.6; margin-top: 15px; color: #475569; }

/* 8. 형번 구성표 (Decoder Layout) */
.row-layout { display: flex; gap: 50px; align-items: center; }
.col-half { flex: 1; }

.model-number-box { background: #fff; padding: 40px; border: 1px solid #e2e8f0; border-radius: 12px; }
.model-code-display { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 8px; background: #1e293b; padding: 20px 30px 25px; border-radius: 10px; margin-bottom: 30px; }
.c-group { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c-group .num { background: #475569; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 10px; }
.c-part { background: #ffffff; color: #1e293b; font-size: 24px; font-weight: 900; padding: 10px 16px; border-radius: 6px; border-bottom: 3px solid var(--main-color); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.c-plus { color: #fff; font-size: 24px; font-weight: 900; padding-bottom: 10px; }
.c-part.c-input { width: 46px; border: none; border-bottom: 3px solid var(--main-color); outline: none; font-family: inherit; text-align: center; -moz-appearance: textfield; }
.c-part.c-input:focus { background: #eff6ff; color: var(--main-color); box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

.code-explain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; margin-bottom: 30px; }
.ce-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px; border-radius: 8px; font-size: 16px; color: #334155; line-height: 1.5; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.ce-box .num-badge { display: inline-flex; align-items: center; justify-content: center; background: #1e293b; color: #fff; font-size: 11px; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; margin: 0 6px 0 0; padding: 0; border: none; vertical-align: middle; }
.ce-box strong { display: inline-block; background: var(--main-color); color: #fff; padding: 2px 8px; border-radius: 4px; margin-right: 8px; font-size: 14px; vertical-align: middle; }
.ce-box span { display: block; font-size: 14.5px; color: #64748b; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #cbd5e1; }

.order-example-box { background: #eff6ff; border-left: 4px solid var(--main-color); padding: 25px; border-radius: 0 8px 8px 0; }
.order-example-box h4 { font-size: 18px; color: #1e293b; margin-bottom: 15px; font-weight: 800; }
.order-example-box ul { list-style: none; padding: 0; margin: 0; }
.order-example-box li { font-size: 16px; color: #475569; margin-bottom: 10px; line-height: 1.7; }
.order-example-box li:last-child { margin-bottom: 0; }
.order-example-box code { background: #fff; padding: 4px 8px; border: 1px solid #cbd5e1; border-radius: 4px; font-family: monospace; font-weight: bold; color: var(--main-color); font-size: 16px; }

.c-group:hover .c-part { background: #eff6ff; color: var(--main-color); transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,0.3); cursor: pointer; }
.ce-box:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }

.model-number-box:has(.top-1:hover) .bot-1, .model-number-box:has(.top-2:hover) .bot-2,
.model-number-box:has(.top-3:hover) .bot-3, .model-number-box:has(.top-4:hover) .bot-4,
.model-number-box:has(.top-5:hover) .bot-5, .model-number-box:has(.top-6:hover) .bot-6,
.model-number-box:has(.top-7:hover) .bot-7, .model-number-box:has(.top-8:hover) .bot-8,
.model-number-box:has(.top-9:hover) .bot-9, .model-number-box:has(.top-10:hover) .bot-10,
.model-number-box:has(.top-11:hover) .bot-11, .model-number-box:has(.top-12:hover) .bot-12,
.model-number-box:has(.top-13:hover) .bot-13, .model-number-box:has(.top-14:hover) .bot-14 {
    transform: translateY(-8px) scale(1.02); background: #eff6ff; border-color: var(--main-color); box-shadow: 0 10px 25px rgba(0, 86, 179, 0.15);
}

.model-number-box:has(.bot-1:hover) .top-1 .c-part, 
.model-number-box:has(.bot-2:hover) .top-2 .c-part,
.model-number-box:has(.bot-3:hover) .top-3 .c-part, 
.model-number-box:has(.bot-4:hover) .top-4 .c-part,
.model-number-box:has(.bot-5:hover) .top-5 .c-part, 
.model-number-box:has(.bot-6:hover) .top-6 .c-part,
.model-number-box:has(.bot-7:hover) .top-7 .c-part, 
.model-number-box:has(.bot-8:hover) .top-8 .c-part,
.model-number-box:has(.bot-9:hover) .top-9 .c-part, 
.model-number-box:has(.bot-10:hover) .top-10 .c-part,
.model-number-box:has(.bot-11:hover) .top-11 .c-part, 
.model-number-box:has(.bot-12:hover) .top-12 .c-part,
.model-number-box:has(.bot-13:hover) .top-13 .c-part {
    background: #eff6ff; 
    color: var(--main-color); 
    transform: translateY(-4px); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pdf-btn-group { display: flex; gap: 6px; align-items: center; justify-content: center; }
.btn-table-dl { display: inline-block; padding: 6px 15px; background-color: #f43f5e; color: #ffffff !important; font-size: 14px; font-weight: 700; border-radius: 4px; text-decoration: none !important; text-align: center; white-space: nowrap; transition: all 0.2s ease; }
.btn-table-dl.ground { background-color: #1e293b; border: 1px solid #1e293b; }
.btn-table-dl:hover { background-color: #e11d48; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(225, 29, 72, 0.25); }
.btn-table-dl.rolled { background-color: #0284c7; border: 1px solid #0284c7; }
.btn-table-dl.rolled:hover { background-color: #0ea5e9; }

.large-text { text-align: left; font-size: 18px; color: #334155; line-height: 1.8; margin-bottom: 20px; word-break: keep-all; font-weight: 400; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.reference { font-size: 14.5px; color: #94a3b8; }

.app-slider { position: relative; width: 100%; aspect-ratio: 600 / 748; overflow: hidden; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; }
.slide { min-width: 100%; position: relative; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 15px 20px; font-size: 16px; text-align: center; font-weight: bold; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.4); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: background 0.3s; z-index: 10; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: rgba(0, 0, 0, 0.8); }
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }
.slider-dots { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: #fff; width: 25px; border-radius: 10px; }

.support-table .table-img-box { width: 220px; height: 165px; margin: 0 auto; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 4px; }
.support-table td:has(.table-img-box) { padding: 6px; }
.support-table .table-img-box img { cursor: zoom-in; }

/* 이미지 확대 라이트박스 */
.img-lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(15, 23, 42, 0.85); align-items: center; justify-content: center; padding: 40px; }
.img-lightbox.active { display: flex; }
.img-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 6px; background: #fff; }
.img-lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.ballscrew-table .table-img-box { width: 220px; height: 165px; margin: 0 auto; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 4px; }
.ballscrew-table td:has(.table-img-box) { padding: 4px; }
.ballscrew-table .table-img-box img { cursor: zoom-in; }
.lmguide-table .table-img-box { width: 220px; height: 165px; margin: 0 auto; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 4px; }
.lmguide-table td:has(.table-img-box) { padding: 4px; }
.lmguide-table .table-img-box img { cursor: zoom-in; }
.ballspline-table .table-img-box { width: 220px; height: 165px; margin: 0 auto; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 4px; }
.ballspline-table td:has(.table-img-box) { padding: 4px; }
.ballspline-table .table-img-box img { cursor: zoom-in; }
.tmscrew-table .table-img-box { width: 220px; height: 165px; margin: 0 auto; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 4px; }
.tmscrew-table td:has(.table-img-box) { padding: 4px; }
.tmscrew-table .table-img-box img { cursor: zoom-in; }


/* =========================================================
   [NEW] 조직도 (Organization Chart) 전용 스타일 (개선판)
   ========================================================= */
/* ... existing code ... */
/* STREAMING_CHUNK: 10. 조직도 전용 스타일 (충돌 완벽 방지 & 반응형 사이즈 축소) */
/* 컨테이너 자체에서 가로 스크롤 허용 (최소한의 방어) */
.org-tree-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 60px;
    display: flex;
    justify-content: center;
}

/* 커스텀 스크롤바 디자인 */
.org-tree-container::-webkit-scrollbar { height: 8px; }
.org-tree-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.org-tree-container::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }

/* 트리 구조 */
.tree {
    /* 기존 강제 900px 고정을 해제하고 유연하게 변경 */
    min-width: auto;
    white-space: nowrap; 
    margin: 0 auto;
    display: inline-block;
}

.tree ul {
    padding-top: 30px; /* 연결선 세로 길이 축소 */
    position: relative;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin: 0;
}

.tree li {
    text-align: center;
    list-style-type: none;
    position: relative;
    z-index: 0; /* 자식의 z-index:-1 연결선이 상위 배경 뒤로 숨는 것을 방지 (스태킹 컨텍스트 고정) */
    padding: 30px 10px 0 10px; /* 좌우 여백을 15px -> 10px로 축소 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 연결선(가로) */
.tree li::before, .tree li::after {
    content: '';
    position: absolute; top: 0; right: 50%;
    border-top: 2px solid #64748b; /* 선 두께 살짝 얇게 조절 (3px -> 2px) */
    width: 50%; height: 30px;
    z-index: -1;
}
.tree li::after {
    right: auto; left: 50%;
    border-left: 2px solid #64748b; 
}

/* 불필요한 선 제거 및 예외 처리 */
.tree li:only-child::after, .tree li:only-child::before { display: none; }
.tree li:only-child { padding-top: 0; }
.tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
.tree li:last-child::before { border-right: 2px solid #64748b; border-radius: 0 6px 0 0; }
.tree li:first-child::after { border-radius: 6px 0 0 0; }

/* 하위 레벨로 내려가는 수직선 */
.tree ul ul::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 2px solid #64748b; 
    width: 0; height: 30px;
    transform: translateX(-50%);
}

/* 노드(카드) 공통 디자인 - 전체 크기 축소 */
.tree .org-node {
    border: 2px solid #cbd5e1;
    padding: 18px 25px; /* 패딩 축소 */
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.05);
    min-width: 150px; /* 최소 너비 대폭 축소 (190px -> 150px) */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}
.tree .org-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
    border-color: var(--accent-color);
}
.tree .org-node .org-ko {
    font-weight: 800; 
    font-size: 18px;  /* 폰트 축소 */
    color: #0f172a;   
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.tree .org-node .org-en {
    font-size: 13px; /* 폰트 축소 */
    color: #475569;
    font-weight: 600; 
    letter-spacing: 0px;
    margin: 0;
}

/* CEO 노드 (최상단) */
.tree .org-node.ceo {
    background: linear-gradient(135deg, var(--main-color) 0%, #003d82 100%);
    border: none;
    padding: 20px 50px;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}
.tree .org-node.ceo .org-ko {
    color: #fff;
    font-size: 24px;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* 메인 부서 (상단 컬러 포인트) */
.tree .org-node.team-head {
    border-top: 5px solid var(--accent-color);
    background: #f8fafc;
}
.tree .org-node.team-head .org-ko {
    color: var(--main-color);
}

/* 하위 파트 노드 */
.tree .org-node.sub-team {
    min-width: 120px; /* 대폭 축소 */
    padding: 14px 18px;
    background: #ffffff;
}
.tree .org-node.sub-team .org-ko { font-size: 16px; }
.tree .org-node.sub-team .org-en { font-size: 12px; font-weight: 500; }

/* ---------------------------------------------------------
   뉴스 게시판 페이징 (Pagination) 스타일
   --------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 마우스 올렸을 때 (Hover) */
.pagination a:hover {
    background-color: #f8fafc;
    border-color: var(--main-color);
    color: var(--main-color);
}

/* 현재 클릭된 페이지 (Active) */
.pagination a.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #ffffff;
}

/* 이전/다음 화살표 버튼 */
.pagination .btn-page {
    color: #94a3b8;
    font-weight: 800;
}

.pagination .btn-page:hover {
    color: var(--main-color);
}

/* ---------------------------------------------------------
   9. 모바일 반응형 처리 (Media Queries)
   --------------------------------------------------------- */

@media screen and (max-width: 900px) {
    /* 헤더 & 네비게이션 모바일 */
    .header-right { display: none !important; } 
    .mobile-menu-btn { display: flex; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; cursor: pointer; position: relative; z-index: 2000; }
    .mobile-menu-btn span { display: block; width: 100%; height: 2px; background-color: var(--white); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

    .header-center { position: absolute; top: 85px; left: 0; width: 100%; background-color: #ffffff; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 4px solid var(--main-color); box-shadow: 0 15px 25px rgba(0,0,0,0.1); display: none; height: auto; padding: 0; z-index: 1500; }
    .header-center.active { display: block !important; }
    /* 메뉴가 화면보다 길면(기술자료 펼침 등) 메뉴 안에서 스크롤 */
    .header-center { max-height: calc(100vh - 85px); max-height: calc(100dvh - 85px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

    .gnb { flex-direction: column; gap: 0; padding: 0; }
    .gnb li { display: block; height: auto; }
    .menu-item { height: auto !important; border-bottom: 1px solid #f1f5f9; padding: 18px 25px; }
    .flip-text { flex-direction: row; align-items: center; justify-content: flex-start; gap: 15px; transform: none !important; }
    .flip-text span { font-size: 16px; height: auto !important; line-height: 1; transition: none; transform: none !important; }
    .flip-text .en { color: #1e293b; font-weight: 800; }
    .flip-text .ko { color: var(--main-color); font-weight: 600; font-size: 14px; }
    
    .mega-menu { position: static; width: 100%; background: #f8fafc; padding: 0; display: none; box-shadow: none; border-bottom: none; opacity: 1; visibility: visible; transform: none !important; }
    .mega-menu.active { display: block !important; padding: 15px 0 25px; border-bottom: 1px solid #e2e8f0; }
    .mega-inner { flex-direction: column; gap: 20px; padding: 0 25px; }
    .mega-col { flex: auto; }
    .mega-data .mega-col { flex: auto; }
    .mega-data .mega-col-tool { padding-left: 0; border-left: none; }
    .mega-data .sub-item.mobile-only { display: block !important; }
    .mega-col h3 { font-size: 13px; color: #94a3b8; margin-bottom: 12px; border-bottom: 1px solid #e2e8f0; padding-bottom: 6px; }
    
    .sub-item { height: auto !important; padding: 8px 0; margin: 0; overflow: visible !important; }
    .flip-text-s { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; transition: none; transform: none !important; }
    .flip-text-s span { font-size: 15px; height: auto !important; line-height: 1; white-space: normal; }
    .flip-text-s .en { color: #334155; font-weight: 700; }
    .flip-text-s .ko { font-size: 14px; color: #64748b; font-weight: 500; }
 
    .mobile-menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* 레이아웃 & 푸터 */
    .flex-box, .intro-flex-box, .item-card, .map-info-box { flex-direction: column; gap: 30px; }
    .intro-photo-area { max-width: 100%; }
    .item-card .img-area { border-left: none; border-top: 1px solid #e2e8f0; padding: 20px; height: 250px; }
    .footer-container { flex-direction: column; align-items: flex-start; }
    .footer-info { text-align: left; }

    /* 제품 상세 페이지 공용 컴포넌트 모바일 대응 */
    .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table-wrapper .data-table { min-width: 700px; }
    .feature-cards { grid-template-columns: 1fr; }
    .loop-type-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-item { flex-direction: column !important; padding: 25px; gap: 20px; }
    .tech-item .img-box { flex: none; width: 100%; }
    .quick-download-bar { flex-direction: column; align-items: flex-start; }
    .qd-buttons { width: 100%; flex-direction: column; }
    .btn-dl { width: 100%; }

    /* 조직도 (company.html) - 가지가 많아 폭이 넓어지므로 가로 스크롤 허용 */
    .tree { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }

    /* 뉴스 리스트 (news.html) - 고정폭 썸네일 때문에 본문이 눌리는 것 방지 */
    .zine-item { flex-direction: column; }
    .zine-thumb { width: 100%; height: 200px; }
}
