/* 진명이엔지 홈페이지 공통 스타일 */
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: #1A1D21; text-decoration: none; }
a:hover { color: #D81F2A; }
:focus-visible { outline: 3px solid #D81F2A; outline-offset: 2px; }
input, select, textarea, button { font-family: inherit; }
section[id] { scroll-margin-top: 16px; }

/* 모바일 메뉴 */
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid #D5D9DD; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #1A1D21; }
@media (max-width: 900px) {
  .site-header > div { flex-wrap: wrap; }
  .main-nav { display: none !important; order: 3; width: 100%; flex-direction: column; gap: 0 !important; padding: 0 0 12px; }
  .main-nav.open { display: flex !important; }
  .main-nav a { padding: 14px 0; border-top: 1px solid #E6E8EA; font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none !important; }
}

/* 사업실적 표 */
.pf { min-height: 44px; padding: 0 18px; border: 1px solid #C9CED3; background: #fff; color: #1A1D21; font: 700 14px 'Noto Sans KR', sans-serif; cursor: pointer; }
.pf.on { border-color: #1A1D21; background: #1A1D21; color: #fff; }
.proj-row { display: grid; grid-template-columns: 88px minmax(260px, 2.2fr) minmax(140px, 1fr) minmax(120px, 0.9fr) minmax(280px, 2.2fr); gap: 0 20px; padding: 14px 28px; font-size: 14px; line-height: 1.55; color: #2E3338; }
.proj-row .y { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: #1A1D21; }
.proj-row .cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.proj-row b { color: #1A1D21; }
.proj-row .sc { color: #4A5058; }

/* 문의 양식 */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 20px; padding: 16px 20px; font-size: 15px; line-height: 1.6; font-weight: 700; }
.form-msg.ok { background: #EAF6EE; color: #1D5E33; border-left: 4px solid #2E8B4E; }
.form-msg.err { background: #FDEDEE; color: #9B1C22; border-left: 4px solid #D81F2A; }
button[type=submit][disabled] { opacity: 0.6; cursor: wait; }
