/* ═══════════════════════════════════════════════════
   빡클린 — 부산 에어컨청소 · 2026-08-24 클로드 페이블 1차
   ═══════════════════════════════════════════════════ */

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

:root {
  --blue: #1B62E8;
  --blue-dk: #0F49BD;
  --blue-lt: #4B8BFF;
  --navy: #0B2E70;
  --ink: #16233D;
  --muted: #5A6B87;
  --line: #E1E9F6;
  --bg: #F5F8FD;
  --card: #ffffff;
  --yellow: #FFE45E;
  --before: #3A3A3C;
  --radius: 18px;
  --shadow: 0 10px 34px rgba(11, 46, 112, .10);
  --dock-h: 62px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
ol[role="list"] { list-style: none; }
mark {
  background: linear-gradient(transparent 62%, rgba(27, 98, 232, .22) 62%);
  color: inherit;
  padding: 0 .1em;
}

.shell { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }
.pc { display: none; }

:focus-visible { outline: 3px solid var(--blue-lt); outline-offset: 2px; border-radius: 4px; }

/* ── 버튼 ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--blue); color: #fff; padding: 15px 28px; font-size: 17px;
  box-shadow: 0 8px 22px rgba(27, 98, 232, .38);
}
.btn-primary:hover { background: var(--blue-dk); }
.btn-ghost {
  background: rgba(255, 255, 255, .14); color: #fff; padding: 15px 24px; font-size: 16px;
  border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn-big {
  background: #fff; color: var(--blue-dk); padding: 18px 34px; font-size: clamp(19px, 4.5vw, 24px);
  font-weight: 800; box-shadow: 0 12px 30px rgba(4, 20, 60, .35);
}
.btn-big svg { width: 24px; height: 24px; }
.btn-big:hover { transform: translateY(-2px); }

/* ── 헤더 ─────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 4px 18px rgba(11, 46, 112, .07); }
.header-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.brand-txt small { font-size: 11px; color: var(--muted); font-weight: 600; }
.gnb { display: none; gap: 26px; font-size: 15px; font-weight: 600; color: var(--muted); }
.gnb a:hover { color: var(--blue); }
.header-call {
  display: none; background: var(--blue); color: #fff; padding: 10px 18px; font-size: 15px;
}
.header-call:hover { background: var(--blue-dk); }
.header-call svg { width: 17px; height: 17px; }

/* ── 히어로 ─────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 62% 30%;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 18, 48, .30) 0%, rgba(5, 18, 48, .55) 100%),
    linear-gradient(100deg, rgba(5, 18, 48, .88) 0%, rgba(5, 18, 48, .55) 46%, rgba(5, 18, 48, .16) 100%);
}
.hero-in { position: relative; padding: 88px 20px 64px; color: #fff; }
.hero-kicker {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .02em;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 22px;
}
.hero-kicker em { font-style: normal; color: var(--yellow); }
.hero h1 {
  font-size: clamp(31px, 7.4vw, 54px); line-height: 1.24; font-weight: 900;
  letter-spacing: -.02em; text-wrap: balance; margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-lead { font-size: clamp(15.5px, 3.8vw, 18px); color: rgba(255, 255, 255, .88); margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li {
  font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .28);
}

/* ── 실측 숫자 ─────────────────────────── */
.stats { background: var(--navy); color: #fff; padding: 34px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; text-align: center; }
.stat strong { display: block; font-size: clamp(30px, 7vw, 42px); font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.stat strong span { font-size: .45em; font-weight: 700; color: var(--blue-lt); margin-left: 2px; }
.stat p { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.stats-note { text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 22px; }

/* ── 공통 섹션 ─────────────────────────── */
.section { padding: 78px 0; }
.sec-head { max-width: 640px; margin-bottom: 42px; }
.overline {
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--blue);
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(25px, 5.6vw, 38px); line-height: 1.3; font-weight: 900;
  letter-spacing: -.02em; text-wrap: balance; margin-bottom: 14px;
}
.sec-lead { color: var(--muted); font-size: clamp(15px, 3.6vw, 16.5px); }

/* ── 비포애프터 ─────────────────────────── */
.proof { background: var(--bg); }
.ba-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.ba-tab {
  flex: 1; max-width: 240px; font: inherit; font-size: 14.5px; font-weight: 700;
  padding: 12px 10px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  transition: all .15s ease;
}
.ba-tab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(27, 98, 232, .3); }
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow); user-select: none; touch-action: pan-y;
  max-width: 760px;
}
.ba-img { width: 100%; height: auto; pointer-events: none; }
.ba-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-top .ba-img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .45);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue-dk);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-chip {
  position: absolute; top: 0; font-size: 13.5px; font-weight: 800; color: #fff;
  padding: 8px 16px; letter-spacing: .04em;
}
.ba-chip-b { left: 0; background: var(--before); border-radius: 0 0 12px 0; }
.ba-chip-a { right: 0; background: var(--blue); border-radius: 0 0 0 12px; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
  margin: 0; touch-action: pan-y;
}
.ba-cap { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 760px; }
.proof-note {
  display: flex; gap: 14px; align-items: flex-start; max-width: 760px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 30px;
}
.proof-note svg { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 2px; }
.proof-note p { font-size: 15px; color: var(--muted); }
.proof-note strong { color: var(--ink); }

