/* 대성환경(주) — 사이트 공통 스타일 */
:root {
  --navy: #0b2540;
  --navy-2: #12355a;
  --ink: #111b27;
  --text: #2b3645;
  --muted: #6a7686;
  --line: #e3e8ee;
  --bg: #ffffff;
  --tint: #f3f6f9;
  --blue: #1a6fd8;
  --blue-2: #3aa0ff;
  --blue-soft: #e8f1fc;
  --green: #2f9a6a;
  --green-soft: #e6f4ed;
  --coral: #d9573b;
  --coral-soft: #fbeae5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 37, 64, .05), 0 8px 24px rgba(11, 37, 64, .06);
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }

.h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.h3 { font-size: 22px; font-weight: 700; }
.h4 { font-size: 17px; font-weight: 700; }
.lead { font-size: 18px; color: var(--text); margin-top: 18px; }
.lead-light { color: rgba(255, 255, 255, .78); }
.muted { color: var(--muted); }
.muted-light { color: rgba(255, 255, 255, .65); }
.small { font-size: 14px; margin-top: 16px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .02em; margin-bottom: 12px; }
.eyebrow-light { color: var(--blue-2); }

/* ── 버튼 ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #155fbb; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c7d0da; background: var(--tint); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn-row-center { justify-content: center; }
.btn-col { display: grid; gap: 8px; margin-top: 24px; }
.link-arrow { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ── 헤더 ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .25s, border-color .25s;
}
.is-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.is-home .site-header.is-scrolled { background: rgba(255, 255, 255, .95); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.brand-text small { font-size: 14px; font-weight: 700; }
.brand-text em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.is-home .site-header:not(.is-scrolled) .brand-text strong,
.brand-light .brand-text strong { color: #fff; }
.is-home .site-header:not(.is-scrolled) .brand-text em,
.brand-light .brand-text em { color: rgba(255, 255, 255, .6); }

.gnb { margin-left: auto; height: 100%; }
.gnb > ul { display: flex; height: 100%; }
.gnb-item { position: relative; height: 100%; display: flex; align-items: center; }
.gnb-link { padding: 0 18px; font-weight: 700; font-size: 16px; color: var(--ink); height: 100%; display: flex; align-items: center; }
.is-home .site-header:not(.is-scrolled) .gnb-link { color: #fff; }
.gnb-link::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 16px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); }
.gnb-item:hover .gnb-link::after, .gnb-item.is-current .gnb-link::after { transform: scaleX(1); }
.gnb-sub {
  position: absolute; top: calc(100% - 6px); left: 50%; min-width: 180px; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 15px; color: var(--text); white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a[aria-current] { background: var(--tint); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.header-tel svg { width: 16px; height: 16px; fill: var(--blue); }
.is-home .site-header:not(.is-scrolled) .header-tel { color: #fff; }
.is-home .site-header:not(.is-scrolled) .header-tel svg { fill: var(--blue-2); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; position: relative; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.is-home .site-header:not(.is-scrolled) .menu-toggle span { background: #fff; }
.menu-open .menu-toggle span { background: var(--ink) !important; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; }
.mobile-nav-inner { padding: 16px 24px 40px; display: grid; gap: 22px; }
.m-group-title { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.m-group a { display: block; padding: 10px 0; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.m-group a[aria-current] { color: var(--blue); }
.m-contact { display: grid; gap: 8px; }
.menu-open .site-header { background: #fff !important; border-color: var(--line) !important; }
.menu-open .site-header .brand-text strong { color: var(--ink) !important; }
.menu-open .site-header .brand-text em { color: var(--muted) !important; }

/* ── 히어로 ─────────────────────────── */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); isolation: isolate; }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center 62%; z-index: -2; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 26, 46, .92) 0%, rgba(8, 26, 46, .72) 45%, rgba(8, 26, 46, .25) 100%),
              linear-gradient(0deg, rgba(8, 26, 46, .75) 0%, rgba(8, 26, 46, 0) 45%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { padding-top: calc(var(--header-h) + 80px); padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 62px); font-weight: 800; line-height: 1.22; letter-spacing: -0.035em; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--blue-2); }
