/* 도배솔루션 2버전 - 모바일 우선. 분기: 768px, 1100px. 외부 폰트·CDN 없음.
   색: 아이보리 화이트 바탕 + 원목(갈색) 강조, 로고 노랑(--brand)은 문의 버튼에만 (HOMEPAGE_CHANGES A1). */
:root {
  --paper: #fffefa;
  --white: #ffffff;
  --ink: #1c1c1c;
  --muted: #555552;
  --wood: #6b4a33;
  --beige: #efe5d7;
  --beige-ink: #4a3222;
  --line: #e4ddd2;
  --field: #cdc6bb;
  --sand: #f5efe7;
  --sage: #efe6db;
  --contact: #efe6db;
  --accent: #d9c3a8;
  --focus: #6b4a33;
  --brand: #f8b62b;
  --brand-ink: #1c1c1c;
  --deco: #9c7f68;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --bar-h: 56px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: 15px; line-height: 1.65; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: #f3dfb0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 100; background: var(--wood); color: #fff; padding: 14px 18px; }
.skip:focus { top: 12px; }

.wrap { width: calc(100% - 32px); max-width: 1320px; margin-inline: auto; }
.number { font-family: var(--serif); font-style: italic; font-weight: 400; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.fact { font-size: 16px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.muted { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 버튼 (모두 직각) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--wood); background: var(--white); color: var(--beige-ink); font-size: 14px; font-weight: 600;
  border-radius: 0; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--beige); color: var(--beige-ink); transform: translateY(-2px); }
.btn-primary { background: var(--beige); border-color: var(--wood); color: var(--beige-ink); }
.btn-primary:hover { background: #e6d8c5; }
/* 문의로 이어지는 버튼만 로고 노랑. 한 화면에 1~2개만 */
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 700; }
.btn-brand:hover { background: #eaa514; border-color: #eaa514; color: var(--brand-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.text-link:hover { color: var(--wood); }
a { text-underline-offset: 4px; }

/* 윗줄·헤더 */
.topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; padding: 4px 16px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.topline span:last-child { display: none; font-family: var(--serif); font-style: italic; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 254, 250, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { height: 36px; width: auto; }
.nav-cta { display: none; min-height: 44px; padding: 8px 18px; font-size: 14px; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; background: none; border: 0; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 6px auto; transition: transform .2s; }
.menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nav-links a { display: block; font-size: 15px; }
/* 1100px 미만: 햄버거 (JS 켜졌을 때). JS 꺼짐이면 헤더 아래 줄바꿈 목록 */
html.js .menu-toggle { display: block; }
html.js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
html.js .nav-links.open { display: block; }
html.js .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); min-height: 48px; }
html.no-js .nav-inner { flex-wrap: wrap; padding: 6px 0 10px; }
html.no-js .nav-links { width: 100%; order: 3; display: flex; flex-wrap: wrap; gap: 0 18px; }
html.no-js .nav-links a { padding: 10px 0; }

/* 공통 섹션 */
.v2-sec, .section { padding: 44px 0; }
.bg-white { background: var(--white); }
.bg-sage, .section.alt { background: var(--sage); }
.bg-contact { background: var(--contact); }
.bg-warm { background: var(--sage); color: var(--ink); }
.section-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.section-top .number { font-size: 15px; color: var(--wood); }
.section-top::after { content: ""; width: 46px; height: 1px; background: var(--wood); }
h2 { font-size: clamp(28px, 6vw, 44px); line-height: 1.35; letter-spacing: -.04em; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.v2-sec .wrap > p + p, .section .wrap > p { margin-top: 10px; }
.v2-sec p { color: var(--ink); }
.split { display: grid; gap: 18px; }
.split-head > p { margin-top: 10px; }
.section .wrap > h2 { margin-top: 0; }
.section .wrap > h2 ~ h2 { margin-top: 20px; }
.section .wrap > h3 { margin-top: 18px; margin-bottom: 6px; }
.section .wrap p a, .v2-sec p a { text-decoration: underline; text-decoration-thickness: 1px; }

/* 첫 화면 */
.v2-hero { padding: 24px 0 28px; }
.hero-grid { display: grid; gap: 20px; }
.hero-copy { animation: riseIn .9s var(--ease) both; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: 1.2px; text-transform: none; font-size: 13px; color: var(--muted); }
.hero-copy .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.v2-hero h1 { font-size: clamp(38px, 9vw, 64px); line-height: 1.25; letter-spacing: -.05em; font-weight: 600; margin: 14px 0 0; }
.v2-hero h1 em { font-style: normal; color: var(--wood); }
.slogan { margin-top: 12px; font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--wood); }
.lead { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.hero-actions .btn { min-height: 48px; padding: 12px 8px; text-align: center; }
.hero-actions .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hero-ratings { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 10px; }
.hero-ratings a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--line); }
.hero-ratings strong { color: var(--wood); }
.hero-quote-cta { margin-top: 10px; }
.hero-quote-cta .btn { width: 100%; min-height: 52px; font-size: 16px; }
.hero-note { margin-top: 10px; }
.hero-note a { text-decoration: underline; }
.hero-visual { --photo-h: 320px; position: relative; overflow: hidden; background: var(--sand); }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual > picture { display: block; height: var(--photo-h); }
.hero-visual img { object-fit: cover; object-position: 50% 50%; animation: photoIn 1.3s var(--ease) both; }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--photo-h) * .45); height: calc(var(--photo-h) * .55); background: linear-gradient(transparent, rgba(28, 28, 28, .5)); pointer-events: none; }
.image-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255, 254, 250, .88); padding: 8px 12px; font-size: 12px; letter-spacing: .6px; }
.hero-no { position: absolute; top: 8px; right: 16px; z-index: 2; font-size: 36px; color: #fffefa; }
.hero-quote { position: relative; z-index: 2; margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 0; padding: 14px 16px; }
.hero-quote blockquote { margin: 0 0 6px; font-weight: 600; font-size: 15px; line-height: 1.55; }
.hero-quote figcaption { font-size: 13px; color: var(--muted); }
.hero-quote a { text-decoration: underline; padding: 8px 0; display: inline-block; }

/* 신뢰 띠 */
.trust-band { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.trust-item:first-child { border-top: 0; }
.trust-item .number { font-size: 22px; color: var(--deco); min-width: 30px; }
.trust-title { font-size: 15px; font-weight: 600; line-height: 1.5; }
.trust-text { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.55; }

/* 01 작업 현장: 블로그 최신 글 카드 */
.blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-top: 16px; }
.blog-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); transition: border-color .2s; }
.blog-card:hover { border-color: var(--wood); }
.blog-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.blog-date { padding: 10px 12px 0; font-size: 12px; color: var(--muted); }
.blog-card h3 { padding: 2px 12px 12px; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 한눈에·쇼룸 표 */
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); padding: 10px 0 0; line-height: 1.5; }
.facts dd { margin: 0; padding: 0 0 10px; font-size: 15px; line-height: 1.55; border-bottom: 1px solid var(--line); }
.facts a { text-decoration: underline; text-decoration-thickness: 1px; }

