/* 난방배관누수수리 — Forest Green 디자인 시스템
   브랜드 #254C42 · 진한배경 #153D34 · 세이지 #91A99B · 밝은배경 #F5F7F3 · 포인트 #B28B63 · 본문 #252B29 */
:root {
  --brand: #254C42; --dark: #153D34; --sage: #91A99B; --soft: #F5F7F3; --bronze: #B28B63; --text: #252B29;
  --muted: #5C6661; --line: #D9E0DB; --white: #fff; --bronze-d: #9A7550;
  --hd: 64px; --wrap: 1240px; --pad: 32px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--soft); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; background: var(--bronze); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; font: 700 16px/1 var(--font); border: 1.5px solid transparent; border-radius: 3px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-bronze { background: var(--bronze); color: #fff; }
.btn-bronze:hover { background: var(--bronze-d); }
.btn-line-w { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line-w:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--soft); border-bottom: 1px solid var(--line); }
.hd { display: flex; align-items: center; gap: 28px; height: var(--hd); }
.brand { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); }
.brand small { font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.gnav { display: flex; gap: 34px; }
.gnav a { font-size: 15px; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; }
.gnav a:hover, .gnav a[aria-current] { border-color: var(--bronze); }
.gnav-cta { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px auto; transition: transform .2s, opacity .2s; }

/* 히어로 */
.hero { background: var(--dark); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 45fr 55fr; min-height: 470px; }
.hero-copy { padding: 64px 40px 56px max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-en { font-size: 13px; letter-spacing: .2em; color: var(--bronze); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 5.2vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.hero-sub { font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.45; margin-top: 22px; }
.hero-lead { font-size: 15.5px; color: rgba(255,255,255,.78); margin: 18px 0 30px; max-width: 460px; }
.hero-photo { position: relative; min-height: 100%; overflow: hidden; background: var(--brand); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0, rgba(21,61,52,.55) 22%, rgba(21,61,52,0) 55%); }
.hero-bar { border-top: 1px solid rgba(255,255,255,.18); }
.hero-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.hero-specs li { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; padding: 22px 16px 22px 0; }
.hero-specs svg { grid-row: 1 / 3; width: 30px; height: 30px; fill: none; stroke: var(--bronze); stroke-width: 0; }
.hero-specs svg path { fill: var(--sage); }
.hero-specs strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.hero-specs span { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* 섹션 공통 */
.sec { padding: 72px 0; }
.sec-paper { background: var(--soft); }
.sec-white { background: #fff; }
.sec-forest { background: var(--dark); color: #fff; }
.sec-tech { background: #ECF0EC; }
.eyebrow { font-size: 12.5px; letter-spacing: .18em; font-weight: 700; color: var(--bronze-d); margin-bottom: 8px; }
.sec-forest .eyebrow, .p-hero .eyebrow, .cta-band .eyebrow { color: var(--bronze); }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.sec-sub { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 640px; }
.sec-forest .sec-sub { color: rgba(255,255,255,.72); }
.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--bronze-d); white-space: nowrap; min-height: 44px; }
.more:hover { text-decoration: underline; }
.sec-forest .more { color: var(--bronze); }
.blk-title { font-size: 20px; font-weight: 800; margin: 34px 0 14px; }
.blk-title:first-child { margin-top: 0; }

/* 02 서비스 카드 */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { display: flex; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color .2s; }
.svc-card:hover { border-color: var(--brand); }
.svc-txt { flex: 1; min-width: 0; padding: 22px 8px 22px 22px; display: flex; flex-direction: column; position: relative; }
.svc-txt em { font-style: normal; font-size: 26px; font-weight: 800; color: var(--bronze-d); line-height: 1; margin-bottom: 8px; }
.svc-txt h3 { font-size: 19px; font-weight: 800; }
.svc-txt p { font-size: 13.5px; color: var(--muted); margin: 6px 0 14px; line-height: 1.55; }
.svc-txt .go { margin-top: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--bronze); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 15px; }
.svc-img { flex: 0 0 46%; max-width: 230px; background: var(--brand); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }

/* 사진 그리드 / 03 현장사진 */
.field-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.field-head .more { margin-top: 10px; }
.photo-grid { display: grid; gap: 16px; }
.photo-grid.n4 { grid-template-columns: repeat(4, 1fr); }
.photo-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid figure { margin: 0; }
.photo-grid a.zoom { display: block; aspect-ratio: 1; overflow: hidden; background: var(--brand); border-radius: 3px; cursor: zoom-in; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-grid a.zoom:hover img { transform: scale(1.04); }
.photo-grid figcaption { font-size: 14px; font-weight: 600; margin-top: 10px; line-height: 1.45; }
.sec-paper .photo-grid figcaption, .sec-white .photo-grid figcaption { color: var(--text); }

/* 시공 전·후 */
.field-main { min-width: 0; }
.ba-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); align-items: center; }
.ba-pair { grid-template-columns: repeat(2, 1fr); }
.ba-pair a.zoom { position: relative; }
.ba-tag { position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--dark); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 2px; }
.ba-tag.after { background: var(--bronze); }
.ba-pair figcaption { display: none; }
.ba-note h3 { font-size: 20px; font-weight: 800; }
.ba-note p { margin: 8px 0 6px; font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.7; }

/* 04 증상 */
.sym-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 34px; }
.sym-grid a { display: block; height: 100%; }
.sym-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand); border-radius: 3px; }
.sym-img img { width: 100%; height: 100%; object-fit: cover; }
.sym-txt { display: block; padding-top: 14px; }
.sym-txt b { display: block; font-size: 13px; letter-spacing: .1em; color: var(--bronze-d); margin-bottom: 4px; }
.sym-txt h3 { font-size: 16.5px; font-weight: 800; line-height: 1.35; }
.sym-txt p { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.sym-grid a:hover h3 { color: var(--brand); text-decoration: underline; }

/* 05 작업 과정 */
.proc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; position: relative; counter-reset: p; }
.proc::before { content: ""; position: absolute; left: 4%; right: 4%; top: 17px; height: 1px; background: var(--sage); }
.proc li { position: relative; display: block; }
.proc-no { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.proc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand); border-radius: 3px; }
.proc-img img { width: 100%; height: 100%; object-fit: cover; }
.proc-txt { display: block; padding-top: 12px; }
.proc-txt h3 { font-size: 17px; font-weight: 800; }
.proc-txt p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }

