/* ==========================================================================
   guide-v1 — 2026-11-20
   /services(간판 가이드) · /process(시공 과정) 전용.
   색은 site.css · brand-v2.css 의 명함 색(짙은 초록 · 주황 · 코랄)을 그대로 쓴다.
   ========================================================================== */
:root{--g:#173A36;--g2:#21504A;--or:#F39A2B;--cr:#C23A1C;--sand:#F4F7F5;--cream:#EDEBE4}

.gd-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font-size:13.5px;font-weight:700;color:var(--cr);letter-spacing:-.01em}
.gd-eyebrow::before{content:"";width:18px;height:2px;background:currentColor}
.gd-eyebrow.light{color:var(--or)}

/* 머리 */
.gd-hero{padding:clamp(56px,7vw,104px) 0 clamp(36px,4vw,56px);background:
  radial-gradient(1200px 380px at 85% -10%,rgba(23,58,54,.07),transparent 70%),#fff}
.gd-hero h1{margin:0;font-size:clamp(30px,4vw,54px);line-height:1.22;font-weight:700;letter-spacing:-.035em;color:var(--ink,#1a1c20)}
.gd-hero h1 em{font-style:normal;color:var(--g);background:linear-gradient(transparent 62%,rgba(243,154,43,.32) 62%)}
.gd-sub{margin:22px 0 0;max-width:640px;font-size:clamp(15px,1.15vw,17.5px);line-height:1.8;color:#555c63}
@media (max-width:760px){ .pc{display:none} }

/* 바로가기 */
.gd-toc{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-block:1px solid #e6e8ea}
.gd-toc-in{display:flex;gap:6px;overflow-x:auto;padding:10px 0;scrollbar-width:none}
.gd-toc-in::-webkit-scrollbar{display:none}
.gd-toc a{flex:0 0 auto;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:600;color:#495057;text-decoration:none;transition:background .25s,color .25s}
.gd-toc a:hover{background:var(--sand);color:var(--g)}
.gd-toc a.on{background:var(--g);color:#fff}

/* 종류 블록 */
.gd-types{padding:clamp(40px,5vw,80px) 0}
.gd-type{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(28px,5vw,80px);align-items:center;padding:clamp(40px,5vw,72px) 0;border-bottom:1px solid #eef0f1;scroll-margin-top:70px}
.gd-type:last-child{border-bottom:0}
.gd-type.rev .gd-ph{order:2}
.gd-ph{position:relative;margin:0;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#e9eeec,#dfe6e3)}
.gd-ph img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.04);transition:transform 1.4s var(--ease,ease)}
.gd-ph.in img{transform:scale(1)}
#special .gd-ph img{object-position:50% 0} /* 세로 돌출 간판은 위쪽이 보여야 한다 */
.gd-ph-no{position:absolute;left:18px;top:14px;z-index:2;font-size:clamp(40px,5vw,64px);font-weight:800;line-height:1;color:#fff;letter-spacing:-.04em;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.gd-ph figcaption{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:40px 18px 14px;font-size:13px;color:rgba(255,255,255,.92);background:linear-gradient(transparent,rgba(0,0,0,.5))}
.gd-ph figcaption:empty{display:none}
.gd-en{margin:0 0 8px;font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--or)}
.gd-tx h2{margin:0;font-size:clamp(26px,2.6vw,38px);font-weight:700;letter-spacing:-.03em;color:var(--g)}
.gd-lead{margin:10px 0 0;font-size:clamp(16px,1.3vw,19px);font-weight:600;color:#2b3035;letter-spacing:-.02em}
.gd-body{margin:16px 0 0;font-size:15.5px;line-height:1.85;color:#5a6168}
.gd-spec{margin:24px 0 0;display:grid;border-top:1px solid #e6e8ea}
.gd-spec div{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #e6e8ea}
.gd-spec dt{font-size:13.5px;font-weight:700;color:var(--g)}
.gd-spec dd{margin:0;font-size:14.5px;color:#343a40}
.gd-pc{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.gd-pc>div{padding:18px;border-radius:14px;background:var(--sand)}
.gd-pc h3{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--g)}
.gd-pc ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.gd-pc li{position:relative;padding-left:20px;font-size:14px;line-height:1.6;color:#454b52}
.gd-pc li::before{content:"";position:absolute;left:0;top:.5em;width:12px;height:7px;border-left:2px solid var(--g);border-bottom:2px solid var(--g);transform:rotate(-45deg) translateY(-2px)}
.gd-pc ul.care li::before{width:6px;height:6px;border:0;border-radius:50%;background:var(--or);transform:none;left:3px;top:.6em}
@media (max-width:900px){
  .gd-type{grid-template-columns:1fr;gap:24px}
  .gd-type.rev .gd-ph{order:0}
}
@media (max-width:520px){ .gd-pc{grid-template-columns:1fr} .gd-spec div{grid-template-columns:84px 1fr} }

/* 공통 머리글 */
.gd-head{max-width:640px;margin-bottom:clamp(28px,3vw,44px)}
.gd-head h2{margin:0;font-size:clamp(24px,2.4vw,34px);line-height:1.3;font-weight:700;letter-spacing:-.03em;color:var(--ink,#1a1c20)}
.gd-head p:not(.gd-eyebrow){margin:12px 0 0;font-size:15px;line-height:1.75;color:#6c757d}

/* 비교표 */
.gd-compare{padding:clamp(64px,7vw,110px) 0;background:var(--sand)}
.gd-table{overflow-x:auto;border-radius:18px;background:#fff;box-shadow:0 1px 0 #e6e8ea,0 18px 40px -28px rgba(23,58,54,.35)}
.gd-table table{width:100%;min-width:720px;border-collapse:collapse}
.gd-table th,.gd-table td{padding:16px 18px;text-align:left;font-size:14.5px;border-bottom:1px solid #eef0f1;white-space:nowrap}
.gd-table thead th{font-size:13px;font-weight:700;color:#6c757d;background:#fbfcfc}
.gd-table tbody th{font-weight:700;color:var(--g)}
.gd-table tr:last-child>*{border-bottom:0}
.gd-table td.fit{color:#495057;white-space:normal}
.gd-dots{display:inline-block;vertical-align:middle;position:relative;width:61px;height:9px;background:radial-gradient(circle 4.5px at 4.5px 50%,#dfe4e2 96%,transparent) 0 0/13px 9px repeat-x}
.gd-dots::before{content:"";position:absolute;left:0;top:0;bottom:0;width:calc(var(--n) * 13px - 4px);background:radial-gradient(circle 4.5px at 4.5px 50%,var(--g) 96%,transparent) 0 0/13px 9px repeat-x}

/* 고르는 법 */
.gd-choose{padding:clamp(64px,7vw,110px) 0}
.gd-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gd-cards article{padding:26px 22px;border:1px solid #e6e8ea;border-radius:18px;transition:border-color .3s,transform .3s,box-shadow .3s}
.gd-cards article:hover{border-color:var(--g);transform:translateY(-4px);box-shadow:0 20px 40px -30px rgba(23,58,54,.5)}
.gd-cards b{display:block;font-size:14px;color:var(--or);font-weight:800}
.gd-cards h3{margin:14px 0 8px;font-size:18px;font-weight:700;color:var(--g);letter-spacing:-.02em}
.gd-cards p{margin:0;font-size:14.5px;line-height:1.75;color:#5a6168}
@media (max-width:980px){ .gd-cards{grid-template-columns:1fr 1fr} }
@media (max-width:520px){ .gd-cards{grid-template-columns:1fr} }

/* 묻고 답하기 */
.gd-faq{padding:clamp(64px,7vw,110px) 0;border-top:1px solid #eef0f1}
.gd-faq-in{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(24px,5vw,80px);align-items:start}
.gd-qa details{border-bottom:1px solid #e6e8ea}
.gd-qa details:first-child{border-top:1px solid #e6e8ea}
.gd-qa summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:20px 2px;font-size:16.5px;font-weight:600;color:#212529;letter-spacing:-.02em}
.gd-qa summary::-webkit-details-marker{display:none}
.gd-qa summary::after{content:"";flex:0 0 auto;width:10px;height:10px;margin-top:6px;border-right:2px solid var(--g);border-bottom:2px solid var(--g);transform:rotate(45deg);transition:transform .3s}
.gd-qa details[open] summary::after{transform:rotate(-135deg)}
.gd-qa details p{margin:0;padding:0 2px 22px;font-size:15px;line-height:1.8;color:#5a6168}
@media (max-width:860px){ .gd-faq-in{grid-template-columns:1fr} }

/* 사례 링크 */
.gd-more{padding:0 0 clamp(56px,6vw,90px)}
.gd-more-in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:26px 30px;border-radius:18px;background:var(--sand)}
.gd-more p{margin:0;font-size:16px;font-weight:600;color:#343a40}
.gd-more a{font-weight:700;color:var(--g);text-decoration:none}
.gd-more a span{display:inline-block;transition:transform .3s}
.gd-more a:hover span{transform:translateX(4px)}

/* 상담 띠 */
.gd-cta{padding:clamp(64px,7vw,104px) 0;background:var(--g);color:#fff;position:relative;overflow:hidden}
.gd-cta::after{content:"";position:absolute;right:-60px;bottom:-80px;width:360px;height:340px;opacity:.07;background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='17 17 220 205'%3E%3Cpath d='M17 222V80L127 17l110 63v51h-19V91L127 39 37 91v113h66v18z'/%3E%3Cpath d='M122 104l35 20v73l-35 23z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='17 17 220 205'%3E%3Cpath d='M17 222V80L127 17l110 63v51h-19V91L127 39 37 91v113h66v18z'/%3E%3Cpath d='M122 104l35 20v73l-35 23z'/%3E%3C/svg%3E") center/contain no-repeat}
.gd-cta-in{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px}
.gd-cta h2{margin:0;font-size:clamp(24px,2.6vw,36px);line-height:1.3;font-weight:700;letter-spacing:-.03em}
.gd-cta p:not(.gd-eyebrow){margin:14px 0 0;max-width:520px;font-size:15.5px;line-height:1.75;color:rgba(255,255,255,.75)}
.gd-cta-btns{display:flex;flex-wrap:wrap;gap:10px}
.gd-btn{display:inline-flex;align-items:center;gap:8px;min-height:54px;padding:0 24px;border-radius:999px;font-size:15.5px;font-weight:700;text-decoration:none;transition:transform .25s,background .25s}
.gd-btn:hover{transform:translateY(-2px)}
.gd-btn.kko{background:#FEE500;color:#191600}
.gd-btn.kko::before{content:"";width:18px;height:17px;background:#191600;-webkit-mask:var(--kko-ico) center/contain no-repeat;mask:var(--kko-ico) center/contain no-repeat}
.gd-btn.line{border:1px solid rgba(255,255,255,.35);color:#fff}
.gd-btn.line:hover{background:rgba(255,255,255,.08)}

/* ---------- 시공 과정 ---------- */
.pr-flow{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0 0;padding:0;list-style:none;counter-reset:f}
.pr-flow li{display:inline-flex;align-items:center;gap:8px;padding:9px 14px 9px 10px;border-radius:999px;background:var(--sand);font-size:14px;font-weight:600;color:#343a40}
.pr-flow li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--g);color:#fff;font-size:11px;font-weight:700}
.pr-steps{padding:clamp(40px,5vw,72px) 0 clamp(64px,7vw,110px)}
.pr-list{position:relative;margin:0;padding:0;list-style:none;max-width:920px}
.pr-list::before,.pr-list::after{content:"";position:absolute;left:31px;top:8px;bottom:8px;width:2px;background:#e6e8ea}
.pr-list::after{background:var(--or);bottom:auto;height:calc(var(--p,0) * (100% - 16px));transition:height .15s linear}
.pr-step{position:relative;display:grid;grid-template-columns:64px 1fr;gap:clamp(18px,3vw,36px);padding:0 0 clamp(34px,4vw,54px)}
.pr-step:last-child{padding-bottom:0}
.pr-ic{position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#fff;border:2px solid #e6e8ea;transition:border-color .4s,background .4s}
.pr-ic svg{width:28px;height:28px;fill:none;stroke:var(--g);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .4s}
.pr-step.in .pr-ic{border-color:var(--g);background:var(--g)}
.pr-step.in .pr-ic svg{stroke:#fff}
.pr-no{margin:6px 0 6px;font-size:13px;font-weight:700;color:var(--or);letter-spacing:.01em}
.pr-tx h3{margin:0;font-size:clamp(20px,1.8vw,25px);font-weight:700;letter-spacing:-.03em;color:var(--g)}
.pr-tx>p{margin:12px 0 0;font-size:15.5px;line-height:1.85;color:#5a6168}
.pr-who{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 0}
.pr-who div{padding:14px 16px;border-radius:12px;background:var(--sand)}
.pr-who div:last-child{background:rgba(23,58,54,.07)}
.pr-who dt{font-size:12.5px;font-weight:700;color:#6c757d;margin-bottom:4px}
.pr-who div:last-child dt{color:var(--g)}
.pr-who dd{margin:0;font-size:14.5px;font-weight:600;color:#343a40;line-height:1.55}
@media (max-width:620px){
  .pr-list::before,.pr-list::after{left:21px}
  .pr-step{grid-template-columns:44px 1fr;gap:16px}
  .pr-ic{width:44px;height:44px}
  .pr-ic svg{width:21px;height:21px}
  .pr-who{grid-template-columns:1fr}
}
.pr-ready{padding:clamp(64px,7vw,110px) 0;background:var(--sand)}
.pr-ready-in{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(24px,5vw,80px);align-items:start}
.pr-check{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pr-check li{padding:22px 20px;border-radius:16px;background:#fff;box-shadow:0 1px 0 #e6e8ea}
.pr-check b{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--g)}
.pr-check b::before{content:"";width:20px;height:20px;flex:0 0 auto;border-radius:6px;background:var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.pr-check span{display:block;margin-top:8px;font-size:14px;line-height:1.6;color:#6c757d}
@media (max-width:860px){ .pr-ready-in{grid-template-columns:1fr} }
@media (max-width:520px){ .pr-check{grid-template-columns:1fr} }

/* 나타나기 */
.gd-js .gd-rv{opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease,ease),transform .8s var(--ease,ease)}
.gd-js .gd-rv.in{opacity:1;transform:none}
.gd-js .gd-cards .gd-rv:nth-child(2){transition-delay:.08s}
.gd-js .gd-cards .gd-rv:nth-child(3){transition-delay:.16s}
.gd-js .gd-cards .gd-rv:nth-child(4){transition-delay:.24s}
@media (prefers-reduced-motion:reduce){
  .gd-js .gd-rv{opacity:1;transform:none;transition:none}
  .gd-ph img{transform:none;transition:none}
}

/* 2026-11-19 위 메뉴(header)가 따라오게 되면서 목차가 그 아래에 붙도록. 높이는 guide-v1.js 가 잰어 넣는다 */
.gd-toc{top:var(--hdh,62px)}

/* 2026-11-23 비교표: 폰에서는 옆으로 밀어야 보이던 표를 종류별 카드로 (한 화면에 한 종류 전체 비교) */
@media (max-width:620px){
  .gd-table{overflow:visible!important;border:0!important;background:none!important;box-shadow:none!important}
  .gd-table table,.gd-table tbody{display:block!important;width:100%!important;min-width:0!important}
  .gd-table thead{display:none!important}
  .gd-table tr{display:grid!important;grid-template-columns:1fr 1fr;gap:10px 16px;padding:16px;margin:0 0 10px;border:1px solid #e6e8ea;border-radius:14px;background:#fff}
  .gd-table th[scope=row]{grid-column:1/-1;padding:0!important;border:0!important;font-size:16.5px;font-weight:800;text-align:left;background:none!important}
  .gd-table td{display:flex!important;flex-direction:column;gap:4px;padding:0!important;border:0!important;text-align:left!important;background:none!important}
  .gd-table td::before{content:attr(data-label);font-size:12px;font-weight:600;color:#6a7371}
  .gd-table td.fit{grid-column:1/-1;flex-direction:row;align-items:baseline;gap:8px;padding-top:10px!important;border-top:1px dashed #e1e4e6!important;font-size:14px;font-weight:600}
  .gd-table td.fit::before{content:"추천";color:#F39A2B;font-weight:800;flex:0 0 auto}
}

/* 2026-11-23 간판 달아보기(/try) 버튼 */
.gd-try{display:inline-flex;align-items:center;gap:8px;margin-top:22px;min-height:50px;padding:0 22px;border-radius:999px;background:#F39A2B;color:#1a1200;font-size:15px;font-weight:800;text-decoration:none;box-shadow:0 12px 28px -14px rgba(243,154,43,.9)}

/* 2026-11-24 폰: 비교표를 카드 6장 대신 한 화면 표로 (위 11-23 카드 규칙을 덮어쓴다), 장단점은 접기, 사진은 낮게, 시공 과정 고객님/해민광고는 나란히 */
@media (max-width:620px){
  .gd-table table{display:table!important;width:100%!important;table-layout:fixed;border-collapse:collapse}
  .gd-table thead{display:table-header-group!important}
  .gd-table tbody{display:table-row-group!important}
  .gd-table tr{display:table-row!important;padding:0!important;margin:0!important;border:0!important;background:none!important}
  .gd-table th,.gd-table td{display:table-cell!important;padding:11px 2px!important;border:0!important;border-bottom:1px solid #eef0f1!important;vertical-align:middle;text-align:center!important;background:none!important}
  .gd-table td::before{content:none!important}
  .gd-table td.fit,.gd-table thead th:last-child{display:none!important}
  .gd-table thead th{font-size:12px;font-weight:700;color:#6a7371;white-space:nowrap}
  .gd-table thead th[data-s]{font-size:0}
  .gd-table thead th[data-s]::after{content:attr(data-s);font-size:12px}
  .gd-table thead th:first-child{width:34%;text-align:left!important}
  .gd-table th[scope=row]{text-align:left!important;font-size:14.5px!important;font-weight:800}
  .gd-table .fit-m{display:block;margin-top:3px;font-size:11px;font-weight:500;line-height:1.35;color:#8a9290}
  .gd-dots{width:41px;height:6px;background:radial-gradient(circle 3px at 3px 50%,#dfe4e2 96%,transparent) 0 0/9px 6px repeat-x}
  .gd-dots::before{width:calc(var(--n) * 9px - 3px);background:radial-gradient(circle 3px at 3px 50%,var(--g) 96%,transparent) 0 0/9px 6px repeat-x}
  .gd-ph{aspect-ratio:16/10}
  .gd-pcd{margin-top:16px;border:1px solid #e6e8ea;border-radius:12px;background:#fff;overflow:hidden}
  .gd-pcd>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:13px 16px;font-size:14px;font-weight:700;color:var(--g);cursor:pointer}
  .gd-pcd>summary::-webkit-details-marker{display:none}
  .gd-pcd>summary::after{content:"+";font-size:20px;font-weight:500;line-height:1}
  .gd-pcd[open]>summary::after{content:"−"}
  .gd-pcd .gd-pc{margin:0;padding:0 12px 12px;grid-template-columns:1fr}
  .pr-who{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  .pr-who > div{margin:0!important}
}
@media (min-width:621px){ .gd-pcd>summary{display:none} }