/* ── 냄새의 원인 ─────────────────────────── */
.cause-grid { display: grid; gap: 16px; }
.cause-card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative; transition: box-shadow .2s ease, border-color .2s ease;
}
.cause-card:hover { border-color: var(--blue-lt); box-shadow: var(--shadow); }
.cause-no { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.cause-card h3 { font-size: 19px; font-weight: 800; margin: 8px 0 10px; }
.cause-card p { font-size: 15px; color: var(--muted); }
.cause-close {
  margin-top: 28px; font-size: clamp(16.5px, 4vw, 19px); text-align: center;
  color: var(--muted);
}
.cause-close strong { color: var(--blue-dk); }

/* ── 작업 과정 ─────────────────────────── */
.process { background: var(--bg); }
.steps { display: grid; gap: 22px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; padding-right: 18px;
}
.step figure { align-self: stretch; }
.step figure img { width: 108px; height: 100%; min-height: 132px; object-fit: cover; }
.step-txt { padding: 18px 0; }
.step-no { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.step-txt h3 { font-size: 18.5px; font-weight: 800; margin: 5px 0 7px; }
.step-txt p { font-size: 14.5px; color: var(--muted); }

/* ── 네 가지 약속 ─────────────────────────── */
.promise-grid { display: grid; gap: 16px; }
.promise-card {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.promise-card:hover { border-color: var(--blue-lt); box-shadow: var(--shadow); }
.promise-card svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 14px; }
.promise-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; }
.promise-card p { font-size: 14.5px; color: var(--muted); }

/* ── 가격 ─────────────────────────── */
.price { background: var(--navy); color: #fff; }
.price .overline { color: var(--blue-lt); }
.price .sec-lead { color: rgba(255, 255, 255, .68); }
.price-grid { display: grid; gap: 16px; }
.price-card {
  position: relative; background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  padding: 28px 24px; transition: border-color .2s ease, background .2s ease;
}
.price-card:hover { border-color: var(--blue-lt); background: rgba(255, 255, 255, .08); }
.price-card.is-hot { border-color: var(--yellow); }
.price-badge {
  position: absolute; top: -12px; left: 22px; background: var(--yellow); color: var(--navy);
  font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 17px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.price-main { margin: 10px 0 16px; }
.price-main strong { font-size: clamp(34px, 8vw, 42px); font-weight: 900; letter-spacing: -.02em; }
.price-main span { font-size: 15px; color: rgba(255, 255, 255, .6); margin-left: 4px; }
.price-card ul { display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; }
.price-card li { display: flex; justify-content: space-between; font-size: 14.5px; }
.price-card li span { color: rgba(255, 255, 255, .6); }
.price-card li b { font-weight: 700; }
.price-desc { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.price-notes { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .65); display: grid; gap: 6px; }
.price-notes strong { color: #fff; }

/* ── 신뢰 ─────────────────────────── */
.trust-in { display: grid; gap: 34px; }
.trust-copy h2 {
  font-size: clamp(25px, 5.6vw, 38px); line-height: 1.3; font-weight: 900;
  letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance;
}
.trust-copy p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; max-width: 520px; }
.trust-copy strong { color: var(--ink); }
.trust-board {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; align-self: start;
}
.trust-score { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.trust-score strong { font-size: 56px; font-weight: 900; letter-spacing: -.03em; line-height: 1; display: block; }
.stars { color: #F7B500; font-size: 22px; letter-spacing: 3px; }
.trust-score p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.trust-board dl { display: grid; gap: 12px; padding-top: 20px; }
.trust-board dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.trust-board dt { color: var(--muted); }
.trust-board dd { font-weight: 700; text-align: right; }

/* ── 출장 지역 ─────────────────────────── */
.area { background: var(--bg); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.area-grid li {
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  text-align: center; padding: 13px 6px; font-size: 14.5px; font-weight: 600;
}
.area-grid li.is-base { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 800; }
.area-grid li.is-base small { font-size: 11px; font-weight: 700; opacity: .8; display: block; }
.area-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ── FAQ ─────────────────────────── */
.faq-in { display: grid; gap: 34px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color .2s ease;
}
.faq-list details[open] { border-color: var(--blue-lt); box-shadow: var(--shadow); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none; padding: 18px 20px;
  font-size: 15.5px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; flex: none; width: 22px; height: 22px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--blue);
  transition: transform .2s ease;
}
.faq-ico::before { width: 14px; height: 2.2px; }
.faq-ico::after { width: 2.2px; height: 14px; }
details[open] .faq-ico::after { transform: rotate(90deg); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { font-size: 14.5px; color: var(--muted); }
.faq-a strong { color: var(--ink); }

/* ── 마지막 CTA ─────────────────────────── */
.cta {
  background: linear-gradient(160deg, var(--blue-lt) 0%, var(--blue) 42%, var(--blue-dk) 100%);
  color: #fff; text-align: center; padding: 84px 0;
}
.cta-kicker { font-size: 14.5px; font-weight: 700; opacity: .85; margin-bottom: 14px; }
.cta h2 {
  font-size: clamp(27px, 6.4vw, 44px); font-weight: 900; line-height: 1.28;
  letter-spacing: -.02em; text-wrap: balance; margin-bottom: 14px;
}
.cta-lead { font-size: 16px; opacity: .88; margin-bottom: 30px; }
.cta-hours { margin-top: 18px; font-size: 14px; opacity: .75; }

/* ── 푸터 ─────────────────────────── */
.footer { background: #0A1730; color: rgba(255, 255, 255, .75); padding: 48px 0 0; }
.footer-in { display: grid; gap: 26px; padding-bottom: 34px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong { color: #fff; font-size: 19px; font-weight: 800; }
.footer-brand p { font-size: 13.5px; margin-top: 3px; }
.footer-info { font-style: normal; font-size: 14px; display: grid; gap: 5px; }
.footer-info a { color: #fff; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 20px 26px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, .45);
}

/* ── 모바일 하단 고정 바 ─────────────────────────── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(11, 46, 112, .12);
}
.dock-sub {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; width: 72px; border-radius: 12px; font-size: 11px; font-weight: 700;
  color: var(--muted); border: 1.5px solid var(--line);
}
.dock-sub svg { width: 20px; height: 20px; }
.dock-call {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; font-size: 16.5px; font-weight: 800;
  border-radius: 12px; min-height: 50px; box-shadow: 0 6px 16px rgba(27, 98, 232, .35);
}
.dock-call:active { background: var(--blue-dk); }
.dock-call svg { width: 19px; height: 19px; }

/* ── 리빌 애니메이션 ─────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══ 태블릿 이상 ═══ */
@media (min-width: 720px) {
  .pc { display: inline; }
  .hero-in { padding: 130px 20px 110px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 104px 0; }
  .cause-grid { grid-template-columns: repeat(3, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .price-card.is-hot { transform: translateY(-6px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 132px 1fr; }
  .step figure img { width: 132px; }
  .trust-in { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-in { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .faq-in .sec-head { position: sticky; top: 92px; margin-bottom: 0; }
}

/* ═══ 데스크톱 ═══ */
@media (min-width: 1000px) {
  .gnb { display: flex; }
  .header-call { display: inline-flex; }
  .header-in { height: 72px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; padding-right: 0; align-items: start; }
  .step figure img { width: 100%; height: 190px; }
  .step-txt { padding: 20px 20px 24px; }
  .promise-grid { grid-template-columns: repeat(4, 1fr); }
}
