/* (주)해길 — 사이트 스타일. 토큰은 docs/design-spec.md 참고 */
:root {
  --navy-900: #0A1F33;
  --navy-800: #0E2A44;
  --navy-700: #123A5C;
  --blue-500: #1C6BA0;
  --teal-400: #2A9DA8;
  --orange-500: #E85A1F;
  --orange-600: #C2410C;
  --sand-50: #F4F6F7;
  --white: #FFFFFF;
  --ink-900: #0F1A24;
  --ink-600: #4A5866;
  --line: #DCE3E8;

  --font-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-en: "Barlow Condensed", "Pretendard Variable", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ko);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange-500); color: #fff; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-weight: 600; font-size: 15px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange-500); }
.on-dark .eyebrow, .eyebrow.light { color: #FFB089; }
.h-display { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.12; letter-spacing: -0.035em; }
.h-section { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; }
.h-sub { font-size: clamp(21px, 2vw, 26px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-600); line-height: 1.75; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }
.muted { color: var(--ink-600); }
.num { font-family: var(--font-en); font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--orange-500); color: #fff; }
.btn-primary:hover { background: var(--orange-600); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-line { border-color: var(--navy-900); color: var(--navy-900); }
.btn-line:hover { background: var(--navy-900); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-500); }
.text-link:hover { color: var(--navy-700); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .2s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 20, 34, .55), rgba(6, 20, 34, 0));
  transition: opacity .3s;
}
.site-header.is-solid { background: var(--white); color: var(--ink-900); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-ko { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand-en { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .2em; opacity: .75; }

.gnb { display: flex; align-items: center; gap: 4px; height: 100%; }
.gnb > li { position: relative; height: 100%; display: flex; align-items: center; }
.gnb-link {
  display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px;
  font-weight: 600; font-size: 16px; background: none; border: 0; position: relative;
}
.gnb-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--orange-500); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.gnb-link:hover::after, .gnb-link[aria-current="page"]::after, .gnb > li:focus-within > .gnb-link::after { transform: scaleX(1); }
.gnb-link .icon { width: 16px; height: 16px; }
.dropdown {
  position: absolute; top: calc(100% - 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 260px; background: var(--white); color: var(--ink-900); padding: 10px;
  box-shadow: 0 18px 40px rgba(10, 31, 51, .16); border-top: 3px solid var(--orange-500);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.gnb > li:hover .dropdown, .gnb > li:focus-within .dropdown, .gnb > li.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 14px; line-height: 1.35; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--sand-50); }
.dropdown a span { font-weight: 700; font-size: 15.5px; }
.dropdown a small { font-family: var(--font-en); font-size: 12.5px; letter-spacing: .06em; color: var(--ink-600); }

.header-cta { display: flex; align-items: center; gap: 8px; }
/* 데스크톱 헤더 CTA: 전화번호 대신 '문의하기' (전화는 모바일 하단 바·푸터·문의 페이지에서) */
.header-inquiry {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, .6); color: inherit; font-weight: 700; font-size: 15.5px;
  border-radius: var(--radius); transition: background .2s, border-color .2s, color .2s;
}
.header-inquiry .icon { width: 18px; height: 18px; }
.header-inquiry:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.site-header.is-solid .header-inquiry { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.site-header.is-solid .header-inquiry:hover { background: var(--orange-600); border-color: var(--orange-600); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; }
.menu-toggle .icon { width: 26px; height: 26px; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-900); color: #fff;
  padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .35s var(--ease), visibility .35s; visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav-top { position: sticky; top: 0; z-index: 1; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; background: var(--navy-900); margin-bottom: 8px; }
.mobile-nav-close { width: 48px; height: 48px; margin-right: -10px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: #fff; }
.mobile-nav-close .icon { width: 28px; height: 28px; }
.m-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.m-menu > li > a, .mobile-nav .m-group-title { display: flex; align-items: center; min-height: 60px; font-size: 21px; font-weight: 700; }
.m-menu > li > a[aria-current="page"], .mobile-nav .m-sub a[aria-current="page"] { color: #FFB089; }
.mobile-nav .m-group-title { min-height: 52px; padding-top: 8px; }
.mobile-nav .m-sub { padding: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mobile-nav .m-sub a { display: flex; align-items: center; min-height: 48px; padding: 6px 12px; font-size: 15.5px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .06); border-left: 2px solid rgba(255, 255, 255, .2); }
.mobile-nav .m-sub a:hover, .mobile-nav .m-sub a:active { color: #fff; border-color: var(--orange-500); background: rgba(255, 255, 255, .1); }
.mobile-nav .m-contact { margin-top: 28px; display: grid; gap: 10px; }
body.nav-open, body.lb-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--navy-900); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 20, 34, .86) 0%, rgba(6, 20, 34, .6) 45%, rgba(6, 20, 34, .1) 85%),
    linear-gradient(0deg, rgba(6, 20, 34, .85) 0%, rgba(6, 20, 34, 0) 45%);
}
.hero .lead { color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(6, 20, 34, .5); }
.hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 6vw, 72px); width: 100%; }
.hero-content .h-display { margin: 20px 0 22px; max-width: 13em; }
.hero-content .h-display em { font-style: normal; color: #FFB089; }
.hero-content .lead { max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof {
  position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-proof li { padding: 22px 24px 0 0; }
.hero-proof li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.hero-proof .num { display: block; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; color: #fff; }
.hero-proof .num sup { font-size: .5em; color: #FFB089; margin-left: 2px; }
.hero-proof span:last-child { display: block; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .75); }

/* Sub page hero */
.page-hero {
  position: relative; min-height: clamp(380px, 54vh, 560px); display: flex; align-items: flex-end;
  color: #fff; background: var(--navy-900); overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 34, .9) 0%, rgba(6, 20, 34, .45) 55%, rgba(6, 20, 34, .35) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin: 14px 0 12px; letter-spacing: -0.03em; }
.page-hero p { max-width: 42em; color: rgba(255, 255, 255, .8); font-size: clamp(16px, 1.4vw, 19px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Sub nav (business tabs) */
.subnav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; transition: top .3s var(--ease); }
.subnav ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 18px 20px; font-weight: 600; color: var(--ink-600); border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--ink-900); }
.subnav a[aria-current="page"] { color: var(--navy-900); border-color: var(--orange-500); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-sand { background: var(--sand-50); }
.bg-navy { background: var(--navy-900); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { max-width: 720px; }
.section-head .h-section { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .tag {
  position: absolute; left: 0; bottom: 0; background: var(--navy-900); color: #fff;
  padding: 18px 24px; max-width: 80%;
}
.split-media .tag .num { font-size: 40px; line-height: 1; color: #FFB089; display: block; }
.split-media .tag span:last-child { font-size: 14px; color: rgba(255, 255, 255, .78); }
.prose > * + * { margin-top: 20px; }
.prose .h-section { margin-top: 16px; }
.signature { font-weight: 700; color: var(--navy-700); }

/* Business cards (home) */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.biz-card { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; color: #fff; background: var(--navy-800); }
.biz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.biz-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 34, .92) 0%, rgba(6, 20, 34, .35) 50%, rgba(6, 20, 34, .05) 100%); transition: background .3s; }
.biz-card:hover img { transform: scale(1.05); }
.biz-card-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 28px; }
.biz-card .idx { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .14em; color: #FFB089; }
.biz-card h3 { font-size: 24px; margin: 8px 0 4px; }
.biz-card .en { font-family: var(--font-en); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.biz-card p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.biz-card .go {
  position: absolute; top: 24px; right: 24px; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255, 255, 255, .5);
  transition: background .25s, border-color .25s, transform .25s;
}
.biz-card:hover .go { background: var(--orange-500); border-color: var(--orange-500); transform: rotate(-45deg); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.on-dark .features, .bg-navy .features { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .14); }
.feature { background: var(--white); padding: 36px 30px; }
.bg-navy .feature { background: var(--navy-900); }
.feature .icon-box { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(232, 90, 31, .1); color: var(--orange-600); margin-bottom: 22px; }
.bg-navy .feature .icon-box { background: rgba(255, 176, 137, .12); color: #FFB089; }
.feature .icon-box .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { font-size: 15.5px; color: var(--ink-600); line-height: 1.65; }
.bg-navy .feature p { color: rgba(255, 255, 255, .72); }
.features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.features.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Clients strip */
.clients { display: flex; flex-wrap: wrap; gap: 10px; }
.clients li { padding: 12px 20px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 15.5px; color: var(--navy-700); }

/* Project highlights (home) */
.highlight-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; }
.highlight-grid > :first-child { grid-row: span 2; }
.highlight-grid > :nth-child(4) { grid-column: span 2; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.shot { display: flex; flex-direction: column; background: var(--white); }
.shot-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand-50); }
.shot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot-media:hover img { transform: scale(1.04); }
.shot-media .zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(10, 31, 51, .75); color: #fff; opacity: 0; transition: opacity .25s; }
.shot-media:hover .zoom, .shot-media:focus-visible .zoom { opacity: 1; }
.shot-media .count { position: absolute; left: 12px; top: 12px; padding: 2px 10px; background: rgba(10, 31, 51, .8); color: #fff; font-family: var(--font-en); font-size: 14px; letter-spacing: .06em; }
.shot-body { padding: 18px 2px 4px; }
.shot-body .field { font-family: var(--font-en); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); font-weight: 600; }
.shot-body h3 { font-size: 18.5px; margin: 4px 0 6px; letter-spacing: -0.01em; }
.shot-body dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14.5px; color: var(--ink-600); }
.shot-body dt { color: var(--ink-900); font-weight: 600; }
.shot-body dd { margin: 0; }
.shot.overlay { position: relative; overflow: hidden; color: #fff; background: var(--navy-800); }
.shot.overlay .shot-media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.shot.overlay::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(6, 20, 34, .88) 0%, rgba(6, 20, 34, 0) 55%); }
.shot.overlay .shot-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; pointer-events: none; }
.shot.overlay .shot-body .field { color: #FFB089; }
.shot.overlay .shot-body dl, .shot.overlay .shot-body dt { color: rgba(255, 255, 255, .8); }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn { min-height: 44px; padding: 0 20px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; border-radius: 999px; transition: all .2s; }
.filter-btn:hover { border-color: var(--navy-700); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-btn .c { font-family: var(--font-en); margin-left: 6px; opacity: .6; }
.is-hidden { display: none !important; }

/* Data table */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--navy-900); }
.data-table th, .data-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
.data-table thead th { background: var(--sand-50); font-weight: 700; color: var(--navy-700); white-space: nowrap; }
.data-table tbody th { font-weight: 700; white-space: nowrap; color: var(--navy-700); }
.data-table ul li { position: relative; padding-left: 14px; }
.data-table ul li + li { margin-top: 6px; }
.data-table ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--teal-400); }
.data-table .hl th { color: var(--orange-600); }

