/* ===== (주)피엘티 홈페이지 공통 스타일 ===== */
:root {
  --navy: #0f2c52;        /* 신뢰감 있는 진한 네이비 */
  --blue: #1b64c4;        /* 브랜드 블루 (표지 배경톤) */
  --blue-dark: #14509e;
  --green: #2e9e5b;       /* Way to green growth 포인트 */
  --ink: #1c2430;
  --gray: #5b6675;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 44, 82, .08);
  --wrap: 1200px;
  --font: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--navy); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ===== 상단 유틸/헤더 ===== */
.topbar {
  background: var(--navy);
  color: #c7d4e6;
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: flex-end; gap: 18px; height: 38px; align-items: center; }
.topbar a { color: #c7d4e6; }
.topbar a:hover { color: #fff; }

header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 66px; width: auto; }
.brand .txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand .txt b { color: var(--navy); font-size: 20px; letter-spacing: -.5px; }
.brand .txt span { color: var(--green); font-size: 11px; letter-spacing: .5px; }

/* 메인 메뉴 */
nav.gnb { margin-left: auto; height: 100%; }
nav.gnb > ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
nav.gnb > ul > li { position: relative; }
nav.gnb > ul > li > a {
  display: flex; align-items: center; height: 100%;
  padding: 0 26px; font-size: 17px; font-weight: 600; color: var(--ink);
}
nav.gnb > ul > li:hover > a,
nav.gnb > ul > li.active > a { color: var(--blue); }
nav.gnb > ul > li > a::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0;
  height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .2s;
}
nav.gnb > ul > li:hover > a::after,
nav.gnb > ul > li.active > a::after { transform: scaleX(1); }

/* 드롭다운 */
nav.gnb .sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 190px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transition: all .18s; list-style: none; margin: 0;
}
nav.gnb > ul > li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
nav.gnb .sub li a { display: block; padding: 10px 14px; border-radius: 7px; font-size: 15px; color: var(--gray); white-space: nowrap; }
nav.gnb .sub li a:hover { background: var(--bg-soft); color: var(--blue); }

