/* 영업비밀 전문변호사 — 네이비 톤 · 대륜 레이아웃 구조 기준 (내용·이미지·폰트 제외) */
@font-face { font-family: 'Pretendard'; src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations'); font-weight: 45 920; font-display: swap; }

:root {
  --brand: #1F4D3F; --brand-d: #163829; --accent: #9A7B45; --blue: #1F4D3F;
  --pink: #F8F5EE; --pink2: #E4DCC9; --beige: #F3EFE6;
  --ink: #2B2B2B; --text: #4a4a4a; --muted: #848484; --line: #e6e3dc;
  --dark: #1C1C1C; --foot: #141414;
  --pad-x: clamp(20px, 2.9vw, 41px);
  --wrap: 1296px; --read: 840px;
  --head-h: 88px; --bar-h: 62px; --dock-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; color: var(--ink); background: #fff; line-height: 1.75; font-size: clamp(15.5px, .3vw + 14.6px, 17px); letter-spacing: -.03em; 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, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; }
p { margin-bottom: 1.1em; color: var(--text); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }
.read { max-width: var(--read); margin: 0 auto; }
.section { padding: clamp(100px, 9.7vw, 140px) 0; }
.section.beige { background: var(--beige); }
.section.pink { background: linear-gradient(180deg, #fff, var(--pink) 60%); }
.sec-tit { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-tit .eyebrow { margin-bottom: 14px; }
.sec-tit h2 { font-size: clamp(1.7rem, 1.9vw + 1.2rem, 2.7rem); font-weight: 800; letter-spacing: -.04em; padding-bottom: 16px; }
.sec-tit p { font-size: clamp(1rem, .4vw + .9rem, 1.25rem); color: var(--ink); max-width: 720px; margin: 0 auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.h2 { font-size: clamp(1.45rem, 1.1vw + 1.15rem, 2rem); margin-bottom: 22px; padding-bottom: 6px; }
.h3 { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); margin: 34px 0 12px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; border-radius: 40px; cursor: pointer; transition: transform .3s, background .3s, box-shadow .3s; line-height: 1.2; text-align: center; letter-spacing: -.02em; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--brand); color: #fff; }
.btn-gold:hover { background: var(--brand-d); box-shadow: 0 10px 24px rgba(31,77,63,.3); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: #000; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.btn-ghost { border-color: #222; color: #222; }
.btn-ghost:hover { background: #222; color: #fff; }
.btn-sm { padding: 10px 22px; font-size: .92rem; }
.on-dark.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.on-dark.btn-ghost:hover { background: #fff; color: #222; }

/* ── 헤더: 로고 좌 · 메뉴 중앙 · 아이콘 우 (양끝 꽉 채움) ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--head-h); transition: background .35s, box-shadow .35s; }
.site-header.scrolled, .site-header.solid { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-in { height: 100%; width: 100%; padding: 0 var(--pad-x); display: grid; grid-template-columns: 1fr auto; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; white-space: nowrap; justify-self: start; }
.brand small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.brand svg { flex-shrink: 0; }
.gnb { display: flex; align-items: center; justify-content: center; }
.gnb > a, .gnb > details > summary { display: flex; align-items: center; height: var(--head-h); width: 112px; justify-content: center; font-weight: 500; font-size: 1rem; cursor: pointer; list-style: none; transition: color .25s; }
.gnb > details > summary::-webkit-details-marker { display: none; }
.gnb > a:hover, .gnb > details > summary:hover { color: var(--brand); }
.dd { position: relative; }
.dd-panel { position: absolute; left: 50%; top: calc(100% - 8px); transform: translateX(-50%); min-width: 270px; background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.14); padding: 10px; }
.dd-panel a { display: block; padding: 12px 18px; border-radius: 12px; font-size: .96rem; font-weight: 500; }
.dd-panel a:hover { background: var(--pink); color: var(--brand); }
.head-tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.menu-btn { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-btn.on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.on span:nth-child(2) { opacity: 0; }
.menu-btn.on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.sitemap { position: fixed; inset: var(--head-h) 0 0 0; z-index: 55; background: #fff; padding: 36px var(--pad-x) 60px; overflow-y: auto; display: none; }
.sitemap.open { display: block; }
.sitemap-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.sitemap h3 { font-size: .85rem; color: var(--brand); letter-spacing: .14em; margin-bottom: 14px; }
.sitemap a { display: block; padding: 9px 0; font-size: 1.12rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.sitemap a:hover { color: var(--brand); }

/* ── 히어로: 핑크 그라데이션 + 하단 브랜드 리본 ─────── */
.hero { background: linear-gradient(180deg, #fff 0%, var(--pink) 35%, var(--pink2) 100%); overflow: hidden; position: relative; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-top: calc(var(--head-h) + clamp(40px, 5vw, 72px)); }
.hero-copy { align-self: center; padding-bottom: clamp(48px, 6vw, 96px); }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 2.8vw + 1.2rem, 3.5rem); line-height: 1.22; letter-spacing: -.04em; margin-bottom: 24px; }
.hero.sub h1 { font-size: clamp(1.9rem, 2.3vw + 1.1rem, 3rem); }
.hero .sum { color: var(--text); font-size: clamp(1rem, .35vw + .95rem, 1.12rem); line-height: 1.85; margin-bottom: 30px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { justify-self: center; width: 100%; max-width: 440px; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 12%; border-radius: 20px 20px 0 0; }
@media (min-width: 769px) { .hero-copy { order: 2; } .hero-photo { order: 1; } }
.hero-ribbon { background: var(--brand); color: #fff; }
.hero-ribbon .wrap { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; text-align: center; }
.hero-ribbon b { display: block; font-size: 1.15rem; line-height: 1.3; }
.hero-ribbon span { display: block; font-size: .8rem; opacity: .85; }
.crumb { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.crumb a:hover { color: var(--brand); text-decoration: underline; }

/* ── 탭 필 + 가로 슬라이더 ─────────────────────────── */
.tabs { display: flex; justify-content: center; margin-bottom: 40px; }
.tabs-in { display: flex; gap: 4px; padding: 8px; background: #fff; border-radius: 33px; box-shadow: 0 4px 30px rgba(0,0,0,.1); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; padding: 12px 22px; border: 0; background: none; border-radius: 30px; font: inherit; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .3s, color .3s; }
.tabs button.on { background: var(--brand); color: #fff; }
.slider { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad-x) 26px; margin: 0 calc(var(--pad-x) * -1); scrollbar-width: thin; scrollbar-color: var(--pink2) transparent; -webkit-overflow-scrolling: touch; }
.slide { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 56px 28px 28px; box-shadow: 0 6px 24px rgba(0,0,0,.04); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column; }
.slide:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.ribbon-tag { position: absolute; top: 0; right: 28px; background: var(--brand); color: #fff; font-size: .82rem; font-weight: 600; padding: 8px 16px; border-radius: 0 0 12px 12px; }
.slide h3 { font-size: 1.28rem; margin-bottom: 14px; }
.slide dl { flex: 1; }
.slide dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; color: var(--brand); margin-top: 14px; }
.slide dd { font-size: .95rem; color: var(--text); line-height: 1.7; margin-top: 3px; }
.slide .more { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: .94rem; display: flex; justify-content: space-between; align-items: center; }
.slide .more i { width: 34px; height: 34px; border-radius: 50%; background: var(--pink2); color: var(--brand); display: flex; align-items: center; justify-content: center; font-style: normal; }

/* ── 인물(프로필) 4열 카드 ─────────────────────────── */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person .ph { border-radius: 20px; overflow: hidden; aspect-ratio: 15 / 14; background: var(--beige); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.person .ph.num { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--pink), var(--pink2)); font-size: 4rem; font-weight: 800; color: var(--brand); }
.person .txt { padding-top: 16px; }
.person h3 { font-size: 1.2rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.person h3 small { font-size: .82rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.person li { font-size: .95rem; font-weight: 500; line-height: 1.7; color: var(--ink); }
.person li + li { margin-top: 3px; }

/* ── 프로세스 ──────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step-card { background: #f7f7f7; border-radius: 16px; padding: 30px 22px 28px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .4s, color .4s, transform .4s; }
.step-card b { font-size: 1.5rem; color: #bbb; margin-bottom: auto; padding-bottom: 36px; transition: color .4s; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { font-size: .9rem; margin: 0; color: var(--muted); line-height: 1.65; }
.step-card:hover, .step-card.on { background: var(--dark); transform: translateY(-6px); }
.step-card:hover h3, .step-card.on h3, .step-card:hover b, .step-card.on b { color: #fff; }
.step-card:hover p, .step-card.on p { color: rgba(255,255,255,.75); }
.timeline { margin-top: 28px; height: 1px; border-top: 1px dashed #bbb; display: grid; grid-template-columns: repeat(5, 1fr); }
.timeline span { text-align: center; position: relative; padding-top: 18px; font-size: .86rem; color: var(--muted); }
.timeline span::before { content: ''; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--brand); }

/* ── 다크 섹션 ─────────────────────────────────────── */
.dark-sec { background: #1c1c1c; color: #fff; }
.dark-sec h2, .dark-sec h3 { color: #fff; }
.dark-sec p { color: rgba(255,255,255,.8); }
.dark-sec .sec-tit p { color: rgba(255,255,255,.85); }
.dark-sec .eyebrow { color: #D9C08F; }
.dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dark-card { background: var(--dark); border-radius: 20px; padding: 32px 28px; border: 1px solid rgba(255,255,255,.08); }
.dark-card .tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand); background: rgba(217,192,143,.18); border-radius: 20px; padding: 5px 12px; margin-bottom: 16px; color: #D9C08F; }
.dark-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.dark-card p { font-size: .95rem; margin: 0; line-height: 1.75; }
.dark-cta { text-align: center; margin-top: 44px; }

/* ── Q&A ───────────────────────────────────────────── */
.qa-wrap { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 44px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 6px; top: 22px; font-weight: 700; font-size: 1.1rem; color: var(--brand); }
.faq summary h3 { font-size: 1.04rem; margin: 0; line-height: 1.55; font-weight: 600; }
.faq summary::after { content: ''; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { background: var(--pink); }
.faq .a { padding: 4px 44px 26px; background: var(--pink); }
.faq .a p { margin: 0; color: var(--text); }
.ask-card { background: var(--dark); color: #fff; border-radius: 20px; padding: 36px 30px; position: sticky; top: calc(var(--head-h) + 20px); }
.ask-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.ask-card p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 26px; }

/* ── 아치형 카드 (위촉 이력) ───────────────────────── */
.arch-row { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad-x) 26px; margin: 0 calc(var(--pad-x) * -1); scrollbar-width: thin; }
.arch { flex: 0 0 min(250px, 68vw); scroll-snap-align: start; background: #fff; border-radius: 125px 125px 24px 24px; padding: 18px 18px 26px; text-align: center; }
.arch button { display: block; width: 100%; border: 0; background: var(--beige); border-radius: 110px 110px 12px 12px; padding: 14px; aspect-ratio: 3 / 4; cursor: zoom-in; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: contain; }
.arch b { display: block; margin-top: 16px; font-size: .96rem; line-height: 1.45; color: var(--ink); }
.arch span { font-size: .84rem; color: var(--muted); }
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
dialog#lightbox::backdrop { background: rgba(10,10,12,.82); }
dialog#lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; background: #fff; border-radius: 12px; }

/* ── 본문(칼럼) ────────────────────────────────────── */
.article p { margin-bottom: 1.25em; }
.article > section + section, .article > .reveal + section { margin-top: 56px; }
.bullets li, .checklist li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.checklist li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 8px; height: 14px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(40deg); }
.bullets li::before { content: ''; position: absolute; left: 6px; top: .78em; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
.block-gap { height: 14px; }
.list-box { background: var(--pink); border-radius: 20px; padding: 26px 28px 16px; margin: 8px 0 28px; }
.list-title { font-weight: 700; color: var(--ink); margin-bottom: 14px; font-size: 1.04em; }
.steps { counter-reset: s; margin: 8px 0 30px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 24px 64px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps li::after { content: ''; position: absolute; left: 20px; top: 48px; bottom: 6px; border-left: 1px dashed #bbb; }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--ink); font-size: 1.05em; margin-bottom: 3px; }
.table-wrap { overflow-x: auto; margin: 8px 0 30px; border-radius: 16px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95em; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
th { background: var(--pink); color: var(--ink); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--brand); }
.fig { margin: 40px 0; display: grid; grid-template-columns: 200px 1fr; align-items: center; background: var(--beige); border-radius: 20px; overflow: hidden; }
.fig button { border: 0; background: none; padding: 16px; cursor: zoom-in; }
.fig img { width: 100%; max-height: 270px; object-fit: contain; }
.fig figcaption { padding: 22px 28px; font-size: .95rem; color: var(--text); }
.fig figcaption strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1.04rem; }
.tips { display: grid; gap: 16px; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px 12px; position: relative; overflow: hidden; }
.tip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.tip .tag { font-size: .76rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); display: block; margin-bottom: 6px; }
.tip h3 { font-size: 1.12rem; margin-bottom: 10px; }
.conclusion { background: var(--dark); color: #fff; border-radius: 20px; padding: clamp(30px, 4vw, 48px); margin-top: 56px; }
.conclusion h2 { color: #fff; font-size: clamp(1.3rem, 1vw + 1.1rem, 1.7rem); margin-bottom: 14px; }
.conclusion p { color: rgba(255,255,255,.85); }
.updated { margin-top: 28px; font-size: .88rem; color: var(--muted); }

/* ── 카드 / 사진 배너 / CTA ────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; transition: transform .35s, box-shadow .35s; }
a.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; flex: 1; }
.card .more { margin-top: 18px; font-weight: 700; font-size: .92rem; color: var(--brand); }
.card .more::after { content: ' \2192'; }
.photo-banner { position: relative; display: block; overflow: hidden; border-radius: 20px; min-height: 280px; color: #fff; background: var(--dark); }
.photo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: .42; transition: transform .9s, opacity .4s; }
.photo-banner:hover img { transform: scale(1.04); opacity: .52; }
.photo-banner .in { position: relative; z-index: 1; padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 56px); max-width: 640px; }
.photo-banner .eyebrow { color: #D9C08F; }
.photo-banner h3 { color: #fff; font-size: clamp(1.35rem, 1vw + 1.1rem, 1.9rem); margin-bottom: 10px; }
.photo-banner p { color: rgba(255,255,255,.88); font-size: .96rem; margin-bottom: 20px; }
.photo-banner .btn { pointer-events: none; }
.cta { background: linear-gradient(135deg, #1F4D3F, #123226); color: #fff; text-align: center; padding: clamp(64px, 8vw, 100px) 0; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 1.3vw + 1.1rem, 2.2rem); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 28px; }
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.loc-card { background: var(--beige); border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.loc-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.loc-card li { padding: 10px 0; border-bottom: 1px solid #d9dee8; display: flex; gap: 16px; }
.loc-card li:last-child { border: 0; }
.loc-card li b { flex: 0 0 82px; color: var(--ink); }

/* ── 푸터 ──────────────────────────────────────────── */
.site-footer { background: var(--foot); color: #9a9a9a; padding: 64px 0 40px; font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.site-footer p { margin: 0; color: #9a9a9a; line-height: 1.85; }
.site-footer ul li { margin-bottom: 4px; }
.biz-title { color: #fff !important; font-weight: 700; margin-bottom: 12px !important; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px !important; padding-top: 22px; font-size: .82rem; color: #777 !important; }

/* ── 고정 요소: 우측 퀵메뉴 · 하단 상담 바 · 홈 플로팅 ─── */
.side-quick { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.side-quick .pill { background: var(--dark); border-radius: 32px; padding: 14px 8px; display: flex; flex-direction: column; gap: 14px; }
.side-quick a.q { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; font-size: .68rem; font-weight: 500; }
.side-quick a.q i { width: 36px; height: 36px; border-radius: 50%; background: #f1f1f1; display: flex; align-items: center; justify-content: center; transition: background .3s; }
.side-quick a.q:hover i { background: var(--pink2); }
.side-quick svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-quick .top { width: 52px; height: 52px; border-radius: 50%; background: #1F4D3F; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.side-quick .top svg { stroke: #fff; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; height: var(--dock-h); display: flex; background: var(--dark); }
.dock .l { background: var(--brand); color: #fff; padding: 0 clamp(24px, 4vw, 60px); display: flex; align-items: center; gap: 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 38px) 100%, 0 100%); padding-right: 64px; }
.dock .l small { font-size: .74rem; opacity: .9; display: block; line-height: 1.2; }
.dock .l b { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2; }
.dock .r { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 22px; padding: 0 clamp(20px, 4vw, 60px); color: #fff; font-size: .94rem; }
.dock .r a { background: var(--brand); color: #fff; border-radius: 8px; padding: 12px 28px; font-weight: 700; transition: background .3s; }
.dock .r a:hover { background: var(--brand-d); }
.float-home { position: fixed; left: 20px; bottom: calc(var(--dock-h) + 20px); z-index: 46; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 10px 28px rgba(0,0,0,.16); padding: 12px 20px; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px; transition: transform .3s; }
.float-home:hover { transform: translateY(-3px); }
.float-home i { width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); display: block; }
.m-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); grid-template-columns: 1fr 1fr; }
.m-bar a { display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.m-bar a:first-child { background: var(--dark); }
.m-bar a:last-child { background: var(--brand); }
body { padding-bottom: var(--dock-h); }

/* 상담 페이지 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0 8px; }
.contact-card { display: block; border-radius: 20px; padding: 28px; background: var(--pink); transition: transform .3s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.1); }
.contact-card .eyebrow { margin-bottom: 8px; }
.contact-card b { display: block; font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 4px; word-break: break-all; }
.contact-card.mail b { font-size: 1.1rem; }
.contact-card span { color: var(--muted); font-size: .92rem; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; } }

/* ── 반응형 ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .gnb > a, .gnb > details > summary { width: 88px; font-size: .94rem; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .timeline { display: none; }
  .qa-wrap { grid-template-columns: 1fr; }
  .ask-card { position: static; }
  .side-quick { display: none; }
  .sitemap-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .gnb { display: none; } .header-in { grid-template-columns: 1fr auto; } }
@media (max-width: 768px) {
  :root { --head-h: 64px; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .dock { display: none; }
  .m-bar { display: grid; }
  .section { padding: 100px 0 100px; padding-top: 80px; padding-bottom: 80px; }
  .hero-in { grid-template-columns: 1fr; padding-top: calc(var(--head-h) + 28px); gap: 0; }
  .hero-copy { padding-bottom: 32px; text-align: center; }
  .hero .sum { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { max-width: 340px; }
  .grid-cards, .dark-grid, .contact-grid, .loc { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .person .ph { aspect-ratio: 4 / 3; }
  .process { grid-template-columns: 1fr 1fr; }
  .step-card { min-height: 190px; padding: 22px 18px; }
  .step-card b { padding-bottom: 20px; }
  .sitemap-in { grid-template-columns: 1fr; gap: 24px; }
  .fig { grid-template-columns: 1fr; }
  .fig img { max-height: 240px; }
  .steps li { padding-left: 54px; }
  .steps li::before { width: 38px; height: 38px; }
  .steps li::after { left: 18px; top: 44px; }
  .faq summary { padding: 20px 34px 20px 34px; }
  .faq .a { padding: 4px 22px 22px 34px; }
  .float-home { left: 14px; bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); padding: 10px 16px; font-size: .84rem; }
  .conclusion .btn, .cta .btn { width: 100%; }
  .site-footer { padding-top: 48px; }
  .tabs-in { justify-content: flex-start; }
}
.sec-tit.left { text-align: left; }
.sec-tit.left p { margin-left: 0; }

/* ═══ 모바일 최적화 (≤768px) ═══════════════════════════ */
a, button, summary { -webkit-tap-highlight-color: transparent; }
.brand { min-height: 44px; }
.slider, .arch-row, .tabs-in { overscroll-behavior-x: contain; }
body.lock { overflow: hidden; }
.float-home { transition: transform .3s, opacity .3s; }
.float-home.away { transform: translateY(24px); opacity: 0; pointer-events: none; }

@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.8; }
  .eyebrow { font-size: .84rem; }
  .slide dt { font-size: .84rem; }
  .slide dd { font-size: 1rem; }
  .copy { font-size: .86rem; }
  .hero-ribbon span { font-size: .84rem; }
  .brand small { display: none; }
  .brand { font-size: 1.02rem; }

  /* 히어로: 좌측정렬로 읽기 편하게, 사진은 낮춰서 CTA가 첫 화면에 보이게 */
  .hero-copy { text-align: left; padding-bottom: 28px; }
  .hero .sum { margin-left: 0; }
  .hero-actions { justify-content: flex-start; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; padding: 16px 20px; }
  .hero-photo { max-width: none; width: calc(100% - 0px); }
  .hero-photo img { aspect-ratio: 4 / 4.2; object-position: center 8%; border-radius: 20px 20px 0 0; }
  .hero-ribbon .wrap { padding-top: 14px; padding-bottom: 14px; gap: 18px; justify-content: space-around; }
  .hero-ribbon b { font-size: 1.02rem; }

  .section { padding: 72px 0; }
  .sec-tit { margin-bottom: 30px; }
  .sec-tit p { font-size: 1rem; }
  .sec-tit.left { text-align: left; }

  /* 사이트맵: 큰 터치 영역 */
  .sitemap { padding-top: 12px; }
  .sitemap a { padding: 15px 0; font-size: 1.1rem; }
  .sitemap h3 { margin-top: 10px; }

  /* 슬라이더/탭 */
  .tabs { margin-bottom: 26px; }
  .tabs-in { width: 100%; border-radius: 28px; }
  .tabs button { padding: 12px 18px; min-height: 44px; }
  .slide { flex-basis: 84vw; padding: 52px 22px 22px; }
  .slide .more { min-height: 44px; }

  /* 카드 */
  .card { padding: 24px 22px; }
  .person .txt { padding-top: 14px; }
  .dark-card { padding: 26px 22px; }
  .ask-card { padding: 28px 22px; }

  /* 프로세스: 1열 가로형 카드 */
  .process { grid-template-columns: 1fr; gap: 10px; }
  .step-card { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 18px 20px; }
  .step-card b { padding: 0; margin: 0; font-size: 1.3rem; flex: 0 0 auto; }
  .step-card h3 { margin: 0; flex: 1; font-size: 1.08rem; }
  .step-card p { flex: 1 0 100%; margin-top: 4px; }
  .step-card:hover { transform: none; }

  /* 표: 가로 스크롤 대신 카드형으로 */
  .table-wrap { border: 0; overflow: visible; margin-bottom: 24px; }
  table, thead, tbody, tr, th, td { display: block; min-width: 0; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 6px 0; background: #fff; overflow: hidden; }
  td { border: 0; padding: 8px 18px; }
  td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: 1px; }
  td:first-child { font-weight: 700; color: var(--ink); background: var(--pink); padding-top: 12px; padding-bottom: 12px; margin-top: -6px; margin-bottom: 4px; }
  td:first-child::before { display: none; }

  /* 본문 요소 */
  .list-box { padding: 22px 20px 10px; border-radius: 16px; }
  .tip { padding: 22px 20px 8px; }
  .fig figcaption { padding: 18px 20px 22px; }
  .conclusion { padding: 28px 22px; border-radius: 16px; }
  .photo-banner { min-height: 260px; border-radius: 16px; }
  .photo-banner .in { padding: 30px 22px; }
  .photo-banner .btn { width: 100%; }
  .contact-card { padding: 22px; }
  .contact-card b { font-size: 1.35rem; }
  .loc-card { padding: 26px 22px; }
  .loc-card li { flex-direction: column; gap: 2px; }
  .loc-card li b { flex: none; }
  .arch { flex-basis: 66vw; }
  .site-footer { padding-bottom: 28px; }
  .foot-in { gap: 28px; }
}
@media (max-width: 380px) {
  :root { --pad-x: 18px; }
  .hero h1 { font-size: 1.95rem; }
  .m-bar a { font-size: .95rem; }
}
@media (max-width: 768px) { .tip .tag, .ribbon-tag, .dark-card .tag, .person h3 small { font-size: .86rem; } }

/* 모바일/태블릿 사진 크롭·크기 보정 */
@media (max-width: 768px) {
  .hero-photo { max-width: 440px; margin: 0 auto; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .person .ph { aspect-ratio: 1 / 1; }
  .person .ph img { object-position: center 18%; }
  .person .ph.num { aspect-ratio: auto; height: 84px; font-size: 2.2rem; justify-content: flex-start; padding-left: 22px; }
  .person:first-child { grid-column: 1 / -1; }
  .person:first-child .ph { aspect-ratio: 4 / 3.4; }
  .person:first-child .ph img { object-position: center 10%; }
  .person h3 { font-size: 1.08rem; }
  .person li { font-size: .98rem; }
  .fig img { max-height: 220px; object-fit: contain; }
  .photo-banner img { object-position: center 12%; }
}
@media (max-width: 520px) {
  .people { grid-template-columns: 1fr; }
  .person:first-child .ph { aspect-ratio: 1 / 1; }
}
.hero-info { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); padding-top: 4px; }
.hero-info b { display: block; font-size: 1.15rem; line-height: 1.3; }
.hero-info span { display: block; font-size: .85rem; color: var(--text); opacity: .8; }
.hero-ribbon .wrap { gap: 12px; }
.hero-ribbon .btn-gold { background: #fff; color: var(--brand); }
@media (max-width: 768px) { .hero-ribbon .btn { flex: 1 1 100%; } }
@media (max-width: 768px) { .hero-photo { order: -1; } .hero-in { padding-top: var(--head-h); } .hero-copy { padding-top: 24px; } }
/* 히어로 사진 = 전체 배경 (배경색은 사진 여백색과 맞춤) */
.hero { background: #d9dade; min-height: 720px; }
.hero .hero-photo { position: absolute; top: 0; left: 0; bottom: 0; width: 60%; max-width: none; margin: 0; z-index: 0; order: 0; }
.hero .hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: center 6%; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.hero .hero-in { align-items: center; min-height: 720px; }
.hero .hero-copy { position: relative; z-index: 1; grid-column: 2; order: 0; padding-bottom: clamp(48px, 6vw, 96px); }
@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero .hero-photo { right: 0; width: 100%; bottom: auto; height: min(78vw, 420px); }
  .hero .hero-photo img { -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
  .hero .hero-in { min-height: 0; padding-top: min(78vw, 420px); }
  .hero .hero-copy { grid-column: 1; padding-top: 8px; padding-bottom: 36px; }
}
/* ── 히어로·헤더 기기별 보정 ── */
@media (min-width: 1500px) { .hero .hero-photo { width: 54%; } }
@media (min-width: 769px) and (max-width: 1100px) {
  .hero { min-height: 620px; }
  .hero .hero-in { min-height: 620px; }
  .hero .hero-photo { width: 56%; }
  .hero .hero-photo img { object-position: 38% 6%; }
  .hero .hero-copy { padding-left: 4px; }
  .hero h1 { font-size: clamp(1.9rem, 3.4vw + .6rem, 2.6rem); }
}
@media (max-width: 768px) {
  .hero .hero-photo { top: var(--head-h); }
  .hero .hero-in { padding-top: calc(var(--head-h) + min(78vw, 420px)); }
  .head-tools .btn-sm { padding: 9px 16px; font-size: .86rem; white-space: nowrap; }
}
@media (max-width: 340px) { .head-tools .btn-sm { display: none; } }

/* ═══ 영업비밀 사이트 추가 컴포넌트 ═══════════════════════ */
:root { --util-h: 38px; }
.util { position: fixed; top: 0; left: 0; right: 0; z-index: 61; height: var(--util-h); background: #000; color: #c9d3ea; font-size: .82rem; transition: transform .35s; }
.util-in { height: 100%; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.util-r { display: flex; gap: 22px; }
.util a { color: #fff; font-weight: 600; }
.util a:hover { text-decoration: underline; }
.site-header { top: var(--util-h); }
.site-header.scrolled, .site-header.solid { top: 0; }
body.past-util .util { transform: translateY(-100%); }
.hero-in { padding-top: calc(var(--head-h) + var(--util-h) + clamp(40px, 5vw, 72px)); }
@media (min-width: 769px) { .hero { min-height: calc(720px + var(--util-h)); } .hero .hero-in { min-height: calc(720px + var(--util-h)); } }
@media (max-width: 768px) {
  :root { --util-h: 0px; }
  .util { display: none; }
}
@media (min-width: 769px) and (max-width: 1100px) { .hero, .hero .hero-in { min-height: calc(620px + var(--util-h)); } }

/* 단계별 대응 탭 패널 */
.step-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
.step-tabs button { border: 0; background: none; font: inherit; font-weight: 600; font-size: 1.05rem; padding: 20px 8px; color: var(--muted); cursor: pointer; position: relative; transition: color .3s; min-height: 56px; }
.step-tabs button b { display: block; font-size: .78rem; letter-spacing: .16em; color: #aab; margin-bottom: 2px; }
.step-tabs button.on { color: var(--ink); }
.step-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--brand); }
.step-panel { display: none; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); background: var(--pink); border-radius: 0 0 24px 24px; padding: clamp(32px, 5vw, 64px); }
.step-panel.on { display: grid; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-panel .num { font-size: clamp(4rem, 8vw, 7rem); font-weight: 800; line-height: 1; color: var(--pink2); letter-spacing: -.04em; }
.step-panel h3 { font-size: clamp(1.4rem, 1.2vw + 1.1rem, 2rem); margin: 8px 0 14px; }
.step-panel p { font-size: 1.04rem; }
.step-panel ul { align-self: center; }
.step-panel li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid #d9d3c6; font-weight: 500; color: var(--ink); }
.step-panel li:last-child { border: 0; }
.step-panel li::before { content: ''; position: absolute; left: 4px; top: 1.15em; width: 7px; height: 12px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(40deg); }
.step-panel .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* 상담 전 확인사항 질문 카드 3x3 */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px 26px; transition: transform .35s, box-shadow .35s, border-color .35s; }
.qcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(31,77,63,.14); border-color: var(--brand); }
.qcard .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--pink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.qcard .ic svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qcard h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.5; }
.qcard p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.75; }

/* 대응 유형 리스트 (대륜 업무사례 리스트 구조 — 결과 표기 없음) */
.case-list { display: grid; gap: 14px; }
.case-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 30px; }
.case-item .badge { justify-self: start; background: var(--dark); color: #fff; font-weight: 700; font-size: .88rem; padding: 9px 16px; border-radius: 30px; text-align: center; }
.case-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.case-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.case-item .who { font-size: .85rem; color: var(--muted); white-space: nowrap; text-align: right; }
.case-item .who b { display: block; color: var(--ink); font-size: .98rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.pills span { border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-size: .9rem; color: var(--text); background: #fff; }
.pills span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.answer-box { background: var(--dark); color: #fff; border-radius: 20px; padding: clamp(26px, 4vw, 40px); margin-bottom: 30px; }
.answer-box p { color: rgba(255,255,255,.88); margin: 0; }
.answer-box p + p { margin-top: 12px; }
.answer-box b { color: #D9C08F; }
@media (max-width: 1100px) { .qgrid { grid-template-columns: repeat(2, 1fr); } .case-item { grid-template-columns: 120px 1fr; } .case-item .who { display: none; } }
@media (max-width: 768px) {
  .step-tabs { grid-template-columns: repeat(2, 1fr); border-bottom: 0; gap: 8px; margin-bottom: 12px; }
  .step-tabs button { border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; }
  .step-tabs button.on { background: var(--ink); color: #fff; }
  .step-tabs button.on b { color: #D9C08F; }
  .step-tabs button.on::after { display: none; }
  .step-panel { grid-template-columns: 1fr; border-radius: 20px; padding: 28px 22px; gap: 12px; }
  .step-panel .btns .btn { flex: 1 1 100%; }
  .qgrid { grid-template-columns: 1fr; gap: 12px; }
  .qcard { padding: 24px 22px; }
  .case-item { grid-template-columns: 1fr; padding: 22px; gap: 12px; }
  .pills { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .pills span { white-space: nowrap; }
}

/* ═══ 레퍼런스(대륜) 카드 스타일 보정 ═══════════════════ */
.qcard { border-radius: 0; border: 1px solid #707070; text-align: center; padding: 34px 26px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; transition: background .3s, color .3s, border-color .3s, transform .35s; }
.qcard .ic { background: transparent; margin-bottom: 12px; width: 44px; height: 44px; }
.qcard .ic svg { stroke: var(--brand); transition: stroke .3s; }
.qcard h3 { transition: color .3s; }
.qcard:hover { background: var(--brand); border-color: var(--brand); transform: none; box-shadow: none; }
.qcard:hover h3, .qcard:hover p { color: #fff; }
.qcard:hover .ic svg { stroke: #fff; }
@media (max-width: 768px) { .qcard { min-height: 0; flex-direction: row; text-align: left; gap: 16px; padding: 22px 20px; justify-content: flex-start; align-items: flex-start; } .qcard .ic { flex: 0 0 auto; margin: 2px 0 0; } .qcard > div:last-child { flex: 1; } }
.case-item { border-radius: 0; border: 1px solid #cfc9bb; background: #fff; transition: border-color .3s, box-shadow .3s; }
a.case-item:hover { border-color: var(--brand); box-shadow: 0 14px 34px rgba(31,77,63,.12); }
.case-item .badge { background: var(--accent); }
.case-tools { display: flex; flex-direction: column; gap: 18px; align-items: center; margin-bottom: 30px; }
.case-search { display: flex; width: 100%; max-width: 560px; border: 1px solid #707070; background: #fff; }
.case-search input { flex: 1; border: 0; padding: 14px 18px; font: inherit; outline: none; background: transparent; min-width: 0; }
.case-search button { border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 700; padding: 0 26px; cursor: pointer; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill-row button { border: 1px solid #cfc9bb; background: #fff; border-radius: 30px; padding: 9px 18px; font: inherit; font-size: .92rem; color: var(--text); cursor: pointer; transition: background .25s, color .25s, border-color .25s; min-height: 40px; }
.pill-row button.on, .pill-row button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.case-item[hidden] { display: none; }
.case-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.case-item .arrow { font-weight: 700; color: var(--brand); white-space: nowrap; }
@media (max-width: 768px) { .pill-row { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; } .pill-row button { white-space: nowrap; } }
.card, .slide, .tip, .list-box, .loc-card, .dark-card, .step-panel { border-radius: 0; }
.slide { border-radius: 0; } .ribbon-tag { background: var(--accent); border-radius: 0; }

/* 데스크톱 GNB: 로고 좌 · 메뉴 중앙 · 상담 우 (양끝 꽉 채움) */
.gnb { display: flex; align-items: center; justify-content: center; }
.gnb > a, .gnb .dd > summary { display: flex; align-items: center; height: var(--head-h); padding: 0 clamp(18px, 2vw, 34px); font-weight: 600; font-size: 1rem; cursor: pointer; list-style: none; white-space: nowrap; transition: color .25s; }
.gnb .dd > summary::-webkit-details-marker { display: none; }
.gnb > a:hover, .gnb .dd > summary:hover, .gnb .dd[open] > summary { color: var(--brand); }
.dd-panel { border-radius: 0; }
@media (max-width: 900px) { .gnb { display: none; } }
.extra-cred { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.extra-cred li { background: #fff; border: 1px solid #cfc9bb; padding: 14px 22px; display: flex; flex-direction: column; text-align: center; }
.extra-cred b { color: var(--ink); } .extra-cred span { font-size: .86rem; color: var(--muted); }
.dark-sec .table-wrap.lect { border-color: rgba(255,255,255,.18); margin-top: 36px; }
.dark-sec .lect th { background: rgba(255,255,255,.08); color: #fff; }
.dark-sec .lect td { color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.12); }
.dark-sec .lect td:first-child { white-space: nowrap; color: #D9C08F; font-weight: 700; }
@media (max-width: 768px) { .dark-sec .lect tr { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); } .dark-sec .lect td:first-child { background: rgba(255,255,255,.1); } .dark-sec .lect td { color: rgba(255,255,255,.9); } }

/* 푸터: 헤더와 같이 양끝 꽉 채움 (좌 브랜드 · 우 사업자 정보) */
.site-footer .wrap { max-width: none; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.site-footer .foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; }
.site-footer .foot-in > div:last-child { text-align: right; }
.site-footer .foot-in > div:last-child ul { display: flex; flex-direction: column; align-items: flex-end; }
@media (max-width: 768px) {
  .site-footer .foot-in { flex-direction: column; }
  .site-footer .foot-in > div:last-child { text-align: left; }
  .site-footer .foot-in > div:last-child ul { align-items: flex-start; }
}

/* 투명 헤더(히어로 위): 스크롤 전에는 흰 글씨 */
body.has-hx .site-header:not(.scrolled):not(.solid) .brand,
body.has-hx .site-header:not(.scrolled):not(.solid) .brand small { color: #fff; }
body.has-hx .site-header:not(.scrolled):not(.solid) .brand small { opacity: .75; }
body.has-hx .site-header:not(.scrolled):not(.solid) .menu-btn span { background: #fff; }
body.has-hx .site-header:not(.scrolled):not(.solid) .btn-gold { background: #D9C08F; color: #1C1C1C; }
body.has-hx .site-header:not(.scrolled):not(.solid) .brand svg rect:first-child { stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
body.lock .site-header .menu-btn span { background: var(--ink); }


/* ═══ 불릿 중심 본문 ═══════════════════════════════════ */
.lead { font-weight: 700; color: var(--ink); font-size: 1.04em; margin-bottom: .7em !important; }
.article ul.bullets { margin: 0 0 6px; }
.bullets li { margin-bottom: 10px; line-height: 1.75; }
.faq .a .lead { margin-bottom: .5em !important; }
.faq .a ul.bullets { margin: 0; }
.faq .a .block-gap, .tip .block-gap, .slide .block-gap, .dark-card .block-gap, .answer-box .block-gap, .conclusion .block-gap, .step-panel .block-gap { height: 4px; }
.tip .bullets { margin-top: 2px; }
.slide dd .bullets li { font-size: .95rem; margin-bottom: 6px; padding-left: 22px; }
.slide dd .bullets li::before { top: .72em; }
.dark-card .bullets li, .answer-box .bullets li, .conclusion .bullets li { color: rgba(255,255,255,.88); }
.dark-card .bullets li::before, .answer-box .bullets li::before, .conclusion .bullets li::before, .hx .bullets li::before { background: #D9C08F; }
.dark-card .bullets li { font-size: .95rem; }
.step-panel > div > .bullets { margin-top: 4px; }
.step-panel > div > .bullets li { border: 0; padding: 0 0 0 28px; font-weight: 400; color: var(--text); }
.step-panel > div > .bullets li::before { content: ''; position: absolute; left: 6px; top: .78em; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; border: 0; transform: none; }
.answer-box .bullets { margin: 0; }
.answer-box .bullets li { margin-bottom: 8px; }


/* ═══ 히어로 v3 (Trifecta 구조) ════════════════════════ */
.hy { background: radial-gradient(ellipse at 80% 20%, #2c6a58 0%, rgba(44,106,88,0) 55%), linear-gradient(135deg, #1F4D3F 0%, #163829 62%, #10281d 100%); color: #fff; overflow: hidden; }
.hy-grid { --hy-top: calc(var(--head-h) + var(--util-h)); display: grid; grid-template-columns: auto 1fr; align-items: stretch; padding-top: var(--hy-top); padding-bottom: clamp(32px, 8vh, 96px); min-height: max(720px, 100svh); }
.hy-photo { align-self: start; height: calc(100svh - var(--hy-top) - clamp(32px, 8vh, 96px)); min-height: 520px; max-height: 880px; aspect-ratio: 2 / 3; }
.hy-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hy-copy { display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad-x) 0 clamp(24px, 3vw, 56px); min-width: 0; }
.hy .eyebrow { color: #D9C08F; margin-bottom: 20px; }
.hy .crumb { color: rgba(255,255,255,.62); margin-bottom: 14px; }
.hy .crumb a:hover { color: #fff; }
.hy h1 { color: #fff; font-size: clamp(3rem, 6.6vw, 7.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; word-break: keep-all; }
.hy.sub h1 { font-size: clamp(2.5rem, 5.2vw, 6rem); }
.hy h1 .alt { font-weight: 300; color: #D9C08F; }
.hy-sub { margin-top: clamp(28px, 4.5vh, 56px); margin-left: clamp(0px, 28%, 420px); max-width: 440px; }
.hy .sum { color: rgba(255,255,255,.86); font-size: clamp(.98rem, .3vw + .92rem, 1.08rem); line-height: 1.85; margin-bottom: 28px; }
.hy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hy-btn { display: inline-flex; align-items: center; justify-content: center; background: #D9C08F; color: #1C1C1C; font-weight: 700; letter-spacing: .02em; padding: 18px 34px; border-radius: 0; transition: background .3s, transform .3s; }
.hy-btn:hover { background: #fff; transform: translateY(-2px); }
.hy-link { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.hy-link:hover { border-color: #D9C08F; color: #D9C08F; }

/* 헤더(히어로 위): 로고 좌 · 얇고 긴 3줄 햄버거 우 */
body.has-hx .menu-btn { width: 64px; gap: 8px; }
body.has-hx .menu-btn span { width: 44px; height: 2px; }
body.has-hx .menu-btn.on span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.has-hx .menu-btn.on span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 768px) {
  .hy-grid { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--head-h) + 28px); padding-bottom: 0; }
  .hy-copy { order: 1; padding: 8px var(--pad-x) 36px; }
  .hy-photo { order: 2; height: auto; min-height: 0; max-height: none; width: calc(100% - var(--pad-x)); max-width: 440px; aspect-ratio: 2 / 3; align-self: start; }
  .hy h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .hy.sub h1 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  .hy-sub { margin-left: 0; max-width: none; margin-top: 24px; }
  .hy-btn { width: 100%; }
}

/* 히어로 사진 확대: 높이 제한 대신 폭 기준(화면의 약 42%), 원본 2:3 비율 유지 */
.hy-photo { height: auto; min-height: 0; max-height: none; width: clamp(340px, 42vw, 760px); aspect-ratio: 2 / 3; }
.hy-photo img { object-fit: cover; }
@media (max-width: 768px) { .hy-photo { width: 100%; max-width: none; } }

/* 히어로 제목 강조 단어 제거: 제목 전체를 한 톤으로 */
.hy h1 .alt { font-weight: inherit; color: inherit; }

/* ═══ 반응형 보정 (PC / 태블릿 / 모바일) ═══════════════ */
@media (min-width: 1101px) { .hy-copy { padding-right: calc(var(--pad-x) + 84px); } }
@media (min-width: 769px) and (max-width: 1100px) {
  .hy-grid { min-height: 0; padding-bottom: clamp(28px, 5vw, 56px); }
  .hy-photo { width: clamp(300px, 44vw, 460px); }
  .hy-sub { margin-left: 0; max-width: 420px; }
  .hy h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
  .hy.sub h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
}
