/* 더하이엔드 줄눈 시공 본사 (2026-10-28 2판) — 화면 구성은 집닥 시공사례식(흰 바탕, 거르기 줄, 큰 사진 카드, 가운데 제목, 상세 720px 본문).
   메뉴는 시공사례(메인) · 고객후기 · 스토리 · 이벤트·혜택 4개. 색·마크·글꼴은 우리 것(아카데미와 같은 마크·Pretendard·주황 F07826).
   휴대폰 1열 · 태블릿 2열 · PC 3열 */
:root{
  --bg:#FFFFFF; --ink:#1D1D1D; --sub:#555555; --mute:#9A9A9A; --line:#E2E2E2; --pill:#EFEFEF; --soft:#F6F6F4;
  --or:#F07826; --or-d:#D35F12; --dark:#2B2B2B; --co:#1A1A1A;
  --max:1200px; --side:16px;
  --ease:cubic-bezier(.23,1,.32,1);
  --f:"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:140px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f);font-size:16px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere;padding-bottom:calc(60px + env(safe-area-inset-bottom))}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,select,input,textarea{font:inherit;color:inherit}
h1,h2,h3{margin:0;letter-spacing:-.02em;line-height:1.35}
.ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pc{display:none}

/* 맨 위 아카데미 띠 — 옛 명함·PDF로 오는 교육 손님 길 안내 */
.acad{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 10px;background:#111;color:#fff;font-size:13px;padding:7px 16px;text-align:center}
.acad b{color:#FFB37A;font-weight:600}
.acad span{color:#cfcac2;text-decoration:underline;text-underline-offset:3px}

/* 위 메뉴 줄 */
.top{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}
.top-in{max-width:var(--max);margin:0 auto;height:58px;padding:0 var(--side);display:flex;align-items:center;gap:8px}
.brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:18px;letter-spacing:-.03em;white-space:nowrap}
.gnb{display:none}
.top-r{display:flex;align-items:center;gap:8px;margin-left:auto}
.tb{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:8px;font-size:14px;font-weight:600;white-space:nowrap}
.tb .ic{width:17px;height:17px}
.tb-q{background:var(--or);color:#fff}
.tb-d{display:none;background:var(--dark);color:#fff}
.tm{display:flex;flex-direction:column;align-items:center;gap:1px;border:0;background:none;padding:2px;cursor:pointer}
.tm .ic{width:24px;height:24px}
.tm small{display:none;font-size:10px;color:var(--sub)}

/* 휴대폰 아래 메뉴 */
.tab{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.tab a{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 0 6px;font-size:11.5px;color:#8a8a8a}
.tab .ic{width:22px;height:22px}
.tab a.on{color:var(--ink);font-weight:700}
.tab a.on .ic{stroke-width:2.2}

/* 첫 화면 배너 */
.bn{background:#F3EEE8}
.bn-in{max-width:var(--max);margin:0 auto;padding:22px var(--side) 24px;display:grid;gap:18px}
.bn-k{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;font-size:13px;font-weight:700;color:var(--or-d)}
.bn h1{font-size:26px;font-weight:800;line-height:1.3}
.bn-s{margin:10px 0 0;font-size:15px;color:#3d3a36}
.bn-f{margin:10px 0 0;font-size:12.5px;color:#7a746c}
.bn-f small{font-size:inherit}
.bn-p{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.bn-p figure{margin:0;position:relative;overflow:hidden;border-radius:6px;background:#e4ded6}
.bn-p img{width:100%;aspect-ratio:4/3;object-fit:cover}
.bn-p figcaption{position:absolute;left:8px;top:8px;background:#111;color:#fff;font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px}
.bn-p figure+figure figcaption{background:var(--or)}

.ph1{max-width:var(--max);margin:0 auto;padding:22px var(--side) 6px}
.ph1 h1{font-size:22px;font-weight:700}
.ph1 p{margin:4px 0 0;color:var(--sub);font-size:14.5px}

/* 거르기 줄 — 지역 · 공사 종류 · 공간 */
.fbar{position:sticky;top:58px;z-index:20;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.06);border-bottom:1px solid var(--line)}
.fbar-in{max-width:var(--max);margin:0 auto;padding:0 var(--side);display:grid;grid-template-columns:1.1fr 1fr 1fr}
.f{position:relative;display:flex;flex-direction:column;gap:1px;padding:10px 0 10px 12px;cursor:pointer;min-width:0}
.f:first-child{padding-left:0}
.f+.f::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:var(--line)}
.fl-l{font-size:13px;font-weight:600;color:var(--or)}
.fl-v{display:flex;align-items:center;gap:3px;font-size:15.5px;min-width:0}
.fl-v b{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fl-v .ic{width:16px;height:16px;fill:var(--ink);stroke:#fff;stroke-width:1.6}
.f select{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}

/* 목록 */
.list,.rel,.faq{max-width:var(--max);margin:0 auto;padding:0 var(--side)}
.lh{display:flex;align-items:center;gap:8px;padding:18px 0 16px;overflow-x:auto;scrollbar-width:none}
.lh::-webkit-scrollbar{display:none}
.lh>b{font-size:14px;font-weight:600;white-space:nowrap;margin-right:4px}
.chip{position:relative;display:inline-flex;align-items:center;gap:4px;height:34px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:14px;color:var(--sub);white-space:nowrap;cursor:pointer}
.chip .ic{width:16px;height:16px}
.chip select{position:absolute;inset:0;opacity:0;cursor:pointer}
.chip-r{color:var(--or-d);border-color:#f5c9a8}
.chip-r[hidden]{display:none}
.cards{display:grid;grid-template-columns:1fr;gap:34px 24px}
.card{min-width:0}
.card[hidden]{display:none}
.cph{position:relative;margin:0 calc(var(--side)*-1);background:var(--soft);overflow:hidden}
.trk{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.trk::-webkit-scrollbar{display:none}
.trk a{flex:0 0 100%;scroll-snap-align:start}
.trk img{width:100%;aspect-ratio:3/2;object-fit:cover}
.cp,.cn{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 1px 4px rgba(0,0,0,.18);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s ease}
.cp{left:10px}.cn{right:10px}
.cp .ic,.cn .ic{width:18px;height:18px}
.dots{position:absolute;left:0;right:0;bottom:9px;display:flex;justify-content:center;gap:5px;pointer-events:none}
.dots i{width:6px;height:6px;border-radius:999px;background:rgba(255,255,255,.55);transition:background-color .2s ease}
.dots i.on{background:#fff}
.ct{display:block;text-align:center;padding:14px 4px 0}
.ct h3{font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct p{margin:3px 0 0;font-size:14px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.empty{text-align:center;color:var(--sub);padding:40px 0}
.empty[hidden]{display:none}
.more{display:flex;justify-content:center;padding:40px 0 56px}
.more[hidden]{display:none}
.more button,.more a{display:inline-flex;align-items:center;justify-content:center;width:100%;max-width:240px;height:44px;border:1px solid #D4D4D4;border-radius:8px;background:#fff;font-size:15.5px;cursor:pointer}

/* 고객후기 · 이벤트 빈 칸, 스토리 */
.blank{text-align:center;padding:56px 0 0}
.blank b{font-size:18px}
.blank p{color:var(--sub);margin:10px 0 0}
.rvs{display:grid;gap:14px;padding:20px 0 56px}
.rv,.ev{border:1px solid var(--line);border-radius:12px;padding:18px}
.rv-s{color:var(--or);margin:0}
.rv-m{color:var(--mute);font-size:13.5px;margin:6px 0 0}
.tps{display:grid;gap:18px;padding:20px 0 48px}
.tp{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:start;padding-bottom:18px;border-bottom:1px solid var(--line)}
.tp img{width:112px;height:112px;object-fit:cover;border-radius:8px}
.tp-k{font-size:12.5px;font-weight:700;color:var(--or-d)}
.tp h3{font-size:16.5px;font-weight:700;margin:3px 0 0}
.tp p{margin:6px 0 0;font-size:14.5px;color:var(--sub);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 자주 묻는 질문 */
.faq{padding-bottom:56px}
.faq h2{font-size:20px;font-weight:700;margin-bottom:12px}
.qas{border-top:1px solid var(--ink)}
.qa{border-bottom:1px solid var(--line)}
.qa summary{display:flex;align-items:center;gap:10px;padding:16px 2px;font-weight:600;cursor:pointer;list-style:none}
.qa summary::-webkit-details-marker{display:none}
.qa summary::before{content:"Q";color:var(--or);font-weight:800}
.qa summary .ic{margin-left:auto;transition:transform .2s var(--ease)}
.qa[open] summary .ic{transform:rotate(180deg)}
.qa p{margin:0;padding:0 2px 18px 22px;color:var(--sub)}

/* 사례 상세 */
.dt{max-width:var(--max);margin:0 auto}
.cov{background:var(--soft)}
.cov img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.dh{text-align:center;padding:26px var(--side) 6px}
.dh h1{font-size:21px;font-weight:700}
.loc{display:flex;justify-content:center;align-items:center;gap:4px;margin:10px 0 0;font-size:15px}
.loc .ic{width:17px;height:17px;fill:var(--ink);stroke:#fff;stroke-width:1.6}
.pills{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0 0}
.pills span{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;background:var(--pill);color:var(--sub);font-size:14px}
.dbs{display:flex;justify-content:center;gap:8px;margin:24px 0 0}
.db{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 16px;border:1px solid #D9D9D9;border-radius:8px;background:#fff;color:var(--sub);font-size:15.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.db .ic{width:18px;height:18px}
.db-q{background:var(--or);border-color:var(--or);color:#fff}
.dbd{max-width:720px;margin:0 auto;padding:36px var(--side) 0}
.dq{background:var(--soft);border-radius:10px;padding:18px;margin:30px 0 0}
.sty{margin:0 0 26px;font-size:16.5px;line-height:1.8;color:#2b2b2b}
.dbd figure+.sty{margin-top:4px}
.dq b{display:block;font-size:16.5px}
.dq p{margin:8px 0 0;color:#3d3a36}
.dbd figure{margin:0 calc(var(--side)*-1) 14px}
.dbd figure img{width:100%;height:auto}
.pills-l{justify-content:flex-start;margin:22px 0 0}
.dt-h{font-size:17px;font-weight:700;margin:36px 0 10px}
.info{width:100%;border-collapse:collapse;border-top:1px solid var(--ink);font-size:15px}
.info th,.info td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.info th{width:110px;font-weight:600;color:var(--sub);background:#FAFAFA}
.hq{display:flex;align-items:center;gap:12px;margin:36px 0 0;padding:14px;border:1px solid var(--line);border-radius:12px}
.hq img{border-radius:8px;border:1px solid var(--line);padding:6px;width:52px;height:52px;flex:none}
.hq div{flex:1;min-width:0}
.hq b{display:block;font-size:16px}
.hq span{display:block;font-size:13px;color:var(--sub)}
.hq a{flex:none;display:inline-flex;align-items:center;height:42px;padding:0 14px;border:1px solid #D4D4D4;border-radius:8px;font-size:15px}
.rel{padding-top:56px}
.rel h2{font-size:20px;font-weight:700;margin-bottom:18px}

/* 개인정보처리방침 */
.doc{max-width:760px;margin:0 auto;padding:32px var(--side) 56px}
.doc h1{font-size:24px}
.doc-d{color:var(--mute);font-size:14px}
.doc h2{font-size:17px;margin:28px 0 6px}
.doc p{margin:6px 0;color:#333}
.doc a{color:var(--or-d);text-decoration:underline}

/* 맨 아래 — 소식 · 지역 · 상담센터 3칸 + 진한 회사 정보 띠 */
.ft{background:var(--soft);border-top:1px solid var(--line);margin-top:8px}
.ft-in{max-width:var(--max);margin:0 auto;padding:30px var(--side);display:grid;gap:30px}
.fc h2{display:flex;justify-content:space-between;align-items:baseline;font-size:17px;font-weight:700;padding-bottom:10px;border-bottom:2px solid var(--ink);margin-bottom:6px}
.fc h2 a{font-size:13px;font-weight:500;color:var(--sub)}
.news,.fareas{list-style:none;margin:0;padding:0}
.news li a,.fareas li a{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.news span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news time{flex:none;color:var(--mute);font-size:13px}
.fc-img{width:100%;height:auto;aspect-ratio:16/7;object-fit:cover;border-radius:6px;margin:8px 0 2px}
.fareas b{font-weight:600}
.fareas span{color:var(--mute);font-size:13px}
.fnum{display:block;font-size:34px;font-weight:800;color:var(--or);letter-spacing:-.02em;margin:10px 0 4px}
.fc-call p{margin:4px 0;font-size:14px;color:var(--sub)}
.fc-call .as{color:var(--ink);font-weight:700}
.fbs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.fb{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:46px;border-radius:8px;background:#fff;border:1px solid #D4D4D4;font-size:15px;font-weight:600}
.fb:first-child{background:var(--dark);border-color:var(--dark);color:#fff}
.fb .ic{width:18px;height:18px}
.co{background:var(--co);color:#9d9d9d;font-size:13px}
.co-in{max-width:var(--max);margin:0 auto;padding:22px var(--side) 90px}
.co p{margin:0 0 6px}
.co-l{display:flex;flex-wrap:wrap;gap:4px 16px;margin-bottom:14px!important}
.co-l a{color:#d8d8d8}
.co-l b{color:#fff}
.co-t{color:#fff;font-weight:700;font-size:15px}
.co-t span{font-weight:400;color:#bdbdbd;margin-left:8px;font-size:13px}
.co-c{color:#777;font-size:12px}

/* 휴대폰 떠 있는 견적신청 */
.fab{position:fixed;right:14px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:25;display:inline-flex;align-items:center;height:50px;padding:0 24px;border-radius:999px;background:var(--or);color:#fff;font-size:16px;font-weight:700;box-shadow:0 6px 16px rgba(240,120,38,.35)}

/* 전체메뉴 */
.dw{margin:0 0 0 auto;width:min(380px,100vw);height:100dvh;max-height:none;padding:0 0 30px;border:0;overflow-y:auto}
.dw::backdrop{background:rgba(0,0,0,.4)}
.dw[open]{animation:dw-in .25s var(--ease)}
.dw-h{display:flex;justify-content:space-between;align-items:center;height:58px;padding:0 16px;border-bottom:1px solid var(--line)}
.dw-h button,.qf-h button{border:0;background:none;padding:6px;cursor:pointer}
.dw a{display:block;padding:12px 20px;font-size:15.5px}
.dw .dw-q{display:flex;align-items:center;gap:8px;margin:16px;padding:0 16px;height:48px;border-radius:10px;background:var(--soft);font-weight:700}
.dw-s{margin:14px 20px 2px;font-size:13px;color:var(--mute)}
@keyframes dw-in{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}

/* 견적 신청 */
.qf{width:100%;max-width:560px;height:100dvh;max-height:none;margin:0 auto;padding:0;border:0}
.qf::backdrop{background:rgba(0,0,0,.45)}
.qf form{display:flex;flex-direction:column;height:100%}
.qf-h{display:flex;justify-content:space-between;align-items:center;height:58px;padding:0 16px;border-bottom:1px solid var(--line);font-size:17px}
.qf-b{flex:1;overflow-y:auto;padding:18px 18px 24px}
.qf-s{margin:0 0 18px;padding:12px 14px;background:var(--soft);border-radius:8px;font-size:14px;color:var(--sub)}
.fl{display:block;border:0;margin:0 0 18px;padding:0;min-width:0}
.fl>span,.fl legend{display:block;padding:0;margin-bottom:7px;font-size:14.5px;font-weight:600}
.fl i,.ck-a i{color:var(--or);font-style:normal}
.fl input,.fl select,.fl textarea{width:100%;height:48px;padding:0 14px;border:1px solid #D4D4D4;border-radius:8px;background:#fff;font-size:16px}
.fl textarea{height:auto;padding:12px 14px;resize:vertical}
.fl input:focus,.fl select:focus,.fl textarea:focus{outline:2px solid var(--or);outline-offset:-1px;border-color:transparent}
.hint{margin:0;font-size:14px;color:var(--sub)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cks{display:flex;flex-wrap:wrap;gap:8px}
.ck{position:relative;cursor:pointer}
.ck input{position:absolute;opacity:0;width:1px;height:1px}
.ck span{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 14px;border:1px solid #D4D4D4;border-radius:999px;font-size:14.5px;background:#fff}
.ck .ic{width:16px;height:16px;display:none}
.ck input:checked+span{border-color:var(--or);color:var(--or-d);background:#FFF5EE;font-weight:600}
.ck input:checked+span .ic{display:block}
.ck input:focus-visible+span{outline:2px solid var(--or)}
.agree{padding:14px;border:1px solid var(--line);border-radius:10px}
.ck-a span{position:relative;height:auto;padding:0 0 0 28px;border:0;background:none;font-weight:600}
.ck-a span::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border:1.5px solid #BDBDBD;border-radius:5px;box-sizing:border-box}
.ck-a input:checked+span{background:none;color:var(--ink)}
.ck-a input:checked+span::before{border-color:var(--or);background:var(--or)}
.ck-a .ic{position:absolute;left:2px;top:4px;color:#fff}
.agree p{margin:8px 0 0;font-size:13px;color:var(--sub)}
.agree a{color:var(--or-d);text-decoration:underline}
.qf-err{margin:12px 0 0;color:#D33;font-weight:600;font-size:14.5px}
.qf-f{padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.qf-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;border:0;border-radius:10px;background:var(--or);color:#fff;font-size:17px;font-weight:700;cursor:pointer}
.qf-pc{padding:0 18px 18px}
.qf-pc[hidden]{display:none}
.qf-pc p{font-size:14.5px}
.qf-pc textarea{width:100%;border:1px solid #D4D4D4;border-radius:8px;padding:10px;font-size:14px}
.qf-copy{margin-top:8px;height:44px;padding:0 18px;border:1px solid #D4D4D4;border-radius:8px;background:#fff;cursor:pointer}
.toast{position:fixed;left:50%;bottom:140px;transform:translateX(-50%);z-index:60;background:rgba(20,20,20,.9);color:#fff;padding:10px 18px;border-radius:999px;font-size:14px}

@media (hover:hover) and (pointer:fine){
  .card:hover .cp,.card:hover .cn{opacity:1}
  .tb-q:hover,.db-q:hover,.qf-go:hover{background:var(--or-d)}
  .more button:hover,.more a:hover,.db:not(.db-q):hover,.hq a:hover,.fb:not(:first-child):hover{background:var(--soft)}
  .ct:hover h3,.tp:hover h3{text-decoration:underline;text-underline-offset:3px}
  .gnb a:hover{color:var(--or-d)}
}

@media (min-width:700px){
  :root{--side:32px}
  body{padding-bottom:0}
  .pc{display:inline}.mo{display:none}
  .acad{font-size:13.5px}
  .top-in{height:64px}
  .tb{height:38px;padding:0 14px}
  .tb-d{display:inline-flex}
  .tm small{display:block}
  .tab,.fab{display:none}
  .fbar{top:64px}
  .fbar-in{display:flex}
  .f{flex:none;padding:12px 26px}
  .f:first-child{padding-left:0}
  .cards{grid-template-columns:repeat(2,1fr)}
  .cph{margin:0;border-radius:4px}
  .bn-in{grid-template-columns:1fr 1fr;align-items:center;padding:40px var(--side)}
  .bn h1{font-size:34px}
  .bn-s{font-size:16.5px}
  .ph1{padding-top:34px}
  .ph1 h1{font-size:26px}
  .tps{grid-template-columns:1fr 1fr;gap:24px 32px}
  .tp{grid-template-columns:140px 1fr}
  .tp img{width:140px;height:140px}
  .cov{margin:24px var(--side) 0}
  .cov img{aspect-ratio:944/560}
  .dh h1{font-size:22px}
  .dh{padding-top:34px}
  .dbd figure{margin:0 0 16px}
  .ft-in{grid-template-columns:repeat(3,1fr);gap:36px;padding:40px var(--side)}
  .co-in{padding-bottom:30px}
  .qf{height:auto;max-height:calc(100dvh - 48px);margin:auto;border-radius:16px}
  .qf form{max-height:calc(100dvh - 48px)}
}
@media (min-width:1000px){
  .gnb{display:flex;gap:28px;margin-left:40px;font-size:16px;font-weight:600}
  .gnb a{position:relative;padding:20px 0}
  .gnb a.on{color:var(--or)}
  .gnb a.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--or)}
  .cards{grid-template-columns:repeat(3,1fr)}
  .bn h1{font-size:40px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* 광고 칸 — 로또 · 리얼콜 · SPEED ASC. 목록 4번째 칸(세로 카드) · 사례 상세 단추 아래(가로 띠) */
.adc{min-width:0}
.ad{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:4px;color:#1d1d1d}
.ad[hidden]{display:none}
.ad-b{position:absolute;right:10px;bottom:8px;font-size:11px;color:#888;border:1px solid #d0d0d0;border-radius:4px;padding:0 5px;background:rgba(255,255,255,.75)}
.ad-pic{display:flex;align-items:center;justify-content:center;overflow:hidden}
.ad-pic img{width:100%;height:100%;object-fit:cover;object-position:top}
.ad-tx{display:flex;flex-direction:column;gap:4px}
.ad-t{font-size:12.5px;font-weight:700}
.ad-tx b{font-size:19px;font-weight:800;letter-spacing:-.03em;line-height:1.3}
.ad-tx p{margin:0;font-size:13.5px;color:#555;line-height:1.45}
.ad-go{display:inline-flex;align-items:center;justify-content:center;gap:2px;font-size:14.5px;font-weight:600}
.ad-go .ic{width:16px;height:16px}
.ad-lt{background:linear-gradient(100deg,#EEF2FB,#F8F9FD)}.ad-lt .ad-t,.ad-lt .ad-go{color:#2E4A8F}
.ad-rc{background:linear-gradient(100deg,#FFF0E3,#FFF9F4)}.ad-rc .ad-t,.ad-rc .ad-go{color:var(--or-d)}
.ad-as{background:linear-gradient(100deg,#E7F3F0,#F6FBFA)}.ad-as .ad-t,.ad-as .ad-go{color:#0E6B5E}
/* 로또 공 · ASC 그림 글자 (우리가 그린 것) */
.ad-balls{gap:6px;flex-wrap:wrap;padding:14px}
.ad-balls i{width:34px;height:34px;border-radius:999px;box-shadow:inset -4px -5px 8px rgba(0,0,0,.18),inset 3px 3px 6px rgba(255,255,255,.55)}
.ad-balls i:nth-child(1){background:#F5C23B}.ad-balls i:nth-child(2){background:#4E8FE0}.ad-balls i:nth-child(3){background:#E5534B}
.ad-balls i:nth-child(4){background:#9AA0A8}.ad-balls i:nth-child(5){background:#5BB65E}.ad-balls i:nth-child(6){background:#F5C23B}
.ad-ascv{flex-direction:column;gap:0;color:#0B4A42;background:#D5EBE6}
.ad-ascv s{font-size:16px;color:#7a9a94}
.ad-ascv b{font-size:40px;font-weight:900;line-height:1.05;letter-spacing:-.04em}
.ad-ascv small{font-size:12px;margin-top:2px}
/* 목록 4번째 칸 — 세로 카드 */
.adc .ad{height:100%;margin:0 calc(var(--side)*-1);border-radius:0}
.adc .ad-pic{height:150px;background:rgba(255,255,255,.55)}
.adc .ad-rc .ad-pic{background:#1a1a1a}
.adc .ad-rc .ad-pic img{width:auto;height:100%}
.adc .ad-tx{padding:16px 18px 6px;text-align:center;align-items:center}
.adc .ad-go{padding:6px 0 18px}
/* 상세 가로 띠 — 대표 사진과 같은 폭 */
.ads-w{max-width:var(--max);margin:34px auto 0;padding:0 var(--side)}
.ads-w .ad{flex-direction:row;align-items:center;gap:14px;min-height:112px;border-radius:12px;padding:0 12px 0 0}
.ads-w .ad-pic{flex:none;width:96px;align-self:stretch}
.ads-w .ad-rc .ad-pic{background:#1a1a1a}
.ads-w .ad-rc .ad-pic img{width:100%}
.ads-w .ad-tx{flex:1;min-width:0;padding:14px 0}
.ads-w .ad-tx b{font-size:16px}
.ads-w .ad-tx p{display:none}
.ads-w .ad-go{display:none}
.ads-w .ad-balls{padding:8px;gap:3px}.ads-w .ad-balls i{width:20px;height:20px}
.ads-w .ad-ascv b{font-size:28px}
@media (min-width:700px){
  .adc .ad{margin:0;border-radius:4px}
  .adc .ad-pic{height:46%}
  .ads-w{margin-top:44px}
  .ads-w .ad{min-height:150px;gap:28px;padding:0 28px 0 0}
  .ads-w .ad-pic{width:26%;max-width:300px}
  .ads-w .ad-tx{text-align:center;align-items:center}
  .ads-w .ad-tx b{font-size:clamp(20px,2.4vw,30px)}
  .ads-w .ad-tx p{display:block;font-size:15.5px;color:#333}
  .ads-w .ad-go{display:inline-flex;flex:none;height:52px;padding:0 22px;border:1.5px solid currentColor;border-radius:4px;background:#fff;font-size:16px}
  .ads-w .ad-balls{gap:6px;flex-wrap:nowrap}.ads-w .ad-balls i{width:min(34px,3vw);height:min(34px,3vw)}
  .ads-w .ad-ascv b{font-size:48px}
}

/* 첫 화면 큰 배너 — 여러 장, 5초마다 */
.hs{position:relative;max-width:var(--max);margin:0 auto;background:#111;overflow:hidden}
.hs-trk{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hs-trk::-webkit-scrollbar{display:none}
.hs-s{position:relative;flex:0 0 100%;scroll-snap-align:start;height:min(118vw,460px);color:#fff}
.hs-img{width:100%;height:100%;object-fit:cover}
.hs-s::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.15) 55%,rgba(0,0,0,0) 100%)}
.hs-t{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:0 var(--side) 46px}
.hs-k{display:inline-block;font-size:13px;font-weight:700;color:#FFB37A;margin-bottom:6px}
.hs-t h1,.hs-t h2{font-size:27px;font-weight:800;line-height:1.28;text-wrap:balance}
.hs-t p{margin:8px 0 0;font-size:15px;color:#e6e2dc}
.hs-ev .hs-k{background:var(--or);color:#fff;padding:2px 10px;border-radius:999px}
.hs-ba{display:grid;grid-template-columns:1fr 1fr;gap:3px;height:100%}
.hs-ba figure{margin:0;position:relative;overflow:hidden}
.hs-ba img{width:100%;height:100%;object-fit:cover}
.hs-ba figcaption{position:absolute;left:12px;top:12px;z-index:2;background:#111;color:#fff;font-size:13px;font-weight:700;padding:2px 12px;border-radius:999px}
.hs-ba figure+figure figcaption{background:var(--or)}
.hs-p,.hs-n{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:none;width:44px;height:44px;border:0;border-radius:999px;background:rgba(255,255,255,.85);align-items:center;justify-content:center;cursor:pointer}
.hs-p{left:16px}.hs-n{right:16px}
.hs-i{position:absolute;right:var(--side);bottom:16px;z-index:2;font-size:12.5px;color:#ddd;background:rgba(0,0,0,.45);padding:2px 10px;border-radius:999px}
.hs-i b{color:#fff}

/* 이벤트 */
.evs{display:grid;gap:16px;padding:20px 0 56px}
.ev{display:grid;grid-template-columns:1fr;overflow:hidden;padding:0}
.ev img{width:100%;aspect-ratio:16/9;object-fit:cover}
.ev>div{padding:18px}
.ev-k{display:inline-block;font-size:12px;font-weight:700;color:#fff;background:var(--or);border-radius:999px;padding:1px 10px}
.ev h3{font-size:20px;font-weight:800;margin:8px 0 0}
.ev p{margin:8px 0 0;color:var(--sub)}
.ev-q{display:inline-flex;align-items:center;height:44px;padding:0 18px;margin-top:14px;border-radius:8px;background:var(--or);color:#fff;font-weight:700}
@media (min-width:700px){
  .hs{margin-top:20px;border-radius:6px}
  .hs-s{height:440px}
  .hs-s::after{background:linear-gradient(90deg,rgba(0,0,0,.66) 0%,rgba(0,0,0,.2) 55%,rgba(0,0,0,0) 100%)}
  .hs-t{top:0;right:auto;width:60%;display:flex;flex-direction:column;justify-content:center;padding:0 0 0 88px}
  .hs-t h1,.hs-t h2{font-size:40px}
  .hs-t p{font-size:17px}
  .hs-p,.hs-n{display:flex}
  .hs-ba{gap:4px}
  .hs-s:has(.hs-ba) .hs-t{width:auto;left:auto;right:0;top:auto;bottom:0;padding:0 88px 46px 0;text-align:right}
  .ev{grid-template-columns:1.1fr 1fr}
  .ev img{height:100%;aspect-ratio:auto}
  .ev>div{padding:32px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
  .ev h3{font-size:26px}
}

/* 전국 시공 가능 지사 및 협력 업체 */
.pts{max-width:var(--max);margin:0 auto;padding:8px var(--side) 56px}
.pts-h h2{font-size:20px;font-weight:700}
.pts-h p{margin:4px 0 16px;color:var(--sub);font-size:14.5px}
.pt-g{display:grid;grid-template-columns:1fr;gap:10px}
.pt{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.pt-k{align-self:flex-start;font-size:12px;font-weight:700;color:var(--or-d);background:#FFF1E6;border-radius:999px;padding:1px 9px;margin-bottom:4px}
.pt b{font-size:16.5px}
.pt p{margin:0;font-size:14px;color:var(--sub)}
.pt a{margin-top:6px;font-weight:700;color:var(--or-d)}
.pt-hq{background:var(--soft)}
.pt-r{border-style:dashed}
.pt-r .pt-k{color:#fff;background:var(--ink)}
.pt-go{margin-top:6px;font-weight:700;font-size:14px}
@media (min-width:700px){
  .cards .ads{margin:0}
  .cards .ad{border-radius:4px;min-height:0;height:100%}
  .adc .ads{aspect-ratio:3/2;height:auto}
  .pt-g{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:1000px){.pt-g{grid-template-columns:repeat(4,1fr)}}

/* 카드 위 시공자 표 — 본사 / 지사 / 교육생 */
.by{position:absolute;left:10px;top:10px;z-index:2;font-size:12px;font-weight:700;color:#fff;padding:2px 9px;border-radius:4px;background:rgba(17,17,17,.78)}
.by-hq{background:var(--or)}
.by-br{background:#2D5B8A}
.by-st{background:#0E6B5E}

/* 첫 장 분수대 전 → 후 → 물 채움 */
.hs-ba3{grid-template-columns:repeat(3,1fr)}
.hs-s:has(.hs-ba3) .hs-t{left:0;right:0;width:auto;text-align:left}
@media (min-width:700px){.hs-s:has(.hs-ba3) .hs-t{top:auto;bottom:0;left:0;right:auto;width:100%;padding:0 88px 46px;text-align:left}}

/* 배너 줄 — 아카데미 · 아라서랩스 · 광고 모집 중 */
.bnrs{max-width:var(--max);margin:0 auto;padding:8px var(--side) 56px}
.bnr-g{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bnr{display:flex;flex-direction:column;gap:4px;min-height:150px;padding:18px;border-radius:12px;border:1px solid var(--line);background:#fff}
.bnr-k{font-size:12px;font-weight:700;color:var(--or-d)}
.bnr b{font-size:17px;font-weight:800;line-height:1.3}
.bnr img{width:150px;height:auto;margin:4px 0}
.bnr p{margin:0;font-size:13.5px;color:var(--sub)}
.bnr-go{margin-top:auto;padding-top:8px;font-size:13.5px;font-weight:700}
.bnr-ac{background:#151515;border-color:#151515;color:#fff}.bnr-ac .bnr-k,.bnr-ac .bnr-go{color:#FFB37A}.bnr-ac p{color:#cfcac2}
.bnr-ar{background:#ECF5F3;border-color:#d5e9e4}.bnr-ar .bnr-k,.bnr-ar .bnr-go{color:#0E6B5E}
.bnr-ad{border-style:dashed;background:var(--soft)}.bnr-ad .bnr-k{color:var(--mute)}.bnr-ad b{color:#777}
.bnr-ac{grid-column:1/-1}
@media (min-width:700px){.bnr-g{grid-template-columns:repeat(3,1fr)}.bnr-ac{grid-column:auto}}
@media (min-width:1000px){.bnr-g{grid-template-columns:repeat(5,1fr)}}
.fb-hq,.fb-br{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.fb-hq span,.fb-br span{color:var(--mute);font-size:13px;text-align:right}
.fb-hq b{color:var(--or-d)}
.fb-br b,.fb-hq b{font-weight:600}.fb-br b{color:var(--ink)}.fb-hq b{white-space:nowrap}
.bnr-lt{background:#EEF2FB;border-color:#dde4f5}.bnr-lt .bnr-k,.bnr-lt .bnr-go{color:#2E4A8F}
.bnr-rc{background:#FFF1E6;border-color:#fbe0cb}
@media (min-width:1000px){.bnr-g{grid-template-columns:repeat(3,1fr)}}