/* 모바일 토글 */
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ===== 히어로 ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,44,82,.86) 30%, rgba(27,100,196,.55)); }
.hero .wrap { position: relative; z-index: 2; padding: 120px 24px; }
.hero .eyebrow { color: #8fd0a6; font-weight: 700; letter-spacing: 2px; font-size: 14px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 46px; letter-spacing: -1px; line-height: 1.25; }
.hero h1 b { color: #8fd0a6; }
.hero p { margin-top: 20px; font-size: 19px; color: #dce6f4; max-width: 620px; }
.hero .btns { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 16px; transition: .18s; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #268a4f; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-line { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }

/* ===== 섹션 공통 ===== */
section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head .tag { color: var(--blue); font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.sec-head h2 { font-size: 34px; margin-top: 10px; letter-spacing: -.5px; }
.sec-head p { margin-top: 14px; color: var(--gray); font-size: 17px; }

/* 카드 그리드 */
.grid { display: grid; gap: 24px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .2s; display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd8e6; }
.card .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.card h3 { font-size: 20px; }
.card p { margin-top: 10px; color: var(--gray); font-size: 15px; }
.card .more { margin-top: 16px; color: var(--blue); font-weight: 600; font-size: 14px; display: inline-block; }

/* 통계 스트립 */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: 40px; font-weight: 800; color: var(--blue); letter-spacing: -1px; }
.stat .lbl { margin-top: 6px; color: var(--gray); font-size: 15px; }

/* 소개 2열 */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: 30px; letter-spacing: -.5px; }
.split .tag { color: var(--green); font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.split p { margin-top: 16px; color: var(--gray); font-size: 16px; }
.ul-check { list-style: none; padding: 0; margin: 22px 0 0; }
.ul-check li { position: relative; padding: 6px 0 6px 30px; color: var(--ink); }
.ul-check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* CTA 배너 */
.cta { background: linear-gradient(100deg, var(--navy), var(--blue)); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: 32px; }
.cta p { margin-top: 12px; color: #d7e2f2; font-size: 17px; }
.cta .btns { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== 서브페이지 배너/본문 ===== */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: 68px 0 56px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy), var(--blue-dark)); opacity: .96; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 36px; letter-spacing: -.5px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: #b9c8dd; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #7f93b0; }

/* 서브 탭(하위메뉴) */
.subtabs { border-bottom: 1px solid var(--line); background: #fff; }
.subtabs .wrap { display: flex; gap: 6px; overflow-x: auto; }
.subtabs a { padding: 18px 22px; font-weight: 600; color: var(--gray); border-bottom: 3px solid transparent; white-space: nowrap; }
.subtabs a:hover { color: var(--blue); }
.subtabs a.on { color: var(--blue); border-color: var(--blue); }

.content { padding: 70px 0; min-height: 320px; }
.content h2 { font-size: 26px; margin-bottom: 18px; }
.content p { color: var(--gray); font-size: 16px; margin-bottom: 14px; }
.placeholder {
  border: 1px dashed #c4d0e0; background: var(--bg-soft); border-radius: var(--radius);
  padding: 54px 30px; text-align: center; color: var(--gray);
}
.placeholder .big { font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }

/* ===== 본문 콘텐츠 컴포넌트 ===== */
.content .lead { font-size: 19px; color: var(--ink); line-height: 1.85; margin-bottom: 28px; }
.content h3 { font-size: 20px; color: var(--navy); margin: 36px 0 14px; }
.content .block { margin-bottom: 52px; }
.content .block:last-child { margin-bottom: 0; }
.content .block > p { margin-bottom: 14px; }
.note { color: #8595a8; font-size: 13px; margin-top: 10px; }

/* 이미지 자리표시자 */
.img-ph { border: 1px dashed #c1cfe0; background: repeating-linear-gradient(45deg,#f5f7fa,#f5f7fa 12px,#eef2f7 12px,#eef2f7 24px);
  border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: #7f93b0; min-height: 240px; padding: 24px; }
.img-ph .t { font-weight: 700; color: #6f86a6; }
.img-ph .s { font-size: 13px; margin-top: 4px; color: #9aabc0; }
.img-ph.wide { min-height: 320px; }
.img-ph.tall { min-height: 380px; }

/* 표 */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { border: 1px solid var(--line); padding: 13px 15px; text-align: left; vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-weight: 600; text-align: center; }
.table tbody th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; text-align: center; }
.table-wrap { overflow-x: auto; }

/* 타임라인(연혁) */
.timeline { margin: 0; padding-left: 6px; border-left: 2px solid var(--line); }
.timeline .tl { position: relative; padding: 0 0 14px 28px; }
.timeline .tl::before { content:""; position:absolute; left:-8px; top:5px; width:13px; height:13px; border-radius:50%;
  background:var(--blue); border:3px solid #fff; box-shadow:0 0 0 1px var(--line); }
.timeline .tl:last-child { padding-bottom: 0; }
.timeline .yr { font-weight: 800; color: var(--blue); font-size: 18px; }
.timeline .ev { color: var(--gray); margin-top: 4px; }
.tl-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; align-items: start; }
@media (max-width: 720px) { .tl-2col { grid-template-columns: 1fr; gap: 0; } }

/* 지도 임베드 */
.map-embed { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; line-height: 0; }
.map-embed iframe { display: block; }

/* 단일 페이지 섹션(스크롤스파이) */
.spy-sec { scroll-margin-top: 150px; }
.spy-sec + .spy-sec { border-top: 1px solid var(--line); }
.spy-sec:nth-of-type(even) { background: #f6f9fc; }

/* 제품 규격 검색 */
.spec-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 14px; }
.spec-input { flex: 1; min-width: 220px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; color: var(--ink); }
.spec-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,100,196,.12); }
.spec-cats { display: flex; gap: 6px; }
.spec-cats button { padding: 9px 14px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; }
.spec-cats button:hover { border-color: var(--blue); color: var(--blue); }
.spec-cats button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.spec-count { margin-left: auto; color: var(--gray); font-size: 14px; font-weight: 700; white-space: nowrap; }
.spec-table-wrap { position: relative; max-height: 560px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td, .spec-table th { white-space: nowrap; }
.spec-table .c-name .ell { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.spec-table .c-img { width: 52px; text-align: center; }
.spec-table .thumb { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; background: #f2f5f9; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.spec-table .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.spec-table thead th { position: sticky; top: 0; background: var(--navy); color: #fff; text-align: left; padding: 10px 9px; font-weight: 600; white-space: nowrap; z-index: 1; }
.spec-table td { padding: 9px 9px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.spec-table tbody tr:nth-child(even) { background: #f6f9fc; }
.spec-table tbody tr:hover { background: #eef4fb; }
.spec-table .mono { font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec-table .c-no { width: 40px; }
.spec-table td.c-no, .spec-table td.c-id { color: var(--gray); }
.spec-table .tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #e8f0fb; color: #1b4f9c; white-space: nowrap; }
.spec-table .tag.t2 { background: #eaf6ee; color: #2e7d46; }
.spec-empty { padding: 40px; text-align: center; color: var(--gray); }
@media (max-width: 640px) {
  .spec-table { font-size: 12.5px; }
  .spec-table td, .spec-table thead th { padding: 8px 9px; }
  .spec-count { margin-left: 0; }
}

/* 치사율 인포그래픽 */
.fatal-box { background: #f6f8fb; border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 18px; margin: 10px auto 0; max-width: 980px; }
.fatal-box .fatal-title { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; margin: 0; }
.fatal-box .fatal-sub { font-size: 13px; color: var(--gray); margin: 6px 0 0; }
.fatal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.fatal-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 14px; }
.fatal-card.dashed { background: transparent; border-style: dashed; }
.fatal-h { font-size: 14px; font-weight: 700; color: var(--ink); }
.fatal-h em { font-style: normal; font-weight: 600; color: var(--gray); font-size: 12px; }
.fatal-num { font-size: 36px; font-weight: 800; color: var(--ink); line-height: 1.1; margin-top: 8px; }
.fatal-num.red { color: #a5342e; }
.fatal-num span { font-size: 16px; font-weight: 700; margin-left: 2px; }
.fatal-detail { font-size: 13px; color: var(--gray); margin-top: 8px; }
.fatal-box .fatal-note { font-size: 13px; color: var(--gray); margin: 16px 0 0; }
@media (max-width: 680px) {
  .fatal-grid { grid-template-columns: 1fr; }
  .fatal-box .fatal-title { font-size: 17px; }
  .fatal-num { font-size: 30px; }
}

/* 히어로 규격 검색 박스 */
.hero-search { display: flex; gap: 8px; margin-top: 18px; max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid rgba(255,255,255,.55); border-radius: 9px; background: rgba(255,255,255,.96); font-size: 15px; color: var(--ink); }
.hero-search input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.hero-search button { white-space: nowrap; }
@media (max-width: 480px) { .hero-search { flex-direction: column; } }

/* 가변형 이미지 나란히 */
.vms-imgs { display: flex; gap: 26px; justify-content: center; align-items: flex-end; flex-wrap: wrap; margin: 20px 0 28px; }
.vms-imgs figure { margin: 0; text-align: center; }
.vms-imgs img { max-height: 440px; width: auto; max-width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.vms-imgs .im-sign img { border-radius: 12px; }
.vms-imgs .im-app img { border-radius: 16px; }
.vms-imgs figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--gray); }

/* 가변형 속도 배지 */
.speed-badges { display: flex; flex-wrap: wrap; gap: 30px; margin: 22px 0 4px; }
.speed-badges .sb { text-align: center; width: 116px; }
.speed-badges .sb-num { display: inline-flex; width: 78px; height: 78px; align-items: center; justify-content: center; border-radius: 50%; border: 6px solid #d81f2a; background: #fff; color: #1a1a1a; font-size: 27px; font-weight: 800; }
.speed-badges .sb b { display: block; margin-top: 10px; font-size: 15px; color: var(--ink); }
.speed-badges .sb small { display: block; margin-top: 3px; font-size: 12px; color: var(--gray); line-height: 1.35; }

/* 특허·인증 갤러리 */
.cert-cnt { font-size: 14px; font-weight: 700; color: var(--blue); margin-left: 8px; }
.gallery.cert-gallery { gap: 18px; align-items: start; }
.gallery.cert-gallery img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #fff; -webkit-user-drag: none; user-select: none; }
.gallery.cert-gallery figcaption { font-weight: 600; color: var(--ink); font-size: 13px; line-height: 1.45; }

/* FAQ 아코디언 */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background:#fff; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--blue); font-weight: 800; margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 16px; color: var(--blue); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 22px 20px 42px; color: var(--gray); }

/* 폼 */
.form { display: grid; gap: 18px; max-width: 760px; }
.form .row { display: grid; gap: 6px; }
.form label { font-weight: 600; font-size: 14px; color: var(--navy); }
.form label .req { color: #e2000f; }
.form input, .form textarea, .form select { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-family: inherit; font-size: 15px; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,100,196,.12); }
.form textarea { min-height: 150px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--gray); font-size: 14px; }
.form-result { font-size: 15px; font-weight: 600; padding: 4px 2px; }
.form-result.ok { color: var(--green); }
.form-result.err { color: #d23b3b; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* 절차 단계 */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.steps .step { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px 20px; }
.steps .step .n { width:36px;height:36px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:700;margin-bottom:12px; }
.steps .step h4 { color:var(--navy); font-size:16px; }
.steps .step p { color:var(--gray); font-size:14px; margin-top:6px; }

/* 스펙/정의 목록 */
.spec { border-top:2px solid var(--navy); margin:0; }
.spec .r { display:grid; grid-template-columns:190px 1fr; border-bottom:1px solid var(--line); }
.spec .r dt { background:var(--bg-soft); padding:14px 18px; font-weight:600; color:var(--navy); margin:0; }
.spec .r dd { padding:14px 18px; margin:0; color:var(--gray); }

/* 갤러리(설치사례 등) */
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.gallery figure { margin:0; }
.gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); background:#0b1220; display:block; cursor:zoom-in; transition:transform .15s, box-shadow .15s; }
.gallery img:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.gallery figcaption { margin-top:10px; font-weight:600; color:var(--navy); font-size:15px; text-align:center; }

/* 라이트박스 (이미지 더블클릭 확대) */
.lightbox { position:fixed; inset:0; z-index:1000; background:rgba(8,14,24,.93);
  display:none; align-items:center; justify-content:center; padding:30px; cursor:zoom-out; }
.lightbox.open { display:flex; }
.lightbox figure { margin:0; display:flex; flex-direction:column; align-items:center; max-width:96vw; }
.lightbox img { max-width:96vw; max-height:84vh; object-fit:contain; border-radius:8px; box-shadow:0 12px 48px rgba(0,0,0,.6); cursor:default; }
.lightbox figcaption { color:#fff; margin-top:16px; font-weight:600; font-size:16px; text-align:center; }
.lightbox .lb-close { position:fixed; top:18px; right:22px; width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.14); color:#fff; border:0; font-size:26px; line-height:1; cursor:pointer; }
.lightbox .lb-close:hover { background:rgba(255,255,255,.28); }
.lightbox .lb-hint { position:fixed; bottom:20px; left:0; right:0; text-align:center; color:#9fb2cc; font-size:13px; }

/* 안내 팁(둥근 배지) */
.tip { display:inline-flex; align-items:center; gap:8px; background:var(--bg-soft); border:1px solid var(--line);
  color:var(--gray); font-size:14px; padding:9px 16px; border-radius:999px; }
.tip b { color:var(--blue); }

@media (max-width: 820px) {
  .steps { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .steps, .gallery { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .spec .r { grid-template-columns: 110px 1fr; }
}

/* ===== 푸터 ===== */
footer.site { background: var(--navy); color: #a9b8cd; padding: 54px 0 30px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site .brand-f b { color: #fff; font-size: 18px; display: block; margin-bottom: 12px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site ul li { margin-bottom: 8px; }
footer.site ul li a:hover { color: #fff; }
footer.site .copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #7f93b0; font-size: 13px; }

/* ===== 반응형 ===== */
@media (max-width: 960px) {
  .grid.c3, .grid.c4, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 620px) {
  .grid.c3, .grid.c4, .grid.c2, .stats, footer.site .cols { grid-template-columns: 1fr; }
  .hero .wrap { padding: 84px 24px; }
  .hero h1 { font-size: 28px; }
  section { padding: 60px 0; }
}

/* ===== 헤더 메뉴 반응형 — 로고 오른쪽에 가로 메뉴 유지 ===== */
@media (max-width: 1080px) {
  .nav-row { height: 72px; }
  .brand img { height: 56px; }
  nav.gnb > ul > li > a { padding: 0 16px; font-size: 15.5px; }
  nav.gnb > ul > li > a::after { left: 16px; right: 16px; }
}
@media (max-width: 820px) {
  .brand img { height: 50px; }
  nav.gnb > ul > li > a { padding: 0 11px; font-size: 14px; }
  nav.gnb > ul > li > a::after { left: 11px; right: 11px; }
  .wrap { padding: 0 16px; }
}
@media (max-width: 620px) {
  .nav-row { height: 64px; }
  .brand img { height: 44px; }
  nav.gnb > ul > li > a { padding: 0 8px; font-size: 12.5px; }
  nav.gnb .sub { min-width: 150px; }
}

/* 아주 좁은 화면(휴대폰)에서만 햄버거 메뉴로 전환 */
@media (max-width: 480px) {
  .menu-toggle { display: block; margin-left: auto; }
  nav.gnb { position: fixed; inset: 64px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    height: auto; display: none; box-shadow: var(--shadow); }
  nav.gnb.open { display: block; }
  nav.gnb > ul { flex-direction: column; height: auto; padding: 8px 0; }
  nav.gnb > ul > li > a { height: 52px; padding: 0 22px; font-size: 16px; }
  nav.gnb > ul > li > a::after { display: none; }
  nav.gnb .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; padding: 0 0 8px 20px; min-width: 0; display: none; }
  nav.gnb > ul > li.expand .sub { display: block; }
}