p + .facts, .showroom-text .facts { margin-top: 14px; }
.summary-more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border: 1px solid var(--wood); background: var(--white); color: var(--beige-ink); font-weight: 600; cursor: pointer; list-style: none; }
.summary-more > summary::-webkit-details-marker { display: none; }
.summary-more > summary::after { content: "+"; font-size: 22px; font-weight: 300; }
.summary-more[open] > summary::after { content: "\2212"; }
.summary-more[open] > summary { margin-bottom: 14px; }

/* 원칙 */
.signature { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.signature span { font-size: 13px; color: var(--muted); }
.signature strong { font-family: var(--serif); font-size: 20px; font-weight: 400; font-style: italic; color: var(--wood); }
.principle-list { margin-top: 4px; }
.principle-row { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); }
.principle-list .principle-row:last-child { border-bottom: 1px solid var(--line); }
.row-no { font-size: 13px; color: var(--wood); padding-top: 5px; }
.principle-row h3, .principle-row h2 { font-size: 18px; line-height: 1.5; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.principle-row .fact { font-size: 15px; margin-top: 6px; line-height: 1.55; }
.principle-row p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--ink); font-weight: 400; }
.principle-row p + p { color: var(--muted); }
.principle-row p.fact { color: var(--ink); }

/* 시공 종류 */
.head-row { display: grid; gap: 2px; margin-bottom: 16px; }
.head-row h2 { margin-bottom: 8px; }
.service-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background .2s; }
.service-card > a { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 20px 16px; }
.service-card:hover { background: var(--paper); }
.service-card svg { width: 36px; height: 36px; fill: none; stroke: var(--wood); stroke-width: 1.2; margin-bottom: 10px; }
.service-card h3 { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.svc-quote { font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.svc-line { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 767px) {
  .service-card:not(.cta) > a { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; }
  .service-card:not(.cta) svg { margin: 0; }
  .service-card:not(.cta) h3 { margin: 0; }
  .service-card:not(.cta) p { grid-column: 1 / -1; }
  .service-card:not(.cta) .svc-quote { margin-top: 10px; }
}
.service-card.cta { background: var(--brand); color: var(--brand-ink); display: flex; align-items: flex-end; min-height: 96px; }
.service-card.cta a { width: 100%; height: auto; font-size: 18px; font-weight: 700; flex-direction: row; align-items: center; min-height: 48px; }
.service-card.cta:hover { background: #eaa514; }
.price-link { margin-top: 18px; }

/* 시공 지역 */
.area-groups { margin-top: 4px; border-top: 1px solid var(--line); }
.area-group { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.area-group h3 { font-size: 15px; font-weight: 700; margin: 0; }
.area-names { font-size: 15px; line-height: 1.7; }
.area-list, .area-list li { display: inline; }
.area-list li + li::before { content: " \00B7 "; color: var(--muted); }
.tool { margin-top: 16px; }
.tool h3 { margin-bottom: 12px; }
label, legend { font-size: 14px; font-weight: 600; color: var(--ink); }
legend { padding: 0; margin-bottom: 8px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
input[type=text], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font-size: 16px; color: var(--ink);
  border: 1px solid var(--field); background: var(--white); border-radius: 0;
}
input[type=text]::placeholder, textarea::placeholder { color: #6e6961; opacity: 1; }
select { appearance: auto; }
textarea { min-height: 96px; resize: vertical; padding: 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.field { margin-bottom: 14px; }
.field label, fieldset label { display: block; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hint[data-status=ok] { color: var(--wood); font-weight: 600; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); background: var(--white); font-weight: 500; font-size: 15px; cursor: pointer; color: var(--ink); }
.choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.unit-input + .choices { margin-top: 10px; }
.choices label:has(input:checked) { background: var(--beige); border-color: var(--wood); box-shadow: inset 0 0 0 1px var(--wood); color: var(--beige-ink); font-weight: 600; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.sms-preview { display: block; width: 100%; min-height: 200px; margin: 6px 0 12px; padding: 14px; background: var(--white); border: 1px solid var(--field); font-size: 16px; line-height: 1.7; white-space: pre-wrap; overflow: hidden; resize: none; }
html.no-js .needs-js { display: none; }
#quote-form > h3 { margin-top: 8px; }
.is-missing { outline: 2px solid var(--wood); outline-offset: 4px; }
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(28, 28, 28, .7); }
.modal[hidden] { display: none; }
.modal-card { width: 100%; max-width: 440px; padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); }
.modal-card h3 { margin-bottom: 12px; }
.modal-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.modal-list button { min-height: 44px; padding: 8px 16px; background: var(--white); border: 1px solid var(--wood); color: var(--beige-ink); font-size: 15px; font-weight: 600; border-radius: 0; }
.modal-list button::after { content: " \203A"; }
.modal-list button:hover, .modal-list button:focus-visible { background: var(--beige); }
.modal-card .btn-row { margin-top: 16px; }

/* 간편 견적 문자 만들기 (HOMEPAGE_CHANGES D) */
.quote-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin-top: 16px; }
.quote-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.quote-steps li + li::before { content: "\2192"; color: var(--wood); font-weight: 400; margin-right: 2px; }
.qs-no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--beige); border: 1px solid var(--wood); color: var(--beige-ink); font-size: 13px; font-weight: 700; }
.quote-card { background: var(--white); border: 1px solid var(--line); padding: 0 16px; margin-bottom: 20px; }
.quote-card .q-item { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.quote-card .q-item:first-child { border-top: 0; }
.quote-card .q-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
/* fieldset 제목(legend)이 위 구분선에 걸려 선이 관통하지 않게 띄워서 배치 */
.quote-card legend.q-label { float: left; width: 100%; padding: 0; }
.quote-card fieldset.q-item > :not(legend) { clear: both; }
.q-no { color: var(--wood); font-weight: 600; }
.req { padding: 1px 7px; font-size: 11px; font-weight: 700; line-height: 1.6; color: var(--beige-ink); background: var(--beige); border: 1px solid var(--wood); }
.q-sub { font-size: 13px; font-weight: 400; color: var(--muted); }
.q-extra { margin-top: 12px; }
.q-extra label { margin-bottom: 6px; font-size: 14px; }
.q-extra[hidden], .quote-card [hidden] { display: none; }
.unit-input { position: relative; }
.unit-input input { padding-right: 44px; }
.unit-input span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.photo-tip { margin: 4px 0 0; padding: 12px 14px; background: #fdf3dc; border: 1px solid #f2d48c; font-size: 15px; line-height: 1.6; }
.quote-contact { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote-contact .contact-links { margin-top: 4px; }

/* 상담 */
.contact-meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 12px; }
.contact-form { padding-top: 6px; }
.contact-form .tool { margin: 0; padding: 0; background: none; border: 0; }
.contact-form .btn-primary { width: 100%; }
.contact-form #sms-copy { width: 100%; }
.contact-form .btn-row { flex-direction: column; margin-top: 14px; }

.gallery { display: grid; gap: 12px; margin-top: 20px; }
.gallery img, .photos img { width: 100%; object-fit: cover; }
.gallery img { aspect-ratio: 4 / 3; }
figcaption { font-size: 13px; padding-top: 8px; }

/* 대표 소개 */
.about-photos { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 420px; margin-bottom: 20px; }
.about-text > p { margin-top: 10px; }
.about-text h3 { margin-top: 22px; }
.owner-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.certs figure { background: var(--white); border: 1px solid var(--line); padding: 8px; height: 100%; }
.certs a { display: block; }
.certs img { width: 100%; }
.certs figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); }

/* 쇼룸 */
.showroom-layout { display: grid; gap: 18px; }
.showroom-photo { position: relative; }
.showroom-photo { display: grid; gap: 10px; }
.showroom-photo figure { position: relative; }
.showroom-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.photo-note { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 254, 250, .9); font-size: 12px; padding: 6px 10px; color: var(--ink); }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.photos figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.photos img { aspect-ratio: 4 / 3; }
.photos.two { grid-template-columns: 1fr; max-width: 480px; margin-top: 22px; }
.photos.two img { aspect-ratio: auto; }

/* FAQ */
.faq-list { margin-top: 4px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 8px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-more { border-top: 1px solid var(--line); }
.faq-more > summary { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; border: 1px solid var(--wood); border-radius: 8px; color: var(--wood); font-weight: 600; cursor: pointer; list-style: none; }
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more[open] > summary { margin-bottom: 4px; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; color: var(--wood); flex-shrink: 0; }
.faq-item details[open] summary::after { content: "\2212"; }
.faq-item h3 { font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.faq-item p { padding: 0 34px 14px 0; font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0; }
.faq-item p.faq-link { margin-top: -6px; }
.faq-link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--wood); text-decoration: underline; text-underline-offset: 5px; }
.ans-line { display: block; }
.ans-line + .ans-line { margin-top: 8px; }

/* 세부 페이지 */
.crumbs { padding: 14px 0 0; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--deco); }
.crumbs a { display: inline-block; padding: 12px 2px; text-decoration: underline; text-decoration-thickness: 1px; }
.page-head { padding: 12px 0 28px; }
.page-head .eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: 1.2px; text-transform: none; font-size: 13px; color: var(--muted); }
.page-head .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.page-head h1 { font-size: clamp(32px, 7.5vw, 52px); line-height: 1.3; letter-spacing: -.045em; font-weight: 600; margin: 12px 0 10px; }
.page-head .btn-row { align-items: center; gap: 6px 22px; }
.page-visual { display: none; position: relative; background: var(--sage); min-height: 280px; align-items: center; justify-content: center; }
.page-visual svg { width: 120px; height: 120px; fill: none; stroke: var(--wood); stroke-width: 1; }
.page-visual .number { position: absolute; right: 24px; bottom: 12px; font-size: 64px; color: var(--deco); line-height: 1; }
.page-sub { margin-top: 2px; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--wood); }
.page-lead { margin: 10px 0 4px; font-size: 16px; line-height: 1.7; }
.section .wrap > h2 ~ h2 { margin-top: 32px; }
.check-list { margin: 10px 0 0; }
.check-list li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--wood); }
.svc-common .check-list li { border-top: 0; padding: 4px 0 4px 20px; }
.svc-common .check-list li::before { top: 13px; }
.steps-named strong { display: block; color: var(--ink); }
.related .link-chips { margin-top: 12px; }
.steps { counter-reset: s; margin: 12px 0; }
.steps li { counter-increment: s; position: relative; padding: 8px 0 8px 44px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 8px; font-family: var(--serif); font-style: italic; color: var(--wood); }
.section .gallery { margin-top: 14px; }
.svc-common .principle-row:first-child { border-top: 0; padding-top: 0; }
.svc-common p { margin-top: 10px; font-size: 15px; color: var(--ink); }
.svc-common p.fact { margin-top: 10px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band h3 { margin-top: 20px; margin-bottom: 8px; font-size: 15px; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.link-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; }
.link-chips a:hover { border-color: var(--wood); }

/* 404 */
.notfound { padding: 56px 0 72px; }
.nf-no { display: block; font-size: 96px; line-height: 1; color: var(--deco); margin-bottom: 8px; }
.notfound h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.3; letter-spacing: -.04em; font-weight: 600; margin-bottom: 14px; }
.notfound .btn-row { margin-bottom: 28px; }
.notfound .link-chips { margin-bottom: 22px; }
.notfound p a { text-decoration: underline; }

