/* 화담빌드 — 주황(화담빌드 고유색) 포인트 + 먹색 구간 + 따뜻한 흰 바탕. 2판(2026-11-13) */
:root {
  --brand: #e86d26; --brand-d: #cf5a17; --brand-t: #b84a14; --brand-l: #fff1e7; --brand-on-dark: #ffb27e;
  --ink: #16181b; --text: #34383d; --muted: #6a7078; --line: #e6e3de; --line-d: #cfcbc4;
  --soft: #f6f4f0; --dark: #15181b;
  --wrap: 1200px; --hh: 76px; --r: 18px;
  --grad: linear-gradient(140deg, #ef7a2f 0%, #d95a14 100%);
  --shadow: 0 14px 34px rgba(22, 24, 27, .09);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.75; font-size: 18px; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
address { font-style: normal; }
button, input, textarea { font: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #1b6ef3; outline-offset: 2px; }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 9999px; font-weight: 700; font-size: 17px; border: 1px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn svg { transition: transform .18s; flex: none; }
.btn:hover svg, .link-more:hover svg, .col-go svg { transform: translateX(3px); }
.btn-lg { padding: 16px 30px; font-size: 18.5px; }
.btn-orange { background: var(--brand); color: #fff; }
.btn-orange:hover { background: var(--brand-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c3035; }
.btn-white { background: #fff; color: var(--brand-t); }
.btn-white:hover { background: var(--brand-l); }
.btn-line, .btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line:hover, .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-t); white-space: nowrap; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 머리띠 */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
.header-in { display: flex; align-items: center; height: var(--hh); gap: 24px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 36px; width: auto; }
.logo-w { display: none; }
.nav { margin-left: auto; height: 100%; }
.nav-list { display: flex; height: 100%; }
.nav-item > a { display: flex; align-items: center; height: 100%; padding: 0 22px; font-weight: 650; font-size: 18.5px; color: var(--ink); position: relative; }
.nav-item > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-item:hover > a::after, .nav-item.is-current > a::after { transform: scaleX(1); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 26px 40px rgba(22, 24, 27, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav:hover .mega, .nav:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr) 1.35fr; gap: 36px; padding: 32px 0 38px; color: var(--text); }
.mega-col p { padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; font-weight: 800; color: var(--ink); }
.mega-col li a { display: block; padding: 6px 0; font-size: 17px; }
.mega-col li a:hover, .mega-col li a[aria-current] { color: var(--brand-t); font-weight: 650; }
.mega-tel { background: var(--soft); border-radius: var(--r); padding: 22px 24px; align-self: start; }
.mega-tel p { font-size: 14.5px; font-weight: 700; color: var(--muted); }
.mega-tel a { display: block; font-size: 28.5px; font-weight: 800; color: var(--brand-t); line-height: 1.3; }
.mega-tel span { font-size: 14.5px; color: var(--muted); }
/* 전화번호는 글자로 밖에 두고, 단추는 '상담신청'(접수 양식으로) — 대표 2026-11-19 "홈페이지처럼 전화번호를 밖으로 빼고 블럭 안에는 상담문의로 해서 접수시스템으로" → 같은 날 "상담문의도 상담신청으로 바꾸고" */
.header-tel { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); white-space: nowrap; line-height: 1.2; }
.header-tel span { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.header-tel strong { font-size: 20px; font-weight: 800; letter-spacing: 0; font-variant-numeric: tabular-nums; transition: color .18s; }
.header-tel:hover strong { color: var(--brand-t); }
.header-cta { display: inline-flex; align-items: center; background: var(--brand); color: #fff; padding: 11px 24px; border-radius: 9999px; font-size: 17px; font-weight: 700; white-space: nowrap; transition: background .18s; }
.header-cta:hover { background: var(--brand-d); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; }
.mnav { background: #fff; color: var(--ink); padding: 8px 24px 24px; border-top: 1px solid var(--line); max-height: calc(100vh - var(--hh)); overflow: auto; }
.mnav-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav-group p { font-weight: 800; color: var(--brand-t); font-size: 15px; margin-bottom: 2px; }
.mnav-group ul { display: flex; flex-wrap: wrap; }
.mnav-group li { width: 50%; }
.mnav-group a { display: block; padding: 9px 0; font-weight: 600; }
.mnav-group a[aria-current] { color: var(--brand-t); }
.mnav-cta, .mnav-tel { display: block; text-align: center; padding: 15px; border-radius: 12px; font-weight: 800; }
.mnav-cta { margin-top: 18px; background: var(--brand); color: #fff; }
.mnav-tel { margin-top: 10px; color: var(--brand-t); box-shadow: inset 0 0 0 1.5px var(--brand); }
/* 첫 화면 맨 위: 사진 위에 투명하게(스크립트가 at-top 을 붙였을 때만) */
.home .site-header.at-top:not(:hover):not(.menu-open) { background: transparent; border-color: transparent; }
.home .site-header.at-top:not(:hover):not(.menu-open) .nav-item > a { color: #fff; }
.home .site-header.at-top:not(:hover):not(.menu-open) .logo-c { display: none; }
.home .site-header.at-top:not(:hover):not(.menu-open) .logo-w { display: block; }
.home .site-header.at-top:not(:hover):not(.menu-open) .menu-btn span { background: #fff; }
.home .site-header.at-top:not(:hover):not(.menu-open) .header-tel { color: #fff; }
.home .site-header.at-top:not(:hover):not(.menu-open) .header-tel span { color: rgba(255, 255, 255, .82); }
.home .site-header.at-top:not(:hover):not(.menu-open) .header-cta { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
/* 주황 머리띠(site.json 의 headerStyle 을 orange 로 두면) */
.hdr-orange .site-header { background: var(--brand); border-color: transparent; }
.hdr-orange .site-header .nav-item > a { color: #fff; }
.hdr-orange .site-header .nav-item > a::after { background: #fff; }
.hdr-orange .site-header .logo-c { display: none; }
.hdr-orange .site-header .logo-w { display: block; }
.hdr-orange .site-header .menu-btn span { background: #fff; }
.hdr-orange .site-header .header-tel, .hdr-orange .site-header .header-tel:hover strong { color: #fff; }
.hdr-orange .site-header .header-tel span { color: rgba(255, 255, 255, .86); }
.hdr-orange .site-header .header-cta { background: #fff; color: var(--brand-t); }

/* 첫 화면 큰 사진 */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--dark); display: flex; flex-direction: column; justify-content: flex-end; min-height: min(94vh, 920px); overflow: hidden; margin-top: calc(-1 * var(--hh) - 1px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; z-index: -2; }
.hero-video { object-position: 50% 50%; background: var(--dark) url(img/hero-poster.jpg) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 18, 21, .93) 0%, rgba(16, 18, 21, .74) 44%, rgba(16, 18, 21, .3) 100%), linear-gradient(0deg, rgba(16, 18, 21, .9) 0%, rgba(16, 18, 21, 0) 46%); }
.hero-in { padding: calc(var(--hh) + 72px) 0 60px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--brand-on-dark); font-size: 16.5px; letter-spacing: .02em; }
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.17; font-weight: 800; letter-spacing: -.035em; margin-top: 18px; }
.hero-lead { margin-top: 24px; max-width: 580px; font-size: clamp(17px, 1.5vw, 19.5px); color: rgba(255, 255, 255, .86); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-tags a { display: block; border: 1px solid rgba(255, 255, 255, .35); border-radius: 9999px; padding: 5px 15px; font-size: 15.5px; font-weight: 600; transition: background .18s, color .18s; }
.hero-tags a:hover { background: #fff; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(16, 18, 21, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stat-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-list li { padding: 28px 28px 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat-list li:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-size: clamp(34px, 3.7vw, 50px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.stat-value small { font-size: .42em; color: var(--brand-on-dark); margin-left: 4px; font-weight: 700; letter-spacing: 0; }
.stat-label { font-weight: 700; margin-top: 8px; color: #fff; }
.stat-sub { font-size: 15px; color: rgba(255, 255, 255, .66); }
.stat-note { font-size: 14px; color: rgba(255, 255, 255, .55); padding: 0 0 18px; }

/* 구간 공통 */
.sec { padding: clamp(72px, 9vw, 124px) 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-orange { background: var(--grad); color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.eyebrow { font-weight: 800; font-size: 14.5px; letter-spacing: .16em; color: var(--brand-t); }
.sec-title { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.26; letter-spacing: -.035em; font-weight: 800; color: var(--ink); margin-top: 10px; max-width: 860px; text-wrap: balance; }
.sec-lead { margin-top: 16px; max-width: 660px; color: var(--muted); font-size: 18.5px; }
.sec-lead strong { color: var(--ink); }
.sec-dark .eyebrow { color: var(--brand-on-dark); }
.sec-orange .eyebrow { color: #fff; opacity: .9; }
.sec-dark .sec-title, .sec-orange .sec-title { color: #fff; }
.sec-dark .sec-lead { color: rgba(255, 255, 255, .74); }
.sec-orange .sec-lead { color: rgba(255, 255, 255, .92); }
.more { margin-top: 44px; }
.scroll-btns { display: flex; gap: 8px; flex: none; }
.scroll-btns button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-d); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.scroll-btns button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.scroll-btns button:first-child svg { transform: rotate(180deg); }

/* 화담이 다르게 하는 일 — 업무영역마다 사진 카드 한 장. 큰 주황 글자(.why-key)가 그 영역에서 화담이 내세우는 한 가지다. */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.why-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-d); }
.why-pic { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #1c1f23; }
.why-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.why-card:hover .why-pic img { transform: scale(1.045); }
.why-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 24, 27, 0) 42%, rgba(21, 24, 27, .68)); }
.why-tag { position: absolute; left: 22px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; }
.why-tag b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); font-size: 15.5px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.why-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 26px; }
.why-key { font-size: clamp(27px, 2.5vw, 34px); font-weight: 800; line-height: 1.22; letter-spacing: -.045em; color: var(--brand-t); text-wrap: balance; word-break: keep-all; }
.why-body h3 { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 20px; color: var(--ink); line-height: 1.45; letter-spacing: -.025em; }
.why-desc { margin-top: 8px; font-size: 17px; }
.why-more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; color: var(--brand-t); }
.why-more::after { content: ""; position: absolute; inset: 0; }
.why-more svg { transition: transform .2s; }
.why-card:hover .why-more svg { transform: translateX(4px); }
.equip { margin-top: 80px; padding: 36px 36px 38px; background: var(--soft); border-radius: 24px; }
.equip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 22px; }
.equip-head h2, .equip-head h3 { font-size: 23.5px; color: var(--ink); letter-spacing: -.02em; }
.equip-head p { font-size: 14.5px; color: var(--muted); }
.equip-list { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.equip-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #ddd; }
.equip-list figcaption { font-size: 15px; line-height: 1.4; margin-top: 9px; color: var(--ink); font-weight: 650; }
.equip-list b { display: block; color: var(--brand-t); font-size: 13.5px; font-weight: 800; }

/* 업무영역(주황 구간) */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pgrid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 32px 30px 26px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 20px; background: rgba(255, 255, 255, .07); transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.pgrid a:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 34px rgba(60, 22, 0, .28); }
.pgrid img { height: 50px; width: auto; align-self: flex-start; }
.pgrid strong { font-size: 25.5px; font-weight: 800; letter-spacing: -.025em; margin-top: 6px; }
.pgrid p { font-size: 16px; line-height: 1.65; opacity: .92; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.pgrid span { margin-top: auto; padding-top: 12px; font-size: 15.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pgrid a:hover span svg { transform: translateX(3px); }
.pgrid span svg { transition: transform .18s; }

/* 하자담보책임기간 */
.periods { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); }
.periods > li { padding: 34px 28px 34px 0; }
.periods > li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.periods-y { font-size: clamp(54px, 6.2vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.periods-y small { font-size: .34em; margin-left: 5px; color: var(--brand-on-dark); letter-spacing: 0; }
.periods-bar { height: 6px; background: rgba(255, 255, 255, .14); border-radius: 99px; margin: 22px 0; }
.periods-bar span { display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: 99px; }
.periods h3 { font-size: 19.5px; line-height: 1.45; letter-spacing: -.02em; }
.periods-d { font-size: 15.5px; opacity: .74; margin-top: 8px; line-height: 1.6; }
.periods-law { font-size: 14px; opacity: .64; margin-top: 12px; line-height: 1.55; }
.periods-note { padding: 20px 24px; background: rgba(255, 255, 255, .07); border-radius: 14px; font-size: 16.5px; }
.periods-note span { opacity: .6; font-size: 14.5px; }
.periods-light .periods { border-top-color: var(--ink); }
.periods-light .periods > li + li { border-left-color: var(--line); }
.periods-light .periods-y, .periods-light .periods h3 { color: var(--ink); }
.periods-light .periods-y small { color: var(--brand); }
.periods-light .periods-bar { background: #ebe8e3; }
.periods-light .periods-note { background: var(--soft); }
.periods-light .periods-note strong { color: var(--ink); }

/* 구성원 카드(가로 넘김) */
.pcards, .reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.pcard { flex: 0 0 min(268px, 64vw); scroll-snap-align: start; }
.pcard a { display: block; position: relative; border-radius: var(--r); overflow: hidden; background: #d9d6d1; }
.pcard img { width: 100%; aspect-ratio: 640/740; object-fit: cover; transition: transform .45s; }
.pcard a:hover img { transform: scale(1.04); }
.pcard span { position: absolute; inset: auto 0 0 0; padding: 44px 18px 16px; background: linear-gradient(0deg, rgba(16, 18, 21, .86), rgba(16, 18, 21, 0)); color: rgba(255, 255, 255, .85); font-size: 15.5px; }
.pcard strong { display: block; font-size: 20.5px; color: #fff; }

/* 사진 실적 */
.folio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fcard { display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.folio li:hover .fcard { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-d); }
.fcard figcaption { font-weight: 800; color: var(--ink); font-size: 18.5px; line-height: 1.35; letter-spacing: -.03em; text-align: center; min-height: 2.7em; display: flex; align-items: center; text-wrap: balance; word-break: normal; }
.fcard-img { position: relative; width: 100%; border-radius: 10px; overflow: hidden; background: #e9e6e1; }
.fcard-img img { width: 100%; aspect-ratio: 492/286; object-fit: cover; }
.fcard-gen { align-self: flex-end; margin: -6px 2px -2px 0; font-size: 12px; line-height: 1; color: var(--muted); }
.fcard p { margin-top: auto; background: #4a403b; color: #fff; font-size: 15px; font-weight: 600; line-height: 1; padding: 7px 16px; border-radius: 9999px; font-variant-numeric: tabular-nums; }
.folio-note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* 후기 */
.review { flex: 0 0 min(470px, 86vw); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 34px 36px; }
.review-tag { display: inline-block; background: var(--brand-l); color: var(--brand-t); font-weight: 800; padding: 3px 13px; border-radius: 9999px; font-size: 15px; }
.review h3 { font-size: 22px; color: var(--ink); line-height: 1.5; letter-spacing: -.025em; margin: 16px 0 14px; }
.review article > p:not(.review-tag) { font-size: 16.5px; color: #4a4f55; }
.review p + p { margin-top: 12px; }

/* 질문과 답 */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 80px; align-items: start; }
.split-head { position: sticky; top: calc(var(--hh) + 36px); }
.split-head .btn { margin-top: 28px; }
.qa-list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-d); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 52px 22px 42px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; position: absolute; left: 2px; top: 20px; font-weight: 800; color: var(--brand); font-size: 21.5px; line-height: 1.5; }
.qa summary::after, .fold summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--ink), var(--ink)) center/16px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 16px no-repeat; transition: transform .2s; }
.qa[open] summary::after, .fold[open] summary::after { transform: rotate(45deg); }
.qa summary h2, .qa summary h3 { display: inline; font-size: 20px; color: var(--ink); line-height: 1.5; font-weight: 700; letter-spacing: -.02em; }
.qa summary:hover h3 { color: var(--brand-t); }
.qa-a { position: relative; padding: 0 52px 28px 42px; }
.qa-a::before { content: "A"; position: absolute; left: 2px; top: -2px; font-weight: 800; color: var(--muted); font-size: 21.5px; }

/* 기고·칼럼 */
.cols { display: grid; gap: 18px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-list { grid-template-columns: repeat(2, 1fr); }
.cols a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 24px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.cols a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.col-meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.col-meta span::before { content: "·"; margin: 0 8px; }
.cols h3 { font-size: 20.5px; line-height: 1.48; color: var(--ink); letter-spacing: -.025em; margin: 12px 0 10px; }
.col-sum { font-size: 16px; color: var(--muted); line-height: 1.65; }
.col-go { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15.5px; color: var(--brand-t); display: inline-flex; align-items: center; gap: 6px; }
.col-go svg { transform: none; transition: transform .18s; }
.cols a:hover .col-go svg { transform: translateX(3px); }

/* 맺음·상담 띠 */
.closing { background: linear-gradient(rgba(16, 18, 21, .86), rgba(16, 18, 21, .86)), url('/assets/img/band-people.jpg') center/cover no-repeat, var(--dark); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.closing h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; letter-spacing: -.035em; max-width: 860px; margin-bottom: 24px; }
.closing p { max-width: 760px; color: rgba(255, 255, 255, .8); margin-top: 8px; }
.closing-sub { font-size: 16.5px; }
.cta { background: var(--grad); color: #fff; padding: 52px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { font-size: 27.5px; letter-spacing: -.03em; }
.cta p { opacity: .92; font-size: 16.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 하위 페이지 머리 */
.phero { background: linear-gradient(90deg, rgba(16, 18, 21, .92) 0%, rgba(16, 18, 21, .66) 58%, rgba(16, 18, 21, .42) 100%), var(--band) center/cover no-repeat, var(--dark); color: #fff; }
.phero-in { min-height: 320px; padding: 40px 0 52px; display: flex; flex-direction: column; justify-content: flex-end; }
.crumbs { margin-bottom: auto; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.phero-eyebrow { color: var(--brand-on-dark); font-weight: 800; letter-spacing: .14em; font-size: 14.5px; margin-top: 36px; }
.phero h1 { font-size: clamp(31px, 4.4vw, 52px); line-height: 1.2; letter-spacing: -.035em; margin-top: 8px; text-wrap: balance; }
.phero-lead { margin-top: 16px; max-width: 780px; color: rgba(255, 255, 255, .85); font-size: 18.5px; }
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 14px 15px; font-weight: 650; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; transition: color .18s; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current] { color: var(--ink); border-color: var(--brand); }

/* 글 페이지 공통 */
.doc { padding: 64px 0 104px; }
.page-title { font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
.page-lead { margin-top: 14px; color: var(--muted); font-size: 18.5px; }
.page-lead a { color: var(--brand-t); text-decoration: underline; }
.sub-title { font-size: 27.5px; color: var(--ink); letter-spacing: -.03em; line-height: 1.35; margin: 72px 0 24px; display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.doc > .sub-title:first-child, .faq-group > .sub-title { margin-top: 0; }
.sub-title small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: -.01em; }
.disclaimer { margin-top: 28px; font-size: 15px; color: var(--muted); padding: 16px 20px; background: var(--soft); border-radius: 12px; }
.filter { display: flex; align-items: center; gap: 10px; }
.filter input { padding: 11px 18px; border: 1px solid var(--line-d); border-radius: 9999px; width: min(340px, 72vw); background: #fff; }
.filter input:focus { border-color: var(--brand); outline: 3px solid var(--brand-l); }
.filter output { font-size: 15.5px; color: var(--brand-t); font-weight: 700; min-width: 3em; }

/* 업무영역 상세 */
.pwrap { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 72px; padding: 56px 0 104px; }
.toc { position: sticky; top: calc(var(--hh) + 28px); align-self: start; font-size: 16px; }
.toc > p { font-weight: 800; color: var(--ink); font-size: 14px; letter-spacing: .12em; margin-bottom: 12px; }
.toc ol { border-left: 2px solid var(--line); }
.toc ol a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.5; transition: color .15s; }
.toc ol a:hover, .toc ol a.on { color: var(--ink); border-color: var(--brand); font-weight: 650; }
.toc-tel { display: block; margin-top: 26px; background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px; font-size: 21.5px; font-weight: 800; letter-spacing: -.01em; }
.toc-tel span { display: block; font-size: 14px; font-weight: 600; opacity: .7; }
.toc-tel:hover { background: var(--brand); }
.answer { background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 36px 40px 38px; }
.answer b { color: var(--brand); margin-right: 6px; font-weight: 800; }
.answer-q { font-weight: 700; color: var(--ink); font-size: 18.5px; }
.answer-a { font-size: clamp(21px, 2.4vw, 28px); font-weight: 800; color: var(--ink); line-height: 1.42; letter-spacing: -.03em; margin: 8px 0 18px; }
.answer p + p:not(.answer-a) { margin-top: 10px; }
.answer strong { color: var(--ink); }
.blk { padding-top: 64px; margin-top: 64px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 12px); }
.blk > h2 { font-size: clamp(24px, 2.6vw, 31px); color: var(--ink); letter-spacing: -.035em; line-height: 1.3; margin-bottom: 28px; }
.blk > h2::before { content: ""; display: block; width: 28px; height: 4px; background: var(--brand); margin-bottom: 18px; border-radius: 2px; }
.blk-plain { border-top: 0; padding-top: 0; margin-top: 40px; }
.blk-plain .equip { margin-top: 0; }
/* 하자진단 페이지는 본문 칸이 좁아 9칸이면 한 칸이 81px — 장비 이름이 '유리두께측정/기'처럼 끊긴다. 5칸 두 줄로 놓는다(휴대폰은 옆으로 넘기는 줄 그대로) */
@media (min-width: 721px) { .blk-plain .equip-list { grid-template-columns: repeat(5, 1fr); gap: 20px 14px; } }
.blk-more { margin-top: 22px; }
.sub-h { font-size: 21.5px; color: var(--ink); letter-spacing: -.02em; margin: 24px 0 16px; }
.old-sec + .old-sec { margin-top: 40px; }
.old-sec h3 { font-size: 21.5px; color: var(--ink); letter-spacing: -.025em; margin-bottom: 12px; }
.old-sec p + p, .old-sec p + ol, .old-sec p + ul, .old-sec ol + p, .old-sec ul + p { margin-top: 12px; }
.nlist { counter-reset: n; }
.nlist > li { counter-increment: n; padding-left: 2em; position: relative; }
.nlist > li + li, .dlist > li + li { margin-top: 4px; }
.nlist > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; color: var(--brand-t); font-weight: 800; font-size: .9em; font-variant-numeric: tabular-nums; }
.dlist > li, .info ul > li { padding-left: 1em; position: relative; }
.dlist > li::before, .info ul > li::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.steps { display: grid; gap: 10px; }
.steps > li { background: var(--soft); border-radius: 14px; padding: 18px 22px 18px 66px; position: relative; }
ul.steps > li { padding-left: 22px; }
.steps strong { color: var(--ink); font-size: 18.5px; }
.steps p { font-size: 16.5px; }
ol.steps { counter-reset: s; }
ol.steps > li { counter-increment: s; }
ol.steps > li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; }
.defect-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.defect-photos img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; background: #ddd; }
.aud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.aud > li { border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; background: #fff; }
.aud h3 { font-size: 19.5px; color: var(--ink); letter-spacing: -.02em; }
.aud p { font-size: 16.5px; margin-top: 6px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.tablewrap th, .tablewrap td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tablewrap thead th { background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; border-bottom: 0; }
.tablewrap tbody th { font-weight: 650; color: var(--ink); }
.tablewrap tbody tr:last-child > * { border-bottom: 0; }
.dtable tbody th { width: 34%; }
.dval { font-weight: 600; color: var(--ink); width: 33%; }
.dval.is-short { font-weight: 800; color: var(--brand-t); font-size: 18.5px; white-space: nowrap; }
.dlaw { font-size: 15px; color: var(--muted); }
.rtable { min-width: 880px; font-size: 16px !important; }
.rtable tbody th { white-space: nowrap; }
.rtable .me { background: var(--brand-l); color: var(--ink); font-weight: 600; }
.timeline > li { position: relative; padding: 0 0 40px 68px; }
.timeline > li::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::before { display: none; }
.tl-n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16.5px; font-variant-numeric: tabular-nums; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 44px; }
.tl-head h3 { font-size: 21.5px; color: var(--ink); letter-spacing: -.025em; }
.chip { font-size: 14px; font-weight: 700; background: var(--brand-l); color: var(--brand-t); border-radius: 9999px; padding: 3px 12px; }
.timeline > li > p { margin-top: 8px; }
.tl-hwadam { margin-top: 14px; background: var(--soft); border-radius: 0 14px 14px 0; padding: 16px 20px; border-left: 3px solid var(--brand); }
.tl-hwadam strong { font-size: 14.5px; color: var(--brand-t); font-weight: 800; }
.tl-hwadam p { font-size: 16.5px; margin-top: 2px; }
.tl-law { font-size: 14.5px; color: var(--muted); }
.fold { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.fold + .fold { margin-top: 12px; }
.fold[open] { border-color: var(--line-d); }
.fold summary { display: flex; align-items: center; gap: 12px; padding: 20px 60px 20px 24px; cursor: pointer; position: relative; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { right: 24px; }
.fold summary h3 { font-size: 19.5px; color: var(--ink); letter-spacing: -.02em; line-height: 1.45; }
.fold summary > span { background: var(--soft); border-radius: 9999px; padding: 0 10px; font-size: 14.5px; color: var(--muted); font-weight: 700; flex: none; }
.fold summary:hover h3 { color: var(--brand-t); }
.deflist { padding: 0 24px 12px; }
.deflist > li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 190px 1fr; gap: 4px 24px; font-size: 17px; }
.deflist strong { color: var(--ink); font-weight: 700; }
.deflist > li > span:only-child { grid-column: 1 / -1; }
.scards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scards > li { background: var(--ink); color: #fff; border-radius: 20px; padding: 28px 28px 30px; }
.scards > li:only-child, .scards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.scards span { color: var(--brand-on-dark); font-weight: 800; font-size: 15.5px; letter-spacing: .08em; }
.scards h3 { font-size: 21px; margin: 10px 0 8px; line-height: 1.42; letter-spacing: -.025em; }
.scards p { font-size: 16.5px; color: rgba(255, 255, 255, .78); }
.checkbox { margin-top: 14px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 240px 1fr; }
.checkbox h3 { background: var(--grad); color: #fff; padding: 28px 26px; font-size: 22.5px; line-height: 1.35; letter-spacing: -.025em; display: flex; flex-direction: column; justify-content: center; }
.checkbox small { font-size: 15px; opacity: .92; font-weight: 600; }
.checkbox ul { padding: 24px 28px; align-self: center; }
.checkbox li { padding-left: 28px; position: relative; font-weight: 600; color: var(--ink); font-size: 17px; }
.checkbox li + li { margin-top: 8px; }
.checkbox li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 11px; height: 6px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.fees { background: var(--soft); border-radius: 18px; padding: 28px 32px; }
.fees p + p { margin-top: 12px; }
.lawyers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.lawyers a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: border-color .18s, box-shadow .18s; }
.lawyers a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.lawyers img { width: 100%; aspect-ratio: 640/740; object-fit: cover; background: #ddd; }
.lawyers span { display: block; padding: 12px 14px 14px; font-size: 15px; color: var(--muted); }
.lawyers strong { display: block; font-size: 18.5px; color: var(--ink); }
.sources { columns: 2; column-gap: 36px; font-size: 15.5px; }
.sources li { break-inside: avoid; padding: 4px 0 4px 14px; position: relative; }
.sources li::before { content: ""; position: absolute; left: 0; top: .95em; width: 4px; height: 4px; border-radius: 50%; background: var(--line-d); }
.sources a { text-decoration: underline; text-decoration-color: var(--line-d); text-underline-offset: 3px; }
.sources a:hover { color: var(--brand-t); text-decoration-color: currentColor; }
.guides { margin-top: 36px; }
.guides h3 { font-size: 19.5px; color: var(--ink); margin-bottom: 12px; }
.guides h3 small { font-size: 14.5px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.guides ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.guides a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .18s; }
.guides a:hover { border-color: var(--brand); }
.guides strong { display: block; color: var(--ink); line-height: 1.5; }
.guides span { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 4px; }
.siblings { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.siblings ul, .chips, .people-index { display: flex; flex-wrap: wrap; gap: 8px; }
.siblings a, .chips a, .people-index a { display: block; padding: 8px 18px; border: 1px solid var(--line-d); border-radius: 9999px; font-size: 16.5px; font-weight: 600; transition: border-color .18s, color .18s, background .18s; }
.siblings a:hover, .chips a:hover, .people-index a:hover { border-color: var(--brand); color: var(--brand-t); background: var(--brand-l); }
.chips b { color: var(--brand-t); margin-left: 4px; }

/* 업무영역 모음 */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plist a { display: flex; gap: 24px; border: 1px solid var(--line); border-radius: 22px; padding: 30px; height: 100%; transition: border-color .18s, box-shadow .18s, transform .18s; }
.plist a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.plist-icon { flex: 0 0 72px; height: 72px; border-radius: 20px; background: var(--grad); display: grid; place-items: center; }
.plist-icon img { height: 38px; width: auto; }
.plist h2 { font-size: 24.5px; color: var(--ink); letter-spacing: -.03em; }
.plist-q { color: var(--brand-t); font-weight: 700; font-size: 16.5px; margin-top: 2px; }
.plist p:not(.plist-q) { font-size: 16.5px; color: var(--muted); margin-top: 8px; }
.plist-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 15.5px; color: var(--ink); font-weight: 700; }

/* 화담소개 */
.about-intro { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.about-photo img { border-radius: 24px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about-text p:not(.eyebrow) { margin-top: 16px; }
.about-text strong { color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin: 96px auto; max-width: 1000px; padding-inline: 3.5%; }
.values li { aspect-ratio: 1; border: 1.5px solid var(--line-d); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12%; margin-inline: -3%; background: #fff; }
.values li.on { background: var(--grad); border-color: transparent; color: #fff; z-index: 1; box-shadow: 0 24px 44px rgba(217, 90, 20, .3); }
.values-n { font-size: clamp(36px, 5vw, 60px); font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.04em; }
.values .on .values-n { color: #fff; }
.values h2 { font-size: clamp(16px, 1.75vw, 21px); margin: 10px 0 8px; color: var(--ink); letter-spacing: -.025em; }
.values .on h2 { color: #fff; }
.values p { font-size: clamp(14px, 1.35vw, 16.5px); line-height: 1.6; }
.about-stats { background: var(--dark); }
.about-stats .stat-list li { padding-top: 40px; }
.about-stats + .wrap .equip { margin-top: 72px; }
.certs ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.certs img { width: 100%; background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 6px 18px rgba(22, 24, 27, .06); }

/* 구성원 */
.people-index { margin-bottom: 40px; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.people > li { display: grid; grid-template-columns: 176px 1fr; gap: 24px; border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: #fff; scroll-margin-top: calc(var(--hh) + 16px); transition: border-color .2s, box-shadow .2s; }
.people > li:target { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-l); }
.people-photo img { width: 100%; aspect-ratio: 640/740; object-fit: cover; border-radius: 14px; background: #ddd; }
.people h2 { font-size: 25.5px; color: var(--ink); letter-spacing: -.03em; line-height: 1.3; }
.people h2 span { font-size: 16.5px; font-weight: 700; color: var(--brand-t); margin-left: 4px; letter-spacing: -.01em; }
.people dl > div { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.people dt { font-weight: 800; color: var(--ink); font-size: 15px; line-height: 1.75; }
.people dd li { font-size: 16px; line-height: 1.7; }

/* 찾아오시는 길 */
.loc { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.info { border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 800; color: var(--ink); font-size: 18.5px; }
.info dd p + p { margin-top: 12px; }
.big { font-size: 20.5px; color: var(--ink); font-weight: 650; line-height: 1.55; }
.strong-link { font-weight: 800; color: var(--brand-t); font-size: 20.5px; }
.loc-card { background: var(--dark); color: #fff; border-radius: 24px; padding: 36px; }
.loc-card-h { font-weight: 800; font-size: 14.5px; letter-spacing: .14em; color: var(--brand-on-dark); }
.loc-card ul { margin: 14px 0 26px; }
.loc-card li { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.loc-card li p { flex: 0 0 96px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.loc-card li b { font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #fff; margin-right: 4px; font-variant-numeric: tabular-nums; }
.loc-card li span { font-weight: 650; line-height: 1.5; }
.loc-card li small { display: block; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.loc-card .btn { width: 100%; }
.loc-card-tel { display: block; text-align: center; margin-top: 18px; font-size: 27.5px; font-weight: 800; letter-spacing: -.02em; }
.loc-card-tel:hover { color: var(--brand-on-dark); }

/* 수임실적 */
.rec-top { background: var(--dark); border-radius: 24px; padding: 6px 36px 4px; margin-bottom: 64px; }
.rec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 72px 0 24px; }
.rec-head .sub-title { margin: 0; }
.rec-list { columns: 3; column-gap: 44px; }
.rec-list li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
.rec-list span { color: var(--muted); font-variant-numeric: tabular-nums; }
.rec-note { margin-top: 32px; text-align: center; font-weight: 800; color: var(--brand-t); font-size: 19.5px; }

/* 언론활동 채널 */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.channels a { display: block; border: 1px solid var(--line); border-radius: 20px; padding: 28px; height: 100%; transition: border-color .18s, box-shadow .18s; }
.channels a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.channels h3 { font-size: 21.5px; color: var(--ink); letter-spacing: -.025em; }
.channels p { margin-top: 6px; color: var(--muted); font-size: 16.5px; }
.channels span { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; color: var(--brand-t); font-weight: 700; }

/* Q&A 페이지 */
.faq-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.faq-group { scroll-margin-top: calc(var(--hh) + 16px); }
.faq-group + .faq-group { margin-top: 80px; }

/* 문의 */
.contact { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.contact-side { background: var(--dark); color: #fff; border-radius: 24px; padding: 36px; }
.contact-side h2 { font-size: 23.5px; line-height: 1.45; letter-spacing: -.03em; }
.contact-side > p { margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: 16.5px; }
.contact-tel { display: block; font-size: 34px; font-weight: 800; color: #fff; line-height: 1.3; letter-spacing: -.02em; }
.contact-tel:hover { color: var(--brand-on-dark); }
.contact-side dl { margin-top: 22px; }
.contact-side dl > div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 16px; }
.contact-side dt { color: rgba(255, 255, 255, .6); }
.form { display: grid; gap: 18px; scroll-margin-top: calc(var(--hh) + 24px); }   /* '상담신청' 단추들이 이 자리(#inquiry)로 온다 */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 650; color: var(--ink); font-size: 16.5px; }
.form input:not([type=checkbox]), .form textarea, .form select { padding: 13px 14px; border: 1px solid var(--line-d); border-radius: 12px; width: 100%; background: #fff; font-weight: 400; color: var(--ink); }
.form select { font: inherit; font-weight: 400; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316181b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 42px; cursor: pointer; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--brand); outline: 3px solid var(--brand-l); }
.form label small { font-weight: 500; color: var(--muted); }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-link { font-size: 15px; margin-top: -8px; }
.consent-link a { color: var(--brand-t); text-decoration: underline; text-underline-offset: 3px; }
.form-done { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; padding: 26px 28px; }
.form-done h3 { font-size: 22.5px; color: var(--ink); letter-spacing: -.025em; }
.form-done p { margin-top: 8px; }
.form-done a { color: var(--brand-t); font-weight: 800; }
.form.is-sent > *:not(.form-done) { display: none; }
.toc-ask { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; border: 1px solid var(--line-d); border-radius: 16px; padding: 13px 18px; font-weight: 700; color: var(--ink); font-size: 16px; transition: border-color .18s, color .18s; }
.toc-ask:hover { border-color: var(--brand); color: var(--brand-t); }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .check input { width: 18px; height: 18px; accent-color: var(--brand); }
.form .btn { border: 0; justify-self: start; min-width: 200px; }
.consent { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.consent caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: 8px; }
.consent th, .consent td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.consent th { background: var(--soft); width: 96px; white-space: nowrap; font-weight: 650; }
.form-msg { color: var(--brand-t); font-weight: 700; min-height: 1.75em; }
.notfound { min-height: 40vh; }

/* 바닥 */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 76px 0 34px; font-size: 16px; border-top: 4px solid var(--brand); }
.footer-top { display: grid; grid-template-columns: 1.15fr 2fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logo img { height: 40px; width: auto; }
.footer-brand > p { margin-top: 18px; line-height: 1.6; }
.footer-tel { display: inline-block; font-size: 30px; font-weight: 800; color: #fff; margin-top: 18px; letter-spacing: -.02em; }
.footer-tel:hover { color: var(--brand-on-dark); }
.footer-brand .footer-hours { margin-top: 2px; font-size: 14.5px; opacity: .8; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-links p { font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-links a { line-height: 2.1; }
.footer-links a:hover, .footer-channels a:hover, address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-top: 32px; }
address p { line-height: 1.9; }
address b { color: #fff; font-weight: 600; margin-right: 6px; }
.footer-channels { display: flex; flex-wrap: wrap; gap: 8px 20px; align-self: flex-start; font-weight: 600; color: #fff; }
.copyright { margin-top: 28px; font-size: 14px; opacity: .5; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: none; align-items: center; gap: 8px; background: var(--brand); color: #fff; padding: 14px 20px; border-radius: 9999px; font-weight: 800; font-size: 16.5px; box-shadow: 0 10px 26px rgba(232, 109, 38, .45); }

/* 화면에 들어올 때 떠오르기(스크립트가 rv 를 붙였을 때만) */
.rv .rv-item { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv .rv-item.in { opacity: 1; transform: none; }

/* 좁은 화면 */
@media (max-width: 1100px) {
  .pwrap { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-head { position: static; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .equip-list { grid-template-columns: repeat(5, 1fr); gap: 16px 12px; }
  .people { grid-template-columns: 1fr; }
  .mega-in { grid-template-columns: repeat(4, 1fr); }
  .mega-tel { display: none; }
}
/* 메뉴·전화번호·상담신청 단추가 한 줄에 들어가게: 폭이 줄면 메뉴 사이를 좁히고 '상담 전화' 글자를 뺀다(번호는 남긴다) */
@media (max-width: 1180px) {
  .nav-item > a { padding: 0 16px; }
  .nav-item > a::after { left: 16px; right: 16px; }
  .header-in { gap: 18px; }
  .header-tel span { display: none; }
}
@media (max-width: 1024px) {
  :root { --hh: 64px; }
  .nav, .header-tel { display: none; }
  .header-in { gap: 8px; }
  .header-cta { margin-left: auto; padding: 9px 16px; font-size: 15.5px; }
  .menu-btn { display: block; margin-left: 0; }
  .logo img { height: 32px; }
  .stat-list { grid-template-columns: repeat(2, 1fr); }
  .stat-list li { padding: 22px 20px 20px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .stat-list li:nth-child(-n+2) { border-top: 0; }
  .hero-stats .stat-note, .about-stats .stat-note, .rec-top .stat-note { padding-top: 4px; }
  .pgrid, .cols-3, .channels { grid-template-columns: repeat(2, 1fr); }
  .folio { grid-template-columns: repeat(3, 1fr); }
  .periods { grid-template-columns: repeat(2, 1fr); }
  .periods > li, .periods > li + li { padding: 28px 24px 28px 0; border-left: 0; }
  .periods > li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
  .periods > li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .periods-light .periods > li:nth-child(even) { border-left-color: var(--line); }
  .periods-light .periods > li:nth-child(n+3) { border-top-color: var(--line); }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .loc { grid-template-columns: 1fr; gap: 40px; }
  .rec-list { columns: 2; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .certs ul { grid-template-columns: repeat(3, 1fr); }
  /* 세 원: 좁아지면 글이 원 밖으로 밀려 나므로 카드로 바꾼다 */
  .values { padding-inline: 0; gap: 14px; margin: 64px auto; }
  .values li { aspect-ratio: auto; border-radius: 22px; margin: 0; padding: 30px 24px 32px; }
  .values li.on { box-shadow: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { width: min(100% - 40px, var(--wrap)); }
  .fab { display: inline-flex; }
  .site-footer { padding-bottom: 96px; }
  .hero { min-height: 0; }
  .hero-in { padding: calc(var(--hh) + 56px) 0 44px; }
  .hero-cta .btn { width: 100%; }
  .stat-list li { padding-right: 12px; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .scroll-btns { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
  .why-pic { aspect-ratio: 2/1; }
  .why-body { padding: 22px 22px 22px; }
  .equip { padding: 24px 20px 26px; margin-top: 56px; border-radius: 20px; }
  .equip-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 116px; overflow-x: auto; padding-bottom: 8px; }
  .cols-3, .cols-list, .channels, .plist, .aud, .scards, .guides ul { grid-template-columns: 1fr; }
  .pgrid { gap: 10px; }
  .pgrid a { padding: 22px 18px 18px; border-radius: 16px; }
  .pgrid p { display: none; }
  .pgrid strong { font-size: 21.5px; }
  .pgrid img { height: 40px; }
  .rtable { min-width: 760px; }
  .folio { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fcard { padding: 14px 10px 12px; gap: 10px; border-radius: 14px; }
  .fcard figcaption { font-size: 16px; }
  .fcard p { font-size: 13.5px; padding: 6px 12px; }
  .review { padding: 26px 24px 28px; }
  .qa summary { padding: 18px 40px 18px 34px; }
  .qa summary h2, .qa summary h3 { font-size: 18.5px; }
  .qa-a { padding: 0 8px 24px 34px; }
  .phero-in { min-height: 240px; padding: 28px 0 36px; }
  .doc { padding: 44px 0 72px; }
  .pwrap { padding: 36px 0 72px; }
  .answer { padding: 26px 22px 28px; border-radius: 20px; }
  .blk { padding-top: 48px; margin-top: 48px; }
  .sub-title { font-size: 23.5px; margin-top: 56px; }
  .defect-photos { grid-template-columns: repeat(3, 1fr); }
  .dtable thead { display: none; }
  .dtable tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .dtable tbody tr:last-child { border-bottom: 0; }
  .dtable th, .dtable td { display: block; padding: 0; border: 0; width: auto !important; }
  .dtable .dval { margin: 4px 0 6px; }
  .timeline > li { padding-left: 54px; }
  .timeline > li::before { left: 17px; top: 42px; }
  .tl-n { width: 36px; height: 36px; font-size: 15px; }
  .tl-head { min-height: 36px; }
  .deflist > li { grid-template-columns: 1fr; }
  .fold summary { padding: 18px 52px 18px 20px; }
  .deflist { padding: 0 20px 10px; }
  .checkbox { grid-template-columns: 1fr; }
  .checkbox h3 { padding: 22px 24px; }
  .fees { padding: 24px 22px; }
  .sources { columns: 1; }
  .plist a { padding: 22px; gap: 16px; flex-direction: column; }
  .plist-icon { flex-basis: 60px; width: 60px; height: 60px; border-radius: 16px; }
  .plist-icon img { height: 32px; }
  .values { grid-template-columns: 1fr; }
  .certs ul { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* 사진 옆에는 이름만 두고 학력·이력은 카드 폭 전체로 내린다 — 사진 옆 좁은 칸에 두면 글자를 키웠을 때 한 줄이 두세 줄로 끊긴다 */
  .people > li { grid-template-columns: 96px 1fr; gap: 4px 16px; padding: 18px; }
  .people > li > div:last-child { display: contents; }
  .people h2 { font-size: 22.5px; align-self: center; }
  .people h2 span { display: block; margin: 2px 0 0; }
  .people dl { grid-column: 1 / -1; }
  .info > div { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .rec-top { padding: 4px 22px; border-radius: 20px; margin-bottom: 48px; }
  .rec-list { columns: 1; }
  .faq-tools { margin-bottom: 40px; }
  .filter, .filter input { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .contact-side { padding: 28px 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .cta, .subnav, .toc, .fab, .scroll-btns, .hero-cta { display: none !important; }
  details > *:not(summary) { display: block !important; }
  .hero, .phero, .sec-dark, .sec-orange, .closing { background: none !important; color: #000 !important; }
}
