/* =====================================================================
   (주)넥스젬 NEXGEM — Corporate Website
   Main palette: light green
   ===================================================================== */

:root {
  /* Brand greens */
  --green-700: #3f6e2e;
  --green-600: #4f8a3d;
  --green-500: #6aa84f;
  --green-400: #8bc34a;   /* 메인 연한 녹색 */
  --green-300: #aed581;
  --green-100: #eef6e6;
  --green-50:  #f6faf0;

  --ink:       #1d271f;
  --body:      #3c4a40;
  --muted:     #6b7a70;
  --line:      #e3eadd;
  --white:     #ffffff;
  --bg:        #ffffff;
  --bg-soft:   #f7faf3;

  --shadow-sm: 0 2px 10px rgba(63, 110, 46, .06);
  --shadow-md: 0 10px 30px rgba(63, 110, 46, .10);
  --shadow-lg: 0 24px 60px rgba(63, 110, 46, .14);

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;

  --header-h:  74px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--green {
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
}
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: #fff; color: var(--green-700);
  border: 1.5px solid var(--green-300);
}
.btn--ghost:hover { background: var(--green-50); transform: translateY(-2px); }
.btn--light {
  background: rgba(255,255,255,.16); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(4px);
}
.btn--light:hover { background: rgba(255,255,255,.28); }

/* ===================================================================
   HEADER (상단 유틸바 + 메가메뉴)
   =================================================================== */
[id] { scroll-margin-top: 110px; }

.topbar { background: var(--green-700); color: #dff0d0; font-size: 12.5px; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; }
.topbar-tel { display: inline-flex; align-items: center; gap: 7px; letter-spacing: .01em; }
.topbar-tel svg { width: 14px; height: 14px; }
.topbar-tel b { color: #fff; font-weight: 700; }
.topbar-lang { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; font-weight: 700; }
.topbar-lang .bar { opacity: .4; }
.topbar-lang span { color: rgba(255,255,255,.55); transition: color .15s; }
.topbar-lang span.on { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(63,110,46,.08); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-img--footer { height: 44px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; box-shadow: var(--shadow-sm);
}
.logo-text b { font-size: 19px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.logo-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .18em; }

/* GNB — 메가 드롭다운 */
.gnb { position: static; align-self: stretch; }
.gnb-top { display: flex; align-items: stretch; height: 100%; gap: 2px; }
.gnb-item { position: relative; display: flex; align-items: center; }
.gnb-link {
  display: flex; align-items: center; height: 100%; padding: 0 22px; font-weight: 700; font-size: 16px;
  color: var(--ink); position: relative;
}
.gnb-link::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 18px; height: 3px;
  background: var(--green-400); border-radius: 3px; transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.gnb-item:hover .gnb-link, .gnb-item.active .gnb-link { color: var(--green-700); }
.gnb-item:hover .gnb-link::after, .gnb-item.active .gnb-link::after { transform: scaleX(1); }

.gnb-drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green-400);
  border-radius: 0 0 12px 12px; box-shadow: var(--shadow-md); padding: 10px; min-width: 200px;
  opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 5;
}
.gnb-item:hover .gnb-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnb-drop ul { display: grid; gap: 2px; }
.gnb-drop a { display: block; padding: 11px 16px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--body); white-space: nowrap; }
.gnb-drop a:hover { background: var(--green-50); color: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }
.menu-btn.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.on span:nth-child(2) { opacity: 0; }
.menu-btn.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================================================================
   HERO — 풀스크린 비주얼 슬라이더
   =================================================================== */
