/*
Theme Name: 단디시스템 (GeneratePress 자식 테마)
Template: generatepress
Description: 대구·경산 방충망 시공 — 블랙스텐 미세촘촘망·현관 롤방충망·방범망. 승인된 시안 디자인 + 하단 고정 전화·카톡 버튼 + 모든 글 끝 문의 상자.
Version: 1.2.0
Text Domain: dandi-child
*/
/* 단디시스템 리뉴얼 — 밝은 민트 + 코랄 포인트, 둥근 카드, 큰 제목 */
:root {
  --mint: #0FB37F;
  --mint-d: #0A8F65;
  --mint-l: #E6F8F1;
  --coral: #FF6B57;
  --coral-l: #FFF0ED;
  --ink: #14212B;
  --sub: #5B6B76;
  --line: #E4ECE9;
  --bg: #FFFFFF;
  --bg2: #F5FAF8;
  --kakao: #FEE500;
  --r: 22px;
  --shadow: 0 10px 30px rgba(20, 33, 43, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { color: var(--mint-d); }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 32px); }
.muted { color: var(--sub); }
.note { color: var(--sub); font-size: 14px; margin: 16px 0 0; }
.note a, .more { color: var(--mint-d); font-weight: 700; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.sm { height: 42px; padding: 0 16px; font-size: 15px; }
.btn-call { background: var(--mint); color: #fff; }
.btn-call:hover { background: var(--mint-d); }
.btn-kakao { background: var(--kakao); color: #191919; }
.btn-white { background: #fff; color: var(--mint-d); }

/* 로고 */
.brand { display: flex; align-items: center; gap: 10px; }
.logo-ico { width: 40px; height: 40px; flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1.1; }
.brand-t b { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.brand-t small { font-size: 11.5px; color: var(--sub); font-weight: 600; letter-spacing: .02em; margin-top: 3px; }

/* 머리말 */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; color: var(--sub); }
.nav > a:hover, .nav > a[aria-current] { color: var(--mint-d); }
.nav-prod { display: none; }
.menu-btn { display: none; }

/* 첫 화면 */
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--mint-l), transparent 60%), var(--bg); padding: 64px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--mint-l); color: var(--mint-d); font-weight: 700; font-size: 14px; }
.hero h1, .page-hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.14; letter-spacing: -0.04em; margin: 18px 0; font-weight: 800; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); }
.hero h1 em { font-style: normal; color: var(--mint); position: relative; z-index: 0; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em; background: rgba(255, 107, 87, .22); z-index: -1; border-radius: 4px; }
.lead { font-size: 18px; color: var(--sub); margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 600; color: var(--sub); }
.hero-pic { position: relative; height: 480px; }
.hero-pic img { position: absolute; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-pic .p1 { right: 0; top: 0; width: 78%; height: 78%; }
.hero-pic .p2 { left: 0; bottom: 0; width: 46%; height: 52%; border: 6px solid #fff; }
.float { position: absolute; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); animation: bob 3.2s ease-in-out infinite; }
.f1 { right: 6%; bottom: 14%; }
.f2 { left: 30%; top: 8%; animation-delay: 1.2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* 하위 페이지 첫 화면 */
.page-hero { background: radial-gradient(900px 420px at 90% -20%, var(--mint-l), transparent 60%); padding: 56px 0 40px; }
.page-hero .lead { max-width: 640px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--sub); }
.toc a:hover { border-color: var(--mint); color: var(--mint-d); }

/* 섹션 공통 */
section { padding: 72px 0; }
section.soft, .soft { background: var(--bg2); }
.kicker { display: inline-block; color: var(--coral); font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.sec-t { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 800; line-height: 1.3; }
.sec-s { color: var(--sub); margin: 0 0 28px; }
.sec-s.light { color: rgba(255, 255, 255, .7); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 4px; }
.more { white-space: nowrap; margin-bottom: 28px; }
.more.block { display: inline-block; margin: 20px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > *, .hero-in > * { min-width: 0; }
.round { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.round.contain { object-fit: contain; background: #fff; padding: 12px; max-height: 520px; }
.round.wide { margin: 8px 0 20px; }
.dots { padding-left: 0; list-style: none; margin: 0 0 8px; }
.dots li { position: relative; padding: 6px 0 6px 20px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* 고민별 */
.worry { background: var(--bg2); }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.worry-card { background: #fff; border-radius: var(--r); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.worry-card:hover { transform: translateY(-4px); border-color: var(--mint); }
.worry-card .ico { font-size: 30px; }
.worry-card b { font-size: 18px; line-height: 1.4; }
.worry-card span:last-child { color: var(--mint-d); font-weight: 700; margin-top: auto; }

/* 벌레가 들어오는 길 */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: w; }
.why-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.why-list .no { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
.why-list b { font-size: 18px; }
.why-list p { margin: 6px 0 10px; color: var(--sub); font-size: 15px; }
.why-list a { color: var(--mint-d); font-weight: 700; font-size: 14px; }

/* 자가 진단 */
.check { background: linear-gradient(180deg, var(--mint-l), #fff); }
.check-list { display: grid; gap: 10px; }
.check-list label { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.check-list input { width: 22px; height: 22px; accent-color: var(--mint); flex: none; }
.check-list label.on { border-color: var(--mint); background: #F2FCF8; }
.check-result { margin-top: 16px; padding: 18px; border-radius: 16px; background: #fff; border: 1px dashed var(--line); font-size: 17px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.check-result[data-level="mid"] { border: 2px solid var(--mint); }
.check-result[data-level="high"] { border: 2px solid var(--coral); background: var(--coral-l); }

/* 비교 표 */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; margin-top: 8px; }
.table-wrap + .table-wrap { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--bg2); font-size: 15px; }
thead th small { display: block; font-weight: 600; color: var(--sub); font-size: 12px; }
tbody th { font-weight: 700; white-space: nowrap; }
.cmp td { color: var(--sub); }
.cmp .hl, .spec tr.hl, .cmp tr.hl { background: #F2FCF8; color: var(--ink); }
.cmp thead th.hl { background: var(--mint); color: #fff; }
.cmp thead th.hl small { color: rgba(255, 255, 255, .85); }

/* 제품 */
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.prod { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.prod:nth-child(4), .prod:nth-child(5) { grid-column: span 3; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod img { width: 100%; aspect-ratio: 387 / 207; object-fit: cover; }
.prod:nth-child(4) img, .prod:nth-child(5) img { aspect-ratio: 589 / 207; }
.prod div { padding: 16px 18px 20px; }
.prod b { font-size: 19px; display: block; }
.prod p { margin: 2px 0 10px; color: var(--sub); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips i { font-style: normal; font-size: 13px; background: var(--bg2); color: var(--sub); padding: 4px 10px; border-radius: 999px; }
.chips.big { margin: 16px 0 0; }
.chips.big i { font-size: 15px; padding: 7px 14px; background: #fff; border: 1px solid var(--line); }

/* 진행 순서 */
.steps { background: var(--ink); color: #fff; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 22px; }
.step-list span { color: var(--mint); font-weight: 800; font-size: 14px; }
.step-list b { display: block; font-size: 20px; margin: 6px 0 4px; }
.step-list p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }

/* 후기 */
.rev-row, .rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.rev:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rev img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg2); }
.rev div { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rev time { font-size: 13px; color: var(--mint-d); font-weight: 700; }
.rev b { font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rev p { margin: 0; font-size: 14px; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rev .go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--mint-d); }

/* 현장 사진 */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 12px; }
.g { padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #ddd; }
.g.tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g:hover img { transform: scale(1.05); }
dialog#viewer { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
dialog#viewer::backdrop { background: rgba(10, 16, 20, .85); }
dialog#viewer img { max-height: 86vh; border-radius: 16px; }
dialog#viewer .close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; cursor: pointer; }

/* 추천·특징 카드 */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.soft .pick { border-color: transparent; }
.pick .ico { font-size: 28px; }
.pick b { font-size: 17px; }
.pick p { margin: 4px 0 0; font-size: 17px; }
.pick small { color: var(--sub); font-size: 14px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
.feat { background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.feat .ico { font-size: 26px; }
.feat b { display: block; font-size: 17px; margin: 6px 0 2px; }
.feat p { margin: 0; color: var(--sub); font-size: 15px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { background: #fff; border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.info-card b { font-size: 18px; }
.info-card p { margin: 0; color: var(--sub); font-size: 15px; flex: 1; }
.info-card small { color: var(--mint-d); font-weight: 700; }

/* 안전망 vs 방범망 */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-card { border-radius: var(--r); padding: 28px; background: var(--mint-l); }
.vs-card.dark { background: var(--ink); color: #fff; }
.vs-card .tag { font-weight: 700; color: var(--mint-d); }
.vs-card.dark .tag { color: var(--mint); }
.vs-card b { display: block; font-size: 44px; letter-spacing: -0.03em; margin: 4px 0; }
.vs-card p { margin: 0; }
.vs-card.dark strong { color: var(--mint); }

/* 안내 상자 */
.tip-box { background: #fff; border: 2px solid var(--mint); border-radius: var(--r); padding: 24px; }
.tip-box > b { font-size: 19px; display: block; margin-bottom: 8px; }
.tip-box ul { margin: 0 0 18px; padding-left: 20px; }
.tip-box p { margin: 0 0 16px; }
.tip-box.center { text-align: center; margin-top: 32px; }
.flow { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; }
.flow li { flex: 1; text-align: center; background: var(--mint-l); color: var(--mint-d); font-weight: 700; padding: 10px; border-radius: 999px; }

/* 부품 */
.part-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.part { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; align-items: center; }
.part img { width: 120px; height: 120px; object-fit: contain; border-radius: 14px; background: var(--bg2); flex: none; }
.part b { font-size: 18px; }
.part b em { font-style: normal; font-size: 14px; color: var(--sub); font-weight: 600; margin-left: 4px; }
.part p { margin: 4px 0 6px; color: var(--sub); font-size: 15px; }
.part small { display: block; color: var(--mint-d); font-weight: 600; font-size: 14px; }

/* 창문 여는 법 */
.open-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.od { background: #fff; border-radius: var(--r); padding: 20px; border: 2px solid var(--line); text-align: center; }
.od.ok { border-color: var(--mint); }
.od.no { border-color: var(--coral); }
.od p { margin: 4px 0 0; color: var(--sub); font-size: 15px; }
.win { position: relative; height: 110px; border: 6px solid #C9D6D1; border-radius: 10px; margin: 0 auto 14px; max-width: 240px; background: #EAF6FB; overflow: hidden; }
.win i { position: absolute; top: 0; bottom: 0; width: 50%; }
.win .glass { background: rgba(160, 205, 230, .55); border: 3px solid #B5C6C0; }
.win .screen { background-image: linear-gradient(#5b6b76 1px, transparent 1px), linear-gradient(90deg, #5b6b76 1px, transparent 1px); background-size: 6px 6px; opacity: .55; }
.od.ok .glass { left: 0; } .od.ok .screen { right: 0; }
.od.no .screen { left: 0; } .od.no .glass { left: 26%; }
.od.no .win::after { content: "틈!"; position: absolute; right: 0; top: 0; bottom: 0; width: 24%; display: grid; place-items: center; font-weight: 800; color: var(--coral); background: repeating-linear-gradient(45deg, rgba(255,107,87,.18) 0 6px, transparent 6px 12px); }

/* 관리법 */
.care-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: c; }
.care-list li { background: #fff; border-radius: var(--r); padding: 20px; counter-increment: c; }
.care-list li::before { content: counter(c); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #fff; font-weight: 800; margin-bottom: 8px; }
.care-list b { font-size: 17px; }
.care-list p { margin: 4px 0 0; color: var(--sub); font-size: 15px; }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 16px 36px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--mint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--sub); }

/* 마지막 문의 */
.cta-band { background: linear-gradient(120deg, var(--mint), #13C7A0); color: #fff; padding: 56px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; line-height: 1.25; }
.cta-band p { margin: 0; opacity: .92; }

/* 바닥글 */
.foot { padding: 40px 0 28px; color: var(--sub); font-size: 14px; background: #fff; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot p { margin: 12px 0 0; line-height: 1.8; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links b { color: var(--ink); margin-bottom: 4px; }
.foot-links a:hover { color: var(--mint-d); }
.foot-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.foot-bottom a { text-decoration: underline; }

/* 폰 하단 고정 버튼 */
.dock { display: none; }

/* 태블릿 */
@media (max-width: 1000px) {
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .care-list, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-pic { height: 360px; }
  .worry-grid, .pick-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list, .rev-row, .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .part-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  /* 메뉴는 햄버거로 (흐림 효과가 있으면 펼친 메뉴가 머리말 안에 갇혀서 끔) */
  .top { backdrop-filter: none; background: #fff; }
  .menu-btn { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; background: var(--bg2); border-radius: 12px; cursor: pointer; margin-left: 4px; }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .top-in { gap: 10px; }
  .top-in .btn.sm { margin-left: auto; }
  .nav { position: fixed; left: 0; right: 0; top: 70px; bottom: 0; background: #fff; flex-direction: column; gap: 0; padding: 12px 20px 100px; overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; margin: 0; color: var(--ink); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
  .nav-prod { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .nav-prod a { background: var(--bg2); border-radius: 14px; padding: 14px; font-weight: 600; }
}
/* 폰 */
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .top-in { height: 62px; }
  .nav { top: 62px; }
  .logo-ico { width: 36px; height: 36px; }
  .brand-t b { font-size: 17px; }
  .btn.sm b { display: none; }
  .btn.sm { padding: 0 14px; }
  .hero { padding: 36px 0 48px; }
  .lead { font-size: 16px; }
  .cta .btn { flex: 1; }
  .hero-pic { height: 300px; }
  section { padding: 52px 0; }
  .page-hero { padding: 36px 0 28px; }
  .worry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .worry-card { padding: 16px 14px; }
  .worry-card .ico { font-size: 26px; }
  .worry-card b { font-size: 15px; }
  .worry-card span:last-child { font-size: 14px; }
  .why-list { grid-template-columns: 1fr; }
  .why-list li { flex-direction: row; align-items: flex-start; gap: 14px; }
  .why-list .no { flex: none; }
  .pick-grid, .feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pick, .feat { padding: 16px; }
  .pick b, .feat b { font-size: 15px; }
  .pick p { font-size: 15px; }
  .pick small, .feat p { font-size: 13.5px; }
  .card-grid, .care-list { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod, .prod:nth-child(4), .prod:nth-child(5) { grid-column: auto; }
  .step-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-list li { padding: 16px; }
  .step-list b { font-size: 17px; }
  .sec-head { flex-direction: column; align-items: start; }
  .more { margin-bottom: 16px; }
  .rev-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }
  .rev-row .rev { flex: 0 0 78%; scroll-snap-align: start; }
  .rev-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rev-grid .rev p { display: none; }
  .rev-grid .rev b { font-size: 14px; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .vs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vs-card { padding: 18px; }
  .vs-card b { font-size: 32px; }
  .vs-card p { font-size: 14px; }
  .open-demo { grid-template-columns: 1fr; }
  .part img { width: 88px; height: 88px; }
  .part b { font-size: 16px; }
  .cta-band .cta { width: 100%; }
  th, td { padding: 12px; font-size: 14px; }
  .dock {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; border-radius: 14px; font-weight: 700; background: var(--bg2); }
  .dock a:first-child { background: var(--mint); color: #fff; }
  .dock a:nth-child(2) { background: var(--kakao); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* ───────── 워드프레스(GeneratePress) 위에서 쓰는 추가 스타일 ───────── */
/* 사이트 디자인 페이지: GeneratePress 상자·여백 없이 화면 전체 폭 */
.page-template-template-full #page,
.page-template-template-full .site.grid-container { max-width: none; padding: 0; margin: 0; }
.page-template-template-full .site-content { display: block; padding: 0; }
.site-footer { background: none; padding: 0; }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }

/* 글(시공 사례)·카테고리 화면 */
body:not(.page-template-template-full) { font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
body:not(.page-template-template-full) .site-content { padding: 28px 0 40px; }
.single .site-main, .archive .site-main, .blog .site-main, .search .site-main { max-width: 860px; margin: 0 auto; }
.separate-containers .inside-article { border-radius: 20px; padding: 28px; box-shadow: 0 6px 24px rgba(20, 33, 43, .06); }
.entry-title { font-size: clamp(22px, 4.6vw, 32px); line-height: 1.35; letter-spacing: -.02em; }
.entry-meta { font-size: 14px; color: #6b7a86; }
.single .entry-content { font-size: 17px; line-height: 1.85; }
.entry-content .wp-block-image img, .post-image img, .featured-image img { border-radius: 14px; }
.entry-content .wp-block-image { margin: 18px 0; }
.archive .page-header { max-width: 860px; margin: 0 auto 16px; padding: 0 4px; }
.archive .page-title { font-size: 26px; }
.paging-navigation, .post-navigation { max-width: 860px; margin: 16px auto 0; }

/* 모든 글 끝 문의 상자 */
.post-cta { margin: 32px 0 4px; padding: 22px; border-radius: 18px; background: var(--mint-l, #eef6f3); text-align: center; }
.post-cta-t { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--ink, #14212B); }
.post-cta-s { margin: 0 0 14px; font-size: 15px; color: #55636e; }
.post-cta .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.post-cta .btn { text-decoration: none; flex: 1 1 200px; max-width: 280px; justify-content: center; white-space: nowrap; }
@media (max-width: 480px) { .post-cta .btn { flex-basis: 100%; max-width: none; } }
/* 글 화면: 대표 사진은 목록용 — 글 안에서는 본문 첫 사진과 겹치지 않게 숨김 */
.single-post .page-header-image-single { display: none; }

/* 이용약관·개인정보 처리방침 */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 860px; }
.legal h3 { margin: 26px 0 8px; font-size: 18px; }
.legal p { margin: 0 0 8px; line-height: 1.75; color: #3c4a55; }

/* GeneratePress 기본 링크 밑줄·색이 사이트 버튼을 덮지 않게 */
a.btn, a.btn:hover, a.btn:focus { text-decoration: none; }

/* ───────── 2026-11-30 시공 사진 크게 · 문자 견적 ───────── */
/* 시공 후기 카드: 사진이 주인공(정사각), 글은 제목만 짧게 */
.rev img { aspect-ratio: 1 / 1; }
.rev div { padding: 12px 14px 16px; gap: 4px; }
.rev p { display: none; }
.rev .go { font-size: 13px; }
.rev-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev-grid .rev b { font-size: 16px; }
@media (max-width: 860px) {
  .rev-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .rev-grid .rev b { font-size: 14px; }
  .rev-row .rev { flex-basis: 70%; }
}

/* 문자 견적 버튼 */
.btn-sms { background: #fff; color: var(--ink, #14212B); border: 1px solid var(--line, #dfe6ea); }
.btn-sms:hover { border-color: var(--mint-d, #0b6b58); }
.cta-band .btn-sms, .foot-cta .btn-sms { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.post-cta .btn-sms { flex: 1 1 200px; max-width: 280px; justify-content: center; white-space: nowrap; text-decoration: none; }
@media (max-width: 480px) { .post-cta .btn-sms { flex-basis: 100%; max-width: none; } }
@media (max-width: 860px) {
  .dock { grid-template-columns: 1.2fr 1fr 1fr 1fr !important; }
  .dock a { font-size: 14px; gap: 4px; }
}
.dock-sms { background: var(--bg2, #f2f5f7); }
.sms-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: #14212B; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 9999; max-width: 92vw; }

.more-check { margin: 14px 0 0; }