.hero-lead { margin-top: 24px; max-width: 620px; font-size: 18px; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.hero-badges li { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }

/* ── 핵심 수치 ─────────────────────────── */
.facts { background: var(--navy); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 36px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.fact-value small { font-size: 16px; font-weight: 700; margin-left: 4px; color: rgba(255, 255, 255, .7); }
.fact-label { margin-top: 12px; font-weight: 700; }
.fact-note { font-size: 14px; color: rgba(255, 255, 255, .6); }
.facts-inline { background: var(--tint); border-radius: var(--radius); margin-bottom: 48px; grid-template-columns: repeat(3, 1fr); }
.fact-light { border-color: var(--line); padding-left: 28px !important; }
.fact-light .fact-value { color: var(--navy); }
.fact-light .fact-value small { color: var(--muted); }
.fact-light .fact-label { color: var(--ink); }
.fact-light .fact-note { color: var(--muted); }

/* ── 섹션 공통 ─────────────────────────── */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .h2 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-desc { max-width: 460px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split-wide { grid-template-columns: 1fr 1fr; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split-media-natural img { aspect-ratio: auto; object-fit: initial; }
.split-media-contain img { object-fit: contain; background: #fff; padding: 24px; }
.split-media figcaption, .figure-wide figcaption { font-size: 14px; color: var(--muted); padding: 14px 18px; border-top: 1px solid var(--line); }

.check-list { display: grid; gap: 10px; margin-top: 24px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a6fd8' d='m9.5 16.6-4.3-4.3 1.4-1.4 2.9 2.9 7.9-7.9 1.4 1.4-9.3 9.3Z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list strong { color: var(--ink); margin-right: 4px; }
.check-list-sm { font-size: 15px; }

/* 처리 계통 */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: flow; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 32px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); z-index: 1; }
.flow-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; }
.flow-step:last-child .flow-no { background: var(--green); }
.flow-name { margin-top: 14px; font-weight: 800; color: var(--ink); }
.flow-desc { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.flow-foot { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* 서비스 */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-img-blank { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.service-img-blank svg, .step-blank svg { width: 56px; height: 56px; fill: var(--blue-2); }
.service-body { padding: 20px; }
.service-no { font-size: 13px; font-weight: 800; color: var(--blue); }
.service-body h3 { font-size: 19px; margin-top: 4px; }
.service-body p:last-child { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* 납품실적 하이라이트 */
.highlight-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlight-list li { padding: 20px 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 700; }
.highlight-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); margin-right: 10px; vertical-align: middle; }
.highlight-list li.more { background: transparent; color: rgba(255, 255, 255, .6); }
.highlight-list li.more::before { display: none; }

/* 인증 썸네일 */
.cert-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cert-thumb { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 10px; text-align: left; transition: box-shadow .2s, transform .2s var(--ease); }
.cert-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 6px; }
.cert-thumb span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* 홈 하단 */
.home-bottom { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.notice-box, .contact-box { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.box-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.notice-list li a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.notice-list li:last-child a { border-bottom: 0; }
.notice-list li a:hover span { color: var(--blue); }
.notice-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.notice-list time { color: var(--muted); font-size: 14px; flex-shrink: 0; }
.empty { color: var(--muted); padding: 24px 0; text-align: center; }
.contact-dl { display: grid; gap: 10px; margin-top: 16px; }
.contact-dl div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.contact-dl dt { color: var(--muted); font-size: 14px; }
.contact-dl dd { margin: 0; font-weight: 600; color: var(--ink); }
.contact-dl a { color: var(--blue); }

/* CTA 띠 */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #0f3d6e 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px 24px; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 서브 페이지 머리 ─────────────────────────── */
.page-hero { background: var(--navy); color: #fff; padding-top: 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 160, 255, .22), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; position: relative; }
.page-lead { margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 720px; position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; position: relative; }
.breadcrumb > * + *::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.page-hero > .container { padding-bottom: 48px; }
.subnav-wrap { border-top: 1px solid rgba(255, 255, 255, .1); position: relative; }
.subnav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 18px 18px; font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: #fff; }
.subnav a.is-active { color: #fff; border-color: var(--blue-2); }

/* 회사 개요 표 */
.info-table { margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.info-table > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.info-table > div:last-child { border-bottom: 0; }
.info-table dt { padding: 20px 28px; font-weight: 700; color: var(--ink); background: #fafbfc; border-radius: 0; }
.info-table dd { margin: 0; padding: 20px 28px; }
.info-table .muted { font-size: 14px; }

.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.policy-card { padding: 36px; border-radius: var(--radius); background: var(--tint); }
.policy-card-dark { background: var(--navy); color: #fff; }
.policy-card-dark h3 { color: #fff; }
.num-list { display: grid; gap: 14px; margin-top: 22px; font-size: 19px; font-weight: 700; color: var(--ink); }
.policy-card-dark .num-list { color: #fff; }
.num-list span { display: inline-block; width: 40px; color: var(--blue); font-size: 15px; }
.policy-card-dark .num-list span { color: var(--blue-2); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.value-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-key { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.value-card h3 { margin-top: 18px; font-size: 20px; }
.value-card p:last-child { margin-top: 8px; color: var(--muted); }

.org { display: grid; justify-items: center; }
.org-top { background: var(--navy); color: #fff; font-weight: 800; padding: 16px 40px; border-radius: 999px; font-size: 18px; }
.org-line { width: 2px; height: 36px; background: #c5d0dc; }
.org-teams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; width: 100%; position: relative; padding-top: 28px; }
.org-teams::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: #c5d0dc; }
.org-teams li { position: relative; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 10px; font-weight: 700; color: var(--ink); }
.org-teams li::before { content: ""; position: absolute; top: -29px; left: 50%; width: 2px; height: 28px; background: #c5d0dc; }

/* CEO */
.ceo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.ceo-quote .h2 { position: relative; padding-top: 48px; }
.ceo-quote .h2::before { content: "“"; position: absolute; top: -18px; left: -4px; font-size: 96px; line-height: 1; color: var(--blue-soft); font-family: Georgia, serif; }
.ceo-body p { font-size: 17px; margin-bottom: 18px; }
.ceo-sign { margin-top: 32px !important; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.ceo-sign strong { font-size: 22px; color: var(--ink); margin-left: 8px; }

/* 연혁 */
.history-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 56px; }
.history-summary div { padding: 24px; background: var(--tint); border-radius: var(--radius); display: grid; gap: 4px; }
.history-summary strong { font-size: 30px; font-weight: 800; color: var(--navy); }
.history-summary span { color: var(--muted); font-size: 15px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-year { display: grid; grid-template-columns: 140px 1fr; padding: 22px 0; }
.tl-label { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.tl-year > ul { padding-left: 40px; position: relative; display: grid; gap: 10px; }
.tl-year > ul::before { content: ""; position: absolute; left: -6px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tl-year li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.tl-year time { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }

/* 오시는 길 */
.location { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 460px; background: var(--tint); }
.map-frame iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.location-info { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.loc-addr { font-size: 19px; font-weight: 700; color: var(--ink); margin-top: 14px; }
.loc-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* 제품 */
.figure-wide { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.figure-wide img { width: 100%; }
.figure-white { margin-bottom: 28px; padding: 24px; }
.figure-white img { max-width: 760px; margin: 0 auto; }
.chamber-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chamber { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.chamber h3 { font-size: 19px; margin-top: 12px; }
.chamber ul { margin-top: 12px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.chamber li { padding-left: 14px; position: relative; }
.chamber li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #9aa7b6; }
.chamber-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #eef1f4; color: var(--muted); }
.chamber-tag-blue { background: var(--blue-soft); color: var(--blue); }
.chamber-tag-green { background: var(--green-soft); color: var(--green); }
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lineup-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; }
.lineup-card .link-arrow { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.chips-lg span { font-size: 18px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.chips-lg small { font-size: 12px; color: var(--muted); margin-left: 2px; }

/* 제품 특징 */
.adv-list { display: grid; gap: 14px; }
.adv { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.adv-no { font-size: 36px; font-weight: 800; color: var(--blue); line-height: 1; }
.adv p { margin-top: 10px; color: var(--text); }

/* 규격 */
.spec-reg { display: grid; gap: 14px; }
.spec-reg-row { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--tint); }
.spec-reg-head h3 { font-size: 20px; }
.spec-reg-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 14px; font-weight: 700; color: var(--muted); background: #fafbfc; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tbody tr:hover td { background: #fbfcfd; }
.drawing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.drawing, .gallery-item, .doc-img { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0; overflow: hidden; text-align: left; transition: box-shadow .2s, transform .2s var(--ease); }
.drawing:hover, .gallery-item:hover, .doc-img:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.drawing img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; padding: 12px; }
.drawing span, .gallery-item span { display: block; padding: 14px 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; }

/* 설계·시공 */
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.step-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-blank { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.step-no { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .06em; }
.step-body .h3 { margin-top: 4px; }
.step-body p { margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 납품실적 */
.perf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.perf-stats div { padding: 26px; background: var(--navy); color: #fff; border-radius: var(--radius); display: grid; gap: 6px; }
.perf-stats strong { font-size: 34px; font-weight: 800; line-height: 1.1; }
.perf-stats small { font-size: 15px; margin-left: 4px; color: rgba(255, 255, 255, .65); }
.perf-stats span { color: rgba(255, 255, 255, .65); font-size: 14px; }
.perf-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.chips-filter { gap: 8px; margin-bottom: 20px; }
.chips-filter button, .chips-filter a { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; }
.chips-filter button:hover, .chips-filter a:hover { border-color: #c5d0dc; }
.chips-filter .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.perf-toolbar .chips-filter { margin-bottom: 0; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; min-width: 280px; background: #fff; }
.search svg { width: 18px; height: 18px; fill: var(--muted); flex-shrink: 0; }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.perf-count { margin: 20px 0 12px; font-size: 14px; color: var(--muted); }
.perf-count span { font-weight: 800; color: var(--ink); }
.empty-row { padding: 40px; text-align: center; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef1f4; color: var(--muted); vertical-align: middle; }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-coral { background: var(--coral-soft); color: var(--coral); }
.table-perf td:first-child { width: 56px; }

/* 인증·특허 */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doc-card { display: grid; align-content: start; gap: 14px; }
.doc-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.doc-body .tag { margin-bottom: 8px; }
.doc-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }
.doc-desc { font-size: 14px; color: var(--text); margin-top: 6px; line-height: 1.6; }
.note-box { margin-top: 48px; padding: 28px 32px; border-radius: var(--radius); background: var(--tint); }
.note-box ul { margin-top: 12px; display: grid; gap: 6px; }

/* 게시판 */
.board { border-top: 2px solid var(--ink); }
.board li a { display: flex; align-items: center; gap: 12px; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.board li a:hover .board-title { color: var(--blue); }
.board-title { flex: 1; font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; }
.pager a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.post { border-top: 2px solid var(--ink); }
.post-head { padding: 28px 0 22px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.post-body { padding: 36px 0; font-size: 17px; min-height: 200px; }
.post-nav { border-top: 1px solid var(--line); margin-bottom: 28px; }
.post-nav a { display: flex; gap: 16px; padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.post-nav span { color: var(--muted); font-size: 14px; width: 60px; flex-shrink: 0; }

/* 폼 */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-dark h2 { color: #fff; }
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.quote-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.big-tel { display: block; font-size: 30px; font-weight: 800; color: #fff; margin: 12px 0 8px; letter-spacing: -0.02em; }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 16px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.form-grid .field { margin-bottom: 0; }
.form-grid + .field, .field + .form-grid { margin-top: 16px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.field em { color: var(--coral); font-style: normal; }
.field input, .field textarea, .field select, .quote-actions input, .quote-actions select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #d3dbe4; border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .quote-actions input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field small, .field-error { color: var(--coral); font-size: 13px; }
.has-error input, .has-error textarea { border-color: var(--coral); }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { position: relative; }
.radio-pills input { position: absolute; opacity: 0; }
.radio-pills span { display: inline-flex; height: 40px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid #d3dbe4; font-size: 14px; font-weight: 600; cursor: pointer; }
.radio-pills input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0 20px; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.agree a { color: var(--blue); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.alert-error { background: var(--coral-soft); color: #a63b24; }
.alert-ok { background: var(--green-soft); color: #1f6b48; }
.done { text-align: center; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.done-icon svg { width: 36px; height: 36px; fill: var(--green); }
.error-page { padding-top: calc(var(--header-h) + 80px); }
.error-code { font-size: 72px; font-weight: 800; color: var(--blue-soft); line-height: 1; margin-bottom: 12px; }
.prose h2 { font-size: 19px; margin: 32px 0 10px; }
.prose p { margin-bottom: 10px; }

/* ── 푸터 ─────────────────────────── */
.site-footer { background: #081b30; color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 64px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-slogan { margin-top: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.footer-links p { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-links a { display: block; padding: 3px 0; }
.footer-links a:hover { color: #fff; }
.footer-info { padding: 28px 0; display: grid; gap: 4px; }
.footer-info span + span::before { content: "|"; margin: 0 10px; opacity: .3; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0 32px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom a:hover { color: #fff; }

.float-quote { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(26, 111, 216, .35); transition: transform .2s var(--ease), opacity .3s; }
.float-quote:hover { transform: translateY(-2px); }
.float-quote svg { width: 20px; height: 20px; fill: #fff; }
.is-home .float-quote:not(.is-visible) { opacity: 0; pointer-events: none; }

/* 라이트박스 */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 16, 28, .92); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 100vh; padding: 40px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; border-radius: 6px; }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; padding: 0 12px; }
.lb-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; }
.lb-nav { background: none; border: 0; color: #fff; font-size: 48px; height: 100%; opacity: .7; }
.lb-nav:hover { opacity: 1; }

/* 등장 애니메이션 — JS가 켜져 있을 때만 숨김 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── 관리자 ─────────────────────────── */
.admin { background: var(--tint); }
.admin-bar { background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.admin-tabs { display: flex; gap: 4px; margin-left: auto; }
.admin-tabs a { padding: 8px 14px; border-radius: 8px; font-weight: 700; color: var(--muted); }
.admin-tabs a.is-active, .admin-tabs a:hover { background: var(--tint); color: var(--ink); }
.admin-main { padding-top: 32px; padding-bottom: 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head .chips-filter { margin: 0; }
.admin-login { max-width: 420px; margin: 60px auto; }
.admin-login .form { margin-top: 20px; }
.quote-list { display: grid; gap: 14px; }
.quote-item { padding: 24px; }
.quote-item.is-done { opacity: .7; }
.quote-item header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quote-item header time { margin-left: auto; font-size: 14px; }
.quote-dl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0; }
.quote-dl dt { font-size: 12px; color: var(--muted); }
.quote-dl dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-all; }
.quote-msg { background: var(--tint); padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.quote-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.quote-actions input { flex: 1; min-width: 200px; padding: 8px 12px; }
.quote-actions select { width: auto; padding: 8px 12px; }
.board.card { padding: 0 20px; border-top: 1px solid var(--line); }
.board-admin { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.board-admin:last-child { border-bottom: 0; }
.board-admin a { flex: 1; border-bottom: 0 !important; min-width: 0; }

/* ── 반응형 ─────────────────────────── */
@media (max-width: 1100px) {
  .gnb, .header-tel { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3)::after { display: none; }
  .cert-strip { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .chamber-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }
  .split, .split-wide, .ceo, .location, .quote-layout, .home-bottom, .policy-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .facts-inline { grid-template-columns: 1fr; }
  .facts-inline .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 24px !important; }
  .facts-inline .fact:first-child { border-top: 0; }
  .value-grid, .lineup, .history-summary, .perf-stats { grid-template-columns: 1fr 1fr; }
  .org-teams { grid-template-columns: repeat(3, 1fr); }
  .org-teams::before, .org-teams li::before { display: none; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .drawing-grid { grid-template-columns: 1fr; }
  .spec-reg-row { grid-template-columns: 1fr; gap: 14px; }
  .info-table > div { grid-template-columns: 1fr; }
  .info-table dt { padding: 14px 20px 4px; background: none; font-size: 14px; color: var(--muted); }
  .info-table dd { padding: 0 20px 16px; }
  .timeline::before { left: 7px; }
  .tl-year { grid-template-columns: 1fr; gap: 10px; padding-left: 32px; position: relative; }
  .tl-year > ul { padding-left: 0; }
  .tl-year > ul::before { left: -31px; top: -30px; }
  .tl-label { font-size: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 48px 24px; }
  .quote-aside { position: static; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .quote-dl { grid-template-columns: 1fr 1fr; }
  .search { min-width: 0; width: 100%; }
  /* 표 → 카드 */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 3px 0; text-align: left !important; }
  .table td[data-label]::before { content: attr(data-label); display: inline-block; width: 86px; color: var(--muted); font-size: 13px; }
  .table-perf td:first-child { display: none; }
  .table-perf td:nth-child(2)::before, .table-perf td:nth-child(3)::before { display: none; }
  .table-perf td:nth-child(3) { font-weight: 600; color: var(--ink); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero-inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; }
  .hero-lead { font-size: 16px; }
  .hero h1 { font-size: 31px; }
  .hero h1 .hl { display: block; }
  .hero-actions .btn { flex: 1; }
  .hero-badges { display: none; }
  .fact-value { font-size: 34px; }
  .service-grid, .cert-strip, .doc-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none !important; }
  .value-grid, .lineup, .chamber-grid, .form-grid, .highlight-list { grid-template-columns: 1fr; }
  .history-summary, .perf-stats { grid-template-columns: 1fr 1fr; }
  .perf-stats strong { font-size: 26px; }
  .org-teams { grid-template-columns: 1fr 1fr; }
  .adv { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .card, .notice-box, .contact-box, .location-info { padding: 22px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-info span { display: block; }
  .footer-info span + span::before { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .float-quote span { display: none; }
  .float-quote { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
  .brand-text strong { font-size: 18px; }
  .header-actions .btn-sm { display: none; }
  .map-frame, .map-frame iframe { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 어두운 배경 위 로고 — 원을 밝은 파랑으로 */
.brand-light .logo-mark circle,
.is-home .site-header:not(.is-scrolled) .logo-mark circle,
.admin-bar .logo-mark circle { fill: var(--blue); }
.admin-bar .logo-mark circle { fill: var(--navy); }