.hero-slider { position: relative; height: calc(100vh - var(--header-h) - 36px); min-height: 520px; max-height: 820px; overflow: hidden; background: #20301c; }
.hslide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, transform 6s ease;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hslide.on { opacity: 1; visibility: visible; transform: scale(1.06); }
.hslide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,27,31,.78), rgba(22,27,31,.42) 55%, rgba(22,27,31,.2)); }
/* 메인 비주얼 배경 사진 (순서: 품질과 납기 → 기본에 충실 → 도전) */
.hslide.s-quality   { background-image: url("../img/hero2.jpg"); }
.hslide.s-basics    { background-image: url("../img/main-basics.png"); }
.hslide.s-challenge { background-image: url("../img/main-challenge.png"); }
.hslide-inner { position: relative; z-index: 2; }
.hslide .eyebrow { background: rgba(255,255,255,.16); color: #eaf6dd; }
.hslide h2 { color: #fff; font-size: clamp(32px, 5.2vw, 60px); line-height: 1.14; margin-bottom: 18px; }
.hslide p { color: rgba(255,255,255,.9); font-size: clamp(16px, 2vw, 21px); max-width: 540px; margin-bottom: 30px; }
.hslide .ph-note { position: absolute; right: 20px; bottom: 16px; z-index: 2; color: rgba(255,255,255,.5); font-size: 12px; }

.hslider-dots { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 6; display: flex; gap: 10px; justify-content: center; }
.hslider-dots button { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.4); transition: .2s; }
.hslider-dots button.on { background: #fff; width: 30px; border-radius: 6px; }
.hslider-prev, .hslider-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.hslider-prev:hover, .hslider-next:hover { background: rgba(255,255,255,.3); }
.hslider-prev { left: 28px; } .hslider-next { right: 28px; }
.hslider-prev svg, .hslider-next svg { width: 22px; height: 22px; }

/* ===================================================================
   IMAGE PLACEHOLDER (실제 사진 대체용)
   =================================================================== */
.ph {
  position: relative; width: 100%; border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--green-100), var(--green-50)),
    repeating-linear-gradient(45deg, rgba(106,168,79,.05) 0 12px, transparent 12px 24px);
  background-blend-mode: normal;
  display: grid; place-items: center; overflow: hidden;
  border: 1px dashed var(--green-300);
  min-height: 180px;
}
.ph::after {
  content: attr(data-label);
  color: var(--green-600); font-weight: 600; font-size: 14px;
  text-align: center; padding: 0 16px; opacity: .85;
}
.ph .ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -150%); width: 44px; height: 44px; color: var(--green-400); opacity: .6; }
.ph--tall { min-height: 320px; }
.ph--wide { min-height: 240px; }

/* 실제 사진이 들어간 자리 — 라벨/아이콘 숨김 */
.ph.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; border: none; }
.ph.has-img::after { display: none; }
.ph.has-img .ico { display: none; }

/* ===================================================================
   BUSINESS CARDS (메인 4분야)
   =================================================================== */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.biz-card .ph { min-height: 150px; margin-bottom: 20px; }
.biz-card h3 { font-size: 20px; margin-bottom: 8px; }
.biz-card .tag { font-size: 13px; color: var(--green-600); font-weight: 700; letter-spacing: .08em; margin-bottom: 14px; }
.biz-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.biz-card .more { font-weight: 700; color: var(--green-700); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.biz-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.biz-card:hover .more svg { transform: translateX(4px); }

/* ===================================================================
   PRINCIPLES (성장 3원칙)
   =================================================================== */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.principle {
  background: #fff; border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--green-400);
}
.principle .icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--green-100);
  display: grid; place-items: center; margin-bottom: 20px;
}
.principle .icon svg { width: 28px; height: 28px; color: var(--green-600); }
.principle h3 { font-size: 21px; margin-bottom: 12px; }
.principle p { color: var(--muted); font-size: 15px; }

/* ===================================================================
   PARTNERS (고객사 로고)
   =================================================================== */
