/* 닦을래요 — clearview.korclean.com
   디자인 레퍼런스: getdesign.md/design-md/luma (크림 배경 + 초대형 볼드 타이틀 + 코랄 포인트 +
   다크 대비 밴드 + 라운드 카드 레이어드 구성) */

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-display: swap;
}

:root {
  /* Luma 레퍼런스 팔레트: 코랄 오렌지 포인트 + 크림 배경 + 다크 대비 밴드 */
  --blue-600: #f2764a;
  --blue-700: #dd5a2c;
  --cyan-500: #f6a34f;
  --grad: linear-gradient(135deg, #f2764a, #f6a34f);
  --ink-900: #1c140d;
  --ink-700: #5b5142;
  --ink-500: #8d8271;
  --ink-400: #b3a98f;
  --line: #ead9c4;
  --surface: #ffffff;
  --bg: #fbf6ec;
  --bg-soft: #f4e9d6;
  --dark-900: #18100c;
  --dark-800: #241a15;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 12px 32px -14px rgba(90, 61, 24, .18);
  --shadow-pop: 0 16px 40px -12px rgba(221, 90, 44, .38);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.25em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── Header ───────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,236,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink-900); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  position: relative; flex: none;
}
.brand .mark::before {
  content: ""; position: absolute; inset: 7px;
  border: 2.2px solid #fff; border-radius: 3px;
}
.brand .mark::after {
  content: ""; position: absolute; top: 7px; bottom: 7px; left: 50%;
  width: 2.2px; background: #fff; margin-left: -1.1px;
}
.brand small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-500); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.menu-btn span { width: 18px; height: 2px; background: var(--ink-900); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-pop); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink-900); border-color: var(--line); }
.btn-sm { padding: 10px 17px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ── Drawer nav ───────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(24,16,12,.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: #fff; z-index: 91; box-shadow: -20px 0 40px rgba(28,20,13,.2);
  transform: translateX(100%); transition: transform .28s ease; padding: 22px 22px 28px;
  overflow-y: auto;
}
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; }
.drawer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.drawer-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--ink-900); font-size: 15.5px;
}
.drawer-nav a.is-contact { color: var(--blue-700); }
.drawer .btn { margin-top: 18px; }

/* ── Hero ─────────────────────────────────────── */
.hero { padding: 48px 0 8px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px;
  background: var(--bg-soft); color: var(--blue-700); font-weight: 800; font-size: 12.5px; margin-bottom: 18px;
  letter-spacing: -.01em;
}
.hero h1 {
  font-size: clamp(34px, 6.4vw, 62px); line-height: .98; margin: 0 0 18px; letter-spacing: -.035em;
  font-weight: 900; color: var(--ink-900);
}
.summary {
  font-size: 17.5px; color: var(--ink-700); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 20px 22px; margin: 0 0 22px; box-shadow: var(--shadow-card);
}
.summary strong { color: var(--blue-700); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.updated-badge { font-size: 12.5px; color: var(--ink-400); margin: 10px 0 0; }

/* ── Section / cards ─────────────────────────── */
section.block { padding: 44px 0; }
section.block.alt { background: var(--bg-soft); }
h2 { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -.025em; margin: 0 0 14px; font-weight: 900; line-height: 1.12; }
h3 { font-size: 18px; font-weight: 750; margin: 22px 0 8px; }
p { color: var(--ink-700); margin: 0 0 14px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-card);
}
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 26px; }
.gallery figure {
  margin: 0; border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-card); transition: transform .2s ease;
}
.gallery figure:nth-child(odd) { transform: rotate(-1deg); }
.gallery figure:nth-child(even) { transform: rotate(1deg); }
.gallery figure:hover { transform: rotate(0) translateY(-3px); }
.gallery img { width: 100%; height: 210px; object-fit: cover; }
.gallery figcaption { font-size: 12.5px; color: var(--ink-500); padding: 8px 10px; font-weight: 600; }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gallery.g2 img { height: 260px; }