/* Compare cards */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { background: var(--white); border: 1px solid var(--line); }
.compare-card img { width: 100%; aspect-ratio: 950 / 430; object-fit: cover; }
.compare-card .body { padding: 28px; }
.compare-card h3 { font-size: 21px; margin-bottom: 18px; }
.pros-cons { display: grid; gap: 18px; }
.pros-cons h4 { font-size: 14px; font-family: var(--font-en); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.pros-cons .pro h4 { color: var(--blue-500); }
.pros-cons .con h4 { color: var(--orange-600); }

/* Check list */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--teal-400); margin-top: .28em; width: 20px; height: 20px; stroke-width: 2.4; }
.bg-navy .checks .icon { color: #FFB089; }
.checks.cols-2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }

/* Steps */
.steps { display: flex; flex-wrap: wrap; gap: 0; counter-reset: step; }
.steps li { flex: 1 1 0; min-width: 120px; position: relative; padding: 0 12px 0 0; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--orange-600); letter-spacing: .06em; }
.steps li::after { content: ""; position: absolute; left: 34px; right: 10px; top: 12px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li span { display: block; margin-top: 10px; font-weight: 700; font-size: 16.5px; }

/* Effects */
.effects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.effects li { background: var(--white); padding: 24px 20px; }
.effects .k { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--blue-500); text-transform: uppercase; display: block; }
.effects strong { display: block; font-size: 17px; margin: 4px 0 6px; color: var(--navy-900); }
.effects p { font-size: 15px; color: var(--ink-600); line-height: 1.55; }