.partner-chip {
  flex: 0 0 auto; min-width: 210px; height: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 0 22px;
}
.partner-chip b { font-size: 17px; color: var(--ink); }
.partner-chip small { font-size: 12px; color: var(--muted); }
/* 주요 고객사 로고 — 3열 나열 */
.customers-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.customer-logo {
  flex: 0 0 calc((100% - 40px) / 3);
  height: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; padding: 0 40px;
  box-shadow: var(--shadow-sm);
}
.customers-grid .customer-logo.in { transition: opacity .6s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.customers-grid .customer-logo.in:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.customer-logo img { max-width: 100%; max-height: 86px; width: auto; height: auto; object-fit: contain; }

/* ===================================================================
   CTA SPLIT (상담 + 채용)
   =================================================================== */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cta-box {
  border-radius: 22px; padding: 44px 40px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
}
.cta-box--green { background: linear-gradient(135deg, var(--green-600), var(--green-400)); color: #fff; }
.cta-box--dark  { background: linear-gradient(135deg, #2c3a2e, #44563f); color: #fff; }
.cta-box h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,.85); margin-bottom: 26px; }

/* ===================================================================
   PAGE HERO (서브페이지 상단)
   =================================================================== */
.page-hero {
  background:
    radial-gradient(700px 380px at 85% -20%, rgba(139,195,74,.3), transparent 60%),
    linear-gradient(180deg, var(--green-50), #fff);
  padding: 64px 0 56px; border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 620px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb span { color: var(--green-600); font-weight: 600; }

/* ---------- generic content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.prose h3 { font-size: 24px; margin: 0 0 16px; }
.prose p { color: var(--body); margin-bottom: 14px; }
.prose p.muted { color: var(--muted); }

.feature-list { display: grid; gap: 16px; margin-top: 8px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-100); color: var(--green-600);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-list .check svg { width: 15px; height: 15px; }
.feature-list b { color: var(--ink); display: block; }
.feature-list span { color: var(--muted); font-size: 14.5px; }

/* product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.prod-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.prod-card .ph { border-radius: 0; border: none; border-bottom: 1px dashed var(--green-300); min-height: 190px; }
.prod-card .body { padding: 18px 20px; }
.prod-card h4 { font-size: 17px; margin-bottom: 4px; }
.prod-card p { font-size: 13.5px; color: var(--muted); }

/* process steps */
.process { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.process .step {
  flex: 1; min-width: 130px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 18px; position: relative; text-align: center;
}
.process .step .n {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--green-100); color: var(--green-700); font-weight: 800;
  display: grid; place-items: center; font-size: 15px;
}
.process .step b { display: block; color: var(--ink); font-size: 15px; }
.process .step small { color: var(--muted); font-size: 12.5px; }
.process .arrow { align-self: center; color: var(--green-300); flex: 0 0 auto; }
.process .arrow svg { width: 22px; height: 22px; }

/* timeline (연혁) */
#history { background: linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.96)), url("../img/history-bg.jpg") center/cover fixed; }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding-bottom: 30px; position: relative; }
.tl-item .year { text-align: right; font-weight: 800; color: var(--green-700); font-size: 19px; }
.tl-item .body { position: relative; padding-left: 24px; }
.tl-item .body::before {
  content: ""; position: absolute; left: -7px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--green-400); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-300);
}
.tl-item .body b { color: var(--ink); display: block; margin-bottom: 4px; }
.tl-item .body p { color: var(--muted); font-size: 14.5px; }

/* org chart (조직도) */
.org { text-align: center; }
.org .lvl { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; position: relative; }
.org .node {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 26px; min-width: 150px; box-shadow: var(--shadow-sm);
}
.org .node.top { background: linear-gradient(135deg, var(--green-600), var(--green-400)); color: #fff; border: none; }
.org .node.top b { color: #fff; }
.org .node b { display: block; color: var(--ink); font-size: 16px; }
.org .node small { color: var(--muted); font-size: 12.5px; }
.org .node.top small { color: rgba(255,255,255,.85); }

/* values cards */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.value-card .num { font-size: 14px; font-weight: 800; color: var(--green-400); letter-spacing: .1em; }
.value-card h3 { font-size: 21px; margin: 10px 0 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-band .num { font-size: 40px; font-weight: 800; color: var(--green-600); }
.stat-band .lbl { color: var(--muted); font-size: 14.5px; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.t { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
table.t th, table.t td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.t th { background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: 14.5px; }
table.t td { color: var(--body); font-size: 14.5px; }
table.t tr:last-child td { border-bottom: none; }

/* cert badges */
.certs { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: center; }
.cert .ph { min-height: 140px; margin-bottom: 14px; }
.cert b { color: var(--ink); font-size: 15px; }
.cert small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
/* 인증 배지 (사진 없이) */
.cert--badge { display: flex; flex-direction: column; align-items: center; }
.cert__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--green-100);
  border: 1px solid var(--green-300); display: grid; place-items: center; margin-bottom: 14px; }
.cert__ico svg { width: 30px; height: 30px; color: var(--green-600); }
/* 고객사 로고 카드 (사업분야/회사소개) */
.prod-card .logo-box { min-height: 150px; display: flex; align-items: center; justify-content: center;
  background: #fff; border-bottom: 1px solid var(--line); padding: 26px 24px; }
.prod-card .logo-box img { max-width: 82%; max-height: 74px; width: auto; height: auto; object-fit: contain; }
/* 인증서 사진 카드 */
.cert__img { width: 100%; height: 260px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.cert__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* 조직도 트리 */
.org-tree { text-align: center; }
.org-tree .org-top { display: inline-flex; flex-direction: column; align-items: center; }
.org-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 30px;
  font-weight: 700; color: var(--ink); font-size: 16px; box-shadow: var(--shadow-sm, 0 2px 8px rgba(31,52,33,.05)); }
.org-box--head { background: linear-gradient(135deg, var(--green-600), var(--green-500)); color: #fff; border-color: transparent; }
.org-box--sub { background: var(--green-100); color: var(--green-700); border-color: var(--green-300); font-size: 15px; padding: 12px 26px; }
.org-line { width: 2px; height: 26px; background: var(--green-300); }
.org-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.org-col { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; }
.org-col h4 { font-size: 16px; color: var(--green-700); margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 2px solid var(--green-300); }
.org-col ul { list-style: none; margin: 0; padding: 0; }
.org-col li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px;
  font-size: 13.5px; color: var(--ink); margin-bottom: 8px; }
.org-col li small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.org-col li .org-sub { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--green-300);
  color: var(--muted); font-size: 11.5px; line-height: 1.5; }
@media (max-width: 900px) { .org-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .org-cols { grid-template-columns: 1fr; } }

/* 품질·환경 방침 목록 */
.policy-list { list-style: none; margin: 12px 0 0; padding: 0; }
.policy-list li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink); margin-bottom: 9px; line-height: 1.5; }
.policy-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); }
.policy-list li b { color: var(--green-700); }

/* news cards */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card .ph { border-radius: 0; border: none; min-height: 180px; }
.news-card .body { padding: 20px 22px; }
.news-card .cat { font-size: 12px; font-weight: 700; color: var(--green-600); letter-spacing: .06em; }
.news-card h4 { font-size: 17px; margin: 8px 0; }
.news-card .date { font-size: 13px; color: var(--muted); }

/* contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--green-100); display: grid; place-items: center; }
.info-list .ic svg { width: 20px; height: 20px; color: var(--green-600); }
.info-list b { color: var(--ink); display: block; }
.info-list span { color: var(--muted); font-size: 14.5px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-400); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn--primary { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }

.map-embed { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }

/* FAQ (AEO) */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: box-shadow .18s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--green-300); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink);
  font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700); font-weight: 700;
  display: grid; place-items: center; font-size: 18px; line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item p { color: var(--body); padding: 0 0 20px; font-size: 15px; }

