/* =========================================================
   티피 디자인 (ti2po.com) — 반응형 사이트 공통 스타일
   ========================================================= */
:root {
  --brand: #4346ae;
  --brand-dark: #363c6d;
  --brand-light: #eef0ff;
  --accent: #5d62ff;
  --highlight: #fdff6f;
  --orange: #ff8a2a;
  --text: #1e1e1e;
  --muted: #6b6f80;
  --line: #e3e5ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 33, 80, .08);
  --wrap: 1200px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.lato { font-family: 'Lato', sans-serif; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-kakao { background: #fee500; color: #191919; }
.btn-white { background: #fff; color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { height: 40px; width: auto; }
.gnb-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.gnb-item { position: relative; }
.gnb-link { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; opacity: .92; white-space: nowrap; }
.gnb-link .chev { width: 14px; height: 14px; opacity: .8; transition: transform .2s; }
.gnb-item:hover > .gnb-link, .gnb-item:focus-within > .gnb-link, .gnb-item.on > .gnb-link { background: rgba(255,255,255,.14); opacity: 1; }
.gnb-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(20,24,70,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.gnb-sub a { display: block; padding: 10px 12px; border-radius: 8px; color: #333; font-size: 14px; font-weight: 500; white-space: nowrap; }
.gnb-sub a:hover { background: var(--brand-light); color: var(--brand); }
.gnb-item:hover > .gnb-sub, .gnb-item:focus-within > .gnb-sub { opacity: 1; visibility: visible; transform: none; }
.gnb-item:hover > .gnb-link .chev { transform: rotate(180deg); }
.gnb .gnb-cta { background: var(--highlight); color: var(--brand-dark); font-weight: 700; margin-left: 6px; opacity: 1; }
.gnb .gnb-cta:hover { background: #fff; }
@media (max-width: 1180px) and (min-width: 961px) { .gnb-link { padding: 10px 10px; font-size: 14px; } .header-call { font-size: 16px; } }
.header-call { display: flex; align-items: center; gap: 6px; font-family: 'Lato', sans-serif; font-weight: 900; font-size: 18px; white-space: nowrap; }
.header-call svg { width: 18px; height: 18px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; margin-right: -8px; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .header-inner { height: 60px; }
  .logo img { height: 32px; }
  .header-call { display: none; }
  .menu-toggle { display: block; }
  .gnb {
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--brand); padding: 8px var(--gutter) 24px;
    transform: translateX(100%); transition: transform .25s; overflow-y: auto;
  }
  .gnb.open { transform: none; }
  .gnb-list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnb-link { justify-content: space-between; padding: 16px 8px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.12); border-radius: 0; background: none !important; }
  .gnb-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.08); border-radius: 10px; margin: 6px 0 10px; padding: 4px; display: none; min-width: 0; }
  .gnb-item.open > .gnb-sub { display: block; }
  .gnb-item.open > .gnb-link .chev { transform: rotate(180deg); }
  .gnb-sub a { color: #fff; font-size: 15px; padding: 12px 14px; }
  .gnb-sub a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .gnb .gnb-cta { margin: 16px 0 0; border-radius: 999px; justify-content: center; border: 0; }
}

/* ---------- 카테고리 ---------- */
.category { border-bottom: 1px solid var(--line); background: #fff; }
.category ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
}
.category a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 12px; font-size: 14px; color: #333; }
.category a:hover { background: var(--brand-light); color: var(--brand); }
.category img { width: 48px; height: 48px; object-fit: contain; }
@media (max-width: 720px) {
  .category ul { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 0; gap: 4px; scrollbar-width: none; }
  .category ul::-webkit-scrollbar { display: none; }
  .category li { flex: 0 0 auto; scroll-snap-align: start; }
  .category a { width: 76px; font-size: 13px; }
  .category img { width: 40px; height: 40px; }
}

/* ---------- 메인 배너 ---------- */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .6s ease; }
.hero-slide {
  flex: 0 0 100%; min-height: 468px; display: flex; align-items: center;
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.hero-slide.s1 { background-image: url(../img/slide01.png); background-color: #eceef4; }
.hero-slide.s2 { background-image: url(../img/slide02.png); background-color: #9fe3d8; }
.hero-copy { max-width: 560px; }
.hero-copy .badge { width: 120px; margin-bottom: 14px; }
.hero-copy .eyebrow { font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.hero-copy h1, .hero-copy h2 { margin: 0 0 12px; font-size: 44px; line-height: 1.25; font-weight: 900; color: #23264f; letter-spacing: -1px; }
.hero-copy h1 b, .hero-copy h2 b { color: var(--brand); }
.hero-copy h1 mark, .hero-copy h2 mark { background: var(--brand); color: #fff; padding: 0 8px; }
.hero-copy p { margin: 0 0 6px; font-size: 18px; color: #3c3f5a; }
.hero-copy .small { font-size: 15px; color: #4b4f6b; }
.hero-copy .btns { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(35,38,79,.25); }
.hero-dots button.on { background: var(--brand); width: 26px; border-radius: 6px; }
@media (max-width: 720px) {
  .hero-slide { min-height: 540px; align-items: flex-start; padding-top: 32px; background-size: auto 48%; background-position: 72% bottom; }
  .hero-copy h1, .hero-copy h2 { font-size: 30px; }
  .hero-copy p { font-size: 16px; }
  .hero-copy .badge { width: 90px; }
}

/* ---------- 섹션 공통 ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-title { text-align: center; margin: 0 0 36px; }
.section-title small { display: block; font-family: 'Lato', sans-serif; font-weight: 900; letter-spacing: 3px; color: var(--accent); font-size: 13px; }
.section-title h2 { margin: 6px 0 8px; font-size: 32px; font-weight: 900; letter-spacing: -.5px; }
.section-title p { margin: 0; color: var(--muted); }
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 24px; }
}

/* ---------- 셀프 디자인 소개 ---------- */
.self-design {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #5d62ff 100%); color: #fff;
  border-radius: 24px; padding: 48px; overflow: hidden;
}
.self-design h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.3; font-weight: 900; }
.self-design h2 em { font-style: normal; color: var(--highlight); }
.self-design p { margin: 0 0 24px; opacity: .9; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 12px; align-items: center; }
.steps b { flex: 0 0 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-family: 'Lato', sans-serif; }
.self-preview { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transform: rotate(-4deg); }
.self-preview img { border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.25); background: #fff; }
.self-preview img:nth-child(2) { margin-top: 40px; }
@media (max-width: 860px) {
  .self-design { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; }
  .self-design h2 { font-size: 25px; }
  .self-preview { max-width: 360px; margin: 0 auto; }
}

/* ---------- 디자인 샘플 ---------- */
.sample-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sample-grid a { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.sample-grid a:hover { transform: translateY(-4px); }
.sample-grid .img { aspect-ratio: 214 / 301; background: #f1f1f4; overflow: hidden; }
.sample-grid .img img { width: 100%; height: 100%; object-fit: cover; }
.sample-grid .meta { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.sample-grid .meta span { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-light); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) { .sample-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 380px) { .sample-grid .meta { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- 강점 ---------- */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.points li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.points .num { font-family: 'Lato', sans-serif; font-weight: 900; color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.points h3 { margin: 6px 0 8px; font-size: 20px; }
.points p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .points { grid-template-columns: 1fr; } }

/* ---------- 상담 배너 ---------- */
.contact-band { background: #fee500; border-radius: 24px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact-band h2 { margin: 0 0 4px; font-size: 26px; font-weight: 900; color: #191919; }
.contact-band p { margin: 0; color: #3a3a1a; }
.contact-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-band .btn-dark { background: #191919; color: #fff; }

/* ---------- 푸터 ---------- */
.site-footer { background: #23264f; color: #c9cbe0; font-size: 14px; padding: 48px 0 110px; }
.footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top h3 { margin: 0 0 10px; color: #fff; font-size: 15px; }
.footer-top .tel { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 28px; color: #fff; display: block; margin-bottom: 6px; }
.footer-top p { margin: 0 0 4px; }
.footer-bottom { padding-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-bottom .links a { color: #fff; }
.footer-bottom address { font-style: normal; }
.footer-bottom address span { display: inline-block; margin-right: 14px; }
.copyright { margin-top: 10px; color: #8d90b3; font-size: 13px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 22px; } }
@media (min-width: 961px) { .site-footer { padding-bottom: 48px; } }

/* ---------- 빠른 상담 (PC: 오른쪽 고정 / 모바일: 하단 바) ---------- */
.quick { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 40; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 10px 6px; display: flex; flex-direction: column; gap: 2px; }
.quick p { margin: 0 0 4px; text-align: center; font-family: 'Lato', sans-serif; font-weight: 900; font-size: 10px; letter-spacing: 1px; color: var(--brand); }
.quick a, .quick button { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; padding: 10px 4px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #333; background: none; border: 0; }
.quick a:hover, .quick button:hover { background: var(--brand-light); color: var(--brand); }
.quick img { width: 30px; height: 30px; object-fit: contain; }
.quick .q-tel { display: none; }
@media (max-width: 1360px) and (min-width: 961px) { .quick { right: 10px; } }
@media (max-width: 960px) {
  .quick { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; border-radius: 16px 16px 0 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .quick p { display: none; }
  .quick a, .quick button { flex: 1; width: auto; }
  .quick .q-tel { display: flex; }
  .quick .q-pay { display: none; }
}

/* ---------- 모달 (견적문의) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15,17,40,.55); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; position: relative; }
.modal-box h2 { margin: 0 0 4px; font-size: 22px; }
.modal-box .desc { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 20px; line-height: 1; }

/* ---------- 폼 ---------- */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-row label .req { color: #e5484d; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d5d8e4; border-radius: 10px; font: inherit; font-size: 15px; background: #fff;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-2col { grid-template-columns: 1fr; gap: 0; } }
.agree { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.agree label { display: flex; gap: 8px; align-items: flex-start; color: var(--text); font-weight: 700; font-size: 14px; margin-top: 8px; }
.agree input { margin-top: 4px; }
/* 주문시 유의사항 02 — 옛 이미지를 글자로 (info.html) */
.remark-text { width: 100%; max-width: 900px; box-sizing: border-box; margin: 0 auto; background: #fff; padding: 18px 0 6px; }
.remark-text h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 14px 12px; font-size: 22px; font-weight: 700; color: #222; }
.remark-text h3 span { font-family: Lato, sans-serif; font-weight: 900; font-size: 34px; color: #00a0e9; }
.remark-text > ul { list-style: none; margin: 0; padding: 0; border-top: 3px solid #222; border-bottom: 3px solid #222; }
.remark-text > ul > li { padding: 12px 14px 12px 60px; border-top: 1px solid #ddd; font-size: 14.5px; color: #333; line-height: 1.6; }
.remark-text > ul > li:first-child { border-top: 0; }
.remark-text em { font-style: normal; color: #f47920; font-weight: 700; }
.remark-text small { display: block; color: #666; font-size: 13.5px; }
.remark-text small.inline { display: inline; }
.remark-text ol { margin: 4px 0; padding-left: 20px; }
@media (max-width: 640px) { .remark-text > ul > li { padding-left: 14px; } .remark-text h3 { font-size: 19px; } .remark-text h3 span { font-size: 28px; } }
.agree.refund b { color: var(--text); }
.agree.refund ol { margin: 6px 0 6px; padding-left: 20px; color: var(--text); }
.agree.refund li { margin: 2px 0; }
.agree.refund a { color: var(--brand); font-weight: 700; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.form-msg.ok { color: #1a7f4b; }
.form-msg.err { color: #e5484d; }

/* ---------- 안내 페이지 (가격표/지질/유의사항) ---------- */
.page-head { background: var(--brand-light); padding: 44px 0 0; }
.page-head h1 { margin: 0 0 6px; font-size: 32px; font-weight: 900; }
.page-head p { margin: 0 0 24px; color: var(--muted); }
.page-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.page-tabs::-webkit-scrollbar { display: none; }
.page-tabs a { padding: 14px 20px; border-radius: 12px 12px 0 0; font-weight: 700; color: var(--muted); white-space: nowrap; }
.page-tabs a.on { background: #fff; color: var(--brand); }
.info-panel { display: none; padding: 40px 0 72px; }
.info-panel.on { display: block; }

.price-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.price-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 700; color: #444; }
.price-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.price-item { display: none; }
.price-item.on { display: block; }
.price-item h2 { margin: 0 0 4px; font-size: 24px; }
.price-item .lead { margin: 0 0 16px; color: var(--muted); }
.price-item h3 { margin: 28px 0 10px; font-size: 18px; }
.spec-list { list-style: none; margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.spec-list li::before { content: '·'; color: var(--brand); font-weight: 900; margin-right: 6px; }
.price-note { font-size: 13px; color: #c0392b; margin: 0 0 10px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.price-table th, .price-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.price-table thead th { background: var(--brand); color: #fff; font-weight: 700; text-align: center; white-space: normal; line-height: 1.35; }
.price-table thead th small { display: block; font-weight: 400; opacity: .85; font-size: 12px; }
.price-table tbody th { text-align: center; background: var(--bg-soft); font-weight: 700; position: sticky; left: 0; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td.na { color: #b5b8c6; text-align: center; }
.price-table td.ask { color: #c0392b; text-align: center; font-weight: 700; }
.info-images { max-width: 900px; margin: 0 auto; display: grid; gap: 0; }
.info-images img { width: 100%; }
.page-head .wrap > p:last-child { margin-bottom: 36px; }
.page-head .eyebrow { margin: 0 0 4px; font-weight: 900; letter-spacing: 3px; color: var(--accent); font-size: 13px; }

/* ---------- 포트폴리오 ---------- */
.pf-main { padding: 32px var(--gutter) 72px; }
.pf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pf-toolbar p { margin: 0; color: var(--muted); font-weight: 700; }
.pf-search input { width: 260px; max-width: 100%; padding: 10px 14px; border: 1px solid #d5d8e4; border-radius: 999px; font: inherit; font-size: 14px; }
@media (max-width: 560px) { .pf-search, .pf-search input { width: 100%; } }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 640px) { .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.pf-card { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; text-align: left; transition: transform .2s, box-shadow .2s; }
.pf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pf-thumb { display: block; aspect-ratio: 275 / 267; background: var(--bg-soft); overflow: hidden; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-meta { display: block; padding: 10px 12px 12px; }
.pf-meta small { display: block; color: var(--muted); font-size: 11px; font-family: 'Lato', sans-serif; }
.pf-meta b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.45; color: #222; }
.pf-more { text-align: center; margin-top: 28px; }
.pf-empty { text-align: center; padding: 56px 16px; background: var(--bg-soft); border-radius: var(--radius); }
.pf-empty p { margin: 0 0 6px; }
.pf-empty-btns { display: flex; gap: 8px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pf-view .modal-box { max-width: 900px; padding: 28px 24px; }
.pf-code { margin: 0; color: var(--muted); font-size: 13px; font-family: 'Lato', sans-serif; }
.pf-view h2 { margin: 2px 40px 16px 0; font-size: 22px; }
.pf-view-imgs { display: grid; gap: 12px; }
.pf-view-imgs img { width: 100%; border-radius: 8px; background: var(--bg-soft); }
.pf-view-desc { white-space: pre-line; color: #444; font-size: 15px; margin: 18px 0 0; }
.pf-view-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; position: sticky; bottom: -28px; background: #fff; padding: 12px 0; }

/* ---------- 일반 콘텐츠 페이지 ---------- */
.content-page { padding: 40px var(--gutter) 72px; max-width: 960px; margin: 0 auto; }
.content-page h2 { font-size: 22px; margin: 40px 0 12px; }
.content-page h2:first-child { margin-top: 0; }
.content-page p, .content-page li { color: #333; }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid h3 { margin: 0 0 8px; font-size: 16px; color: var(--brand); }
.info-grid p { margin: 0 0 4px; font-size: 15px; }
.info-grid .big { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 26px; color: var(--text); }
.notice-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list summary { display: flex; gap: 12px; align-items: baseline; padding: 16px 8px; cursor: pointer; list-style: none; }
.notice-list summary::-webkit-details-marker { display: none; }
.notice-list summary b { flex: 1; font-weight: 700; }
.notice-list summary time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.notice-list .pin { color: #e5484d; font-size: 12px; font-weight: 900; }
.notice-list .body { padding: 4px 8px 20px; white-space: pre-line; color: #444; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq-list summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; gap: 10px; }
.faq-list summary::before { content: 'Q'; color: var(--brand); font-family: 'Lato', sans-serif; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .a { padding: 0 18px 18px 40px; color: #444; white-space: pre-line; }
.terms { white-space: pre-line; font-size: 14px; color: #444; line-height: 1.8; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-grid h3 { margin: 0 0 10px; font-size: 16px; color: var(--brand); }
.sitemap-grid ul { list-style: none; margin: 0; padding: 0; }
.sitemap-grid li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.sitemap-grid a:hover { color: var(--brand); }
.company-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
.company-hero img { border-radius: var(--radius); }
.company-hero h2 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; font-weight: 900; }
.company-hero h2 span { color: #00a0e9; }
.company-hero .tag { display: inline-block; background: #00a0e9; color: #fff; padding: 4px 12px; font-family: 'Lato', sans-serif; font-weight: 700; margin-bottom: 10px; }
@media (max-width: 760px) { .company-hero { grid-template-columns: 1fr; } }
.brand-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) { .brand-list { grid-template-columns: 1fr 1fr; } }
.brand-list div { background: var(--bg-soft); border-radius: 12px; padding: 16px; text-align: center; }
.brand-list b { display: block; font-family: 'Lato', sans-serif; font-size: 18px; color: var(--brand); }
.proof-frame { width: 100%; height: 900px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
@media (max-width: 760px) { .proof-frame { height: 640px; } }

.price-cta { margin-top: 36px; padding: 22px; border-radius: 14px; background: var(--bg-soft); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.price-cta p { margin: 0; font-weight: 700; }

/* ---------- 작업 사례 페이지 (work/번호.html — _tools/build_seo.py 로 만듦) ---------- */
.crumbs { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 6px; }
.work-main { padding: 32px var(--gutter) 72px; max-width: 960px; margin: 0 auto; }
.work-imgs { display: grid; gap: 14px; }
.work-imgs img { width: 100%; height: auto; border-radius: 10px; background: var(--bg-soft); }
.work-desc { white-space: pre-line; color: #444; font-size: 16px; line-height: 1.8; margin: 26px 0 0; }
.work-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.work-nav a { flex: 1 1 200px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; min-width: 0; }
.work-nav a small { display: block; color: var(--muted); font-size: 12px; }
.work-nav a b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-nav a:hover { border-color: var(--brand); color: var(--brand); }
.work-nav .next { text-align: right; }
.work-more { margin-top: 48px; }
.work-more h2 { margin: 0 0 16px; font-size: 20px; }
.work-more .all { text-align: center; margin-top: 22px; }
/* 사이트맵의 작업 사례 전체 목록 */
.works-index { margin-top: 44px; }
.works-index h2 { font-size: 20px; margin: 0 0 6px; }
.works-index h3 { margin: 22px 0 8px; font-size: 16px; color: var(--brand); }
.works-index ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 24px; }
.works-index li { padding: 5px 0; font-size: 14px; break-inside: avoid; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.works-index a:hover { color: var(--brand); }
