/* 벌레없음 시안 공통 스타일. 모든 페이지가 이 파일 하나를 읽는다. 색·글꼴은 :root 토큰만 고친다. */
/* 2026-10-31 한국형 정리(공통 디자인 세션): Pretendard · 무채색(흰·먹·회색) + 노랑 한 점 · 한글 자간과 줄바꿈 · 휴대폰 메뉴 둘째 줄.
   바꾸기 전 파일: 99-보관/08-시안-2026-10-31-한국형타이포전/css/site.css
   Layout: 흰 바탕 한 장짜리 블로그. 본문 폭 720px, 노랑은 형광펜·버튼·번호처럼 작은 면에만 쓰고 글자색으로는 쓰지 않는다. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
:root{
  --bg:#ffffff;
  --ink:#111111;             /* 제목 글자 */
  --fg:#222222;              /* 본문 글자 */
  --muted:#6b6b6b;           /* 보조 글자·캡션 (흰 바탕 대비 5.3:1) */
  --line:#e8e8e8;            /* 구분선·카드 테두리 */
  --soft:#f5f5f5;            /* 연회색 면 */
  --dark:#1f1f1f;            /* 먹색 칸: 비교표 머리, 01·1회차 뱃지 */
  --accent:#FAE100;          /* 카카오 노랑. 버튼·형광펜·번호·막대 */
  --accent-ink:#111111;      /* 노랑 위에 올라가는 글자색 */
  --accent-soft:#FFF8CC;     /* 연노랑 칸 */
  --mark:rgba(250,225,0,.6); /* 형광펜 */
  --font:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#111111; --ink:#f5f5f5; --fg:#e4e4e4; --muted:#a3a3a3; --line:#2a2a2a; --soft:#1a1a1a; --dark:#2c2c2c;
    --accent:#F2D800; --accent-ink:#111111; --accent-soft:rgba(242,216,0,.12); --mark:rgba(242,216,0,.35); color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#111111; --ink:#f5f5f5; --fg:#e4e4e4; --muted:#a3a3a3; --line:#2a2a2a; --soft:#1a1a1a; --dark:#2c2c2c;
  --accent:#F2D800; --accent-ink:#111111; --accent-soft:rgba(242,216,0,.12); --mark:rgba(242,216,0,.35); color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* 한글: 어절 단위 줄바꿈(keep-all), 긴 영문·주소만 강제로 끊음, 자간은 살짝 좁게 */
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font);font-size:17px;line-height:1.75;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word;line-break:strict}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--bg)}
@media (max-width:600px){body{font-size:16px;line-height:1.75}}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{text-wrap:balance;line-height:1.35;margin:0;color:var(--ink);letter-spacing:-.02em}
h1{letter-spacing:-.03em}
p{margin:0;text-wrap:pretty}

/* 폭·여백 */
.wrap{width:100%;max-width:720px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.wide{max-width:960px}
/* 2026-11-02 대표 결정: 섹션 사이 구분선·회색 띠 없음. 블로그처럼 여백과 소제목(eyebrow+h2)으로만 나눈다 */
section{padding-block:40px}
@media (max-width:600px){section{padding-block:28px}}

/* 공통 타이포 */
.eyebrow{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;letter-spacing:-.01em;color:var(--muted);margin-bottom:12px}
.eyebrow::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--accent)}
h2{font-size:clamp(24px,3.6vw,32px);font-weight:700;line-height:1.38;margin-bottom:20px}
h3{font-size:19px;font-weight:700;line-height:1.4;margin-bottom:8px}
.lead{font-size:18px;color:var(--fg)}
.muted{color:var(--muted)}
.small{font-size:14px}
mark{background:linear-gradient(transparent 58%,var(--mark) 58%);color:inherit;padding:0 .06em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.stack>*+*{margin-top:16px}
.stack-lg>*+*{margin-top:40px}
/* 줄바꿈 도구: 휴대폰에서만 / PC에서만 줄을 바꾸는 <br>, 붙여 둘 말 묶음 */
.ui-br-m{display:none}
@media (max-width:600px){.ui-br-m{display:inline}.ui-br-pc{display:none}}
.ui-nowrap{white-space:nowrap}

/* 버튼 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:17px;letter-spacing:-.02em;padding:16px 24px;border-radius:12px;text-decoration:none;border:0;cursor:pointer;line-height:1.2}
.btn:hover{filter:brightness(.96)}
.btn:focus-visible,a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.btn-ghost{background:transparent;border:1.5px solid var(--line);color:var(--ink);font-weight:700;padding:14px 20px;border-radius:12px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;font-size:16px;letter-spacing:-.02em}
.btn svg{width:20px;height:20px}

/* 헤더 */
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:9;background:var(--bg);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:60px;gap:16px}
.logo{font-weight:800;font-size:20px;letter-spacing:-.04em;color:var(--ink);text-decoration:none}
.menu{display:flex;gap:24px;font-size:15px;font-weight:600}
.menu a{text-decoration:none;color:var(--muted)}
.menu a:hover{color:var(--ink)}
.menu a[aria-current="page"]{color:var(--ink);font-weight:700;background:linear-gradient(transparent 60%,var(--mark) 60%)}
.nav .btn{padding:9px 14px;font-size:14px;border-radius:8px;transition:opacity .2s}
header.cta-on .nav .btn{opacity:0;pointer-events:none}
/* 헤더 상담 요청 버튼(카톡 왼쪽, 2026-11-08 13:54 대표 요청) */
.nav-cta{display:flex;gap:6px}
.nav .btn-ghost{padding:7.5px 12.5px;font-size:14px;border-radius:8px;background:var(--bg);transition:opacity .2s}
.nav .btn-ghost[aria-current="page"]{border-color:var(--ink)}
header.cta-on .nav .btn-ghost{opacity:0;pointer-events:none}
/* 휴대폰: 윗줄 로고 + 카톡 상담, 둘째 줄 메뉴(옆으로 밀기). 2026-10-31 대표 결정 */
@media (max-width:760px){
  .nav{flex-wrap:wrap;height:auto;column-gap:12px;row-gap:0}
  .logo{display:flex;align-items:center;height:56px;font-size:19px}
  .menu{order:3;flex:0 0 auto;width:calc(100% + 32px);margin:0 -16px;padding:0 28px 0 8px;gap:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border-top:1px solid var(--line);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
  .menu::-webkit-scrollbar{display:none}
  .menu a{flex:none;display:flex;align-items:center;height:44px;padding:0 9px;border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}
  .menu a[aria-current="page"]{background:none;border-bottom-color:var(--accent)}
}

/* 1 히어로 */
.hero{padding-block:56px 72px;border-top:0}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
@media (max-width:760px){.hero-grid{grid-template-columns:1fr;gap:32px}}
.hero h1{font-size:clamp(30px,5vw,46px);font-weight:800;line-height:1.3;letter-spacing:-.035em;margin:0 0 20px}
.hero .sub{font-size:18px;margin-bottom:26px}
.facts{list-style:none;padding:0;margin:0 0 28px;display:flex;flex-direction:column;gap:6px;font-size:15px}
.facts li::before{content:"✓";font-weight:700;margin-right:8px}
.hero-img{border-radius:18px;overflow:hidden;background:var(--soft)}
.hero-img img{width:100%;aspect-ratio:1/1;object-fit:cover}
.cap{font-size:13px;color:var(--muted);margin-top:10px}

/* 2 상황 카드 */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media (max-width:560px){.cards{grid-template-columns:1fr}}
.card{display:block;border:1.5px solid var(--line);border-radius:16px;padding:22px 22px 20px;text-decoration:none;transition:border-color .15s}
.card:hover{border-color:var(--fg)}
.card .q{font-size:15px;color:var(--muted);margin-bottom:6px}
.card .t{font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:10px}
.card .t span:last-child{font-size:18px}

/* 3 그 마음 */
.quotes{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-direction:column;gap:12px}
.quotes li{padding-left:18px;border-left:3px solid var(--accent);color:var(--fg)}

/* 4 90% */
.big{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:8px 0 18px}
.big b{font-size:clamp(64px,12vw,104px);font-weight:700;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;background:linear-gradient(transparent 62%,var(--mark) 62%)}
.big span{font-size:20px}
figure{margin:32px 0 0}
figure svg{width:100%;height:auto;display:block}
figcaption{font-size:13px;color:var(--muted);margin-top:8px}

/* 5 세대 */
.gen{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:8px}
@media (max-width:700px){.gen{grid-template-columns:1fr}}
.gen>div{padding:22px 20px;border-radius:16px;border:1.5px solid var(--line)}
.gen>div.us{border-color:var(--fg)}
.gen .g{font-size:13px;font-weight:700;color:var(--muted);letter-spacing:.06em;margin-bottom:6px}
.gen .us .g{color:var(--fg)}
.gen ul{margin:12px 0 0;padding-left:18px;font-size:15px;line-height:1.6}
.gen li+li{margin-top:6px}
.detail{margin-top:36px;border-radius:18px;overflow:hidden}
.detail img{width:100%;aspect-ratio:16/9;object-fit:cover}

/* 6 경로 */
.routes{list-style:none;padding:0;margin:0;counter-reset:r}
.routes li{display:grid;grid-template-columns:40px 1fr;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.routes li:last-child{border-bottom:1px solid var(--line)}
.routes .n{width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:14px;font-variant-numeric:tabular-nums}
.routes h3{margin-bottom:2px}
.routes p{font-size:15px;color:var(--muted)}
.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px}
@media (max-width:560px){.shots{grid-template-columns:repeat(3,1fr);gap:8px}}
.shots figure{margin:0}
.shots img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px}
.shots figcaption{margin-top:8px}