/* Before / After */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.ba figcaption { position: absolute; left: 0; top: 0; padding: 6px 14px; font-weight: 700; font-size: 14px; color: #fff; background: var(--navy-900); }
.ba figure:last-child figcaption { background: var(--orange-500); }

/* Block with sub-items */
.block + .block { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.block-head { margin-bottom: 36px; max-width: 760px; }
.block-head h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 12px; }
.block-head p { margin-top: 14px; }
.sub-title { font-size: 20px; margin: 48px 0 20px; display: flex; align-items: center; gap: 10px; }
.sub-title::before { content: ""; width: 6px; height: 20px; background: var(--orange-500); }

.panel { background: var(--sand-50); padding: clamp(24px, 3vw, 40px); }
.figure-frame { background: var(--white); border: 1px solid var(--line); padding: clamp(12px, 2vw, 24px); }
.figure-frame figcaption { font-size: 14px; color: var(--ink-600); margin-top: 12px; }
figure { margin: 0; }

/* Product rows (leisure / environment) */
.product { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.product + .product { margin-top: clamp(56px, 8vw, 110px); }
.product:nth-child(even) > :first-child { order: 2; }
.product-media { position: relative; display: block; overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.product-media:hover img { transform: scale(1.03); }
.product .idx { font-family: var(--font-en); font-size: 64px; line-height: 1; font-weight: 700; color: var(--line); }
.product h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 4px; }
.product .en { font-family: var(--font-en); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); }
.product p.desc { margin-top: 18px; color: var(--ink-600); font-size: 17px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.thumbs a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.thumbs a:hover img { transform: scale(1.06); }

/* Certificate */
.cert { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 24px; align-items: stretch; }
.cert-doc { display: block; background: var(--white); border: 1px solid var(--line); padding: 16px; transition: box-shadow .25s; }
.cert-doc:hover { box-shadow: 0 16px 36px rgba(10, 31, 51, .12); }
.cert-doc img { width: 100%; aspect-ratio: 687 / 712; object-fit: contain; }
.cert-doc span { display: block; margin-top: 12px; font-weight: 700; font-size: 15px; text-align: center; }
.cert-summary { background: var(--navy-900); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.cert-summary .grade { font-family: var(--font-en); font-weight: 700; font-size: 76px; line-height: 1; color: #FFB089; }
.cert-summary dl { margin: 24px 0 0; display: grid; gap: 10px; }
.cert-summary dt { font-size: 13px; color: rgba(255, 255, 255, .6); }
.cert-summary dd { margin: 0; font-weight: 700; }

/* Next business */
.next-biz { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.next-biz a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; color: #fff; }
.next-biz img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.next-biz a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 34, .85), rgba(6, 20, 34, .1)); }
.next-biz a:hover img { transform: scale(1.06); }
.next-biz span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-weight: 700; font-size: 16px; line-height: 1.35; }

/* CTA band */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: .45; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 51, .95) 0%, rgba(10, 31, 51, .55) 100%); }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 14px 0 12px; }
.cta-band p { color: rgba(255, 255, 255, .78); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 280px; }
.cta-actions .btn { justify-content: space-between; }
.cta-tel { font-family: var(--font-en); font-size: 22px; letter-spacing: .02em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); }
.info-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-list li { background: var(--white); display: flex; gap: 18px; padding: 22px 24px; align-items: flex-start; }
.info-list .icon-box { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--sand-50); color: var(--blue-500); }
.info-list .label { display: block; font-size: 13.5px; color: var(--ink-600); }
.info-list .value { font-weight: 700; font-size: 18px; }
.info-list a.value:hover { color: var(--blue-500); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.form label .req { color: var(--orange-600); margin-left: 2px; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink-900);
  transition: border-color .2s;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(28, 107, 160, .18); }