/* 푸터 */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 20px; }
.footer-main { display: flex; flex-direction: column; gap: 14px; }
.footer-info img { height: 40px; width: auto; margin-bottom: 8px; }
.footer-info address { font-style: normal; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer-info address a { text-decoration: underline; text-decoration-thickness: 1px; padding: 2px 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 4px; }
.footer-links a { display: inline-block; padding: 10px 0; font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; }
.footer-message { font-size: 22px; line-height: 1.4; color: var(--wood); }
.footer-bottom { margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom small { font-size: 13px; }

/* 모바일 하단바 */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -2px 14px rgba(0, 0, 0, .06); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bottom-bar a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: var(--bar-h); padding: 6px 4px; font-size: 14px; font-weight: 600; border-right: 1px solid var(--line); }
.bottom-bar a:last-child { background: var(--brand); color: var(--brand-ink); font-weight: 700; border-right: 0; }

@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }

@media (min-width: 480px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  body { font-size: 16px; padding-bottom: 0; }
  .wrap { width: calc(100% - 64px); }
  html { scroll-padding-top: 80px; }
  .bottom-bar { display: none; }
  .topline { padding: 4px 32px; }
  .topline span:last-child { display: inline; }
  .v2-sec, .section { padding: 64px 0; }
  .nav-cta { display: inline-flex; }
  .nav-inner { min-height: 78px; }
  .brand img { height: 42px; }
  .v2-hero { padding: 48px 0 56px; }
  .hero-visual { --photo-h: 460px; }
  .trust-band { grid-template-columns: repeat(3, 1fr); padding: 26px 0; }
  .trust-item { border-top: 0; border-left: 1px solid var(--line); padding: 0 24px; }
  .trust-item:first-child { border-left: 0; padding-left: 0; }
  .facts { display: grid; grid-template-columns: 180px 1fr; }
  .facts dt { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .facts dd { padding: 16px 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .photos { grid-template-columns: repeat(3, 1fr); }
  .photos figure:last-child:nth-child(odd) { grid-column: auto; }
  .head-row h2 { margin-bottom: 0; }
  .certs figcaption { font-size: 13px; }
  .faq-item h3 { font-size: 17px; }
  .summary-more > summary { display: none; }
  .blog-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .blog-card h3 { font-size: 16px; }
  .service-card h3 { font-size: 22px; }
  .quote-card { padding: 0 24px; }
  .page-head { padding: 24px 0 48px; }
  .section-top { margin-bottom: 18px; }
  h2 { margin-bottom: 16px; }
  .split { gap: 24px; }
  .service-card > a { padding: 24px 20px; }
  .service-card svg { width: 40px; height: 40px; margin-bottom: 14px; }
  .principle-row { padding: 28px 0; }
  .faq-item summary { padding: 14px 0; min-height: 56px; }
  .faq-item p { line-height: 1.8; padding-bottom: 18px; }
  .v2-hero { padding: 40px 0 48px; }
}

@media (min-width: 1100px) {
  html.js .menu-toggle { display: none; }
  html.js .nav-links, html.js .nav-links.open, html.no-js .nav-links { display: flex; position: static; background: none; border: 0; padding: 0; width: auto; order: 0; gap: 4px 30px; margin: 0 auto; }
  html.js .nav-links a, html.no-js .nav-links a { padding: 12px 0; border: 0; min-height: 0; font-size: 14px; }
  html.js .nav-links a:hover { opacity: .6; }
  html.no-js .nav-inner { flex-wrap: nowrap; padding: 0; }
  .nav-cta { margin-left: 8px; }
  .v2-sec, .section { padding: 84px 0; }
  .split { grid-template-columns: 37fr 63fr; gap: 72px; }
  .split.about { grid-template-columns: 45fr 55fr; }
  .split.about > .about-photos { align-self: center; margin-bottom: 0; }
  .split.strengths { grid-template-columns: 45fr 55fr; gap: 70px; }
  .split.summary { grid-template-columns: 37fr 63fr; }
  .split.area, .split.quote { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split.quote > .split-head { position: sticky; top: 110px; align-self: start; }
  .split.page-head-split { grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 64px; }
  .hero-grid { grid-template-columns: 46fr 54fr; gap: 56px; align-items: center; }
  .v2-hero { padding: 56px 0 64px; }
  .hero-visual { --photo-h: 500px; }
  .hero-copy .eyebrow { font-size: 14px; }
  .slogan { font-size: 18px; }
  .lead { font-size: 16px; }
  .head-row { grid-template-columns: 1fr 360px; align-items: end; gap: 40px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card > a { padding: 28px 24px 24px; min-height: 220px; }
  .showroom-layout { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: stretch; }
  /* 사진 칸 높이는 오른쪽 글 높이를 따른다 (contain: size 로 사진 자체 높이는 무시) */
  .showroom-photo { grid-template-rows: 1fr 1fr; contain: size; min-height: 640px; }
  .showroom-photo figure, .showroom-photo picture { height: 100%; min-height: 0; }
  .showroom-photo img { height: 100%; aspect-ratio: auto; }
  .showroom-photo { order: -1; }
  .page-visual { display: flex; }
  .footer-main { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 768px) {
  .hero-actions { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .hero-actions .btn:last-child:nth-child(odd) { grid-column: auto; }
}

/* 사진 1~2장일 때 빈 칸 방지 */
.gallery:has(li:only-child) { grid-template-columns: minmax(0, 560px); }
@media (min-width: 768px) {
  .gallery:has(li:only-child) { grid-template-columns: minmax(0, 560px); }
}

/* 사진 크게 보기 (lightbox) */
.lb-zoom { cursor: zoom-in; }
.lb-pic { position: relative; }
.lb-pic::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; opacity: .6; background: rgba(0,0,0,.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 13px no-repeat; pointer-events: none; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.97); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 8px 64px; box-sizing: border-box; }
.lb-img { display: block; max-width: 100%; max-height: 100%; min-height: 0; flex: 0 1 auto; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.lb-cap { flex: 0 0 auto; color: #fff; font-size: 14px; line-height: 1.4; text-align: center; padding: 8px 16px 0; }
.lb-count { position: absolute; top: 18px; left: 16px; color: #fff; font-size: 14px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-close { top: 8px; right: 8px; font-size: 34px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }
body.lb-open { overflow: hidden; }
.lb-quote { flex: 0 0 auto; max-width: 560px; margin: 8px 16px 0; padding: 14px 16px; text-align: center !important; background: #222; border-left: 3px solid var(--brand); color: #fff; text-align: left; }
.lb-quote[hidden] { display: none; }
.lb-q { margin: 0; font-size: 16px; line-height: 1.55; }
.lb-m { margin: 6px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
/* 크게 보기: 홈페이지 색(아이보리·원목)에 맞춘 밝은 배경 */
.lb { background: var(--paper); }
.lb-img { box-shadow: 0 6px 24px rgba(28,28,28,.18); }
.lb-cap { color: var(--ink); font-weight: 600; }
.lb-count { color: var(--muted); }
.lb-btn { background: var(--wood); color: var(--white); }
.lb-btn:focus-visible { outline-color: var(--focus); }
.lb-quote { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brand); color: var(--ink); }
.lb-m { color: var(--muted); }
.lb-count { display: none; }
.lb-prev, .lb-next { background: rgba(74,50,34,.32); }
.lb-cap[hidden] { display: none; }
.lb-q { font-size: 20px; line-height: 1.5; font-weight: 600; }
.lb-m { font-size: 14px; }
.lb-when { margin-top: 2px; }

/* 가격 페이지: 표는 가로 스크롤 없이 칸 안에서 줄바꿈 */
.price-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; line-height: 1.55; }
.price-table caption { text-align: left; font-weight: 600; padding: 0 0 8px; color: var(--ink); }
.price-table th, .price-table td { padding: 10px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; word-break: keep-all; }
.price-table thead th { background: var(--sage); border-top: 1px solid var(--ink); font-size: 13px; color: var(--muted); font-weight: 600; }
.price-table tbody th { font-weight: 600; }
.price-table td strong { display: block; }
.price-table .sub { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.price-table-pkg th[rowspan] { background: var(--white); border-right: 1px solid var(--line); }
.price-notes { padding-left: 1.2em; margin: 8px 0 26px; }
.price-notes li { margin-bottom: .35em; }
.price-link { margin-top: 18px; }
@media (max-width: 480px) { .price-table { font-size: 14px; } .price-table th, .price-table td { padding: 8px 5px; } }

/* 쇼룸 아래 찾아오는 길 사진 1장 */
.photos.showroom-way { grid-template-columns: 1fr; max-width: 560px; }

/* 메인 맨 위: 도배 전 작은 사진 + 도배 후 표시 */
.hero-before { position: absolute; top: 52px; left: 12px; z-index: 2; width: 36%; max-width: 220px; margin: 0; border: 3px solid var(--white); background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.hero-visual .hero-before picture { height: auto; }
.hero-visual .hero-before img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; animation: none; }
.hero-before figcaption { position: absolute; left: 0; bottom: 0; background: rgba(28, 28, 28, .75); color: #fff; font-size: 12px; line-height: 1.5; padding: 2px 8px; }
.hero-after-tag { position: absolute; right: 12px; top: calc(var(--photo-h) - 40px); z-index: 2; color: #fff; font-size: 13px; font-weight: 600; background: rgba(28, 28, 28, .55); padding: 3px 12px; border-radius: 99px; max-width: calc(100% - 24px); }
/* 아파트 바탕 작업 단계 사진 */
.photos.steps-photos { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.photos.steps-photos img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; }
.photos.steps-photos figcaption { font-size: 14px; margin-top: 6px; color: var(--muted); }
@media (min-width: 768px) { .photos.steps-photos { grid-template-columns: repeat(4, 1fr); } }
/* 쇼룸 영상 */
.showroom-video { max-width: 320px; margin: 0; }
.showroom-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); }
.showroom-video figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
/* 쇼룸 안내: 영상 위, 사진 3장 아래 */
.showroom-media { display: grid; gap: 14px; align-content: start; }
.showroom-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.showroom-photos figure { position: relative; margin: 0; }
.showroom-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.showroom-photos .photo-note { left: 6px; bottom: 6px; font-size: 11px; padding: 2px 6px; }
@media (min-width: 1100px) { .showroom-media { order: -1; } .showroom-video { max-width: 360px; } }