/* ===================================================================
   MAIN con01 — 사업분야 이미지 박스 + 더보기
   =================================================================== */
.con01 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.con01-item { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.con01-item::before { content: ""; position: absolute; inset: 0; transition: transform .6s ease; background-size: cover; background-position: center; }
.con01-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,27,.05), rgba(20,24,27,.8)); transition: background .3s; }
.con01-item:hover::before { transform: scale(1.08); }
.con01-item:hover::after { background: linear-gradient(180deg, rgba(20,24,27,.1), rgba(63,110,46,.82)); } /* hover 시에만 녹색 포인트 */
.con01-item.b1::before { background-image: url("../img/main-injection.png"); }
.con01-item.b2::before { background-image: url("../img/main-mold.png"); }
.con01-item.b4::before { background-image: url("../img/main-assembly.png"); }
.con01-body .tag { color: var(--green-300); opacity: 1; }
.con01-body { position: relative; z-index: 2; padding: 36px 30px; width: 100%; }
.con01-body .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; opacity: .85; }
.con01-body h3 { color: #fff; font-size: 24px; margin: 8px 0 10px; }
.con01-body p { color: rgba(255,255,255,.82); font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: all .35s ease; }
.con01-item:hover .con01-body p { max-height: 80px; opacity: 1; margin-bottom: 14px; }
.con01-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: #fff; }
.con01-more svg { width: 17px; height: 17px; transition: transform .2s; }
.con01-item:hover .con01-more svg { transform: translateX(5px); }

/* ===================================================================
   MAIN con02 — 가치 밴드 (배경 + 아이콘 3)
   =================================================================== */
.con02 { position: relative; padding: 96px 0; color: var(--ink); overflow: hidden; background: var(--bg-soft); }
.con02::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400)); }
.con02 .con02-head { position: relative; z-index: 2; text-align: center; margin-bottom: 48px; }
.con02 .con02-head h2 { color: var(--ink); font-size: clamp(26px,3.4vw,40px); }
.con02 .con02-head p { color: var(--muted); margin-top: 12px; }
.con02-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.con02-item { text-align: center; padding: 40px 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform .25s ease, box-shadow .25s ease; }
.con02-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,52,33,.08); }
.con02-icon { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 22px; display: grid; place-items: center;
  background: var(--green-100); border: 1px solid var(--green-300); }