/* 06 기술 */
.tech { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.t-texts, .t-tables { display: grid; gap: 28px; }
.t-causes .blk-title { margin-top: 0; }
.t-tables .blk-title { margin-top: 0; }
.tech .tech-acc h3 { color: var(--dark); }
@media (min-width: 1101px) {
  .tech { grid-template-columns: 5fr 7fr; gap: 44px 56px; grid-template-areas: "head causes" "texts texts" "tables tables" "more more"; }
  .t-head { grid-area: head; align-self: stretch; display: flex; flex-direction: column; }
  .t-head .answer strong { font-size: 18px; line-height: 1.75; }
  .t-head .answer { flex: 1; display: flex; align-items: center; margin-top: 24px; }
  .t-tables { align-items: start; }
  .t-tables .tech-acc, .t-causes .tech-acc { border-top: 0; }
  .t-tables .roomy .rtable th, .t-tables .roomy .rtable td { padding-top: 21px; padding-bottom: 21px; }
  .t-causes { grid-area: causes; align-self: stretch; display: flex; flex-direction: column; }
  .t-causes .cause-grid { flex: 1; grid-auto-rows: 1fr; }
  .t-texts { grid-area: texts; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .t-tables { grid-area: tables; grid-template-columns: 1fr 1fr; gap: 40px; }
  .tech-more { grid-area: more; }
  .t-texts .tech-acc { border-top: 2px solid var(--dark); }
}
.tech-intro h3 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; color: var(--dark); }
.tech-intro p { font-size: 15px; color: #3a423f; }
.answer { margin: 20px 0 0; padding: 18px 20px; background: #fff; border-left: 4px solid var(--bronze); }
.answer strong { font-weight: 700; font-size: 15.5px; line-height: 1.65; }
.cause-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cause-grid li { background: #fff; border: 1px solid var(--line); padding: 18px 18px 20px; border-radius: 3px; }
.cause-grid li span { font-size: 22px; font-weight: 800; color: var(--bronze-d); }
.cause-grid h4 { font-size: 17px; font-weight: 800; margin: 4px 0 6px; }
.cause-grid p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.tech-more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }

/* 기술 소개 접이식: PC 에서는 항상 펼침(JS) */
.tech-acc { border-top: 1px solid var(--line); }
.tech-acc summary { list-style: none; cursor: default; }
.tech-acc summary::-webkit-details-marker { display: none; }
.tech-acc summary h3 { margin: 24px 0 8px; }
.t-tables .tech-acc, .t-causes .tech-acc { border-top: 0; }
.t-tables .tech-acc summary h3 { margin: 0 0 14px; }
.cause-grid .tech-acc summary { display: block; }
.cause-grid .tech-acc summary h4 { margin: 4px 0 6px; }

/* 표 */
.rtable { overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 3px; }
.rtable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rtable th, .rtable td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6; }
.rtable thead th { background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.rtable tbody th { font-weight: 700; color: var(--dark); width: 26%; }
.rtable tbody tr:last-child > * { border-bottom: 0; }

/* 07 허브 */
.hub2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.hub-col { background: #fff; border: 1px solid var(--line); padding: 22px 24px 12px; border-radius: 3px; }
.hub-col h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--dark); }
.hub-col h3 a { font-size: 13.5px; color: var(--bronze-d); font-weight: 700; }
.hub-links li { border-bottom: 1px solid var(--line); }
.hub-links li:last-child { border-bottom: 0; }
.hub-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; min-height: 48px; }
.hub-links strong { font-size: 15.5px; font-weight: 700; }
.hub-links span { font-size: 13px; color: var(--muted); text-align: right; }
.hub-links a:hover strong { color: var(--brand); text-decoration: underline; }
.company { margin-top: 34px; padding: 26px 28px; background: var(--dark); color: #fff; border-radius: 3px; }
.company h3 { font-size: 19px; font-weight: 800; }
.company p { font-size: 14.5px; color: rgba(255,255,255,.75); margin: 6px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 14px; font-weight: 600; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.company .chips a { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.company .chips a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* 08 FAQ */
.faq-wrap { max-width: 920px; }
.faq { margin-top: 26px; border-top: 2px solid var(--dark); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--bronze-d); line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item h3 { font-size: 17.5px; font-weight: 700; line-height: 1.45; }
.faq-item p { padding: 0 4px 22px; color: #3a423f; font-size: 15.5px; line-height: 1.8; }

/* CTA */
.cta-band { background: var(--brand); color: #fff; padding: 60px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-text { margin-top: 10px; color: rgba(255,255,255,.8); max-width: 620px; font-size: 15.5px; }
.cta-band .btn-row { flex: none; }

/* 서브페이지 */
.p-hero { background: var(--dark); color: #fff; padding: 40px 0 0; }
.p-hero-plain { padding-bottom: 44px; }
.p-hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 18px; }
.p-hero .hero-lead { font-size: 17px; max-width: 780px; color: rgba(255,255,255,.85); margin: 0 0 28px; line-height: 1.75; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a:hover { text-decoration: underline; }
.hero-strip { padding-top: 8px; padding-bottom: 44px; }
.strip-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--sage); }
.strip-note { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 14px; }
.hero-strip .photo-grid figcaption { color: rgba(255,255,255,.9); }
.split-rows .split { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 34px 0; border-top: 1px solid var(--line); }
.split-rows .split:first-child { border-top: 0; padding-top: 0; }
.split-head .no { display: block; font-size: 13px; letter-spacing: .14em; font-weight: 800; color: var(--bronze-d); margin-bottom: 6px; }
.split-head h2 { font-size: 22px; font-weight: 800; }
.prose p { margin-bottom: 14px; font-size: 16px; line-height: 1.85; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; line-height: 1.75; }
.prose strong { color: var(--dark); }
.lead-p { font-size: 16px; line-height: 1.85; }
.lead-p a, .prose a, .note-box a, .plain-list a { color: var(--brand); text-decoration: underline; font-weight: 600; }
.stack { display: grid; gap: 44px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checks li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--bronze); padding: 12px 16px; font-size: 15px; line-height: 1.6; }
.checks.one { grid-template-columns: 1fr; }
.note-box { margin-top: 20px; padding: 16px 18px; background: #E4EBE6; border-left: 4px solid var(--brand); font-size: 15px; line-height: 1.75; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.7; font-size: 15.5px; }
.profile div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-weight: 700; color: var(--muted); }
.profile a { color: var(--brand); font-weight: 700; text-decoration: underline; }

/* 허브 리스트 */
.hub-group + .hub-group { margin-top: 44px; }
.hub-group h2 { font-size: 22px; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--dark); margin-bottom: 4px; }
.hub-group h2 small { font-size: 12px; letter-spacing: .14em; color: var(--bronze-d); margin-left: 8px; }
.hub-list li { border-bottom: 1px solid var(--line); }
.hub-list a { display: grid; grid-template-columns: 44px 72px 1fr 28px; gap: 18px; align-items: center; padding: 16px 4px; }
.hub-list.nonum a { grid-template-columns: 72px 1fr 28px; }
.hub-list.hub-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 2px solid var(--dark); }
.hub-no { font-size: 22px; font-weight: 800; color: var(--bronze-d); }
.hub-img { display: block; width: 72px; aspect-ratio: 1; overflow: hidden; background: var(--brand); border-radius: 3px; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; }
.hub-body h2, .hub-body h3 { font-size: 18px; font-weight: 800; }
.hub-body p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.hub-ar { width: 28px; height: 28px; border-radius: 50%; background: var(--bronze); color: #fff; display: grid; place-items: center; font-size: 14px; }
.hub-list a:hover h2, .hub-list a:hover h3 { text-decoration: underline; }
.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rel-cat { background: #fff; border: 1px solid var(--line); padding: 20px 22px; border-radius: 3px; }
.rel-cat h3 { font-size: 18px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--dark); }
.rel-cat li { border-bottom: 1px solid var(--line); }
.rel-cat li:last-child { border-bottom: 0; }
.rel-cat a { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; min-height: 48px; }
.rel-cat strong { font-weight: 700; }
.rel-cat span { font-size: 13px; color: var(--muted); text-align: right; }
.rel-cat a:hover strong { text-decoration: underline; color: var(--brand); }

/* 푸터 */
.site-footer { background: var(--dark); color: rgba(255,255,255,.78); font-size: 14px; }
.ft { padding-top: 44px; padding-bottom: 28px; }
.ft-flow ol { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.18); }
.ft-flow li + li { border-left: 1px solid rgba(255,255,255,.18); }
.ft-flow a { display: grid; gap: 2px; padding: 16px 18px; height: 100%; }
.ft-flow a:hover { background: rgba(255,255,255,.07); }
.ft-flow em { font-style: normal; font-size: 12px; letter-spacing: .12em; color: var(--bronze); font-weight: 700; }
.ft-flow strong { color: #fff; font-size: 15px; }
.ft-flow span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.ft-top { display: flex; gap: 40px; align-items: flex-start; padding: 32px 0 20px; }
.ft-brand { font-size: 22px; font-weight: 800; color: #fff; flex: none; }
.ft-info { display: flex; flex-wrap: wrap; gap: 4px 22px; line-height: 1.7; }
.ft-info a { color: #fff; text-decoration: underline; }
.ft-links { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.ft-links a { min-height: 40px; display: inline-flex; align-items: center; color: #fff; }
.ft-links a:hover { text-decoration: underline; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; font-size: 12.5px; color: rgba(255,255,255,.5); }
.m-cta { display: none; }

/* 라이트박스 */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,25,21,.88); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 94vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; border-radius: 3px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-size: 15px; }
.lb-close { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 22px; border: 1px solid rgba(255,255,255,.6); background: transparent; color: #fff; font: 600 15px var(--font); border-radius: 3px; cursor: pointer; }

/* ───── 태블릿 ───── */
@media (max-width: 1100px) {
  :root { --pad: 24px; }
  .gnav { gap: 22px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .field-wrap { grid-template-columns: 1fr; gap: 24px; }
  .field-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
  .sym-grid { grid-template-columns: repeat(3, 1fr); }
  .proc { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .proc::before { display: none; }
  .tech { grid-template-columns: 1fr; gap: 36px; }
  .split-rows .split { grid-template-columns: 1fr; gap: 16px; }
  .ft-flow ol { grid-template-columns: repeat(3, 1fr); }
  .ft-flow li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.18); }
  .ft-flow li:nth-child(4) { border-left: 0; }
}

/* ───── 모바일 전용 레이아웃(PC 축소가 아닌 별도 구성) ───── */
@media (max-width: 820px) {
  :root { --hd: 56px; --pad: 18px; }
  body { font-size: 15.5px; padding-bottom: 72px; }
  .menu-btn { display: block; }
  .hd-cta { display: none; }
  .hd { gap: 8px; }
  .gnav { position: fixed; left: 0; right: 0; top: var(--hd); background: var(--soft); flex-direction: column; gap: 0; padding: 6px var(--pad) 18px; border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; max-height: calc(100vh - var(--hd)); overflow-y: auto; }
  .nav-open .gnav { transform: none; visibility: visible; }
  .gnav a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .gnav-cta { display: flex; margin-top: 14px; min-height: 50px; align-items: center; justify-content: center; gap: 8px; background: var(--bronze); color: #fff; border-radius: 3px; border: 0 !important; font-weight: 700; }
  .nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .sec { padding: 40px 0; }
  .sec-head h2 { font-size: 23px; }
  .sec-sub { font-size: 14px; margin-top: 6px; }
  .sec-top { margin-bottom: 18px; align-items: flex-end; }
  .more { font-size: 13.5px; }

  /* 히어로: 사진이 위, 제목과 상담 버튼이 첫 화면에 보이도록 낮게 */
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 280px; min-height: 0; }
  .hero-photo img { object-position: 25% 35%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--dark) 0, rgba(21,61,52,0) 55%); }
  .hero-copy { padding: 4px var(--pad) 26px; }
  .hero-en { font-size: 11px; margin-bottom: 8px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 18px; margin-top: 10px; }
  .hero-lead { display: none; }
  .hero-copy .btn-row { margin-top: 18px; flex-wrap: nowrap; gap: 8px; }
  .hero-copy .btn { flex: 1; padding: 0 10px; font-size: 15px; min-height: 50px; }
  .hero-specs { grid-template-columns: 1fr 1fr; }
  .hero-specs li { grid-template-columns: 1fr; padding: 12px 8px 12px 0; }
  .hero-specs svg { display: none; }
  .hero-specs strong { font-size: 13.5px; }
  .hero-specs span { font-size: 11.5px; }

  /* 서비스: 압축 리스트 */
  .svc-grid { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--dark); }
  .svc-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; align-items: center; gap: 14px; padding: 12px 0; }
  .svc-img { order: -1; flex: none; width: 140px; max-width: none; height: 140px; border-radius: 3px; overflow: hidden; }
  .svc-txt { padding: 0 40px 0 0; justify-content: center; align-self: center; }
  .svc-txt em { position: absolute; right: 0; top: 0; font-size: 12px; color: var(--bronze-d); }
  .svc-txt h3 { font-size: 16.5px; }
  .svc-txt p { font-size: 12.5px; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-txt .go { position: absolute; right: 0; top: 50%; margin: 0; transform: translateY(-50%); width: 28px; height: 28px; }
  .svc-txt em { top: -2px; right: 36px; }

  /* 현장사진: 2×2 */
  .field-head { display: block; }
  .photo-grid { gap: 8px; }
  .ba-block { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; padding-top: 20px; }
  .ba-note h3 { font-size: 17px; }
  .ba-note p { font-size: 13.5px; }
  .field-wrap { gap: 18px; }
  .photo-grid.n4, .photo-grid.n2 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid.n3 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid figcaption { font-size: 12.5px; margin-top: 6px; }

  /* 증상: 압축 이미지·텍스트 목록 */
  .sym-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 20px; }
  .sym-grid a { display: block; }
  .sym-img { aspect-ratio: 16 / 10; }
  .sym-txt { padding: 12px 0 0; }
  .sym-txt b { display: inline-block; margin: 0 8px 0 0; font-size: 14px; }
  .sym-txt h3 { display: inline; font-size: 17px; }
  .sym-txt p { font-size: 13.5px; margin-top: 6px; line-height: 1.6; }

  /* 작업 과정: 세로 타임라인 */
  .proc { grid-template-columns: 1fr; gap: 26px; margin-top: 20px; }
  .proc::before { display: none; }
  .proc li { display: block; }
  .proc-no { position: absolute; left: 10px; top: 10px; width: 34px; height: 34px; font-size: 12.5px; margin: 0; z-index: 1; border: 2px solid var(--soft); }
  .proc-img { aspect-ratio: 16 / 10; width: 100%; }
  .proc-txt { padding: 12px 0 0; }
  .proc-txt h3 { font-size: 17px; }
  .proc-txt p { font-size: 13.5px; margin-top: 4px; }

  /* 기술 */
  .tech { gap: 10px; }
  .t-texts, .t-tables { gap: 10px; }
  .tech-acc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
  .tech-acc summary h3, .tech-intro .tech-acc summary h3 { margin: 0; font-size: 16px; }
  .tech-acc summary::after { content: "+"; font-size: 22px; color: var(--bronze-d); line-height: 1; }
  .tech-acc[open] summary::after { content: "−"; }
  .tech-acc p { padding-bottom: 14px; }
  .t-tables .tech-acc, .t-causes .tech-acc { border-top: 0; }
  .t-causes .blk-title, .t-tables .blk-title { margin-top: 0; }
  .cause-grid { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--dark); }
  .cause-grid li { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; }
  .cause-grid .tech-acc summary { display: flex; align-items: center; gap: 12px; min-height: 52px; }
  .cause-grid .tech-acc summary::after { margin-left: auto; }
  .cause-grid li span { font-size: 15px; }
  .cause-grid .tech-acc summary h4 { margin: 0; font-size: 15.5px; }
  .cause-grid li p { font-size: 13.5px; padding: 0 0 14px 34px; }
  .t-tables .tech-acc { border-top: 1px solid var(--line); }
  .t-tables .tech-acc summary h3 { margin: 0; font-size: 16px; }
  .t-tables .tech-acc .rtable { margin-bottom: 14px; }
  .t-tables .tech-acc:last-child { border-bottom: 1px solid var(--line); }
  .company { padding: 16px 0 16px 16px; }
  .company h3 { font-size: 16.5px; padding-right: 16px; }
  .company p { font-size: 13.5px; margin: 4px 16px 12px 0; }
  .company .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 0 0; }
  .company .chips a { justify-content: center; text-align: center; border-radius: 3px; min-height: 44px; padding: 4px 8px; font-size: 13.5px; }
  .company .chips a:last-child { grid-column: 1 / -1; }
  .company .chips a:nth-child(n+3):not(:last-child) { display: none; }
  .tech-intro h3 { font-size: 16.5px; margin-top: 20px; }
  .tech-intro p { font-size: 14.5px; }
  .answer { padding: 14px 16px; }
  .answer strong { font-size: 14.5px; }
  .blk-title { font-size: 17.5px; margin: 26px 0 10px; }

  /* 표: 카드형으로 풀기 */
  .rtable:not(.mini) { border: 0; background: transparent; }
  .rtable:not(.mini) table, .rtable:not(.mini) tbody, .rtable:not(.mini) tr, .rtable:not(.mini) th, .rtable:not(.mini) td { display: block; width: auto; }
  .rtable:not(.mini) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable:not(.mini) tr { background: #fff; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 8px; padding: 4px 14px; }
  .rtable:not(.mini) tbody th { width: auto; padding: 10px 0 4px; border: 0; font-size: 15px; }
  .rtable:not(.mini) td, .rtable:not(.mini) tbody th[data-label] + td { border: 0; padding: 4px 0 10px; font-size: 14px; }
  .rtable:not(.mini) td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--bronze-d); }
  .rtable tbody tr:last-child > * { border-bottom: 0; }
  .rtable.mini table { font-size: 13px; }
  .rtable.mini th, .rtable.mini td { padding: 9px 10px; line-height: 1.5; }
  .rtable.mini thead th { font-size: 12.5px; }
  .rtable.mini tbody th { width: 24%; }

  /* 허브 */
  .hub2 { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .hub-col { padding: 16px 16px 6px; }
  .hub-links a { flex-direction: column; gap: 0; padding: 10px 0; min-height: 0; }
  #hub .sec-sub { display: none; }
  #hub .hub2 { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
  .hub-col { min-width: 0; }
  .hub-col { padding: 12px 0 12px 14px; }
  .hub-col h3 { font-size: 15.5px; padding: 0 14px 8px 0; border-bottom-width: 1px; }
  .hub-col { padding: 14px 14px 14px; }
  .hub-col h3 { padding: 0 0 10px; }
  .hub-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 0 0; }
  .hub-links li, .hub-links li:last-child { border: 1px solid var(--line); border-radius: 3px; background: var(--soft); }
  .hub-links li:nth-child(n+3) { display: none; }
  .hub-links span { display: none; }
  .hub-links a { min-height: 48px; padding: 6px 8px; justify-content: center; align-items: center; text-align: center; }
  .hub-links strong { font-size: 13.5px; line-height: 1.35; word-break: keep-all; }
  .chips a { min-height: 38px; font-size: 13.5px; padding: 0 13px; }

  .faq-item summary { padding: 16px 2px; }
  .faq-item h3 { font-size: 15.5px; }
  .faq-item p { font-size: 14.5px; padding-bottom: 18px; }

  .cta-band { padding: 38px 0; }
  .cta-in { flex-direction: column; align-items: stretch; gap: 20px; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }

  .p-hero { padding-top: 22px; }
  .p-hero-plain { padding-bottom: 28px; }
  .p-hero h1 { font-size: 30px; margin-bottom: 12px; }
  .p-hero .hero-lead { font-size: 15px; margin-bottom: 20px; line-height: 1.7; }
  .crumbs ol { margin-bottom: 14px; }
  .p-hero .btn-row .btn { flex: 1 1 100%; }
  .hero-strip { padding-bottom: 30px; }
  .sec-forest .field-wrap { padding-left: 12px; padding-right: 12px; }
  .strip-title { font-size: 15.5px; }
  .split-rows .split { padding: 24px 0; gap: 12px; }
  .split-head h2 { font-size: 19px; }
  .prose p, .lead-p { font-size: 15px; line-height: 1.8; }
  .checks { grid-template-columns: 1fr; }
  .stack { gap: 30px; }
  .profile div { grid-template-columns: 84px 1fr; }
  .hub-list a { grid-template-columns: 30px 56px 1fr 24px; gap: 10px; padding: 12px 0; }
  .hub-list.nonum a { grid-template-columns: 56px 1fr 24px; }
  .hub-list.hub-cols { grid-template-columns: 1fr; }
  .hub-img { width: 56px; }
  .hub-no { font-size: 16px; }
  .hub-body h2, .hub-body h3 { font-size: 16px; }
  .hub-body p { font-size: 12.5px; }
  .rel-grid { grid-template-columns: 1fr; gap: 12px; }

  .ft { padding-top: 22px; padding-bottom: 8px; }
  .ft-flow ol { grid-template-columns: 1fr 1fr; }
  .ft-flow li { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.18); }
  .ft-flow li:nth-child(-n+2) { border-top: 0; }
  .ft-flow li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.18) !important; }
  .ft-flow li:last-child { grid-column: 1 / -1; border-left: 0 !important; }
  .ft-flow a { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; padding: 10px 14px; gap: 0 8px; }
  .ft-flow em { font-size: 11.5px; }
  .ft-flow strong { font-size: 14.5px; }
  .ft-flow span { grid-column: 1 / -1; font-size: 12px; margin-top: 1px; }
  .ft-top { flex-direction: column; gap: 4px; padding: 16px 0 8px; }
  .ft-brand { font-size: 19px; }
  .ft-info { font-size: 13px; line-height: 1.55; }
  .ft-links { padding-top: 6px; gap: 0 18px; }
  .ft-links a { min-height: 40px; font-size: 13.5px; }
  .ft-bottom { padding: 12px 0; }
  .ft-info { flex-direction: column; gap: 2px; }
  .m-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(245,247,243,.97); border-top: 1px solid var(--line); }
  .m-cta .btn { width: 100%; min-height: 50px; }
  body.nav-open .m-cta { display: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
