/* ===== 문짝교체 디자인 시스템 — 웜 그레이/차콜톤 + 오렌지 포인트 ===== */
:root {
  --navy: #6b5c50;
  --navy-dark: #504539;
  --navy-soft: #857568;
  --accent: #ff7a3d;
  --accent-dark: #e8632a;
  --ink: #16202f;
  --muted: #5c6b7d;
  --line: #e6e9ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --font-heading: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; line-height: 1.3; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
.prose-spaced p, .prose-spaced blockquote { margin-bottom: 1.9em; line-height: 1.9; }
.prose-spaced p:last-child { margin-bottom: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: none;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,122,61,.35); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-large { padding: 18px 40px; font-size: 17px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(107,92,80,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
}
.site-logo { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: #fff; line-height: 1.1; }
.site-logo-sub { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); }
.site-nav ul { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.site-nav a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 14.5px; }
.site-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
.header-actions .btn { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

/* ---- Breadcrumb ---- */
.breadcrumb { max-width: 1120px; margin: 0 auto; padding: 14px 24px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 700; }

/* ---- Hero (main) ---- */
.hero { position: relative; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background: transparent; }
.hero-content { position: relative; z-index: 2; padding: 90px 24px 70px; max-width: 1120px; margin: 0 auto; width: 100%; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero-eyebrow { display: inline-block; background: rgba(107,92,80,.55); border: 1px solid rgba(255,122,61,.5); color: var(--accent); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; text-shadow: none; }
.hero h1 { color: #fff; font-size: clamp(36px, 6vw, 58px); margin-bottom: .35em; }
.hero-sub-copy { color: rgba(255,255,255,.92); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.hero-phone-note { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 18px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }


/* ---- Sections ---- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg-alt); }
section.block.tint-navy { background: #eef1f6; }
section.block.tint-accent { background: #fff4ec; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); margin-top: 10px; }
.section-head p { color: var(--muted); }

/* ---- Before/After pair grid ---- */
.pair-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pair { background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pair-shots { display: grid; grid-template-columns: 1fr 1fr; }
.pair-shots .shot { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.pair-shots .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; cursor: zoom-in; }
.pair:hover .shot img { transform: scale(1.06); }
.pair-shots .shot .tag { position: absolute; left: 8px; top: 8px; background: rgba(107,92,80,.85); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* ---- Lightbox ---- */
.lightbox-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(80,69,57,.92); display: none; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: min(900px, 100%); max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: none; font-size: 22px; cursor: pointer; line-height: 1; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ---- Feature / card grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.feature-card .icon-badge { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,122,61,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px; }
.feature-card .icon-badge svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---- Reviews marquee (연속 가로 자동 슬라이딩, 순수 CSS 애니메이션) ---- */
.reviews-slider { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reviews-track { display: flex; gap: 20px; width: max-content; animation: reviews-marquee 40s linear infinite; }
.reviews-slider:hover .reviews-track { animation-play-state: paused; }
.review-card { flex: 0 0 320px; width: 320px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review-card .stars { color: var(--accent); font-size: 15px; letter-spacing: 1px; margin-bottom: 10px; }
.review-card .name { font-weight: 800; color: var(--navy); font-size: 15px; }
.review-card .meta { font-weight: 500; font-size: 12.5px; color: var(--muted); }
@keyframes reviews-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .review-card { flex: 0 0 260px; width: 260px; }
}
.review-card p { font-size: 14.5px; color: var(--ink); margin: 12px 0 0; line-height: 1.7; }

/* ---- Process timeline ---- */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.process-item { position: relative; padding-top: 8px; }
.process-item::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.process-item h3 { font-size: 17px; }
.process-item p { color: var(--muted); font-size: 14.5px; }

/* ---- Trust / stats ---- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-heading); font-size: 34px; color: var(--navy); }
.stat-item span { color: var(--muted); font-size: 14px; }
.stat-row-compact .stat-item strong { font-size: 15px; margin-bottom: 2px; }
.stat-row-compact .stat-item span { font-size: 12.5px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 16.5px; display: flex; gap: 10px; }
.faq-item h3 .q-mark { color: var(--accent); }
.faq-item p { color: var(--muted); margin: 10px 0 0; }

/* ---- CTA block ---- */
.cta-block { background: var(--navy); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,.75); }
.cta-phone-box { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 14px 26px; border-radius: 999px; margin-bottom: 22px; font-weight: 700; }
.cta-phone-box .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---- Pull quote / callout / checklist (region page variety) ---- */
.pull-quote { border-left: 4px solid var(--accent); padding: 18px 26px; font-size: 18px; font-weight: 700; color: var(--navy); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.callout { background: #fff4ec; border: 1px solid #ffd6bc; border-radius: var(--radius); padding: 24px 28px; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.region-areas { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 26px; }
.region-areas h3 { font-size: 16px; }
.region-areas ul { display: flex; flex-wrap: wrap; gap: 8px; }
.region-areas li { background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 13.5px; }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }

/* ---- Related links / home button ---- */
.related-links { padding: 46px 0 10px; }
.related-links h2 { font-size: 18px; }
.related-list { display: flex; flex-wrap: wrap; gap: 10px; }
.related-list a { background: var(--bg-alt); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.related-list a:hover { border-color: var(--accent); color: var(--accent); }
.home-button-wrap { text-align: center; padding: 20px 0 50px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 56px 0 0; margin-top: 60px; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer-logo { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 16px; }
.footer-biz-info li { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.footer-biz .btn { margin-top: 18px; }
.footer-sitemap h3 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-sitemap-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.footer-sitemap-list a { font-size: 13.5px; color: rgba(255,255,255,.65); }
.footer-sitemap-list a:hover { color: var(--accent); }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px 24px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ---- Floating button ---- */
.floating-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; text-align: center; box-shadow: 0 10px 26px rgba(255,122,61,.45);
  transition: transform .15s ease;
}
.floating-btn:hover { transform: scale(1.07); }

/* ---- Sitemap page ---- */
.sitemap-toolbar { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.sitemap-search { flex: 1; min-width: 220px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }
.sitemap-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.sitemap-filter button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.sitemap-filter button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sitemap-count { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.sitemap-list { display: flex; flex-direction: column; gap: 14px; }
.sitemap-row { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.sitemap-row .cat { color: var(--accent); font-size: 12px; font-weight: 800; }
.sitemap-row h3 { font-size: 16px; margin: 6px 0 0; }
.sitemap-sublist { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 4px 22px; padding-left: 18px; border-left: 2px solid var(--line); }
.sitemap-subrow { padding: 14px 20px; }
.sitemap-subrow h3 { font-size: 14.5px; margin: 0; }
.sitemap-empty { text-align: center; padding: 60px 0; color: var(--muted); display: none; }

/* ---- 404 ---- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--font-heading); font-size: 90px; font-weight: 800; color: var(--navy); }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-nav { position: fixed; top: 62px; left: 0; right: 0; background: var(--navy); padding: 20px 24px; transform: translateY(-120%); opacity: 0; transition: .2s ease; pointer-events: none; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }
  .header-actions .btn { padding: 9px 16px; font-size: 13px; }
  .hero-content { padding: 60px 20px 46px; }
  .pair-grid { grid-template-columns: 1fr; }
  .pair-shots { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-item strong { font-size: 18px; }
  .stat-item span { font-size: 11px; }
}