/* 7 네 가지 */
.answers{display:grid;gap:36px;margin-top:8px}
.answers h3{font-size:21px;line-height:1.35;margin-bottom:10px}
.answers p{color:var(--fg)}

/* 8 대표 */
.ceo{display:grid;grid-template-columns:180px 1fr;gap:32px;align-items:start}
@media (max-width:560px){.ceo{grid-template-columns:1fr}}
.ceo img{width:180px;aspect-ratio:3/4;object-fit:cover;border-radius:14px}
.ceo blockquote{margin:0 0 18px;font-size:19px;line-height:1.6}
.ceo ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.ceo li{font-size:14px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted)}

/* 9 후기 */
.score{display:flex;align-items:baseline;gap:10px;margin-bottom:22px}
.score b{font-size:40px;line-height:1;font-variant-numeric:tabular-nums}
.reviews{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:640px){.reviews{grid-template-columns:1fr}}
.review{border:1.5px solid var(--line);border-radius:16px;padding:20px;font-size:15px;display:flex;flex-direction:column;gap:12px}
.review .who{font-size:13px;color:var(--muted);margin-top:auto}

/* 10 FAQ */
details{border-top:1px solid var(--line);padding:4px 0}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--muted);font-weight:400;font-size:22px;line-height:1}
details[open] summary::after{content:"–"}
details p{padding:0 0 16px;color:var(--fg);font-size:16px}

/* 11 CTA */
.cta{background:var(--soft);border-top:1px solid var(--line);text-align:center}
.cta h2{margin-bottom:12px}
.cta .btn{margin-top:22px;font-size:18px;padding:18px 32px;border-radius:14px}
@media (max-width:600px){.cta .btn{width:100%;max-width:420px}}
.price{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}

footer{padding:40px 0 48px;font-size:13px;color:var(--muted);line-height:1.8;letter-spacing:0}
footer .ft-name{color:var(--fg);font-size:14px;font-weight:700;margin-bottom:4px} /* 2026-11-07 사업자 정보 */
footer .ft-info span{display:inline-block;margin-right:14px}
footer .ft-links,footer .ft-copy{margin-top:10px}
footer .ft-privacy{color:var(--fg);font-weight:700}
.cta-note{margin-top:16px;font-size:14px;line-height:1.6;color:var(--muted)} /* 2026-11-07 영업시간 외 안내 */

/* 12 모바일 하단바: 2026-10-30 제거 (상담 버튼은 화면당 하나 — 상단 고정 헤더 버튼) */
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* =====================================================================
   독일바퀴 페이지 (german-roach.html) 전용 — 모든 클래스 gr- 접두어
   색은 위 :root 공통 토큰(--ink·--fg·--muted·--line·--soft·--dark·--accent·--accent-soft)만 쓴다.
   --gr-dark·--gr-soft는 홈·디자인 가이드 호환용 옛 이름(공통 토큰을 가리킴). 2026-10-31 한국형 정리 반영.
   ===================================================================== */
:root{--gr-dark:var(--dark);--gr-soft:var(--accent-soft);--gr-illust:#F6F5F2} /* 2026-10-31 공통 토큰을 가리킴 */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--gr-dark:var(--dark);--gr-soft:var(--accent-soft)}}
:root[data-theme="dark"]{--gr-dark:var(--dark);--gr-soft:var(--accent-soft)}

.gr-hero{padding-block:56px}
.gr-hero h1{font-size:clamp(32px,5.2vw,46px);font-weight:700;line-height:1.3;margin:0}
@media (max-width:600px){.gr-hero{padding-block:36px 40px}}
.gr-text>*+*{margin-top:14px}
.gr-fig{margin:4px 0 28px}
.gr-fig svg{display:block;width:100%;height:auto;font-family:var(--font)}
.gr-fig figcaption{margin-top:8px}

/* 사진 자리: img/german-roach/ 에 같은 이름 파일을 넣으면 자동으로 사진이 뜬다 */
.gr-ph{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--soft);border:1.5px dashed var(--line)}
.gr-ph:has(img){border-color:transparent;border-style:solid}
.gr-ph img,.gr-inset img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.gr-ph-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px;text-align:center;color:var(--muted);font-size:12.5px;font-weight:700;line-height:1.3}
.gr-ph-empty svg{width:22px;height:22px;margin-bottom:2px}
.gr-ph-empty small{font-size:11px;font-weight:400;opacity:.85}

/* 1 비교표 */
.gr-cmp{width:100%;margin-top:36px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:16px}
.gr-cmp col.c1{width:24%}
.gr-cmp col.c2,.gr-cmp col.c3{width:38%}
.gr-cmp th,.gr-cmp td{padding:14px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);line-height:1.45}
.gr-cmp thead th{font-weight:700}
.gr-cmp thead th.us{background:var(--dark);color:var(--accent);border-radius:10px 10px 0 0;border-bottom-color:var(--dark)}
.gr-cmp thead th.them{color:var(--muted)}
.gr-cmp tbody th{font-size:14px;font-weight:700;color:var(--muted)}
.gr-cmp td.us{background:var(--accent-soft);font-weight:700}
.gr-cmp tbody tr:last-child td.us{border-radius:0 0 10px 10px;border-bottom-color:transparent}
.gr-o,.gr-x{position:relative;display:inline-block;width:16px;height:16px;margin-right:7px;vertical-align:-2px}
.gr-o{border:2.5px solid var(--ink);border-radius:50%}
.gr-x::before,.gr-x::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:2.5px;background:var(--muted);border-radius:2px}
.gr-x::before{transform:translate(-50%,-50%) rotate(45deg)}
.gr-x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.gr-lv{display:inline-flex;gap:3px;margin-right:8px}
.gr-lv i{display:block;width:10px;height:10px;border-radius:2px;background:var(--line)}
.gr-lv.low i:first-child{background:var(--ink)}
.gr-lv.mid i:nth-child(-n+2){background:var(--muted)}

