/* =====================================================================
   공개 홈페이지 스타일
   ===================================================================== */
:root {
  --bg: #F9F7F3;          /* 로고 바탕색과 같은 미색 */
  --surface: #FFFFFF;
  --ink: #1D1C1A;
  --logo-ink: #363635;     /* 로고 원본 색 */
  --ink-2: #55514B;
  --ink-3: #8A847B;
  --line: #E8E3DB;
  --line-2: #D8D1C6;
  --accent: #7A5C3E;
  --accent-soft: #F2ECE4;
  --dark: #1F1D1A;
  --kakao: #FEE500;
  --kakao-ink: #191600;
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 60px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; text-wrap: balance; }
p { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
@media (min-width: 1024px) { .section { padding: 128px 0; } }

.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 16px; max-width: 560px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more-link svg { width: 16px; height: 16px; transition: transform .2s; }
.more-link:hover svg { transform: translateX(3px); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-quiet { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
/* 카카오: 단추는 다른 단추와 같은 선 단추, 노란색은 동그라미 아이콘에만 */
.btn-kakao { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.kk-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--kakao); color: var(--kakao-ink); flex: none; }
.btn .kk-ico svg { width: 13px; height: 13px; }
/* 화살표 단추: 글자는 왼쪽, 화살표는 오른쪽 끝 */
.btn-go { justify-content: space-between; gap: 16px; }
.btn-go .go { display: inline-flex; transition: transform .2s; }
.btn-go:hover .go { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #654A31; }
.btn-kakao:hover { border-color: var(--ink); }

/* ---------- 데모 안내 ---------- */
.demo-bar { background: #3B3125; color: #F5EBDD; font-size: 13px; text-align: center; padding: 8px 16px; line-height: 1.5; position: relative; z-index: 60; }
.demo-bar b { color: #fff; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(249, 247, 243, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero.demo .site-header { top: 37px; }
.has-hero .site-header.solid { background: rgba(249, 247, 243, .96); color: var(--ink); border-color: var(--line); top: 0; backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }

.logo { display: flex; align-items: center; flex: none; color: var(--logo-ink); }
.logo svg { display: block; height: 28px; width: auto; }
.logo b { font-size: 20px; font-weight: 700; letter-spacing: -0.04em; }
@media (min-width: 768px) { .logo svg { height: 32px; } }
.has-hero .site-header .logo { color: #fff; }
.has-hero .site-header.solid .logo { color: var(--logo-ink); }

.gnb { display: none; }
.gnb a { font-size: 15.5px; font-weight: 500; padding: 8px 0; position: relative; opacity: .88; white-space: nowrap; }
.gnb a:hover, .gnb a[aria-current="page"] { opacity: 1; }
.gnb a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; }
.gnb .ext svg { width: 12px; height: 12px; display: inline-block; vertical-align: 1px; margin-left: 3px; opacity: .7; }
.header-tel { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.header-tel svg { width: 18px; height: 18px; }
.menu-btn { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; background: none; border: 0; }
.header-cta { display: none; }
@media (min-width: 1024px) {
  .header-cta { display: inline-flex; align-items: center; flex: none; white-space: nowrap; height: 40px; padding: 0 18px; margin-left: 24px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; border: 1px solid var(--ink); transition: background .2s, color .2s; }
  .header-cta:hover { background: #000; }
  .has-hero .site-header:not(.solid) .header-cta { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
  .has-hero .site-header:not(.solid) .header-cta:hover { background: #fff; color: var(--ink); }
}
.menu-btn svg { width: 26px; height: 26px; }
@media (min-width: 1024px) {
  .gnb { display: flex; gap: 28px; margin-left: auto; }
  .menu-btn { display: none; }
}
/* 화면이 넉넉할 때만 전화번호 글자 표시 (좁을 땐 오른쪽 아래 전화 버튼 사용) */
@media (min-width: 1280px) {
  .gnb { gap: 36px; }
  .header-tel { display: inline-flex; margin-left: 36px; }
}

/* 모바일 메뉴 */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; padding: 0 var(--gutter) 32px; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
.mnav.open { transform: none; visibility: visible; }
.mnav-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mnav ul { list-style: none; margin: 24px 0 0; padding: 0; }
.mnav li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
.mnav li a svg { width: 20px; height: 20px; opacity: .4; }
.mnav-cta { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }   /* 메뉴 목록과 붙지 않게 */
.mnav-cta .btn { width: 100%; height: 56px; font-size: 17px; justify-content: flex-start; gap: 12px; padding: 0 22px; }   /* 글자를 모두 왼쪽 줄에 맞춤 */
.mnav-cta .btn-go { justify-content: space-between; }
.mnav-cta .btn > svg { width: 22px; height: 20px; }   /* 전화·카카오 아이콘 폭을 맞춰 글자 시작점을 같게 */
.mnav-info { margin-top: 18px; font-size: 14px; color: var(--ink-3); text-align: center; }

/* ---------- 메인 히어로 ---------- */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #3a342d; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 9s ease-out; }
.hero-media img.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.38) 0%, rgba(20,17,14,0) 24%, rgba(20,17,14,.14) 48%, rgba(20,17,14,.72) 100%), linear-gradient(90deg, rgba(20,17,14,.32) 0%, rgba(20,17,14,0) 62%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; }
.hero-eyebrow { font-size: 13px; letter-spacing: .14em; font-weight: 500; opacity: .9; margin-bottom: 16px; }
.hero h1 { font-size: clamp(32px, 6vw, 60px); font-weight: 600; line-height: 1.25; letter-spacing: -0.04em; text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); opacity: .92; }
.hero-actions { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-caption { position: relative; z-index: 1; display: none; }
@media (min-width: 900px) {
  .hero .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 72px; }
  .hero-caption { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; opacity: .9; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; white-space: nowrap; }
  .hero-caption svg { width: 16px; height: 16px; }
}

/* ---------- 소개 + 숫자 ---------- */
.intro { display: grid; gap: 32px; }
.intro h2 { font-size: clamp(26px, 3.4vw, 40px); }
.intro p { color: var(--ink-2); font-size: 17px; line-height: 1.85; }
@media (min-width: 900px) { .intro { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; } }
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-top: 1px solid var(--line-2); }
.stats div { padding: 26px 0 0; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(28px, 4.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 768px) { .stats div + div { padding-left: 40px; } }

/* ---------- 경력 강조 (메인) ---------- */
.career-hero { display: grid; gap: 36px; }
@media (min-width: 900px) { .career-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; } }
.career-num { display: flex; align-items: flex-start; line-height: .82; color: var(--ink); }
.career-num b { font-size: clamp(140px, 26vw, 300px); font-weight: 200; letter-spacing: -0.07em; font-variant-numeric: lining-nums; margin-left: -0.06em; }
.career-num span { font-size: clamp(30px, 4vw, 48px); font-weight: 500; letter-spacing: -0.02em; margin: 0.25em 0 0 0.12em; }
.career-cap { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--ink-2); }
.career-cap .sep { margin: 0 .8em; opacity: .4; }
.career-cap b { font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.career-text h2 { font-size: clamp(26px, 3.4vw, 40px); }
.career-text p { margin-top: 20px; color: var(--ink-2); font-size: 17px; line-height: 1.85; }

/* ---------- 시공사례 카드 ---------- */
.works-grid { display: grid; gap: 44px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; } }
.work-card { display: block; }
.work-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); position: relative; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .count { position: absolute; right: 10px; bottom: 10px; background: rgba(20,17,14,.6); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 20px; display: inline-flex; gap: 5px; align-items: center; }
.work-card .count svg { width: 13px; height: 13px; }
.work-card .meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0 8px; }
.work-card .meta span + span::before { content: "|"; margin-right: 8px; color: var(--line-2); }
.work-card h3 { margin-top: 6px; font-size: 19px; font-weight: 600; line-height: 1.45; }
.tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; color: var(--ink-2); }

/* 대표 시공사례 — 첫 카드 크게 */
@media (min-width: 1024px) {
  .works-grid.featured { grid-template-columns: repeat(6, 1fr); }
  .works-grid.featured > .work-card { grid-column: span 2; }
  .works-grid.featured > .work-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .works-grid.featured > .work-card:nth-child(1) .thumb { aspect-ratio: auto; height: calc(100% - 110px); min-height: 420px; }
  .works-grid.featured > .work-card:nth-child(1) h3 { font-size: 23px; }
}

/* ---------- 필터 칩 ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter); margin: 0 calc(var(--gutter) * -1) 36px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 42px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 40px; background: var(--surface); font-size: 15px; font-weight: 500; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { margin-left: 4px; opacity: .55; font-weight: 400; }
.list-info { font-size: 14px; color: var(--ink-3); margin: -18px 0 28px; }
.load-more { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- 약속(원칙) ---------- */
.promise { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.promise li { list-style: none; padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; }
.promise .ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.promise .ico svg { width: 24px; height: 24px; }
.promise h3 { font-size: 20px; }
.promise h3 small { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); font-weight: 600; margin-right: 10px; vertical-align: 3px; }
.promise p { color: var(--ink-2); font-size: 15.5px; }
ul.promise { margin: 0; padding: 0; }
@media (min-width: 900px) {
  .promise { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 28px; }
  .promise li { border: 1px solid var(--line); background: var(--surface); padding: 40px 32px; display: block; }
  .promise .ico { margin-bottom: 28px; }
  .promise h3 { margin-bottom: 12px; }
}

/* ---------- 진행 과정 ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 32px 56px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--bg); z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 19px; top: 38px; bottom: 0; width: 1px; background: var(--line-2); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 18px; padding-top: 6px; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.section.alt .steps li::before { background: var(--surface); }
@media (min-width: 900px) {
  .steps.row { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps.row li { padding: 60px 0 0; }
  .steps.row li::after { left: 38px; right: -24px; top: 19px; bottom: auto; width: auto; height: 1px; }
  .steps.row li:last-child::after { display: none; }
}

/* ---------- 후기 ---------- */
.reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.reviews-row::-webkit-scrollbar { display: none; }
.reviews-row > * { scroll-snap-align: start; }
@media (min-width: 900px) { .reviews-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; margin: 0; gap: 24px; } }
.review { background: var(--surface); border: 1px solid var(--line); padding: 30px 28px 26px; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #C9A063; }
.stars svg { width: 17px; height: 17px; }
.stars .off { color: var(--line-2); }
.review blockquote { margin: 16px 0 0; font-size: 16px; line-height: 1.8; color: var(--ink); flex: 1; }
.review.clamp blockquote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review .who { margin-top: 22px; font-size: 14px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.review .who b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.review .to-work { font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.review-photos { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.review-photos button { padding: 0; border: 0; background: var(--line); aspect-ratio: 1; overflow: hidden; }
.review-photos img { width: 100%; height: 100%; object-fit: cover; }
.reviews-masonry { columns: 1; column-gap: 24px; }
.reviews-masonry .review { break-inside: avoid; margin-bottom: 24px; }
@media (min-width: 700px) { .reviews-masonry { columns: 2; } }
@media (min-width: 1100px) { .reviews-masonry { columns: 3; } }

/* ---------- 상담 배너 ---------- */
.cta-band { background: var(--dark); color: #fff; padding: 80px 0; }
.cta-band .wrap { display: grid; gap: 28px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 10px; }
/* 관리화면에서 고치는 짧은 문구들: 줄이 한 단어만 남지 않게 고르게 나눔 */
.cta-band h2, .cta-band p, .hero h1, .hero-sub, .hero-eyebrow, .career-text h2, .greeting h2, .promise h3 { text-wrap: balance; }
.career-text p, .promise p, .greeting .letter p { text-wrap: pretty; }
.cta-band .tel { display: block; font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
/* 상담 신청은 한 줄 전체(미색), 전화·카카오는 그 아래 반씩 (어두운 바탕 위 가는 선) */
.cta-actions .btn { flex: 1 1 0; min-width: 0; height: 56px; padding: 0 16px; }
.cta-actions .btn-light { flex-basis: 100%; background: var(--bg); padding: 0 22px; font-size: 17px; }
.cta-actions .btn-light:hover { background: #fff; }
.cta-band .btn-line-light, .cta-band .btn-kakao { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.cta-band .btn-line-light:hover, .cta-band .btn-kakao:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); color: #fff; }
@media (min-width: 900px) { .cta-actions { width: 400px; } }
@media (min-width: 900px) { .cta-band { padding: 104px 0; } .cta-band .wrap { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- 푸터 ---------- */
.site-footer { background: #F1EDE7; color: var(--ink-2); font-size: 14px; padding: 56px 0 120px; }
.site-footer .logo { margin-bottom: 24px; }
.site-footer .logo svg { height: 30px; }
.foot-info { display: flex; flex-wrap: wrap; gap: 4px 18px; line-height: 1.8; }
.foot-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; color: var(--ink); }
.foot-copy { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-copy a { color: var(--ink-3); }
.foot-legal { display: inline-flex; gap: 18px; }
.foot-copy a.foot-privacy { color: var(--ink); font-weight: 700; }
/* 개인정보 처리방침 */
.policy { padding-bottom: 80px; }
.policy > section, .policy-toc { max-width: 860px; }
.policy section { padding-top: 36px; scroll-margin-top: calc(var(--header-h) + 16px); }
.policy h2 { font-size: 21px; margin-bottom: 12px; letter-spacing: -0.02em; }
.policy p, .policy li { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.policy p + p { margin-top: 8px; }
.policy ul { padding-left: 20px; margin: 0; }
.policy-toc { background: var(--surface); border: 1px solid var(--line); padding: 18px 22px; }
.policy-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14.5px; line-height: 1.9; }
.policy-toc a { color: var(--ink-2); }
.policy-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 15px; background: var(--surface); }
.policy-table th, .policy-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; color: var(--ink-2); }
.policy-table th { background: var(--bg); color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .policy-toc ol { columns: 1; } .policy-table th { white-space: normal; } }
@media (min-width: 900px) { .site-footer { padding-bottom: 64px; } }

/* ---------- 모바일 하단 고정 상담 버튼 ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,248,245,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mobile-cta { display: flex; }   /* 꺼 둔 버튼이 빠지면 남은 버튼이 자리를 나눠 가짐 */
.mobile-cta > .btn { flex: 1 1 0; min-width: 0; }
.mobile-cta .btn { height: 52px; font-size: 15.5px; padding: 0 12px; gap: 7px; }
.mobile-cta .btn svg { width: 18px; height: 18px; }
.mobile-cta > .btn-quiet { flex: 0 0 auto; padding: 0 14px; }
.mobile-cta > .btn-go { flex: 1 1 auto; padding: 0 18px; }
.mobile-cta.two > .btn, .inq-off .mobile-cta > .btn { flex: 1 1 0; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
.float-cta { display: none; }
@media (min-width: 900px) {
  .float-cta { display: flex; flex-direction: column; gap: 10px; position: fixed; right: 28px; bottom: 28px; z-index: 40; }
  .float-cta a { width: 64px; height: 64px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-shadow: 0 8px 24px rgba(0,0,0,.14); font-size: 11.5px; font-weight: 700; line-height: 1.15; text-align: center; transition: transform .2s; }
  .float-cta a:hover { transform: translateY(-2px); }
  .float-cta a svg { width: 20px; height: 20px; flex: none; }
  .float-cta .f-tel { background: var(--dark); color: #fff; }
  .float-cta .f-kakao { background: var(--kakao); color: var(--kakao-ink); }
}

/* ---------- 서브 페이지 머리 ---------- */
.page-head { padding-top: 56px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.04em; }
.page-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 620px; text-wrap: balance; }
@media (min-width: 1024px) { .page-head { padding-top: 96px; padding-bottom: 64px; } }
.page-body { padding-bottom: 120px; }

/* ---------- 시공사례 상세 ---------- */
.crumb { font-size: 14px; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; margin-bottom: 18px; }
.crumb svg { width: 15px; height: 15px; transform: rotate(180deg); }
.detail-head { padding-top: 40px; padding-bottom: 32px; }
.detail-head h1 { font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -0.04em; line-height: 1.3; max-width: 900px; }
.detail-head .tags { margin-top: 16px; font-size: 14.5px; }
@media (min-width: 1024px) { .detail-head { padding-top: 72px; padding-bottom: 48px; } }
.detail-cover { aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .detail-cover { aspect-ratio: 21 / 10; } }
.detail-grid { display: grid; gap: 40px; padding-top: 48px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 340px 1fr; gap: 80px; padding-top: 72px; } .detail-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; font-weight: 500; }
.detail-side .btn { width: 100%; margin-top: 10px; }
.detail-side .side-cta { margin-top: 28px; }
.detail-body { font-size: 17px; line-height: 1.95; color: var(--ink-2); white-space: pre-line; }
.photo-stack { display: grid; gap: 14px; margin-top: 40px; }
.photo-stack button { padding: 0; border: 0; background: var(--line); display: block; width: 100%; cursor: zoom-in; }
.photo-stack img { width: 100%; height: auto; }
@media (min-width: 1024px) { .photo-stack { gap: 20px; } }
.blog-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; font-size: 15px; color: #03A94D; }
.blog-link svg { width: 16px; height: 16px; }
.detail-review { margin-top: 48px; }

/* ---------- 서비스 ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--surface); padding: 32px 28px; }
.service .ico { width: 44px; height: 44px; color: var(--accent); margin-bottom: 22px; }
.service .ico svg { width: 100%; height: 100%; }
.service h3 { font-size: 19px; }
.service p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 17px; font-weight: 600; position: relative; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--accent); margin-right: 12px; font-weight: 700; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .a { padding: 0 0 24px 28px; color: var(--ink-2); font-size: 16px; line-height: 1.85; }

/* ---------- 회사소개 ---------- */
.greeting { display: grid; gap: 40px; }
.greeting-photo { aspect-ratio: 4 / 5; background: var(--line); overflow: hidden; }
.greeting-photo img { width: 100%; height: 100%; object-fit: cover; }
.greeting-photo.brand-panel { background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.greeting-photo.brand-panel img { width: 56%; height: auto; object-fit: contain; }
.greeting h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 28px; }
.greeting .letter p { font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.greeting .letter p + p { margin-top: 18px; }
.greeting .letter-body p + p { margin-top: 18px; }
.greeting .sign { margin-top: 32px; font-size: 16px; color: var(--ink); }
.greeting .sign b { font-size: 20px; margin-left: 8px; letter-spacing: .04em; }
@media (min-width: 900px) { .greeting { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; } }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 16px; }
.info-table th, .info-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 140px; font-weight: 500; color: var(--ink-3); }
.copy-row { display: flex; align-items: flex-start; gap: 12px; }
.copy-row > span { min-width: 0; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 27px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 40px; background: var(--surface); font-size: 13px; font-weight: 500; line-height: 1; color: var(--ink-2); white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.copy-btn svg { width: 14px; height: 14px; flex: none; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn.done { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 479px) { .info-table th { width: 120px; } }   /* 폰: 이름 칸을 줄여 주소가 덜 꺾이게 ('사업자등록번호'가 한 줄에 들어가는 폭) */
.map-box { display: grid; gap: 24px; }
@media (min-width: 900px) { .map-box { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- 빈 상태 / 로딩 ---------- */
.empty { padding: 72px 20px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); }
.skeleton .thumb { background: linear-gradient(90deg, #EEE9E2 0%, #F6F2EC 50%, #EEE9E2 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
.skeleton .bar { height: 14px; margin-top: 16px; width: 60%; background: #EEE9E2; }
.skeleton .bar.w { width: 85%; height: 18px; margin-top: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- 사진 크게 보기 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #0C0B0A; display: none; align-items: center; justify-content: center; color: #fff; touch-action: pan-y; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100vw; max-height: 86vh; object-fit: contain; user-select: none; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-prev svg { transform: rotate(180deg); }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 14px; opacity: .8; }

/* 등장 애니메이션 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 상담 신청 ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
  .contact-side { position: sticky; top: calc(var(--header-h) + 32px); }
}
.contact-main { min-width: 0; }
.inquiry { display: grid; gap: 30px; background: var(--surface); border: 1px solid var(--line); padding: 28px 20px; }
@media (min-width: 768px) { .inquiry { padding: 44px 44px 40px; } }
.q-row { display: grid; gap: 30px; }
@media (min-width: 640px) { .q-row { grid-template-columns: 1fr 1fr; gap: 20px; } .q-row.three { grid-template-columns: 1fr 1.25fr .75fr; } }
.q-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.q-field > label, .q-field > legend { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.q-field small { font-weight: 400; color: var(--ink-3); margin-left: 6px; font-size: 13.5px; }
.req { color: #B3261E; font-weight: 600; }
.q-input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg); font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
textarea.q-input { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.q-input:focus { outline: none; border-color: var(--ink); background: #fff; }
.q-input::placeholder { color: #ABA59C; }
.q-help { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.q-date { display: block; max-width: 260px; margin-bottom: 12px; line-height: 52px; }
.q-date::-webkit-date-and-time-value { text-align: left; }   /* 아이폰에서 날짜가 가운데로 쏠리지 않게 */
.q-date::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.q-suffix { position: relative; }
.q-suffix .q-input { padding-right: 44px; }
.q-suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.q-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip { position: relative; }
.q-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.q-chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 17px; border: 1px solid var(--line-2); border-radius: 44px; background: var(--surface); font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.q-chip:hover span { border-color: var(--ink-3); }
.q-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* 네모 체크박스 (시공 품목 · 예산 모르겠어요 · 시공일 미정) */
.q-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
@media (min-width: 640px) { .q-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .q-checks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.q-box { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 30px; font-size: 15.5px; color: var(--ink); cursor: pointer; }
.q-box input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; left: 0; cursor: pointer; }
.q-box span { display: inline-flex; align-items: center; gap: 12px; }
.q-field > label.q-box { display: inline-flex; font-weight: 400; font-size: 15.5px; margin: 0; }
.q-box span::before { content: ""; flex: none; width: 24px; height: 24px; border: 1px solid #C9C3B9; background: #fff; box-sizing: border-box; }
.q-box input:checked + span::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--ink); }
.q-box input:focus-visible + span::before { outline: 2px solid var(--accent); outline-offset: 2px; }
.q-box:hover input:not(:checked) + span::before { border-color: var(--ink-3); }
.q-box input:disabled + span { opacity: .45; }
.q-etc { margin-top: 16px; background: #F4F3F0; }

/* 예산 조절바 */
.q-budget { margin-top: 18px; transition: opacity .2s; }
.q-budget.off { opacity: .35; pointer-events: none; }
.q-budget-text { font-size: 16.5px; color: var(--ink-2); min-height: 1.6em; }
.q-budget-text b { color: var(--ink); font-weight: 700; }
.q-budget.untouched .q-budget-text { color: var(--ink-3); }
.q-range { --pct: 50%; display: block; width: 100%; height: 44px; margin: 10px 0 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.q-range:focus { outline: none; }
.q-range::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--ink) var(--pct), #ECEAE6 var(--pct)); }
.q-range::-moz-range-track { height: 8px; background: #ECEAE6; }
.q-range::-moz-range-progress { height: 8px; background: var(--ink); }
.q-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -13px; border-radius: 50%; border: 0; background: radial-gradient(circle, var(--ink) 0 9px, #fff 10px); box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.q-range::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; border: 0; background: radial-gradient(circle, var(--ink) 0 9px, #fff 10px); box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.q-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.q-budget.untouched .q-range::-webkit-slider-runnable-track { background: #ECEAE6; }
.q-budget.untouched .q-range::-moz-range-progress { background: transparent; }
.q-budget.untouched .q-range::-webkit-slider-thumb { background: radial-gradient(circle, #B8B2A8 0 9px, #fff 10px); }
.q-budget.untouched .q-range::-moz-range-thumb { background: radial-gradient(circle, #B8B2A8 0 9px, #fff 10px); }
.q-budget-scale { position: relative; display: flex; justify-content: space-between; margin-top: 4px; font-size: 14.5px; color: var(--ink-3); }
.q-budget-scale .mid { position: absolute; top: 0; transform: translateX(-50%); }
@media (max-width: 420px) { .q-budget-scale .mid { display: none; } }

/* 지역 (시·도 / 시·군·구) */
.q-region { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 8px; max-width: 440px; }
.q-region input { grid-column: 2; }
/* 드롭다운 공통 */
.q-select { width: 100%; min-width: 0; padding: 0 30px 0 12px; background-position: right 10px center !important; cursor: pointer; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.q-select:focus { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.q-select:disabled { opacity: .45; cursor: default; }
/* 달력 */
.q-cal { position: relative; width: 100%; max-width: 340px; }
.q-cal-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; color: #ABA59C; }
.q-cal-btn.has { color: var(--ink); }
.q-cal-btn svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.q-cal-btn:disabled { opacity: .45; cursor: default; }
.q-cal-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 100%; min-width: 300px; padding: 14px 14px 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 16px 40px rgba(30,25,18,.16); }
.q-cal-head { display: grid; grid-template-columns: 38px 1fr .8fr 38px; gap: 6px; align-items: center; }
.q-cal-head select { height: 40px; padding: 0 26px 0 10px; border: 1px solid var(--line-2); border-radius: 6px; font: inherit; font-size: 15px; color: var(--ink); -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center / 15px; cursor: pointer; }
.q-cal-nav { height: 40px; border: 0; border-radius: 6px; background: none; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.q-cal-nav:hover:not(:disabled) { background: var(--bg); }
.q-cal-nav:disabled { opacity: .25; cursor: default; }
.q-cal-week, .q-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.q-cal-week { margin: 12px 0 4px; font-size: 13px; color: var(--ink-3); }
.q-cal-week span:first-child { color: #C2453A; }
.q-cal-week span:last-child { color: #3A62B5; }
.q-cal-grid { gap: 2px; }
.q-cal-grid button { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 50%; background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.q-cal-grid button.sun { color: #C2453A; }
.q-cal-grid button.sat { color: #3A62B5; }
.q-cal-grid button.today { box-shadow: inset 0 0 0 1px var(--ink-3); }
.q-cal-grid button:hover:not(:disabled) { background: var(--bg); }
.q-cal-grid button.on { background: var(--ink); color: #fff; box-shadow: none; }
.q-cal-grid button:disabled { color: #CFCAC2; cursor: default; }
.q-cal-grid button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.q-cal-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.q-cal-foot button { border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink-2); padding: 6px 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* 시공 예정일 */
.q-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.q-plan .q-cal { flex: 0 1 340px; }
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-consent { border-top: 1px solid var(--line); padding-top: 24px; }
.q-check { display: flex; gap: 10px; align-items: center; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.q-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.q-consent details { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.q-consent summary { cursor: pointer; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; display: inline-block; }
.q-consent ul { margin: 12px 0 0; padding: 14px 16px 14px 32px; background: var(--bg); line-height: 1.75; }
.q-consent li b { margin-right: 8px; color: var(--ink); }
.q-policy-link { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.q-policy-link a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.q-error { color: #B3261E; font-weight: 600; font-size: 15px; margin: -10px 0 0; }
.q-submit { width: 100%; height: 58px; font-size: 17px; }
/* 상담 신청 보이기/숨기기 (관리화면 설정) — inq-pending: 확인 중이라 자리만 잡고 안 보임 */
.inq-pending .inq-only, .tel-pending .tel-only, .kakao-pending .kakao-only { visibility: hidden; }
.tel-off .tel-only, .kakao-off .kakao-only { display: none !important; }
.tel-off.kakao-off .contact-side, .tel-off.kakao-off .float-cta, .tel-off.kakao-off .side-cta { display: none !important; }
.inq-off.tel-off.kakao-off .mobile-cta, .tel-off.kakao-off .mobile-cta.two { display: none !important; }
.txt-pending [data-edit] { visibility: hidden; }   /* 관리화면에서 고친 문구를 받기 전에는 잠깐 숨김 */
.inq-off .inq-only { display: none !important; }
.inq-off-only { display: none !important; }
.inq-off .inq-off-only { display: block !important; }
.inq-off .contact-grid { grid-template-columns: minmax(0, 1fr); }
.q-closed { max-width: 760px; background: var(--surface); border: 1px solid var(--line); padding: 52px 24px; text-align: center; }
.q-closed h2 { font-size: clamp(24px, 3vw, 30px); text-wrap: balance; }
.q-closed p { margin-top: 10px; color: var(--ink-2); text-wrap: balance; }
.q-closed .q-closed-hours { margin-top: 4px; font-size: 15px; color: var(--ink-3); }
.q-closed-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 320px; margin: 28px auto 0; }
@media (min-width: 640px) { .q-closed-actions { flex-direction: row; max-width: none; justify-content: center; } .q-closed-actions .btn { min-width: 240px; } }
.q-done { background: var(--surface); border: 1px solid var(--line); padding: 52px 24px; text-align: center; }
.q-done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; }
.q-done-check svg { width: 32px; height: 32px; }
.q-done h2 { font-size: 26px; }
.q-done > p { margin-top: 8px; color: var(--ink-2); }
.q-done > .btn { margin-top: 28px; }
.side-box { background: var(--dark); color: #fff; padding: 30px 26px; }
.side-box .eyebrow { color: rgba(255,255,255,.55); }
.side-label { color: rgba(255,255,255,.75); font-size: 14px; }
.side-tel { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }
.side-hours { color: rgba(255,255,255,.65); font-size: 14px; margin-top: 6px; }
.side-box .btn { width: 100%; margin-top: 22px; }

/* =====================================================================
   단추 다듬기 (2026-10-25) — 알약 모양 · 은은한 그림자 · 따뜻한 색
   · 주요 단추(상담 신청)는 한 화면에 하나: 진한 에스프레소(어두운 바탕 위에서는 미색) + 오른쪽 동그라미 화살표
   · 보조 단추(전화·카카오)는 흰 바탕 + 아주 옅은 테두리 + 은은한 그림자
   · 휴대폰 아래 단추는 화면 끝에 붙은 줄 대신 둥글게 떠 있는 막대
   ===================================================================== */
:root {
  --espresso: #2A2521;
  --cream: #F3EDE4;
  --shadow-soft: 0 1px 2px rgba(42,37,33,.06), 0 6px 16px rgba(42,37,33,.07);
  --shadow-lift: 0 2px 4px rgba(42,37,33,.07), 0 12px 26px rgba(42,37,33,.12);
  --shadow-dark: 0 8px 22px rgba(42,37,33,.24);
}
.btn { border-radius: 999px; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--espresso); color: #fff; box-shadow: var(--shadow-dark); }
.btn-dark:hover { background: #1B1815; }
.btn-light { background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: rgba(42,37,33,.22); color: var(--espresso); }
.btn-line:hover { background: var(--espresso); border-color: var(--espresso); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.btn-line-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.7); color: #fff; }
.btn-quiet, .btn-kakao { background: #fff; border-color: rgba(42,37,33,.08); color: var(--espresso); box-shadow: var(--shadow-soft); }
.btn-quiet:hover, .btn-kakao:hover { border-color: rgba(42,37,33,.16); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn-quiet svg { color: var(--accent); }
/* 오른쪽 동그라미 화살표 */
.btn-go { padding-right: 7px !important; }
.btn-go .go { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.btn-go .go svg { width: 18px; height: 18px; }
.btn-light.btn-go .go { background: var(--espresso); }
.btn-go:hover .go { transform: translateX(3px); }
.header-cta { border-radius: 999px; }
.q-submit { border-radius: 999px; }

/* 어두운 상담 안내: 미색 주요 단추 + 반투명 보조 단추 */
.cta-band { background: #24201C; }
.cta-actions { gap: 10px; }
.cta-actions .btn { height: 58px; }
.cta-actions .btn-light { padding-left: 26px; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.cta-band .btn-line-light, .cta-band .btn-kakao { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.cta-band .btn-line-light:hover, .cta-band .btn-kakao:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); transform: none; }
.cta-band .btn-line-light svg { color: #fff; opacity: .85; }

/* 휴대폰 아래: 둥글게 떠 있는 막대 */
.mobile-cta {
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  padding: 6px; gap: 6px; border-radius: 999px; border: 1px solid rgba(42,37,33,.07); border-top: 1px solid rgba(42,37,33,.07);
  background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(42,37,33,.18), 0 2px 6px rgba(42,37,33,.06);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.mobile-cta .btn { height: 48px; font-size: 15px; }
.mobile-cta > .btn-quiet { background: #F5F1EB; border-color: transparent; box-shadow: none; padding: 0 14px; }
.mobile-cta > .btn-quiet:hover { transform: none; background: #EFE9E1; }
.mobile-cta > .btn-go { padding-left: 18px; box-shadow: 0 4px 12px rgba(42,37,33,.25); }
.mobile-cta .btn-go .go { width: 36px; height: 36px; }
.mobile-cta .btn-go .go svg { width: 16px; height: 16px; }

/* 메뉴 안 단추 */
.mnav-cta .btn { height: 58px; padding: 0 22px; }
.mnav-cta .btn-go { padding-right: 8px !important; }

/* PC 오른쪽 아래 동그란 단추 */
@media (min-width: 900px) {
  .float-cta .f-tel { background: var(--espresso); }
  .float-cta a { box-shadow: 0 10px 26px rgba(42,37,33,.22); }
}
.btn .kk-ico svg { color: var(--kakao-ink); }   /* 보조 단추 아이콘 색(갈색)이 카카오 말풍선에 묻지 않게 */
/* 상담 신청에도 앞 아이콘 — 전화·카카오 단추와 글자 시작점을 맞춤 */
.btn-go .go-txt { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.btn-go .go-txt svg { width: 22px; height: 20px; flex: none; opacity: .9; }
.cta-actions .btn-go .go-txt svg { width: 20px; height: 19px; }

/* 둥근 정도 줄이기 (2026-10-25): 알약 모양 → 모서리만 부드럽게 (단추 12px, 화살표 칸 9px, 아래 떠 있는 막대 18px) */
:root { --btn-r: 12px; }
.btn, .header-cta, .q-submit { border-radius: var(--btn-r); }
.btn-go .go { border-radius: 9px; }
.mobile-cta { border-radius: 18px; }
.mobile-cta .btn { border-radius: 12px; }
.mobile-cta .btn-go .go { border-radius: 8px; }

/* 휴대폰 아래 단추 (2026-10-25): 흰 막대 배경 없이 단추만 떠 있게 — 각 단추가 그림자로 내용과 구분 */
.mobile-cta {
  background: none; border: 0; box-shadow: none; padding: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none;   /* 단추 사이 빈틈은 아래 내용이 눌리게 */
}
.mobile-cta > .btn { pointer-events: auto; }
.mobile-cta > .btn-quiet { background: #fff; border: 1px solid rgba(42,37,33,.10); box-shadow: 0 6px 18px rgba(42,37,33,.16), 0 1px 3px rgba(42,37,33,.08); }
.mobile-cta > .btn-quiet:hover { background: #FBF9F6; }
.mobile-cta > .btn-go { box-shadow: 0 8px 20px rgba(42,37,33,.30), 0 2px 4px rgba(42,37,33,.12); }

/* 404 (없는 주소) 화면 단추 */
.nf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