.form .hint { font-size: 14px; color: var(--ink-600); margin-top: 6px; }
.form .error { font-size: 14px; color: #B42318; margin-top: 6px; display: none; }
.form .has-error input, .form .has-error textarea { border-color: #B42318; }
.form .has-error .error { display: block; }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.form .agree input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange-500); }

.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.location { border: 1px solid var(--line); padding: 32px; background: var(--white); }
.location .k { font-family: var(--font-en); font-weight: 600; letter-spacing: .14em; font-size: 14px; color: var(--orange-600); }
.location h3 { font-size: 22px; margin: 6px 0 12px; }
.location p { color: var(--ink-600); }
.location .text-link { margin-top: 18px; }

/* Footer */
.site-footer { background: #071726; color: rgba(255, 255, 255, .7); font-size: 15px; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h3 { font-size: 14px; font-family: var(--font-en); letter-spacing: .16em; color: #fff; margin-bottom: 16px; font-weight: 600; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: #fff; }
.footer-info dt { display: inline; color: rgba(255, 255, 255, .5); margin-right: 6px; }
.footer-info dd { display: inline; margin: 0; }
.footer-info div + div { margin-top: 6px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-slogan { font-weight: 600; color: rgba(255, 255, 255, .85); margin-top: 6px; }

/* Mobile call bar */
.call-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 12, 20, .94); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 14px; text-align: center; font-size: 15.5px; }
.lightbox figcaption .n { font-family: var(--font-en); color: rgba(255, 255, 255, .55); margin-left: 10px; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); border: 0; color: #fff; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn .icon { width: 28px; height: 28px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gnb, .header-inquiry { display: none; }
  .menu-toggle { display: inline-flex; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .effects { grid-template-columns: repeat(2, 1fr); }
  .effects li:last-child { grid-column: span 2; }
  .next-biz { grid-template-columns: repeat(3, 1fr); }
  .cert { grid-template-columns: 1fr 1fr; }
  .cert-summary { grid-column: span 2; }
  .gallery.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .split, .product, .contact-grid, .compare, .locations { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .product:nth-child(even) > :first-child { order: 0; }
  .biz-grid, .gallery, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .hero-proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-proof li { padding-bottom: 18px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .highlight-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; }
  .highlight-grid > :first-child { grid-row: auto; grid-column: span 2; }
  .highlight-grid > :nth-child(4) { grid-column: span 2; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: span 2; }
  .checks.cols-2 { grid-template-columns: 1fr; }
  .steps { gap: 18px 0; }
  .steps li { flex: 0 0 25%; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 90;
    background: var(--navy-900); box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom);
  }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: #fff; font-weight: 700; }
  .call-bar a:first-child { background: var(--orange-500); }
  body { padding-bottom: 56px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-ko { font-size: 19px; }
}
@media (max-width: 560px) {
  .biz-grid, .gallery, .gallery.cols-4, .gallery.cols-2, .features, .features.cols-3, .features.cols-2, .ba { grid-template-columns: 1fr; }
  .biz-card { aspect-ratio: 4 / 3.6; }
  .effects { grid-template-columns: 1fr; }
  .effects li:last-child { grid-column: auto; }
  .next-biz { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; }
  .cert-summary { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .steps li { flex: 0 0 50%; }
  .steps li::after { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > :first-child { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lightbox { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .hero-proof span:last-child { font-size: 14px; }
}

/* Info list in 3 columns (about page) */
.info-list.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-list .value { overflow-wrap: anywhere; }
@media (max-width: 860px) { .info-list.cols-3 { grid-template-columns: 1fr; } }

/* =====================================================================
   v2 — 카카오 지도, 모바일 동작, 배포용 보강
   ===================================================================== */

/* 헤더 자동 숨김(좁은 화면): 아래로 스크롤 시 숨김, 위로 올리면 표시 */
.site-header { transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
body.hdr-hide .site-header { transform: translateY(-100%); }
body.hdr-hide .subnav, body.hdr-hide .filters-bar { top: 0; }

/* 가로 스크롤 줄 그림자 힌트 */
[data-scroll-hint] { position: relative; }
[data-scroll-hint]::before, [data-scroll-hint]::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 28px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s;
}
[data-scroll-hint]::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0)); }
[data-scroll-hint]::after { right: 0; background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0)); }
[data-scroll-hint].can-left::before, [data-scroll-hint].can-right::after { opacity: 1; }
.subnav ul { scroll-behavior: smooth; }
.subnav a { display: flex; align-items: center; min-height: 56px; }