.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 26px; }
.ba-pair figure {
  margin: 0; position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.ba-pair figure:first-child { transform: rotate(-1.2deg); }
.ba-pair figure:last-child { transform: rotate(1.2deg); }
.ba-pair img { width: 100%; height: 240px; object-fit: cover; }
.ba-pair figcaption {
  position: absolute; top: 10px; left: 10px; background: var(--dark-900); color: #fff;
  font-size: 12.5px; font-weight: 800; padding: 5px 13px; border-radius: 999px;
}

/* ── Table ────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-card); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
thead th {
  background: var(--bg-soft); color: var(--ink-900); text-align: left; font-weight: 800;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink-700); }
tbody tr:last-child td { border-bottom: none; }
.table-note { font-size: 13px; color: var(--ink-400); margin-top: 10px; }

/* ── Steps ────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; font-size: 14.5px;
  display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; margin-bottom: 4px; font-size: 15.5px; font-weight: 800; }

/* ── FAQ ──────────────────────────────────────── */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 800; font-size: 15.5px;
  display: flex; gap: 10px; align-items: flex-start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark { color: #fff; background: var(--grad); width: 24px; height: 24px; border-radius: 50%; flex: none; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.faq-item .a { padding: 0 20px 18px 54px; color: var(--ink-700); font-size: 14.75px; }

/* ── Related / cards nav ─────────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease; }
.rcard:hover { transform: translateY(-3px); }
.rcard img { width: 100%; height: 140px; object-fit: cover; }
.rcard .body { padding: 14px 16px; }
.rcard .body b { font-size: 14.5px; font-weight: 800; }
.rcard .body span { display: block; font-size: 12.5px; color: var(--ink-500); margin-top: 4px; }

/* ── Breadcrumb ───────────────────────────────── */
.crumb { font-size: 13px; color: var(--ink-400); margin: 18px 0 0; }
.crumb a { color: var(--ink-500); }

/* ── 다크 대비 CTA 밴드 (Luma 종료 CTA 섹션 레퍼런스) ── */
section.block.alt.center {
  background: linear-gradient(160deg, var(--dark-900), var(--dark-800));
  color: #f3ece2;
}
section.block.alt.center h2 { color: #ffffff; }
section.block.alt.center .lead { color: #cbbfae; }
section.block.alt.center .btn-primary { background: var(--grad); }

/* ── Footer ───────────────────────────────────── */
footer.site-footer { background: var(--bg-soft); color: var(--ink-700); padding: 44px 0 30px; margin-top: 0; border-top: 1px solid var(--line); }
footer.site-footer .fbrand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink-900); font-size: 18px; margin-bottom: 14px; }
footer.site-footer .biz-info { font-size: 13.5px; line-height: 2; color: var(--ink-500); }
footer.site-footer .biz-info b { color: var(--ink-700); }
footer.site-footer .copy { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-400); }

/* ── Float / mobile CTA ──────────────────────── */
.float-home {
  position: fixed; left: 18px; bottom: 92px; z-index: 60;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  border-radius: 999px; padding: 10px 16px 10px 12px; display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 13.5px;
}
.float-home .mark { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); position: relative; flex: none; }
.float-home .mark::before { content: ""; position: absolute; inset: 4px; border: 1.6px solid #fff; border-radius: 2px; }
.float-home .label { white-space: nowrap; }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(28,20,13,.1);
}
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 800; font-size: 14.5px; }
.mobile-cta a.tel { background: var(--grad); color: #fff; }
.mobile-cta a.sms { background: #fff; color: var(--ink-900); border-left: 1px solid var(--line); }

/* ── Utility ──────────────────────────────────── */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead { font-size: 16.5px; color: var(--ink-700); }
.small { font-size: 13px; color: var(--ink-500); }
.tag { display: inline-block; background: var(--bg-soft); color: var(--blue-700); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0 6px 6px 0; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .mobile-cta { display: grid; }
  .wrap { padding: 0 16px; }
  .hero { padding: 30px 0 6px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 150px; }
  .gallery figure:nth-child(odd), .gallery figure:nth-child(even) { transform: none; }
  .ba-pair { grid-template-columns: 1fr; }
  .ba-pair img { height: 220px; }
  .ba-pair figure:first-child, .ba-pair figure:last-child { transform: none; }
  section.block { padding: 32px 0; }
  .float-home {
    left: auto; right: 14px; bottom: 82px; padding: 0; width: 46px; height: 46px;
    border-radius: 50%; justify-content: center;
  }
  .float-home .label { display: none; }
  .float-home .mark { width: 24px; height: 24px; }
  .table-scroll-hint {
    display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
    color: var(--blue-700); background: var(--bg-soft); border-radius: 999px;
    padding: 6px 12px; margin: 0 0 8px; width: fit-content;
  }
  table { min-width: 420px; }
}
@media (min-width: 769px) {
  .table-scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