/* 1 비용 그래프: 꽉 찬 막대 = 집중방역, 절반 = 관리방역 */
.gr-cost{display:grid;grid-template-columns:24% 1fr;align-items:start;padding:16px 0 14px;border-bottom:1px solid var(--line)}
.gr-cost-label{padding:0 12px;font-size:14px;font-weight:700;color:var(--muted)}
.gr-c-row{margin-bottom:14px}
.gr-c-head{display:flex;flex-direction:column;gap:1px;margin-bottom:8px;line-height:1.35}
.gr-c-head b{font-size:15px}
.gr-c-head span{font-size:13.5px;color:var(--muted)}
.gr-c-head em{font-style:normal;font-weight:500;color:var(--fg)}
.gr-c-row.them .gr-c-head{position:relative;z-index:1;margin-bottom:-36px}
.gr-c-plot{display:grid;grid-template-columns:repeat(12,1fr);column-gap:4px;align-items:end;height:84px;border-bottom:1.5px solid var(--line)}
.gr-c-bar{display:block;height:var(--h,50%);border-radius:4px 4px 0 0;background:var(--accent)}
.gr-c-bar.first{--h:100%}
.gr-c-bar.opt{background:transparent;border:1.5px dashed #D9BF00;border-bottom:0}
.gr-axis{display:grid;grid-template-columns:repeat(12,1fr);column-gap:4px;margin-top:4px;font-size:12px;color:var(--muted)}
.gr-axis span{text-align:center}

/* 2 유입차단 현장 사진 */
.gr-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.gr-shot{margin:0}
/* 시공 전·후 사진(왼쪽 전 · 오른쪽 후를 붙인 한 장): 사진이 있을 때만 "시공 전/후" 표시 */
.gr-ba{display:none;position:absolute;inset:0;z-index:2;pointer-events:none}
.gr-ph:has(img) .gr-ba{display:block}
.gr-ba i{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:6px;background:rgba(255,255,255,.92);color:#111;font-size:12px;font-style:normal;font-weight:700;line-height:1.3;letter-spacing:-.01em}
.gr-ba i+i{left:calc(50% + 8px);background:var(--dark);color:var(--accent)}
.gr-shot figcaption{margin-top:10px;font-size:14.5px;line-height:1.55;color:var(--muted)}
.gr-shot figcaption b{display:block;margin-bottom:2px;font-size:15.5px;color:var(--ink)}

/* 3 약제 카드 */
.gr-meds{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.gr-meds>.gr-med{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
.gr-med{display:flex;flex-direction:column;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;background:var(--bg)}
.gr-med-pic{position:relative;aspect-ratio:16/10;background:var(--gr-illust)}
.gr-med-pic>svg{display:block;width:100%;height:100%}
.gr-inset{position:absolute;top:6px;right:6px;width:40%;aspect-ratio:4/3;border:2px solid #fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.15);overflow:hidden;background:#f5f5f5}
.gr-inset .gr-ph-empty{color:#8f8f8f;font-size:12px}
.gr-med-top{padding:20px 20px 16px}
/* 약제 카드(2026-11-01): 그림(4:3) → 글 → 현장 사진(4:3). 칸이 4개라 옆 카드와 4줄로 맞춤 */
.gr-meds>.gr-med-photo{grid-row:span 4}
.gr-med-photo .gr-med-pic{aspect-ratio:4/3}
.gr-med-shot{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--soft)}
.gr-med-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.gr-med-top .gr-vs{margin-bottom:0}
.gr-med-body{padding:18px 20px 20px}
.gr-med-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.gr-step{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 7px;border-radius:6px;background:var(--dark);color:var(--accent);font-size:12px;font-weight:700;line-height:1}
.gr-med h3{margin:0;font-size:19px}
.gr-vs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px}
.gr-vs div{padding:10px 12px;border-radius:10px;font-size:13.5px;line-height:1.45}
.gr-vs b{display:block;margin-bottom:2px;font-size:12px}
.gr-vs .good{background:var(--accent-soft);font-weight:700;box-shadow:inset 0 0 0 1.5px var(--ink)}
.gr-vs .bad{background:var(--soft);color:var(--muted)}
.gr-med-text{font-size:15px;line-height:1.7}
.gr-med-text p+p{margin-top:8px}
.gr-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:12px}
.gr-meta-ing{margin-right:auto;font-size:14px;font-weight:700}
.gr-meta-ing span{margin-right:6px;font-size:12px;font-weight:400;color:var(--muted)}
.gr-logos{display:flex;align-items:flex-end;gap:16px}
.gr-brand{display:flex;flex-direction:column;align-items:center;gap:4px}
.gr-brand img{height:16px;width:auto}
.gr-brand img.lg{height:20px}
.gr-brand small{font-size:11px;font-weight:700;line-height:1;color:var(--muted)}
.gr-logos .gr-brand img.gr-flag{width:21px;height:14px;border-radius:2px;outline:1px solid rgba(0,0,0,.12);outline-offset:-1px;background:none;padding:0} /* 2026-11-02 나라 이름 대신 국기(홈 hm-flags와 같은 방식) */
.gr-note{margin-top:16px;font-size:14px;font-style:italic;color:var(--muted)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .gr-brand img{background:#fff;border-radius:3px;padding:1px 3px;box-sizing:content-box}}
:root[data-theme="dark"] .gr-brand img{background:#fff;border-radius:3px;padding:1px 3px;box-sizing:content-box}

/* 4 대를 끊는 도식 */
.gr-gen{margin:8px 0 28px;padding:22px 16px 18px;border:1.5px solid var(--line);border-radius:16px}
.gr-flow{display:grid;grid-template-columns:1fr 64px 1fr 64px 1fr;row-gap:10px;text-align:center}
.gr-fhead{display:flex;flex-direction:column;align-items:center;gap:4px}
.gr-visit{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:var(--dark);color:var(--accent);font-size:12px;font-weight:700;line-height:1}
.gr-type{font-size:15px;font-weight:700;line-height:1.3}
.gr-type small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:var(--muted)}
.gr-pic{display:flex;align-items:center;justify-content:center;height:84px;border-radius:12px;background:var(--accent-soft)}
.gr-pic svg{display:block;width:100%;height:100%;padding:6px 8px}
.gr-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11.5px;font-weight:700;line-height:1.25;color:var(--muted)}
.gr-link .arrow{position:relative;width:70%;height:1.5px;margin-top:3px;background:var(--muted)}
.gr-link .arrow::after{content:"";position:absolute;right:-1px;top:50%;width:6px;height:6px;border-top:1.5px solid var(--muted);border-right:1.5px solid var(--muted);transform:translateY(-50%) rotate(45deg)}
.gr-gname{font-size:15px;font-weight:700;line-height:1.35}
.gr-gname small{display:block;margin-top:3px;font-size:12px;font-weight:400;line-height:1.4;color:var(--muted)}

/* 5 가격표 */
.gr-price{width:100%;max-width:560px;margin:8px 0 18px;border-collapse:collapse;table-layout:fixed;font-size:16px;font-variant-numeric:tabular-nums}
.gr-price col.c1{width:40%}
.gr-price col.c2,.gr-price col.c3{width:30%}
.gr-price th,.gr-price td{padding:9px 8px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line);line-height:1.4}
.gr-price thead th{padding-top:0;padding-bottom:9px;border-bottom:2px solid var(--ink);font-size:15px}
.gr-price thead th:first-child{font-size:13px;color:var(--muted);vertical-align:bottom}
.gr-price thead small{display:block;margin-top:1px;font-size:12px;font-weight:400;color:var(--muted)}
.gr-price td{font-weight:700;white-space:nowrap}
.gr-price td+td{color:var(--muted)}
.gr-price tbody tr:last-child th,.gr-price tbody tr:last-child td{border-bottom:2px solid var(--ink)}
.gr-notes{margin:0;padding-left:18px;font-size:15px;line-height:1.65;color:var(--muted)}
.gr-notes li+li{margin-top:6px}

@media (max-width:680px){
  .gr-meds{grid-template-columns:1fr}
  .gr-shots{grid-template-columns:1fr;gap:12px}
  .gr-shot{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center}
  .gr-shot figcaption{margin-top:0}
  /* 전·후 사진은 휴대폰에서도 크게: 사진 가로 꽉 차게, 캡션은 아래 */
  .gr-shots-ba{gap:24px}
  .gr-shots-ba .gr-shot{display:block}
  .gr-shots-ba .gr-shot figcaption{margin-top:10px}
}
@media (max-width:560px){
  .gr-cmp{font-size:15px}
  .gr-cmp col.c1{width:22%}
  .gr-cmp col.c2,.gr-cmp col.c3{width:39%}
  .gr-cmp th,.gr-cmp td{padding:12px 8px}
  .gr-cmp tbody th{font-size:13px}
  .gr-cost{grid-template-columns:1fr;row-gap:10px}
  .gr-cost-label{padding:0 8px;font-size:13px}
  .gr-c-plot{height:76px;column-gap:3px}
  .gr-axis{column-gap:3px}
  .gr-c-head span{font-size:12.5px}
  .gr-c-row.them .gr-c-head{margin-bottom:-33px}
  .gr-gen{padding:18px 10px 14px}
  .gr-flow{grid-template-columns:1fr 38px 1fr 38px 1fr}
  .gr-pic{height:68px}
  .gr-type{font-size:13.5px}
  .gr-gname{font-size:13px}
  .gr-link{font-size:10.5px}
  .gr-price{font-size:15px}
  .gr-price th,.gr-price td{padding:8px 5px}
  .gr-price thead small{font-size:11px;letter-spacing:-.02em}
}

/* =====================================================================
   홈 (index.html) 전용 — 모든 클래스 hm- 접두어 (2026-10-30 대표 문구)
   사진 자리 빈칸 표시는 위 독일바퀴 블록의 .gr-ph-empty 를 같이 쓴다.
   ===================================================================== */
/* 사진 높이 고정 버그 수정: width/height 속성이 있어도 비율대로 줄어들게 */
.hero-img img,.shots img{height:auto}
.hm-hero-2{font-size:clamp(22px,3vw,28px);font-weight:700;line-height:1.35;letter-spacing:-.025em;color:var(--ink);margin:-6px 0 20px}
.hm-ph{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--soft);border:1.5px dashed var(--line)}
.hm-ph:has(img){border-color:transparent;border-style:solid}
.hm-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}

.hm-cards .card:last-child:nth-child(odd){grid-column:1/-1}
.cta .wrap>.btn:first-child{margin-top:0}
.hm-two{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:8px}
.hm-item h3{margin:18px 0 8px;line-height:1.4}
.hm-item h3:first-child{margin-top:0} /* 2026-10-31 사진·도식 없이 글만 */
.hm-item p{font-size:16px}
.hm-item p+p{margin-top:14px} /* 2026-11-02 문단 나눔 */

.hm-methods{display:grid;gap:48px;margin-top:8px}
.hm-mhead{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.hm-mhead .n{flex:none;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:14px;font-variant-numeric:tabular-nums}
.hm-mhead h3{margin:0;font-size:21px;line-height:1.35}
.hm-method .shots{margin-top:20px}
.hm-shots4{grid-template-columns:repeat(4,1fr)} /* 2026-11-02 유입경로 사진 4장, 설명 없음 */
@media (max-width:560px){.hm-shots4{grid-template-columns:repeat(2,1fr)}}
.hm-split{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}


/* 02 약제: 제조사 로고 + 나라 국기 (2026-10-31). 로고는 어두운 모드에서도 흰 칸 위에 둔다(검은 로고가 묻히지 않게)
   로고 높이는 로고마다 --h 로 따로 맞춤(가로로 긴 로고는 낮게, 둥근 로고는 높게) */
:root{--hm-logo-bg:#ffffff;--hm-logo-line:#ececec}
.hm-makers{margin:18px 0 24px;padding:26px 24px 18px;border:1.5px solid var(--line);border-radius:16px;background:var(--hm-logo-bg)}
.hm-logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px 28px}
.hm-logos img{height:var(--h);width:auto;max-width:100%}
.hm-flags{list-style:none;margin:22px 0 0;padding:16px 0 0;border-top:1px solid var(--hm-logo-line);display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px}
.hm-flags li{display:flex}
/* 국기는 모두 같은 3:2 칸(img/flags 파일도 3:2) */
.hm-flags img{width:27px;height:18px;border-radius:2px;outline:1px solid rgba(0,0,0,.12);outline-offset:-1px}

/* 03 전문가: 대표 현장 사진 + 자격 서류 3장 (2026-10-31). 서류 칸은 3:4, 잘리지 않게 contain */
.hm-pro{margin:20px 0 0}
.hm-pro-img{aspect-ratio:3/2;border-radius:12px;overflow:hidden;background:var(--soft)}
.hm-pro-img img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.hm-pro figcaption{margin-top:8px;font-size:13px;color:var(--muted)}
.hm-certs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.hm-cert{margin:0;min-width:0}
.hm-doc{aspect-ratio:3/4}
.hm-doc img{object-fit:contain;padding:12px}
.hm-cert figcaption{margin-top:10px;font-size:15px;line-height:1.45}
.hm-cert figcaption b{display:block;color:var(--ink)}
.hm-cert figcaption span{display:block;margin-top:2px;font-size:13px;color:var(--muted)}

.hm-more{margin-top:20px;font-weight:700}
.hm-more a{text-decoration:none;border-bottom:2px solid var(--accent);padding-bottom:2px}

.hm-refs{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 16px;margin-top:8px} /* 4곳: PC 2×2, 휴대폰 목록 */
.hm-ref{margin:0}
.hm-ref figcaption{margin-top:10px;font-size:15px;font-weight:700;line-height:1.45;color:var(--ink)}
.hm-ref figcaption span{display:block;margin-top:2px;font-size:13px;font-weight:400;color:var(--muted)}
.hm-refs-text{margin-top:28px}

@media (max-width:680px){
  .hm-two{grid-template-columns:1fr;gap:36px}
  .hm-split{grid-template-columns:1fr;gap:16px}
  .hm-makers{padding:20px 16px 16px}
  .hm-logos{gap:16px 20px}
  .hm-logos img{height:calc(var(--h) * .8)}
  .hm-flags{gap:10px 12px;margin-top:18px}
  .hm-certs{gap:10px;margin-top:20px}
  .hm-doc img{padding:6px}
  .hm-cert figcaption{font-size:13px;line-height:1.4}
  .hm-cert figcaption span{font-size:12px}
  .hm-refs{grid-template-columns:1fr;gap:12px}
  .hm-ref{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center}
  .hm-ref figcaption{margin-top:0}
}

/* =====================================================================
   좀벌레 페이지 (silverfish.html) 전용 — 모든 클래스 sf- 접두어
   색은 위 :root 토큰을 쓰고, 먹색 칸(--sf-dark)과 연노랑 칸(--sf-soft)만 추가.
   ===================================================================== */
:root{--sf-dark:var(--dark);--sf-soft:var(--accent-soft);--sf-illust:#F6F5F2}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--sf-dark:var(--dark);--sf-soft:var(--accent-soft)}}
:root[data-theme="dark"]{--sf-dark:var(--dark);--sf-soft:var(--accent-soft)}

.sf-hero{padding-block:56px 60px}
.sf-hero h1{font-size:clamp(32px,5.2vw,46px);font-weight:700;line-height:1.25;margin:0}
.sf-text>*+*{margin-top:14px}
.sf-close{font-weight:700;color:var(--ink)}

/* 사진 자리: img/silverfish/ 에 같은 이름 파일을 넣으면 자동으로 뜬다 */
.sf-ph{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:var(--soft);border:1.5px dashed var(--line)}
.sf-ph:has(img){border-color:transparent;border-style:solid}
.sf-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.sf-ph-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px;text-align:center;color:var(--muted);font-size:12.5px;font-weight:700;line-height:1.3}
.sf-ph-empty small{font-size:11px;font-weight:400;opacity:.85}
.sf-fig{margin:28px 0 0}
.sf-fig figcaption{margin-top:10px;font-size:14.5px;line-height:1.55;color:var(--muted)}
.sf-fig figcaption b{color:var(--fg)}

/* 서식 개념도 ("왜 어려울까요" 제목 바로 아래) */
.sf-illu{margin:4px 0 28px}
.sf-illu svg{display:block;width:100%;height:auto;font-family:var(--font)}
.sf-illu figcaption{margin-top:10px;font-size:14.5px;line-height:1.55;color:var(--muted)}
.sf-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}

/* 발견 현장과 은신처: 사진 3장 (휴대폰은 첫 장 크게, 나머지 두 장 나란히) */
.sf-hide{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sf-hide .sf-ph{aspect-ratio:3/4}
@media (max-width:600px){
  .sf-hide{grid-template-columns:1fr 1fr;gap:8px}
  .sf-hide .sf-ph{aspect-ratio:1}
  .sf-hide .sf-ph:first-child{grid-column:1/-1;aspect-ratio:4/3}
}

/* 시공 순서: 동그란 사진 5장 + 사이 화살표. 휴대폰은 3장·2장 두 줄 */
.sf-seq{list-style:none;margin:28px 0 0;padding:0;display:flex;justify-content:center;gap:26px 22px}
.sf-seq li{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.sf-seq-pic{position:relative;width:100%;aspect-ratio:1}
.sf-seq-ph{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:var(--soft);border:1.5px dashed var(--line)}
.sf-seq-ph:has(img){border:0}
.sf-seq-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.sf-seq li:not(:last-child) .sf-seq-pic::after{content:"";position:absolute;top:50%;right:-16px;width:9px;height:9px;border-top:1.5px solid var(--muted);border-right:1.5px solid var(--muted);transform:translateY(-50%) rotate(45deg)}
.sf-seq-t{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14.5px;font-weight:700;line-height:1.35;color:var(--ink);text-align:center}
.sf-seq-n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--sf-dark);color:var(--accent);font-size:11.5px;font-weight:700;line-height:1}
@media (max-width:600px){
  .sf-seq{flex-wrap:wrap;gap:22px 16px}
  .sf-seq li{flex:0 0 calc((100% - 32px) / 3)}
  .sf-seq li:not(:last-child) .sf-seq-pic::after{right:-12px;width:7px;height:7px}
  .sf-seq li:nth-child(3) .sf-seq-pic::after{display:none}
  .sf-seq-t{font-size:13px;gap:4px}
  .sf-seq-n{width:18px;height:18px;font-size:10.5px}
}

/* 약제 카드 */
.sf-meds{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.sf-med{border:1.5px solid var(--line);border-radius:16px;padding:22px 20px;display:flex;flex-direction:column;gap:12px}
.sf-med .sf-tag{align-self:flex-start;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:6px;background:var(--sf-dark);color:var(--accent);font-size:12px;font-weight:700;line-height:1}
.sf-med h3{margin:0;font-size:19px}
.sf-med p{font-size:15px;line-height:1.7}
/* 성분 이름 + 개발사 로고, 로고 밑에 국기 */
.sf-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.sf-meta h3{margin:0 auto 0 0}
.sf-brand{display:flex;flex-direction:column;align-items:center;gap:4px}
.sf-brand img{height:16px;width:auto}
.sf-brand img.lg{height:20px}
.sf-flag{display:block;line-height:0}
.sf-flag svg{display:block;height:14px;width:auto}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .sf-brand img{background:#fff;border-radius:3px;padding:1px 3px;box-sizing:content-box}}
:root[data-theme="dark"] .sf-brand img{background:#fff;border-radius:3px;padding:1px 3px;box-sizing:content-box}

/* 부화 기간 그래프 */
.sf-chart-box{margin:28px 0 0;padding:22px 18px 16px;border:1.5px solid var(--line);border-radius:16px}
.sf-chart-box .sf-cap{font-size:15px;font-weight:700;margin-bottom:4px}
.sf-chart{display:grid;grid-template-columns:1fr 1fr;gap:28px;height:190px;align-items:end;border-bottom:1.5px solid var(--line);padding:0 12px;margin-top:18px}
.sf-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.sf-val{font-size:14px;font-weight:700;margin-bottom:6px;text-align:center;line-height:1.3}
.sf-bar{width:60%;height:var(--h);background:var(--accent);border-radius:8px 8px 0 0}
.sf-bar.lt{background:transparent;border:1.5px dashed #D9BF00;border-bottom:0}
.sf-labels{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:8px 12px 0;text-align:center;font-size:14px;color:var(--muted);font-weight:700}
.sf-chart-box .sf-cap-small{margin-top:10px;font-size:12.5px;color:var(--muted)}

/* 생애 주기 원형 그림 + 아래 작은 부화 기간 그래프 (한 칸 안) */
.sf-cycle-svg{display:block;width:100%;max-width:460px;height:auto;margin:6px auto 0;font-family:var(--font)}
.sf-cycle-svg .ring{stroke:var(--muted)}
.sf-cycle-svg .ah{fill:var(--muted)}
.sf-cycle-svg .node{fill:var(--soft);stroke:var(--line)}
.sf-cycle-svg .t{fill:var(--ink)}
.sf-cycle-svg .m{fill:var(--muted)}
.sf-cycle-sub{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.sf-cycle-sub .sf-cap{font-size:14px}
.sf-cycle-sub .sf-chart,.sf-cycle-sub .sf-labels{max-width:300px;margin-inline:auto;gap:20px}
.sf-cycle-sub .sf-chart{height:110px;margin-top:12px}
.sf-cycle-sub .sf-val,.sf-cycle-sub .sf-labels{font-size:13px}

/* 3회 코스 */
.sf-flow{display:grid;grid-template-columns:1fr 64px 1fr 64px 1fr;align-items:stretch;margin-top:28px}
.sf-stage{border:1.5px solid var(--line);border-radius:16px;padding:18px 16px;display:flex;flex-direction:column;gap:8px}
.sf-stage.first{border-color:var(--fg)}
.sf-stage .sf-visit{align-self:flex-start;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:var(--sf-dark);color:var(--accent);font-size:12px;font-weight:700;line-height:1}
.sf-stage h3{margin:0;font-size:17px}
.sf-stage p{font-size:14.5px;line-height:1.6;color:var(--muted)}
.sf-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:700;line-height:1.3;color:var(--muted);text-align:center}
.sf-link .arrow{position:relative;width:80%;height:1.5px;background:var(--muted)}
.sf-link .arrow::after{content:"";position:absolute;right:-1px;top:50%;width:6px;height:6px;border-top:1.5px solid var(--muted);border-right:1.5px solid var(--muted);transform:translateY(-50%) rotate(45deg)}
.sf-small-note{margin-top:14px;font-size:13.5px;color:var(--muted)}


@media (max-width:680px){
  .sf-meds{grid-template-columns:1fr}
  .sf-pair{grid-template-columns:1fr;gap:20px}
}
@media (max-width:560px){
  .sf-flow{grid-template-columns:1fr;gap:10px}
  .sf-link{flex-direction:row;justify-content:center;gap:8px}
  .sf-link .arrow{width:40px;height:1.5px}
  .sf-link .arrow::after{right:-1px}
  .sf-link .arrow{transform:rotate(90deg);width:28px}
  .sf-link{height:34px}
}

/* =====================================================================
   시설정기방역 (facility.html) 전용 — 모든 클래스 fc- 접두어
   2026-11-04 새 제안서(일반-벌레없음-정기방역제안서, 9쪽)로 다시 만듦. 문구는 제안서 그대로.
   순서(대표 결정): 회사 소개 → 레퍼런스 → 일하는 방식 → 행정 지원 → 케이스 스터디 → 작업 매뉴얼 → 추가 제안 → 상담.
   전 블록은 99-보관/08-시안-2026-11-04-시설정기-제안서v2전/css/site.css
   흑백 위주, 노랑은 번호 뱃지·형광펜·먹색 칸 글자에만. 색은 위 :root 공통 토큰만. 빈 사진 표시는 .gr-ph-empty 공통.
   ===================================================================== */
.fc-hero{padding-block:56px}
.fc-hero h1{font-size:clamp(32px,5.2vw,46px);font-weight:700;line-height:1.3;margin:0}
@media (max-width:600px){.fc-hero{padding-block:36px 40px}}
.fc-num{font-size:14px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:0}
.fc-foot{margin-top:18px;font-size:13.5px;color:var(--muted)}
.fc-wide{max-width:960px}

/* 사진 자리: img/facility/ 에 같은 이름 파일을 넣으면 자동으로 사진이 뜬다 */
.fc-ph{position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:var(--soft);border:1.5px dashed var(--line)}
.fc-ph:has(img){border-color:transparent;border-style:solid}
.fc-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}

/* 1 회사 소개: 근거 두 묶음(+) → 먹색 알약(=) | 자격·인증 서류 4장 */
.fc-about{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:start;margin-top:12px}
.fc-group{position:relative;padding-left:40px}
.fc-group+.fc-group{margin-top:32px}
.fc-op{position:absolute;left:0;top:14px;width:26px;height:26px;border:1.5px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;line-height:1;color:var(--ink);background:var(--bg)}
.fc-group h3{margin:0;padding:12px 0 10px;border-top:2px solid var(--ink);font-size:18px}
.fc-group ul{list-style:none;margin:0;padding:0}
.fc-group li{padding:5px 0;font-size:15.5px;line-height:1.55;color:var(--muted)}
.fc-group li b{color:var(--ink);font-weight:700;margin-right:8px}
.fc-sum{position:relative;margin-top:28px;padding-left:40px}
.fc-sum .fc-op{top:50%;transform:translateY(-50%)}
.fc-partner{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:14px 26px;border-radius:999px;background:var(--dark);color:#fff;font-size:16px;line-height:1.4}
.fc-partner b{font-size:22px;font-weight:700;letter-spacing:-.03em;color:var(--accent)}
.fc-certs{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px;margin:0}
.fc-certs figure{margin:0}
.fc-certs img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;border:1px solid var(--line);background:#fff}
.fc-certs figcaption{margin-top:6px;font-size:13px;color:var(--muted);text-align:center}

/* 2 레퍼런스: 목록 두 줄 + LEED 사진 */
.fc-refs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px;margin-top:12px;align-items:start}
.fc-ref h3{margin:0;padding:14px 0 12px;border-top:2px solid var(--ink);border-bottom:1px solid var(--line);font-size:18px}
.fc-ref ul{list-style:none;margin:0;padding:0}
.fc-ref li{padding:12px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.5}
.fc-ref-pic{margin:0}
.fc-ref-pic .fc-ph{aspect-ratio:5/4}
.fc-ref-pic figcaption{margin-top:8px;font-size:13px;color:var(--muted)}

/* 3 일하는 방식: 대응 범위 그림 3개 → 4단계(매월 반복) → 먹색 기반 띠 */
.fc-scope{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:12px}
.fc-icon{width:76px;height:76px;border-radius:50%;border:1.5px solid var(--ink);display:flex;align-items:center;justify-content:center;margin-bottom:14px;color:var(--ink)}
.fc-icon svg{width:96%;height:auto;fill:currentColor}
.fc-scope h3{margin:0 0 4px;font-size:18px}
.fc-scope p{font-size:15px;line-height:1.6;color:var(--muted)}
.fc-flow{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.fc-flow li{position:relative;padding-top:16px;border-top:2px solid var(--ink)}
.fc-flow li+li::before{content:"→";position:absolute;left:-23px;top:44px;font-size:16px;line-height:1;color:var(--muted)}
.fc-flow .fc-num{display:block;margin-bottom:4px}
.fc-flow h3{margin:0 0 6px;font-size:19px}
.fc-flow p{font-size:14.5px;line-height:1.6;color:var(--fg)}
.fc-loop{position:relative;margin:18px calc(12.5% - 4px) 0;height:30px;border:1.5px solid var(--ink);border-top:0;border-radius:0 0 10px 10px}
.fc-loop span{position:absolute;left:50%;bottom:-11px;transform:translateX(-50%);padding:0 12px;background:var(--bg);font-size:14px;font-weight:700;line-height:20px;color:var(--ink);white-space:nowrap}
.fc-loop::before{content:"";position:absolute;left:-6.5px;top:-8px;border:6px solid transparent;border-bottom:9px solid var(--ink);border-top:0}
.fc-base{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 28px;margin-top:40px;padding:18px 24px;border-radius:14px;background:var(--dark);color:#fff;font-size:14.5px;line-height:1.55}
.fc-base>small{font-size:13px;opacity:.6}
.fc-base p{opacity:.85}
.fc-base b{margin-right:8px;font-size:16.5px;color:#fff;opacity:1}

/* 4 행정 지원: 리포트 예시 + 번호 목록 */
.fc-admin{display:grid;grid-template-columns:1fr 1.1fr;gap:36px;align-items:center;margin-top:12px}
.fc-report{order:-1;margin:0}
.fc-report-frame{position:relative;aspect-ratio:1;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.fc-report-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
.fc-report figcaption{margin-top:8px;font-size:13.5px;color:var(--muted)}
.fc-list{list-style:none;margin:0;padding:0;border-top:1.5px solid var(--ink)}
.fc-list li{display:grid;grid-template-columns:40px 1fr;gap:8px;padding:16px 0;border-bottom:1px solid var(--line)}
.fc-list .fc-num{font-size:16px;line-height:1.55}
.fc-list h3{margin:0 0 4px;font-size:19px}
.fc-list p{font-size:15px;line-height:1.6}

/* 5 케이스 스터디: 세 칸 카드(사진 → 이름 → 꼬리표 → 시설·과제·해결) 두 묶음 */
.fc-h2-next{margin-top:56px}
.fc-cases{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:12px}
.fc-case .fc-ph{aspect-ratio:16/10}
.fc-case h3{margin:16px 0 8px;font-size:19px}
.fc-tag{display:inline-block;padding:3px 12px;border:1.5px solid var(--ink);border-radius:999px;font-size:13.5px;font-weight:600;line-height:1.5;color:var(--ink)}
.fc-tl{list-style:none;margin:18px 0 0;padding:0}
.fc-tl li{position:relative;padding:0 0 16px 28px}
.fc-tl li:last-child{padding-bottom:0}
.fc-tl li::before{content:"";position:absolute;left:0;top:3px;width:15px;height:15px;box-sizing:border-box;border:1.5px solid var(--ink);border-radius:50%;background:var(--bg);z-index:1}
.fc-tl li::after{content:"";position:absolute;left:7px;top:10px;bottom:-4px;width:1.5px;background:var(--ink)}
.fc-tl li:last-child::after{display:none}
.fc-tl li.sol::before{background:var(--ink)}
.fc-tl small{display:block;font-size:13px;line-height:1.6;color:var(--muted)}
.fc-tl p{font-size:15.5px;line-height:1.55;color:var(--ink)}
.fc-tl .sol p{font-weight:700}

/* 6 작업 매뉴얼: 단면도(①②③) + 항목 3개(사진 + 위치·방법·주의/확인) */
.fc-manual{display:grid;grid-template-columns:330px 1fr;gap:40px;align-items:start;margin-top:12px}
.fc-section{position:sticky;top:84px;margin:0}
.fc-section img{width:100%;height:auto;border-radius:12px;background:#fff}
.fc-section figcaption{margin-top:8px;font-size:13px;color:var(--muted)}
.fc-mans{display:grid;gap:36px}
.fc-man{display:grid;grid-template-columns:210px 1fr;column-gap:22px;align-items:start}
.fc-man .fc-ph{grid-row:span 2;aspect-ratio:4/3}
.fc-man h3{display:flex;align-items:center;gap:10px;margin:0;padding-bottom:12px;border-bottom:1.5px solid var(--ink);font-size:19px}
.fc-badge{flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.fc-dl{margin:0}
.fc-dl div{display:grid;grid-template-columns:44px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.fc-dl dt{font-size:14.5px;color:var(--muted)}
.fc-dl dd{margin:0;font-size:15.5px;line-height:1.6}

/* 7 추가 제안: 장비 사진 세 칸 */
.fc-equips{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:12px}
.fc-equip .fc-ph{aspect-ratio:8/7;margin-bottom:16px}
.fc-equip h3{margin:0 0 6px;padding-top:12px;border-top:2px solid var(--ink);font-size:18px}
.fc-equip p{font-size:15px;line-height:1.6}

@media (max-width:760px){
  .fc-about{grid-template-columns:1fr;gap:36px}
  .fc-certs{grid-template-columns:repeat(4,1fr);gap:8px}
  .fc-certs figcaption{font-size:11.5px;line-height:1.35}
  .fc-refs{grid-template-columns:1fr 1fr;gap:24px}
  .fc-ref-pic{grid-column:1/-1;max-width:420px}
  .fc-flow{grid-template-columns:1fr 1fr;gap:28px 24px}
  .fc-flow li+li::before{display:none}
  .fc-loop{display:none}
  .fc-flow::after{content:"↺ 매월 반복";grid-column:1/-1;font-size:14px;font-weight:700;color:var(--ink)}
  .fc-manual{grid-template-columns:1fr;gap:28px}
  .fc-section{position:static;max-width:340px}
  .fc-man{grid-template-columns:1fr}
  .fc-man .fc-ph{grid-row:auto;aspect-ratio:16/10;margin-bottom:14px}
  .fc-cases,.fc-equips{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .fc-group{padding-left:34px}
  .fc-sum{padding-left:34px}
  .fc-op{width:24px;height:24px;font-size:15px}
  .fc-group li{font-size:15px}
  .fc-group li b{display:block;margin:0}
  .fc-partner{padding:12px 20px;border-radius:16px;font-size:15px}
  .fc-partner b{font-size:20px}
  .fc-refs{grid-template-columns:1fr}
  .fc-scope{grid-template-columns:1fr;gap:18px}
  .fc-scope-item{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:center}
  .fc-icon{width:64px;height:64px;margin:0}
  .fc-flow{grid-template-columns:1fr;gap:0;border-top:2px solid var(--ink)}
  .fc-flow li{display:grid;grid-template-columns:36px 1fr;column-gap:6px;padding:14px 0;border-top:0;border-bottom:1px solid var(--line)}
  .fc-flow .fc-num{grid-row:span 2;margin:0;font-size:15px;line-height:1.6}
  .fc-flow h3{margin:0 0 2px;font-size:17px}
  .fc-flow h3,.fc-flow p{grid-column:2}
  .fc-flow::after{padding-top:12px}
  .fc-base{flex-direction:column;gap:10px;padding:18px 20px}
  .fc-admin{grid-template-columns:1fr;gap:28px}
  .fc-report{order:0;max-width:420px}
  .fc-cases,.fc-equips{grid-template-columns:1fr;gap:40px}
  .fc-h2-next{margin-top:44px}
}

/* =====================================================================
   유입차단 (entry-blocking.html) 전용 — 모든 클래스 eb- 접두어 (2026-10-31 대표 문구)
   2026-10-31 대표 요청: 줄글 + 사진 위주. 카드·이름표·체크·박스 없음. 전 블록은 99-보관/08-시안-2026-10-31-유입차단줄글전/
   색은 위 :root 공통 토큰만 쓴다. 사진 자리(gr-ph)·더 보기(hm-more)는 있는 부품을 같이 쓴다.
   ===================================================================== */
.eb-hero{padding-block:56px}
.eb-hero h1{font-size:clamp(32px,5.2vw,46px);font-weight:700;line-height:1.3;margin:0}
.eb-sub{margin-top:16px;font-size:19px;line-height:1.6;color:var(--fg)}
.eb-sub b{color:var(--ink)}
@media (max-width:600px){.eb-hero{padding-block:36px 40px}}
.eb-text>*+*{margin-top:14px}

/* 큰 사진 (유입차단이란 · 재료) */
.eb-main{margin:28px 0 0}
.eb-main .gr-ph{aspect-ratio:16/9}
.eb-after{margin-top:28px}

/* 본문 그대로의 목록 (특징 · 이용 고객) */
.eb-list{margin:0;padding-left:1.3em}
.eb-list li{padding-left:.2em}
.eb-list li+li{margin-top:10px}
.eb-list li::marker{color:var(--muted)}

/* 차단 위치·재료 사진: 독일바퀴의 전·후 사진 묶음(gr-shots gr-shots-ba, gr-ba 뱃지)을 그대로 쓴다. 재료는 2장이라 PC 2칸 */
@media (min-width:681px){.eb-shots2{grid-template-columns:1fr 1fr}}
.eb-shots2{margin-bottom:4px}

@media (max-width:560px){
  .eb-sub{font-size:17px}
}

/* 가격표: 독일바퀴 가격표(gr-price)를 두 칸으로(기존 가격만). 할인은 표 아래 소제목 + 목록 */
.eb-price{margin:20px 0 0}
.eb-price col.c1{width:52%}
.eb-price col.c2{width:48%}
.eb-price tbody th small{margin-left:6px;font-size:13px;font-weight:400;color:var(--muted)}
.eb-h3{margin:36px 0 10px}
.eb-list b{color:var(--ink)}

/* 할인 목록: 평수 · 기존 가격 → 할인 가격을 칸 맞춰 정렬, 줄 간격 좁게 */
.eb-text>.eb-deal{margin-top:10px}
.eb-deal{list-style:none;margin:0;padding:0}
.eb-deal li{display:grid;grid-template-columns:9em auto auto auto;justify-content:start;align-items:baseline;column-gap:10px;line-height:1.6}
.eb-deal li+li{margin-top:6px}
.eb-deal span:first-child{color:var(--fg)}
.eb-deal span[aria-hidden]{color:var(--muted)}
.eb-deal b{color:var(--ink)}
@media (max-width:560px){.eb-deal li{grid-template-columns:8.2em auto auto auto;column-gap:8px}}

/* =====================================================================
   약관 (privacy.html · tos.html) 전용 — 모든 클래스 lg- 접두어 (2026-11-01 로컬 사이트 세션)
   실사이트 약관 문구를 그대로 옮긴 페이지. 조항이 많아 섹션을 나누지 않고 한 섹션 안에서 작은 제목으로 이어 쓴다.
   소개·비용·입주방역 줄글 페이지는 새 CSS 없이 있는 부품(gr-hero·gr-text·gr-price·eb-sub·eb-list·hm-more)만 쓴다.
   색은 위 :root 공통 토큰만 쓴다.
   ===================================================================== */
.lg-date{margin-top:14px;font-size:15px;color:var(--muted)}
.lg-body{font-size:15px;line-height:1.8}
.lg-body h2{font-size:20px;line-height:1.4;margin:44px 0 10px}
.lg-body h2:first-child{margin-top:0}
.lg-body h3{font-size:16px;margin:18px 0 6px}
.lg-body p+p,.lg-body p+ul,.lg-body ul+p,.lg-body p+.lg-box{margin-top:10px}
.lg-body ul{margin:8px 0 0;padding-left:1.3em}
.lg-body li+li{margin-top:4px}
.lg-box{padding:18px 20px;border-radius:12px;background:var(--soft)}
.lg-box ul{margin-top:6px}

/* ===== 입주방역 (move-in.html) 전용 — mi- ===== */
.eb-h3.mi-h3-first{margin-top:4px} /* 2026-11-02 h2 바로 아래 첫 소제목은 위 여백 줄임 */

/* ===== 블로그 (blog.html · blog-post.html) 전용 — bl- =====
   2026-11-05. 실서비스 블로그는 React(src/pages/Blog*.tsx)가 이 마크업 그대로 content/blog 글을 그린다. 공통 부품(eyebrow·hm-more·cta)은 그대로 쓴다. */
.bl-hero{padding-block:56px 8px}
.bl-hero h1{font-size:clamp(30px,5vw,40px);font-weight:700;line-height:1.3}
.bl-lead{margin-top:14px;color:var(--muted)}
@media (max-width:600px){.bl-hero{padding-block:36px 0}}

/* 목록: 왼쪽 글, 오른쪽 사진 */
.bl-list{list-style:none;margin:0;padding:0}
.bl-item+.bl-item{border-top:1px solid var(--line)}
.bl-item>a{display:grid;grid-template-columns:1fr 200px;gap:28px;align-items:center;padding:28px 0;text-decoration:none}
.bl-item:first-child>a{padding-top:8px}
.bl-item h2{font-size:21px;line-height:1.45;margin:0 0 8px}
.bl-item>a:hover h2{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.bl-ex{font-size:15px;line-height:1.65;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bl-meta{margin-top:10px;font-size:14px;color:var(--muted)}
.bl-thumb{aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--soft)}
.bl-thumb img{width:100%;height:100%;object-fit:cover}
.bl-empty{color:var(--muted)}
.bl-item>a.bl-nothumb{grid-template-columns:1fr}  /* 대표 사진이 없거나 안 뜨면 글만 (실서비스 React가 붙임) */
@media (max-width:600px){
  .bl-item>a{grid-template-columns:1fr 104px;gap:16px;padding:22px 0;align-items:start}
  .bl-item h2{font-size:17px;margin-bottom:6px}
  .bl-ex{font-size:14px}
  .bl-meta{font-size:13px;margin-top:8px}
  .bl-thumb{border-radius:8px}
}

/* 글 */
.bl-post-hero{padding-block:48px 0}
.bl-post-hero .eyebrow a{text-decoration:none}
.bl-post-hero .eyebrow a:hover{color:var(--ink)}
.bl-post-hero h1{font-size:clamp(28px,4.6vw,38px);font-weight:700;line-height:1.35}
.bl-post-hero .bl-meta{margin-top:14px}
.bl-cover{margin:28px 0 0;border-radius:14px;overflow:hidden;background:var(--soft)}
.bl-cover img{width:100%;aspect-ratio:16/9;object-fit:cover}
@media (max-width:600px){.bl-post-hero{padding-block:32px 0}.bl-cover{margin-top:22px;border-radius:10px}}
.bl-post{padding-top:32px}
.bl-body>*+*{margin-top:16px}
.bl-body h2{font-size:23px;line-height:1.4;margin-top:48px;margin-bottom:0}
.bl-body h3{font-size:19px;margin-top:32px;margin-bottom:0}
.bl-body h2 b,.bl-body h3 b{font-weight:inherit}
.bl-body b,.bl-body strong{color:var(--ink);font-weight:700}
.bl-body a{text-decoration:underline;text-underline-offset:3px}
.bl-body ul,.bl-body ol{margin-bottom:0;padding-left:1.3em}
.bl-body li+li{margin-top:6px}
.bl-body li::marker{color:var(--muted)}
.bl-body blockquote{margin-left:0;margin-right:0;padding-left:18px;border-left:3px solid var(--accent)}
.bl-body figure{margin-top:28px;margin-bottom:28px}
.bl-body figure img{width:100%;height:auto;border-radius:12px}
.bl-post .hm-more{margin-top:48px}
@media (max-width:600px){.bl-body h2{font-size:20px;margin-top:40px}}

/* ── 하단 상담 칸: 상담 요청(왼쪽) + 카톡(오른쪽)(2026-11-08 13:17·13:27 대표 요청) ── */
.cta-lead{margin:0 0 20px;font-size:17px;font-weight:600;line-height:1.55;color:var(--ink)}
.cta-row{display:flex;justify-content:center;align-items:stretch;gap:10px}
.cta-row .btn{margin-top:0}
.cta-req{justify-content:center;background:var(--bg);font-size:17px;padding:16px 24px;border-radius:14px}
.cta-req svg{width:20px;height:20px;flex:none}
.cta-short{display:none}
.cta-note a{color:var(--ink);font-weight:600;white-space:nowrap;text-underline-offset:3px}
/* 밤(20~08시)에는 상담 요청을 눈에 띄게: track.js가 html에 night를 붙인다 */
html.night .cta-row .cta-req{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
html.night .cta-row .btn{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink)}
@media (min-width:601px){.cta-row>a{width:260px}} /* PC도 두 버튼 같은 크기(대표 13:38) */
/* 휴대폰도 한 줄(대표 13:27): 짧은 글자로 바꿔 두 버튼을 반씩 */
@media (max-width:600px){.cta-row{max-width:420px;margin:0 auto}.cta-row .btn,.cta-req{flex:1;width:auto;min-width:0;padding:16px 8px;font-size:16px}.cta-long{display:none}.cta-short{display:inline}}

/* ── 상담 요청 폼 contact.html(2026-11-08, 메뉴 "상담 요청"·하단 상담 칸에서 들어옴). cf- 접두어 ── */

.cf-lead{margin-top:16px;font-size:18px;line-height:1.55}
.cf-lead b{font-weight:600;color:var(--ink)}
.cf-lead2{margin-top:10px;font-size:16px}
.cf-alt{margin-top:10px;font-size:15px;color:var(--muted)}
.cf-alt a{color:var(--ink);font-weight:600;text-underline-offset:3px}
.cf-sec{padding-top:0}
.cf{max-width:560px}
.cf fieldset{border:0;margin:0;padding:0;min-width:0}
.cf-row+.cf-row{margin-top:28px}
.cf legend,.cf-label{display:block;padding:0;margin-bottom:10px;font-size:16px;font-weight:700;color:var(--ink)}
.cf legend small,.cf-label small{margin-left:6px;font-size:14px;font-weight:500;color:var(--muted)}
.cf-chips{display:flex;flex-wrap:wrap;gap:8px}
.cf-chips label{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1.5px solid var(--line);border-radius:999px;background:var(--bg);font-size:15px;font-weight:600;color:var(--fg);cursor:pointer}
.cf-chips input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}
.cf-chips label:has(input:checked){border-color:var(--ink);background:var(--accent-soft);color:var(--ink)}
.cf-chips label:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:2px}
.cf input[type="text"],.cf input[type="tel"],.cf input[type="email"],.cf textarea{display:block;width:100%;min-height:48px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--bg);color:var(--fg);font:inherit;font-size:16px;line-height:1.5}
.cf textarea{resize:vertical;line-height:1.6}
.cf input:focus,.cf textarea:focus{outline:none;border-color:var(--ink)}
.cf ::placeholder{color:var(--muted);opacity:.8}
.cf .cf-short{max-width:260px}
/* 답변 방법에 따라 보이는 칸(필수 여부는 페이지 스크립트가 맞춘다) */
.cf-if-email,.cf-if-tel,.cf-opt{display:none}
.cf:has(input[name="reply"][value="이메일"]:checked) .cf-if-email{display:block}
.cf:has(input[name="reply"][value="전화"]:checked) .cf-if-tel{display:block}
.cf:has(input[name="reply"][value="이메일"]:checked) .cf-opt{display:inline}
.cf-agree{padding:18px 20px;border-radius:12px;background:var(--soft);font-size:14px;color:var(--muted)}
.cf-agree label{display:flex;align-items:flex-start;gap:10px;font-size:16px;font-weight:700;color:var(--ink);cursor:pointer}
.cf-agree label small{margin-left:4px;font-size:14px;font-weight:500;color:var(--muted)}
.cf-agree input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--ink)}
.cf-agree ul{margin:10px 0 0;padding-left:1.2em}
.cf-agree p{margin-top:8px}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cf-submit{width:100%;margin-top:28px;font-size:18px;padding:18px 24px;border-radius:14px}
.cf-submit:disabled{opacity:.6;cursor:default}
.cf-error{margin-top:12px;font-size:15px;font-weight:600;color:var(--ink)}
.cf-done{max-width:560px;padding:28px 24px;border-radius:16px;background:var(--soft);scroll-margin-top:120px}
.cf-done:focus{outline:none}
.cf-done h2{margin-bottom:12px}
.cf-done p+p{margin-top:8px}
.cf-done .cf-id{font-size:18px;color:var(--ink)}
.cf-done .btn{margin-top:20px}
@media (max-width:600px){.cf-done .btn{width:100%}}
/* 상담 요청 폼: 연락처만으로 접수, 나머지는 펼쳐서 선택 입력 */
.cf-more summary{padding-block:10px;font-size:16px;font-weight:700;color:var(--ink);cursor:pointer}
.cf-more summary small{margin-left:6px;font-size:14px;font-weight:500;color:var(--muted)}
.cf-more summary+.cf-row{margin-top:14px}
