/*
  디자인 메모
  주제: 상업시설 바닥관리 + 박람회 부스 청소. 읽는 사람: 시설 담당자, 전시·행사 담당자, 상가 임차인. 할 일: 견적 문의.
  색: 로고의 숲 녹색이 바탕, 하늘색은 선택 상태에만, 모래색은 로고 막대와 보조 버튼.
  글꼴: Pretendard 한 가지(가독성 우선). 굵기와 크기 차이로만 위계를 만든다.
  배치: 왼쪽 정렬. 첫 화면은 '현장 사진 | 녹색 견적 패널' 두 칸.
  힘을 줄 곳: 첫 화면 하나. 나머지는 사진과 정돈된 목록으로 조용하게.
  사진 자리: 회색 빗금 칸에 번호(P-01 등)와 들어갈 사진 설명. 사진이 정해지면 번호로 교체.
*/
:root {
  --forest: #33491f;
  --forest-deep: #24351a;
  --ink: #1d2418;
  --paper: #f6f6f2;
  --stone: #e6e7e0;
  --line: #d3d6cb;
  --line-strong: #a9b09d;
  --muted: #5d6656;
  --breeze: #9db3f5;
  --breeze-ink: #7b97e8;
  --sand: #f1e2d0;
  --sand-ink: #c9a77f;
  --white: #ffffff;
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --lift: 0 10px 24px -14px rgba(29, 36, 24, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
:focus-visible { outline: 3px solid var(--breeze); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lead { color: var(--muted); max-width: 56ch; }
/* 시설별 소개글은 PC에서 한 줄로 */
#places-title + .lead { max-width: none; }

/* 버튼: 올리면 진해짐 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-sand { background: var(--sand); color: var(--forest-deep); }
.btn-sand:hover { background: #e7d2b8; }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-deep); }
.btn-kakao { background: #fee500; color: #191600; }
.btn-kakao:hover { background: #f5d800; }
.btn-line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-line:hover { background: rgba(29, 36, 24, .06); }
.btn:active { transform: translateY(1px); }

/* 사진 자리 */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(-45deg, var(--stone) 0 10px, #eceee7 10px 20px);
  color: var(--muted); font-size: 13px; line-height: 1.45; padding: 10px; border-radius: 6px; overflow: hidden;
}
.ph b { display: block; font-size: 12px; font-weight: 700; color: var(--forest); letter-spacing: .02em; }
/* 실제 사진·영상이 들어간 칸 */
.ph.has-img { padding: 0; background: #1d2418; }
.ph.has-img img, .ph.has-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* 첫 화면 사진 위 글자가 잘 읽히도록 어둡게 덮음 */
.slide .ph.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 31, 15, .84) 0%, rgba(20, 31, 15, .6) 50%, rgba(20, 31, 15, .3) 100%); }
.ph-dark { background: repeating-linear-gradient(-45deg, #2b3f1c 0 12px, #2f4420 12px 24px); color: #a9b79b; }
.ph-dark b { color: var(--sand); }

/* 로고 */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1.1; }
.brand .ko { font-size: 20px; font-weight: 700; letter-spacing: .12em; }
.brand .en { font-size: 10.5px; font-weight: 500; letter-spacing: .32em; color: var(--muted); margin-top: 3px; }
.brand-light { color: var(--white); }
.brand-light .en { color: #b9c4ad; }

/* 머리말 */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--ink); border-color: var(--forest); }
.top .call { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a { padding: 6px 10px; text-decoration: none; color: var(--muted); transition: background-color .15s, color .15s; }
.lang a:hover { color: var(--ink); background: var(--paper); }
.lang a[aria-current="page"] { background: var(--forest); color: var(--white); }
.top .tel { font-weight: 700; font-size: 18px; text-decoration: none; font-variant-numeric: tabular-nums; }

/* 첫 화면 */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--forest); color: var(--white); }
.hero-photo { position: relative; min-height: 640px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; }
.slide .ph { position: absolute; inset: 0; border-radius: 0; place-items: end start; padding: 0 var(--gutter) 22px; text-align: left; }
.ph-dark-2 { background: repeating-linear-gradient(45deg, #2b3f1c 0 12px, #314722 12px 24px); }
.hero-copy { position: relative; z-index: 1; padding: 48px var(--gutter) 40px; display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.hero-copy h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; }
.hero-copy .hero-h { font-size: clamp(28px, 3.3vw, 42px); font-weight: 700; }
.hero-copy p { color: #e4e9de; max-width: 42ch; }
.dots { position: absolute; z-index: 2; right: var(--gutter); bottom: 22px; display: flex; gap: 8px; }
.dots button { width: 34px; height: 6px; border-radius: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.35); transition: background-color .2s; }
.dots button:hover { background: rgba(255,255,255,.6); }
.dots button[aria-pressed="true"] { background: var(--sand); }
.hero-panel { padding: 40px clamp(20px, 4vw, 56px) 44px; display: flex; flex-direction: column; gap: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: #d8e0cf; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); }
/* facts 세로: 휴대폰에서는 4개를 위에서 아래로 */
@media (max-width: 860px) { .facts { flex-direction: column; gap: 6px; } }

/* 견적 폼 */
.quote { background: var(--white); color: var(--ink); border-radius: 10px; padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.quote h2 { font-size: 21px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.steps li { border-top: 3px solid var(--stone); padding-top: 6px; }
.steps li.on { border-color: var(--forest); color: var(--ink); font-weight: 600; }
.steps li.done { border-color: var(--forest); }
.steps li.skip { text-decoration: line-through; opacity: .6; }
.q-step { display: flex; flex-direction: column; gap: 16px; }
.q-step > p.q { font-weight: 600; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick label {
  position: relative; cursor: pointer; border: 2px solid var(--stone); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; background: var(--paper);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.pick .ph { aspect-ratio: 2 / 1; border-radius: 0; font-size: 10px; padding: 3px; }
.pick .t { padding: 6px 8px 8px; line-height: 1.3; }
.pick .t b { display: block; font-size: 13.5px; }
.pick .t small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 400px) { .pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick .wide { grid-column: 1 / -1; }
.pick input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips label {
  position: relative; cursor: pointer; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chips.big label { border-radius: 8px; padding: 10px 14px; font-size: 15px; font-weight: 500; }
.chips label:has(input:checked) { background: var(--forest); border-color: var(--forest); color: var(--white); }
.pick label:has(input:checked) { border-color: var(--forest); box-shadow: 0 0 0 3px var(--breeze); }
.pick label:has(input:focus-visible), .chips label:has(input:focus-visible) { outline: 3px solid var(--breeze); outline-offset: 2px; }
.sub-box { background: var(--paper); border-radius: 8px; padding: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); width: 100%; transition: border-color .15s; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field textarea { min-height: 72px; resize: vertical; }
.field small { font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.q-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.back { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.back:hover { color: var(--ink); }
.q-error { color: #a23a1c; font-size: 14px; min-height: 1em; }
.q-done { display: flex; flex-direction: column; gap: 12px; }
.q-done pre { white-space: pre-wrap; font: inherit; font-size: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 0; }
.q-done .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.q-done .note { font-size: 13px; color: var(--muted); }
.qr-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--paper); border-radius: 8px; padding: 12px; font-size: 13px; color: var(--muted); }
.qr-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.kakao-qr { display: block; width: 104px; height: 104px; background: var(--white); padding: 6px; border-radius: 6px; }
.kakao-qr img, .kakao-qr canvas { width: 100% !important; height: 100% !important; }
.qr-contact dd { display: flex; align-items: center; gap: 14px; font-size: 14px !important; font-weight: 400 !important; }
.qr-contact small { color: #cdd6c3; word-break: keep-all; }
.is-mobile .pc-only { display: none !important; }
.mobile-only { display: none !important; }
.is-mobile .mobile-only { display: inline-block !important; }
.qr-contact .kakao-qr { flex: none; width: 112px; height: 112px; }

/* 믿고 맡겨 주신 곳 (흐르는 로고 띠) */
.partners { overflow: hidden; padding-block: 80px; }
.partners .sec-head { margin-bottom: 28px; }
.marquee { position: relative; overflow: hidden; min-width: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: flow 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 14px 0 0; }
.marquee ul { gap: 44px; padding-right: 44px; align-items: center; }
.marquee li { height: 40px; display: flex; align-items: center; white-space: nowrap; }
.marquee li.word { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: #8a9282; transition: color .2s; }
.marquee li.logo img { height: 24px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.marquee li.word:hover { color: var(--forest); }
.marquee li.logo:hover img { filter: none; opacity: 1; }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 산들바람의 약속 (상호 · 문구 · 가치 3가지) */
.motto { background: var(--forest-deep); color: var(--white); padding: 72px 0 64px; text-align: center; }
.motto-brand { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .14em; color: #cdd6c3; }
.motto-brand span { color: var(--sand-ink); margin: 0 4px; }
.motto-text { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; line-height: 1.45; letter-spacing: -0.03em; }
.motto-text em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 1.25em; color: var(--sand); }
.motto-sub { margin: 14px 0 0; font-size: 13px; letter-spacing: .16em; color: var(--sand-ink); }
.motto-values { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.motto-values h3 { margin: 0 0 18px; font-size: 14px; letter-spacing: .16em; color: #cdd6c3; }
.motto-values ul { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.motto-values li { padding: 20px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(255, 255, 255, .03); display: grid; gap: 6px; }
.motto-values li b { font-size: 17px; color: var(--sand); }
.motto-values li span { font-size: 15px; color: #e3e8dc; word-break: keep-all; }
@media (max-width: 860px) {
  .motto { padding: 56px 0 48px; }
  .motto-values ul { grid-template-columns: 1fr; gap: 10px; }
  .motto-values li { padding: 16px; }
}

/* 공통 섹션 */
.sec { padding: 96px 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; }
.sec-alt { background: var(--white); }
.head-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; }
.head-text { display: grid; gap: 12px; }
@media (max-width: 640px) { .head-row { grid-template-columns: minmax(0, 1fr); } .head-row .btn { justify-self: start; } }

/* 시공 전후 */
.cases { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.case-list { border-top: 2px solid var(--forest); }
.case-list ul { list-style: none; margin: 0; padding: 4px 0 10px; display: none; }
.case-group.is-open ul { display: block; }
.case-group { border-bottom: 1px solid var(--line); }
.case-list .case-gh {
  display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 0; padding: 18px 14px;
  background: none; border: 0; font: inherit; font-size: 19px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer;
  transition: color .15s;
}
.case-list .case-gh::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--forest); line-height: 1; }
.case-list .case-group.is-open .case-gh { color: var(--forest); }
.case-list .case-group.is-open .case-gh::after { content: '\2013'; }

.case-groups { display: none; }
.case-list button {
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 9px 4px 9px 26px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); font-weight: 500;
  border-left: 3px solid transparent; transition: background-color .15s, border-color .15s;
}
.case-list button:hover { background: var(--white); border-left-color: var(--line-strong); }
.case-list button[aria-selected="true"] { border-left-color: var(--forest); background: var(--white); font-weight: 700; }
.case-nav { min-width: 0; }
.case-view { display: grid; gap: 16px; min-width: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pair figure { margin: 0; position: relative; }
.pair .ph { aspect-ratio: 4 / 5; }
.pair figcaption { position: absolute; left: 10px; top: 10px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 4px; }
.pair figure:last-child figcaption { background: var(--forest); color: var(--white); }
.case-text { display: grid; gap: 4px; }
.case-text p { color: var(--muted); max-width: 64ch; }

/* 바닥 종류 */
.floors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.floor { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.floor .ph { aspect-ratio: 4 / 3; }
.floor p { color: var(--muted); font-size: 15px; }
.floor dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.floor dt { color: var(--muted); }
.floor dd { margin: 0; }

/* 시설별: 올리면 외곽선 진해지고 살짝 떠오름 */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.place {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px; align-items: start;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.place .ph { width: 96px; height: 96px; font-size: 11px; padding: 4px; }
.place p { color: var(--muted); font-size: 15px; }

/* 작업 순서 */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.tabs button {
  font: inherit; text-align: left; display: grid; gap: 2px; cursor: pointer;
  border: 2px solid var(--line); background: var(--paper); color: var(--muted); padding: 14px 18px; border-radius: 10px;
  transition: border-color .15s, background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.tabs button b { font-size: 18px; font-weight: 700; }
.tabs button small { font-size: 13px; }
.tabs button[aria-selected="true"] { border-color: var(--forest); background: var(--forest); color: var(--white); }
.tabs button[aria-selected="true"] small { color: #d8e0cf; }
.next-tab { margin-top: 20px; background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 600; color: var(--forest); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.next-tab:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
.process { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.process ol { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.process li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process li::before { content: counter(s); font-weight: 700; font-size: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--white); display: grid; place-items: center; }
.process li p { color: var(--muted); font-size: 15px; }
.process .lead { margin-bottom: 8px; }
.process aside { display: grid; gap: 12px; position: sticky; top: 94px; }
.process aside .ph { width: 100%; aspect-ratio: 9 / 14; }
.process aside p { font-size: 14px; color: var(--muted); }

/* 다른 작업 */
.extra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.extra div { border-top: 3px solid var(--forest); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.extra p { color: var(--muted); font-size: 15px; }

/* 블로그 */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.post { text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: 8px; padding: 10px; margin: -10px; border: 1px solid transparent; transition: border-color .15s, transform .15s, box-shadow .15s, background-color .15s; }
.post .thumb { aspect-ratio: 16 / 10; background: var(--stone); border-radius: 6px; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post h3 { font-size: 17px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.posts-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.posts-empty { color: var(--muted); }
.more-posts { display: none; }
/* 모바일: 3개(2칸일 때 4개)만 보이고 '글 더 보기'로 펼침 */
@media (max-width: 860px) {
  .more-posts { display: inline-flex; width: 100%; order: -1; }
  .posts:not(.expanded) .post:nth-child(n+5) { display: none; }
}
@media (max-width: 700px) {
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tabs button { padding: 12px 16px; }
}
@media (max-width: 560px) {
  .posts:not(.expanded) .post:nth-child(n+4) { display: none; }
}

/* 문의 */
.contact { background: var(--forest); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact .lead { color: #d8e0cf; }
.contact .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.contact .btn-line:hover { background: rgba(255,255,255,.1); }
.channels { margin: 0; display: grid; border-top: 1px solid rgba(255,255,255,.2); }
.channels div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.channels dt { color: #cdd6c3; font-size: 14px; }
.channels dd { margin: 0; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-all; }
.mini { background: none; border: 1px solid rgba(255,255,255,.5); color: var(--white); border-radius: 4px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s; }
.mini:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
footer { background: var(--forest-deep); color: #b9c4ad; font-size: 14px; padding: 28px 0 100px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.foot-info { display: grid; gap: 4px; text-align: right; font-size: 13px; line-height: 1.6; }
.foot-info p { margin: 0; }
.foot-info a { color: inherit; }
.place-link {
  display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 3px 10px 3px 8px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; color: #eef0e8 !important; text-decoration: none; font-size: 13px; transition: background-color .15s, border-color .15s;
}
.place-link:hover { background: rgba(255,255,255,.1); border-color: #eef0e8; }
.dd-note { font-size: 14px; font-weight: 400; color: #cdd6c3; }
/* 연락처 아래 안내 줄 (상담 시간 등) */
.channels .dd-sub { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; line-height: 1.5; color: #cdd6c3; white-space: normal; word-break: keep-all; }
.check { display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--forest); }

/* 모바일 하단 고정 */
.dock { display: none; }

/* 올렸을 때 떠오르는 효과: 마우스가 있는 기기에서만 */
@media (hover: hover) {
  .pick label:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--lift); }
  .chips label:hover { border-color: var(--forest); }
  .tabs button[aria-selected="false"]:hover { border-color: var(--forest); color: var(--ink); transform: translateY(-2px); box-shadow: var(--lift); }
  .place:hover { border-color: var(--forest); transform: translateY(-3px); box-shadow: var(--lift); }
  .post:hover { border-color: var(--line); background: var(--white); transform: translateY(-3px); box-shadow: var(--lift); }
  .post:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .marquee-track { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; }
  .marquee-track { width: auto; }
  .pick label:hover, .place:hover, .post:hover { transform: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .process { grid-template-columns: minmax(0, 1fr) 320px; }
  .floors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { min-height: 480px; }
  .partners { padding-block: 64px; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .case-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
  .case-groups button {
    font: inherit; font-size: 14px; font-weight: 600; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 6px;
    background: var(--white); color: var(--ink); cursor: pointer; word-break: keep-all; line-height: 1.25;
  }
  .case-groups button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
  .case-list .case-gh { display: none; }
  .case-group { display: none; }
  .case-group.is-open { display: block; }
  .case-list { border-top: 0; }
  .case-group { border-bottom: 0; }
  .case-group.is-open ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
  .case-list button { width: auto; border: 1.5px solid var(--line); border-radius: 6px; padding: 8px 12px; }
  .case-list button[aria-selected="true"] { border-color: var(--forest); }
  .contact .btns.pc-wide { display: none; } /* 휴대폰은 하단 고정 버튼(전화·카톡·견적 받기) 사용 */
  .foot-info { text-align: left; }
  .places { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process aside { position: static; }
  .process aside .ph { max-height: 420px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .top .call .btn { display: none; }
  .sec { padding: 72px 0; }
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--white); border-top: 1px solid var(--line);
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); gap: 8px;
  }
  .dock a { min-height: 46px; font-size: 15px; padding: 0 8px; }
}
@media (max-width: 560px) {
  .floors, .posts, .extra { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .steps { font-size: 12px; }
  .top .tel { display: none; } /* 휴대폰은 하단 고정 '전화' 버튼 사용 */
  .top .wrap { gap: 12px; }
  .top .call { gap: 10px; }
  .channels div { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .channels dd { font-size: 17px; }
  .channels dd.kakao-name { font-size: 15px; white-space: nowrap; word-break: normal; }
  .channels .dd-note { display: block; margin-top: 2px; }
  .channels dd.mail { font-size: 15px; white-space: nowrap; word-break: normal; }
}

/* 휴대폰: ( ) 문구는 한 덩어리로 다음 줄에 (너무 길면 그 안에서만 줄바꿈) */
@media (max-width: 860px) { .paren { display: inline-block; max-width: 100%; } .place h3 .paren { font-size: .78em; font-weight: 600; } }

/* 시공 전후: 사진에 마우스를 올리면 살짝 확대 + '크게 보기', 누르면 화면 가득 */
.pair .ph.has-img { cursor: zoom-in; }
.pair .ph.has-img img { transition: transform .5s ease; }
.pair .ph.has-img::after { content: "크게 보기"; position: absolute; right: 10px; bottom: 10px; padding: 4px 11px; border-radius: 999px;
  background: rgba(20, 31, 15, .74); color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(4px);
  transition: opacity .3s, transform .3s; pointer-events: none; }
html[lang="en"] .pair .ph.has-img::after { content: "View larger"; }
.pair .ph.has-img:focus-visible { outline: 3px solid var(--sand-ink); outline-offset: 2px; }
@media (hover: hover) {
  .pair .ph.has-img:hover img { transform: scale(1.04); }
  .pair .ph.has-img:hover::after, .pair .ph.has-img:focus-visible::after { opacity: 1; transform: none; }
}
@media (hover: none) {
  .pair .ph.has-img::after { content: "누르면 크게"; opacity: .92; transform: none; }
  html[lang="en"] .pair .ph.has-img::after { content: "Tap to enlarge"; }
}
.viewer { border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: rgba(10, 14, 8, .9); }
.viewer figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.viewer img { display: block; max-width: min(92vw, 760px); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.viewer figcaption { color: #fff; font-size: 15px; font-weight: 600; }
.v-close, .v-nav { position: fixed; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; font: 400 30px/1 system-ui, sans-serif; cursor: pointer; transition: background-color .15s; }
.v-close:hover, .v-nav:hover { background: rgba(255, 255, 255, .26); }
.v-close { top: 14px; right: 16px; }
.v-nav { top: 50%; transform: translateY(-50%); }
.v-prev { left: 14px; } .v-next { right: 14px; }
@media (max-width: 860px) { .v-nav { top: auto; bottom: 22px; transform: none; } .v-prev { left: calc(50% - 60px); } .v-next { right: calc(50% - 60px); } }

/* 바닥 종류 사진: 왁스 광택처럼 빛줄기가 한 번 스침 */
.floor .ph.has-img img { transition: transform .6s ease; }
.floor .ph.has-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); }
.floor .ph.has-img.shine::after { animation: floor-shine .8s ease-out; }
@keyframes floor-shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@media (hover: hover) {
  .floor:hover .ph.has-img img { transform: scale(1.05); }
  .floor:hover .ph.has-img::after { animation: floor-shine .8s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .floor .ph.has-img::after, .floor .ph.has-img.shine::after, .floor:hover .ph.has-img::after { animation: none; }
  .floor .ph.has-img img, .pair .ph.has-img img { transition: none; }
}

/* 사진·영상 저장 막기: 끌기, 휴대폰 길게 눌러 저장(아이폰), 선택 막기 */
img, video { -webkit-user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* 첫 화면 렉산 사진: 세로 사진이라 작업자가 있는 위쪽을 보여 줌 */
.slide img[src*="hero-lexan"] { object-position: 50% 0; }
