@charset "UTF-8";

/* =======================================================
   1. 공통 스타일 (Reset & Base)
======================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Malgun Gothic', sans-serif; }
a { text-decoration: none; color: #333; transition: all 0.3s ease; }
li { list-style: none; }

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}
.fade-in { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }

/* =======================================================
   2. 헤더 및 네비게이션 (Header & Nav)
======================================================= */
header { display: flex; justify-content: space-between; align-items: center; padding: 0 50px; height: 90px; border-bottom: 1px solid #ddd; background-color: rgba(255, 255, 255, 0.95); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }

/* 로고 영역 */
.logo { display: flex; align-items: center; gap: 6px; }
.logo img { height: 70px; width: auto; display: block; }

.logo-text { 
    display: inline-flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    line-height: 1; 
    margin-top: 6px;       
}
.logo-text .ko { 
    font-size: 42px;      
    font-weight: 900; 
    color: #004080; 
    letter-spacing: -2px; 
    line-height: 0.95; 
}
.logo-text .en { 
    font-size: 16px;      
    font-weight: 600; 
    color: #64748b; 
    letter-spacing: 3.8px; 
    margin-top: 0;        
    padding-left: 0; 
    font-style: italic;   
}

nav > ul { display: flex; gap: 75px; font-weight: bold; height: 100%; }
nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }
nav > ul > li > a { font-size: 20px; color: #111; padding: 30px 8px; position: relative; font-weight: 700; }
nav > ul > li > a::after { content: ''; position: absolute; bottom: 25px; left: 0; width: 0; height: 3px; background-color: #004080; transition: width 0.3s ease; }
nav > ul > li:hover > a::after { width: 100%; }
nav > ul > li:hover > a { color: #004080; }

.dropdown-content { visibility: hidden; opacity: 0; position: absolute; top: 90px; left: 50%; transform: translateX(-50%) translateY(15px); background-color: #fff; min-width: 180px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 8px; border: 1px solid #f1f5f9; padding: 10px 0; transition: all 0.4s ease; z-index: 1000; }
nav > ul > li:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.dropdown-content li { display: block; text-align: center; }
.dropdown-content li a { font-size: 15px; color: #555; padding: 12px 20px; display: block; font-weight: 500; }
.dropdown-content li a:hover { background-color: #f8fafc; color: #004080; font-weight: bold; padding-left: 25px; }

/* =======================================================
   3. 공통 레이아웃 (Layout & Sidebar & Footer)
======================================================= */
.sub-banner { background: linear-gradient(rgba(0,30,60,0.8), rgba(0,30,60,0.8)), url('https://via.placeholder.com/1920x300/333333') no-repeat center; background-size: cover; height: 250px; display: flex; justify-content: center; align-items: center; color: #fff; }
.sub-banner h1 { font-size: 40px; font-weight: 800; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* 컨테이너 & 사이드바 레이아웃 */
.container { display: flex; max-width: 1200px; margin: 80px auto; padding: 0 20px; gap: 60px; align-items: flex-start; }
.sidebar { width: 220px; position: sticky; top: 120px; background: #fff; padding: 30px 20px; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); flex-shrink: 0; }
.sidebar h2 { font-size: 22px; margin-bottom: 20px; color: #111; font-weight: 900; border-bottom: 3px solid #004080; padding-bottom: 15px; text-align: center; }
.sidebar ul li { margin-bottom: 5px; }
.sidebar ul li a { font-size: 16px; color: #666; display: block; padding: 12px 15px; border-radius: 8px; font-weight: 500; transition: all 0.3s ease; }
.sidebar ul li a:hover { background-color: #f1f5f9; color: #004080; padding-left: 20px; }
.sidebar ul li a.active { background-color: #004080; color: #fff; font-weight: bold; box-shadow: 0 4px 10px rgba(0,64,128,0.3); }
.sidebar h2[style*="2e7d32"] { border-bottom-color: #2e7d32; } 

.content { flex: 1; min-width: 0; } 
.page-title { text-align: center; font-size: 36px; color: #111; font-weight: 900; margin-bottom: 50px; }
.section-title { font-size: 32px; color: #111; font-weight: 900; margin-bottom: 40px; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 4px; background-color: #004080; }
.section-subtitle { font-size: 18px; color: #64748b; margin-bottom: 40px; font-weight: 500; margin-top: -30px; }

footer { background-color: #1e293b; color: #f8fafc; padding: 60px 50px; font-size: 15px; line-height: 1.8; margin-top: 100px; }
.contact-info { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.contact-info h2 { color: #fff; margin-bottom: 10px; font-size: 32px; letter-spacing: 1px; font-weight: 800; }
.contact-info .time { color: #94a3b8; margin-bottom: 20px; }
.company-details p { color: #cbd5e1; }
.company-details strong { color: #fff; margin-right: 5px; }

/* =======================================================
   4. 페이지별 고유 모듈 
======================================================= */
/* 메인 index */
.hero { position: relative; height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; background-color: #1e293b; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; z-index: 0; animation: fadeZoom 30s infinite; }
.hero-bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 15, 30, 0.55); }
.slide1 { background-image: url('image/bg1.jpg'); animation-delay: 0s; }
.slide2 { background-image: url('image/bg2.jpg'); animation-delay: 6s; }
.slide3 { background-image: url('image/bg3.jpg'); animation-delay: 12s; }
.slide4 { background-image: url('image/bg4.jpg'); animation-delay: 18s; }
.slide5 { background-image: url('image/bg5.jpg'); animation-delay: 24s; }
@keyframes fadeZoom { 0% { opacity: 0; transform: scale(1); } 4%, 20% { opacity: 1; } 24% { opacity: 0; transform: scale(1.02); } 100% { opacity: 0; } }
.hero-content { position: relative; z-index: 1; color: #fff; }
.hero h2 { font-size: 42px; margin-bottom: 15px; color: #ffffff; font-weight: 900; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 20px; color: #cbd5e1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.products { padding: 50px 50px; text-align: center; background-color: #fafafa; }
.products h3 { font-size: 34px; margin-bottom: 40px; color: #111; font-weight: bold; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; }
.card { border: 1px solid #e2e8f0; padding: 25px 20px; border-radius: 16px; background-color: #fff; overflow: hidden; transition: all 0.4s ease; cursor: pointer; }
.card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,64,128,0.1); border-color: #004080; }
.card img { width: 100%; height: 280px; background-color: #f1f5f9; margin-bottom: 20px; object-fit: cover; border-radius: 12px; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.05); }
.card h4 { font-size: 24px; margin-bottom: 15px; color: #004080; font-weight: bold; }
.card p { font-size: 16px; color: #64748b; line-height: 1.6; }

/* 팝업 */
.layer-popup { position: fixed; top: 120px; background-color: #fff; box-shadow: 2px 10px 30px rgba(0,0,0,0.15); z-index: 9999; border-radius: 8px; overflow: hidden; display: none; }
.popup-header { padding: 15px 20px; font-size: 18px; font-weight: bold; background-color: #004080; color: #fff; }
.popup-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background-color: #f8fafc; border-top: 1px solid #eee; }
.popup-footer label { font-size: 14px; cursor: pointer; color: #333; display: flex; align-items: center; gap: 5px; }
.popup-footer button { padding: 6px 18px; font-size: 14px; cursor: pointer; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; font-weight: bold; }
.popup-footer button:hover { background: #e2e8f0; }
#catalogPopup { width: 380px; left: 50px; }
#catalogPopup .popup-body { display: flex; align-items: center; padding: 20px; gap: 15px; background: #fff; }
#catalogPopup .popup-body a.img-link { width: 45%; flex-shrink: 0; }
#catalogPopup .popup-body img { width: 100%; display: block; border: 1px solid #e2e8f0; border-radius: 4px; }
#catalogPopup .popup-text { width: 55%; text-align: left; }
#catalogPopup .popup-text h4 { font-size: 18px; color: #004080; margin-bottom: 8px; font-weight: 900; }
#catalogPopup .popup-text p { font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 15px; word-break: keep-all; }
#catalogPopup .btn-go { display: inline-block; padding: 6px 16px; background-color: #004080; color: #fff; font-size: 13px; font-weight: bold; border-radius: 4px; }
#certPopup { width: 550px; left: 450px; }
#certPopup .popup-body img { width: 100%; display: block; height: auto; object-fit: contain; }

/* CEO, 회사개요, 연혁, 오시는길 등 */
.ceo-quote { background-color: #f8fafc; border-left: 5px solid #004080; padding: 30px 40px; margin-bottom: 40px; border-radius: 0 8px 8px 0; }
.ceo-quote p { font-size: 22px; color: #004080; font-weight: 700; line-height: 1.6; word-break: keep-all; }
.ceo-text p { font-size: 16px; color: #444; line-height: 1.9; margin-bottom: 25px; word-break: keep-all; }
.ceo-sign { text-align: right; font-size: 18px; margin-top: 50px; padding-top: 20px; border-top: 1px solid #eee; color: #555; }
.overview-table { width: 100%; border-top: 2px solid #004080; border-collapse: collapse; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.overview-table th, .overview-table td { border-bottom: 1px solid #e2e8f0; padding: 22px 20px; text-align: left; font-size: 16px; }
.overview-table th { width: 25%; background-color: #f8fafc; color: #1e293b; font-weight: bold; position: relative; }
.overview-table th::after { content: ''; position: absolute; right: 0; top: 20px; bottom: 20px; width: 1px; background-color: #e2e8f0; }
.timeline { border-left: 3px solid #e2e8f0; margin-left: 20px; padding-left: 40px; position: relative; }
.timeline-item { margin-bottom: 45px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -49px; top: 5px; width: 15px; height: 15px; background-color: #004080; border-radius: 50%; box-shadow: 0 0 0 5px #f1f5f9; transition: all 0.3s ease; }
.timeline-item:hover::before { background-color: #2e7d32; transform: scale(1.2); }
.timeline-year { font-size: 28px; font-weight: 900; color: #004080; margin-bottom: 15px; letter-spacing: 1px; }
.timeline-desc p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 8px; position: relative; padding-left: 15px; }
.timeline-desc p::before { content: '-'; position: absolute; left: 0; color: #94a3b8; font-weight: bold; }
.map-wrap { border: 1px solid #ddd; border-radius: 12px; overflow: hidden; height: 450px; margin-bottom: 30px; }
.info-box { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 40px; display: flex; justify-content: space-between; align-items: center; }
.info-text h3 { font-size: 24px; color: #1e293b; margin-bottom: 15px; }
.info-text p { font-size: 16px; color: #475569; margin-bottom: 8px; }
.btn-kakao { display: inline-block; padding: 15px 30px; background-color: #FEE500; color: #111; font-weight: bold; font-size: 16px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: all 0.3s; text-align: center; }
.btn-kakao:hover { background-color: #FADA0A; transform: translateY(-3px); }

/* 제품 상세 */
.product-top { display: flex; gap: 40px; margin-bottom: 50px; align-items: center; }
.product-img { width: 50%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.product-img img { width: 100%; display: block; }
.product-info { width: 50%; }
.product-info h3 { font-size: 24px; color: #004080; margin-bottom: 20px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.product-info p { font-size: 16px; color: #475569; line-height: 1.8; margin-bottom: 15px; word-break: keep-all; }
.spec-title { font-size: 22px; color: #111; font-weight: bold; margin-top: 50px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.spec-title::before { content: ''; display: inline-block; width: 6px; height: 22px; background-color: #004080; border-radius: 2px; }
.spec-table { width: 100%; border-top: 2px solid #111; border-collapse: collapse; margin-bottom: 30px; text-align: center; }
.spec-table th, .spec-table td { padding: 15px; border-bottom: 1px solid #ddd; font-size: 15px; line-height: 1.6; }
.spec-table th { background-color: #f8fafc; font-weight: bold; color: #111; }
.spec-table td.left { text-align: left; }
.blueprint { width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; text-align: center; background-color: #fafafa; }
.blueprint img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* =======================================================
   5. 게시판, 실적, 갤러리, 조직도 등
======================================================= */
/* 게시판 공통 (공지사항, 시방서) */
.board-table, .data-table { width: 100%; border-top: 2px solid #004080; border-bottom: 1px solid #111; border-collapse: collapse; text-align: center; }
.board-table th, .board-table td, .data-table th, .data-table td { padding: 18px 10px; border-bottom: 1px solid #ddd; font-size: 16px; }
.board-table th, .data-table th { background-color: #f8fafc; font-weight: bold; color: #1e293b; }
.board-table td.title, .data-table td.title { text-align: left; padding-left: 30px; font-weight: 500; }
.board-row { cursor: pointer; transition: background-color 0.2s; }
.board-row:hover { background-color: #f1f5f9; }
.content-row { display: none; background-color: #f8fafc; border-bottom: 1px solid #ddd; }
.content-box { text-align: left; padding: 40px; line-height: 1.8; color: #444; font-size: 15px; }
.badge-notice { display: inline-block; background-color: #ef4444; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; margin-right: 10px; }
.row-notice { background-color: #fef2f2; font-weight: bold; }
.btn-download { display: inline-block; padding: 6px 15px; background-color: #e2e8f0; color: #333; font-size: 13px; font-weight: bold; border-radius: 4px; transition: 0.3s; }
.btn-download:hover { background-color: #004080; color: #fff; }

/* 실적 테이블 */
.perform-header { margin-bottom: 15px; text-align: right; }
.table-container { max-height: 600px; overflow-y: auto; border-top: 2px solid #004080; border-bottom: 1px solid #111; }
.perform-table { width: 100%; border-collapse: collapse; text-align: center; }
.perform-table th { position: sticky; top: 0; background-color: #f8fafc; font-weight: bold; color: #111; padding: 15px; border-bottom: 1px solid #ddd; z-index: 1; box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1); }
.perform-table td { padding: 12px 10px; border-bottom: 1px solid #eee; font-size: 14px; color: #444; }
.perform-table td.left { text-align: left; font-weight: 600; color: #111; line-height: 1.4; }
.perform-table tr:hover td { background-color: #f1f5f9; }
.year-divider td { background-color: #e2e8f0; font-weight: 800; font-size: 16px; color: #004080; text-align: left; padding: 10px 20px; border-top: 2px solid #cbd5e1; }

/* 갤러리 그리드 */
.gallery-wrap, .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid { gap: 30px; }
.gallery-box { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.gallery-box img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; cursor: pointer; }
.gallery-box:hover img { transform: scale(1.1); }
.gallery-item { border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; text-align: center; background-color: #fff; transition: all 0.3s ease; }
.gallery-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #004080; }
.gallery-item img { width: 100%; height: auto; border: 1px solid #ddd; margin-bottom: 15px; display: block; transition: opacity 0.3s; }
.gallery-item a:hover img { opacity: 0.8; }
.gallery-item h4 { font-size: 18px; color: #1e293b; font-weight: bold; }
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 60px; }
.photo-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease; border: 1px solid #e2e8f0; }
.photo-gallery img:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* 기계 설비 및 전자카달로그 */
.equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.equip-item { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; background: #fff; }
.equip-img-wrap { overflow: hidden; height: 350px; }
.equip-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.equip-item:hover .equip-img-wrap img { transform: scale(1.1); }
.equip-info { padding: 25px 20px; text-align: center; border-top: 3px solid #004080; }
.equip-info h4 { font-size: 22px; margin-bottom: 10px; font-weight: bold; }
.catalog-wrap { display: flex; gap: 50px; align-items: flex-start; background: #f8fafc; padding: 40px; border-radius: 12px; border: 1px solid #e2e8f0; }
.catalog-img { flex: 0 0 350px; border: 1px solid #ddd; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
.catalog-img img { width: 100%; display: block; }
.catalog-info h3 { font-size: 28px; color: #004080; margin-bottom: 20px; }
.catalog-info p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 30px; }
.btn-view { display: inline-flex; align-items: center; gap: 10px; background-color: #004080; color: #fff; padding: 15px 30px; font-size: 18px; font-weight: bold; border-radius: 6px; transition: 0.3s; }
.btn-view:hover { background-color: #002b5e; transform: translateY(-3px); }

/* 조직도 */
.org-wrap { text-align: center; padding: 20px 0; overflow-x: auto; margin-bottom: 30px; }
.tree { display: inline-flex; justify-content: center; margin: 0 auto; padding-bottom: 20px; width: 100%; }
.tree ul { position: relative; transition: all 0.5s; display: flex; justify-content: center; padding-top: 30px; }
.tree li { float: left; text-align: center; position: relative; padding: 30px 10px 0 10px; transition: all 0.5s; }
.tree li::before, .tree li::after { content: ''; position: absolute; top: 0; right: 50%; border-top: 2px solid #004080; width: 50%; height: 30px; z-index: 1; }
.tree li::after { right: auto; left: 50%; border-left: 2px solid #004080; }
.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 #004080; border-radius: 0 5px 0 0; }
.tree li:first-child::after { border-radius: 5px 0 0 0; }
.tree > ul > li > ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 2px solid #004080; width: 0; height: 30px; z-index: 1; transform: translateX(-50%); }
.tree ul ul ul { display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.tree ul ul ul li { padding: 15px 0 0 0; display: block; float: none; }
.tree ul ul ul li::before, .tree ul ul ul li::after { display: none; }
.tree ul ul ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 2px solid #004080; width: 0; height: calc(100% - 25px); z-index: 1; transform: translateX(-50%); }
.tree li div { border: 2px solid #004080; padding: 12px 20px; color: #004080; font-size: 16px; font-weight: bold; display: inline-block; border-radius: 8px; background-color: #fff; transition: all 0.3s; position: relative; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.05); white-space: nowrap; min-width: 140px; }
.tree > ul > li > div { background-color: #004080; color: #fff; font-size: 20px; padding: 15px 40px; min-width: 180px; }
.tree ul ul ul li div { border: 1px solid #cbd5e1; color: #475569; font-size: 15px; font-weight: 500; padding: 10px 15px; background-color: #f8fafc; min-width: 140px; box-shadow: none; }
.tree li div:hover { background-color: #f1f5f9; box-shadow: 0 6px 15px rgba(0,64,128,0.15); transform: translateY(-2px); }
.tree > ul > li > div:hover { background-color: #002244; color: #fff; }
.org-desc { margin-top: 20px; font-size: 16px; color: #666; line-height: 1.6; text-align: center; }

/* =======================================================
   6. 📱 모바일 반응형 (Responsive for Mobile)
======================================================= */
@media screen and (max-width: 768px) {
    html, body { overflow-x: hidden; }
    
    header { flex-direction: column; height: auto; padding: 15px 20px; gap: 15px; }
    
    .logo { gap: 6px; }
    .logo img { height: 50px; }
    .logo-text { margin-top: 2px; }
    .logo-text .ko { font-size: 30px; letter-spacing: -1.5px; }
    .logo-text .en { font-size: 12px; letter-spacing: 1px; margin-top: 0; }
    
    nav > ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    nav > ul > li > a { padding: 10px 5px; font-size: 14px; }
    .dropdown-content { display: none; } 
    
    .sub-banner { height: 180px; }
    .sub-banner h1 { font-size: 30px; }
    
    /* 모바일 환경에서는 컨테이너와 사이드바가 세로로 떨어지도록 구성 */
    .container { flex-direction: column; gap: 40px; margin: 40px auto; padding: 0 15px; max-width: 100%; overflow: hidden; }
    .sidebar { width: 100%; position: static; padding: 20px; }
    .sidebar ul { display: flex; flex-wrap: wrap; gap: 10px; }
    .sidebar ul li { flex: 1 1 calc(50% - 10px); margin-bottom: 0; }
    .sidebar ul li a { text-align: center; padding: 12px; font-size: 14px; }
    .section-title { font-size: 26px; }
    
    footer { padding: 40px 20px; text-align: center; margin-top: 50px; }
    .contact-info { flex-direction: column; gap: 30px; }
    .contact-info h2 { font-size: 24px; }

    /* 메인 (index) */
    .hero { height: 260px; }
    .hero h2 { font-size: 28px; margin-bottom: 10px; }
    .hero p { font-size: 15px; padding: 0 20px; word-break: keep-all; }
    .products { padding: 40px 20px; }
    .grid { grid-template-columns: 1fr; gap: 25px; }
    .card img { height: 220px; }

    /* 팝업 모바일 중앙정렬 */
    #catalogPopup, #certPopup { width: 90% !important; left: 50% !important; transform: translateX(-50%) !important; top: 20px; }
    #catalogPopup .popup-body { flex-direction: column; text-align: center; }
    #catalogPopup .popup-body a.img-link { width: 80%; margin: 0 auto; }
    #catalogPopup .popup-text { width: 100%; text-align: center; }
    #catalogPopup .popup-text p { margin-bottom: 10px; }

    /* 서브 페이지 및 제품 상세 */
    .ceo-quote { padding: 20px; border-radius: 8px; border-left: 0; border-top: 5px solid #004080; }
    .ceo-quote p { font-size: 18px; }
    .ceo-text p { font-size: 15px; }
    .info-box { flex-direction: column; gap: 20px; padding: 20px; text-align: center; }
    .product-top { flex-direction: column; gap: 25px; }
    .product-img, .product-info { width: 100%; }
    
    .overview-table th, .overview-table td { padding: 15px 10px; font-size: 14px; }
    .overview-table th { width: 35%; }
    .spec-table th, .spec-table td { padding: 10px; font-size: 13px; }
    
    .board-table, .data-table { 
        display: block; 
        width: 100%; 
        overflow-x: auto; 
        white-space: nowrap; 
        -webkit-overflow-scrolling: touch; 
    }
    .board-table th, .board-table td, .data-table th, .data-table td { 
        padding: 12px 15px; 
        font-size: 13px; 
    }
    .content-box { padding: 20px; font-size: 14px; white-space: normal; }
    
    .table-container { 
        max-height: 400px; 
        width: 100%; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
    }
    .perform-table { 
        min-width: 600px; 
        width: 100%; 
    } 
    .perform-table th, .perform-table td { 
        white-space: nowrap; 
        font-size: 13px; 
        padding: 10px 15px; 
    }

    .gallery-wrap, .gallery-grid { grid-template-columns: 1fr; gap: 15px; } 
    .photo-gallery { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); }
    .equip-grid { grid-template-columns: 1fr; }
    .catalog-wrap { flex-direction: column; padding: 20px; gap: 30px; }
    .catalog-img { flex: none; width: 100%; }

    .org-wrap { padding: 10px 0; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: inset 0 0 10px rgba(0,0,0,0.02); }
    .tree { padding-bottom: 10px; }
}

/* =======================================================
   7. 온라인 문의 폼 (inquiry.html 전용)
======================================================= */
.form-wrapper { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.inquiry-form .form-group { margin-bottom: 25px; text-align: left; }
.inquiry-form label { display: block; font-size: 16px; font-weight: bold; color: #1e293b; margin-bottom: 10px; }
.inquiry-form label span { color: #ef4444; margin-left: 5px; } 
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 15px; font-family: inherit; transition: all 0.3s; background-color: #f8fafc; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: #004080; background-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(0,64,128,0.1); }
.inquiry-form textarea { height: 250px; resize: vertical; line-height: 1.6; }
.btn-submit { background-color: #004080; color: #fff; padding: 18px 50px; font-size: 18px; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s; display: block; margin: 40px auto 0; width: 100%; max-width: 300px; }
.btn-submit:hover { background-color: #002b5e; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,64,128,0.15); }

@media screen and (max-width: 768px) {
    .form-wrapper { padding: 30px 20px; }
    .inquiry-form input, .inquiry-form textarea { padding: 14px; font-size: 14px; }
}