/* 시공실적 필터: 스크롤해도 상단에 붙어 있는 가로 칩 */
.projects-section { padding-top: 0; }
.filters-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); transition: top .3s var(--ease); margin-bottom: 28px; }
.filters-bar .filters { margin: 0; padding: 14px 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.filters-bar .filters::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; white-space: nowrap; }
.filter-status { font-weight: 700; color: var(--navy-700); margin-bottom: 16px; min-height: 1.7em; }

/* 사진 카드 */
.shot-media .count { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; }
.shot-media .count .icon { width: 14px; height: 14px; }
.shot-media.no-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ink-600); font-size: 15px; }
.shot-media.no-photo .icon { width: 28px; height: 28px; opacity: .5; }
.shot-body .cap { font-size: 15.5px; margin: 0; }
.hide-sm { }
.show-sm { display: none !important; }

/* 소파제 특징 카드 안 목록 */
.feature .checks { gap: 8px; font-size: 15.5px; color: var(--ink-600); }
.feature .checks .icon { width: 18px; height: 18px; }
.compare-card .checks { font-size: 15.5px; }
.con .checks .icon { color: var(--orange-600); }
.block-head .lead strong { color: var(--navy-700); }

/* 설치절차 */
.steps { list-style: none; margin: 0; padding: 0; }