.con02-icon svg { width: 40px; height: 40px; color: var(--green-600); }
.con02-item h3 { color: var(--ink); font-size: 22px; margin-bottom: 10px; }
.con02-item p { color: var(--muted); font-size: 15px; }

/* ===================================================================
   MAIN con03 — 대형 쇼케이스 블록
   =================================================================== */
.con03 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.con03-item { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 300px; display: flex; align-items: center; color: #fff; padding: 46px; }
.con03-item::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
.con03-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,27,.82), rgba(20,24,27,.38)); }
.con03-item:hover::before { transform: scale(1.07); }
.con03-item.g1::before { background-image: url("../img/show-about.jpg"); }
.con03-item.g2::before { background-image: url("../img/show-careers.jpg"); }
.con03-body .tag { color: var(--green-300); opacity: 1; }
.con03-body { position: relative; z-index: 2; }
.con03-body .tag { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; opacity: .85; }
.con03-body h3 { color: #fff; font-size: 28px; margin: 10px 0 12px; }
.con03-body p { color: rgba(255,255,255,.85); margin-bottom: 22px; max-width: 360px; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: #1f2a21; color: #b9c6b9; }
.footer-util { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-util-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { font-size: 14px; color: #cdd8cd; font-weight: 600; transition: color .15s; }
.footer-links a:hover { color: var(--green-300); }
.footer-main { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 40px 0 46px; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: #7e8e7e; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: #8fa08f; max-width: 340px; }
.footer-info { font-size: 13.5px; color: #9fae9f; line-height: 2; text-align: right; }
.footer-info .copy { margin-top: 10px; color: #7e8e7e; font-size: 12.5px; }

/* ===================================================================
   ANIMATIONS
   =================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .con01 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 모바일 네비게이션 (메가메뉴 → 슬라이드 패널) ---------- */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .gnb { display: none; }
  .site-header.nav-open .gnb {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto;
  }
  .gnb-top { flex-direction: column; height: auto; gap: 0; }
  .gnb-item { display: block; }
  .gnb-link { height: auto; padding: 16px 22px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .gnb-link::after { display: none; }
  .gnb-link::before { content: "+"; position: absolute; right: 22px; color: var(--green-600); font-weight: 700; font-size: 18px; }
  .gnb-item.expand .gnb-link::before { content: "−"; }
  .gnb-drop {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
    box-shadow: none; border: none; border-radius: 0; padding: 0; min-width: 0; background: var(--bg-soft);
  }
  .gnb-item.expand .gnb-drop { display: block; }
  .gnb-drop a { padding: 13px 34px; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .split, .cta-split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .principles, .prod-grid, .news-grid, .values { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2,1fr); gap: 30px 16px; }
  .certs { grid-template-columns: repeat(2,1fr); }
  .customer-logo { flex-basis: calc((100% - 20px) / 2); height: 148px; }
  .con02-grid, .con03 { grid-template-columns: 1fr; }
  .con01-item { min-height: 300px; }
  .con01-body p { max-height: none; opacity: 1; margin-bottom: 14px; }
  .footer-main { flex-direction: column; gap: 28px; }
  .footer-info { text-align: left; }
  .hslider-prev { left: 12px; } .hslider-next { right: 12px; }
  .hslider-prev, .hslider-next { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .biz-grid, .prod-grid, .certs, .stat-band, .con01 { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .customer-logo { flex-basis: 100%; height: 132px; }
  .timeline::before { left: 70px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .tl-item .year { font-size: 16px; }
  .header-actions .btn--primary { display: none; }
}

/* ---------- 문의 폼: 동의 항목 / 결과 메시지 / 스팸트랩 ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 18px; font-size: 13.5px; line-height: 1.6; color: var(--muted); cursor: pointer;
}
.agree input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green-600); flex: 0 0 auto; }
.agree b { color: var(--body); font-weight: 600; }
.form-msg { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.form-msg.is-ok  { color: var(--green-700); font-weight: 600; }
.form-msg.is-err { color: #c0392b; font-weight: 600; }