/* 방화 실험 비교 */
.fire-test img { aspect-ratio: 636 / 546; }

/* 회사소개 사업분야 표 */

/* 문의 정보 (줄 전체가 눌리는 영역) */
.info-list li { padding: 0; display: block; }
.info-item { display: flex; gap: 18px; padding: 20px 24px; align-items: center; min-height: 76px; }
a.info-item:hover .value { color: var(--blue-500); }
.info-item > span:last-child { min-width: 0; }

/* 푸터 링크 (터치 영역 확보) */
.footer-links li + li { margin-top: 0; }
.footer-links a, .footer-links .static { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.footer-links .k { font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); min-width: 52px; }
.site-footer .brand { min-height: 44px; }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 400; transform: translate(-50%, 20px);
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 카카오 지도 블록 ---------- */
.kmap { background: var(--white); border: 1px solid var(--line); }
.kmap-tabs { display: flex; border-bottom: 1px solid var(--line); }
.kmap-tabs button {
  flex: 1 1 0; min-height: 56px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  font-weight: 700; font-size: 16px; color: var(--ink-600); transition: color .2s, border-color .2s;
}
.kmap-tabs button[aria-selected="true"] { color: var(--navy-900); border-color: var(--orange-500); }
.kmap-tabs button:hover { color: var(--navy-900); }
.kmap-grid { display: grid; grid-template-columns: 1.55fr 1fr; }
.kmap-view { position: relative; min-height: 440px; background: #E6ECEF; overflow: hidden; }
.kmap-canvas { position: absolute; inset: 0; }
.kmap-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center; color: var(--navy-700);
  background:
    radial-gradient(circle at 30% 40%, rgba(42, 157, 168, .18), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(18, 58, 92, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(18, 58, 92, .07) 39px 40px),
    #E6ECEF;
  transition: opacity .4s;
}
.kmap-placeholder .pin { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--orange-500); color: #fff; box-shadow: 0 10px 24px rgba(232, 90, 31, .35); }
.kmap-placeholder .pin .icon { width: 30px; height: 30px; }
.kmap-placeholder .ph-text { font-weight: 600; font-size: 15px; max-width: 26em; }
.kmap-ready .kmap-placeholder { opacity: 0; pointer-events: none; }
.kmap-activate {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; white-space: nowrap; border: 0; border-radius: 999px;
  background: rgba(10, 31, 51, .86); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.kmap-activate .icon { width: 18px; height: 18px; }
.kmap-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column;
  background: #fff; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); overflow: hidden;
}
.kmap-zoom button {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 0; background: #fff; color: var(--navy-900); cursor: pointer;
}
.kmap-zoom button + button { border-top: 1px solid #E3E8EC; }
.kmap-zoom button:hover { background: #F2F5F7; }
.kmap-zoom button:focus-visible { outline: 2px solid var(--orange-500); outline-offset: -2px; }
.kmap-zoom .icon { width: 20px; height: 20px; }
.kmap-label {
  padding: 6px 12px; background: var(--navy-900); color: #fff; font-family: var(--font-ko); font-weight: 700; font-size: 13px;
  border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.kmap-info { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; border-left: 1px solid var(--line); }
.kmap-panel .k { font-family: var(--font-en); font-weight: 600; letter-spacing: .14em; font-size: 14px; color: var(--orange-600); }
.kmap-panel h3 { font-size: 22px; margin: 4px 0 8px; }
.kmap-panel .addr { font-size: 17px; color: var(--ink-900); }
.kmap-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.kmap-actions .btn { min-height: 48px; padding: 0 14px; font-size: 15px; gap: 8px; }
.kmap-actions .btn .icon { width: 18px; height: 18px; }
.kmap-actions .btn:first-child { grid-column: 1 / -1; }
.kmap-actions .btn:hover .icon { transform: none; }
.kmap-contact { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 2px; margin-top: auto; }
.kmap-contact a, .kmap-contact .static { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.kmap-contact .icon { color: var(--blue-500); width: 20px; height: 20px; }
.kmap-contact .k { display: block; font-size: 12.5px; color: var(--ink-600); line-height: 1.2; }
.kmap-contact a > span, .kmap-contact .static > span { font-weight: 700; line-height: 1.35; }
.kmap-contact a:hover > span { color: var(--blue-500); }
.kmap-static .kmap-view { min-height: 260px; }
.kmap-compact .kmap-view { min-height: 380px; }

/* 404 */
.not-found { min-height: 100svh; }
.not-found .hero-actions { margin-top: 28px; }

/* ---------- 태블릿 이하 ---------- */
@media (max-width: 1080px) {
  .kmap-grid { grid-template-columns: 1fr; }
  .kmap-info { border-left: 0; border-top: 1px solid var(--line); }
  .kmap-view { min-height: 360px; }
}

/* ---------- 모바일 ---------- */
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { margin-bottom: 28px; gap: 16px; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline-flex !important; }

  /* 주요 시공실적: 가로로 넘기는 카드 */
  .highlight-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; grid-template-rows: 340px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .highlight-grid::-webkit-scrollbar { display: none; }
  .highlight-grid > * { scroll-snap-align: start; grid-row: auto !important; grid-column: auto !important; }

  /* 사진 목록: 휴대폰에서는 2열로 촘촘하게 */
  .gallery.compact-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .gallery.compact-sm .shot-body { padding-top: 10px; }
  .gallery.compact-sm .shot-body h3 { font-size: 15.5px; line-height: 1.35; }
  .gallery.compact-sm .shot-body .field { font-size: 12px; letter-spacing: .02em; }
  .gallery.compact-sm .shot-body dl { font-size: 13.5px; gap: 0 8px; }
  .gallery.compact-sm .shot-media { aspect-ratio: 4 / 3; }
  .gallery.compact-sm .zoom { display: none; }

  /* 표 → 카드형 목록 */
  .project-table thead { display: none; }
  .project-table, .project-table tbody, .project-table tr, .project-table td, .project-table th { display: block; width: 100%; }
  .project-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .project-table td, .project-table th { border: 0; padding: 2px 0; font-size: 15px; }
  .project-table th { font-size: 16.5px; padding: 2px 0 6px; }
  .project-table td:first-child { font-size: 13px; color: var(--orange-600); font-weight: 600; }
  .project-table td:nth-child(n+3) { display: inline-block; width: auto; margin-right: 14px; color: var(--ink-600); }
  .project-table td:nth-child(n+3)::before { content: attr(data-label) " "; font-weight: 600; color: var(--ink-900); }
  .project-table td[data-label="규모"]:empty, .project-table tr.is-hidden { display: none; }
  .grade-table thead { display: none; }
  .grade-table tr, .grade-table th, .grade-table td { display: block; width: 100%; }
  .grade-table th { padding: 14px 0 6px; border: 0; }
  .grade-table td { padding: 0 0 16px; }
  .data-table th, .data-table td { padding: 12px; }

  /* 설치절차: 번호 타임라인 2열 */
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-left: 2px solid var(--line); }
  .steps li { min-width: 0; padding: 10px 0 10px 18px; position: relative; }
  .steps li::after { display: none; }
  .steps li::before { display: inline; margin-right: 8px; }
  .steps li span { display: inline; margin: 0; font-size: 15.5px; }

  .sub-title { margin: 40px 0 16px; font-size: 18px; }
  .block + .block { margin-top: 56px; padding-top: 56px; }
  .features .feature { padding: 26px 22px; }
  .product .idx { font-size: 44px; }
  .compare-card .body { padding: 22px; }
  .cta-actions { min-width: 0; }
  .split-media .tag { position: static; max-width: none; }
  .kmap-view { min-height: 300px; }
  .kmap-compact .kmap-view { min-height: 280px; }
  .kmap-activate { bottom: 12px; }
  .lightbox figcaption { padding: 0 12px; }
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .page-hero { min-height: 340px; }
  .not-found { min-height: 100svh; }
  .info-item { padding: 16px 18px; gap: 14px; }
}
@media (max-width: 560px) {
  .kmap-actions { grid-template-columns: 1fr; }
  .kmap-actions .btn:first-child { grid-column: auto; }
  .mobile-nav .m-sub { grid-template-columns: 1fr; }
  .ba { gap: 12px; }
  .fire-test { grid-template-columns: 1fr 1fr; }
  .fire-test figcaption { font-size: 12.5px; padding: 4px 8px; }
  .cert-doc { padding: 10px; }
  .next-biz span { font-size: 14.5px; }
  .hero-proof li { padding-right: 12px; }
  .hero-proof li + li { padding-left: 14px; }
}
@media (max-width: 330px) {
  .gallery.compact-sm { grid-template-columns: 1fr; }
}
.brand { min-height: 44px; }
.form .agree { min-height: 44px; cursor: pointer; }
.form .agree input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; }
[hidden] { display: none !important; }
.breadcrumb { list-style: none; margin: 0; padding: 0; }
button.btn-line, button.btn-ghost { background: transparent; }
button.btn-line:hover { background: var(--navy-900); }
@media (max-width: 860px) { .project-table td.empty { display: none !important; } }
section[id], [id="location"] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- 사회공헌 (관리자가 올리는 글) ---------- */
.csr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.csr-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.csr-card a:hover { border-color: var(--navy-700); box-shadow: 0 10px 30px rgba(10, 31, 51, .08); }
.csr-card a:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.csr-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-50); }
.csr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.csr-card a:hover .csr-media img { transform: scale(1.04); }
.csr-media .no-photo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 25% 20%, rgba(42, 157, 168, .35), transparent 60%), linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.csr-media .no-photo img { width: 46%; max-width: 180px; height: auto; object-fit: contain; opacity: .9; transition: none; }
.csr-card a:hover .csr-media .no-photo img { transform: none; }
.csr-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.csr-body time { font-family: var(--font-en); font-size: 15px; letter-spacing: .06em; color: var(--orange-600); font-weight: 600; }
.csr-body h3 { font-size: 19px; line-height: 1.4; }
.csr-body p { color: var(--ink-600); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.csr-body .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--navy-700); }
.csr-body .more .icon { width: 16px; height: 16px; transition: transform .25s; }
.csr-card a:hover .more .icon { transform: translateX(4px); }
.empty-state { text-align: center; padding: clamp(48px, 8vw, 96px) 20px; background: var(--sand-50); }
.empty-state .icon { width: 40px; height: 40px; color: var(--teal-400); }
.empty-state h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 16px 0 10px; }
.empty-state p { color: var(--ink-600); }
.page-hero time { font-family: var(--font-en); font-size: 18px; letter-spacing: .08em; }
.article { max-width: 900px; }
.article-body { font-size: 17px; line-height: 1.85; color: var(--ink-900); }
.article-body p + p { margin-top: 1.2em; }
.article .gallery { grid-template-columns: repeat(2, 1fr); }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-nav a { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 56px; padding: 10px 14px; color: inherit; text-decoration: none; border: 1px solid var(--line); }
.article-nav a:hover { border-color: var(--navy-700); }
.article-nav small { font-size: 13px; color: var(--ink-600); }
.article-nav a span { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav .next { text-align: right; }
.article-nav .list { align-items: center; padding: 10px 22px; font-weight: 700; background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.article-nav .list:hover { background: var(--navy-700); }
@media (max-width: 1080px) { .csr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .csr-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-body { font-size: 16px; }
  .article .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .article-nav { grid-template-columns: 1fr 1fr; }
  .article-nav .list { grid-column: 1 / -1; grid-row: 2; }
  .article-nav span:empty { display: none; }
}

/* ---------- 회사 로고 (이미지) ---------- */
.brand .logo { display: block; height: 44px; width: auto; }
.brand .logo-on-light { display: none; }
.site-header.is-solid .brand .logo-on-dark { display: none; }
.site-header.is-solid .brand .logo-on-light { display: block; }
.site-footer .brand .logo { height: 44px; }
@media (max-width: 1080px) { .brand .logo { height: 36px; } }
