/* 클린플러스 — 집청소업체 사이트 공통 스타일 */
:root {
  --blue-700: #0c5c4a;
  --blue-600: #0e8f6f;
  --blue-500: #17a67f;
  --sky-500: #d97a4c;
  --sky-400: #e79868;
  --sky-100: #fbe9dd;
  --mint-500: #14b8a6;
  --mint-100: #ccfbf1;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-400: #94a3b8;
  --line-200: #e2e8f0;
  --line-100: #eef2f7;
  --bg-soft: #f6f8f6;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 14px 32px rgba(14, 143, 111, 0.16);
  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.32; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-200);
}
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.18rem; color: var(--blue-700); margin-right: auto; }
.brand img { width: 32px; height: 32px; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  padding: 9px 13px; border-radius: 999px; font-size: 0.93rem; font-weight: 600; color: var(--ink-700);
  transition: background .15s, color .15s;
}
.nav-desktop a:hover { background: var(--sky-100); color: var(--blue-700); }
.nav-cta { display:flex; gap:8px; align-items:center; }
.hamburger {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-200);
  background: var(--white); align-items: center; justify-content: center; cursor: pointer;
}
.hamburger span, .hamburger::before, .hamburger::after { display:none; }
.hamburger svg { width: 22px; height: 22px; color: var(--ink-900); }
.nav-mobile { display: none; flex-direction: column; padding: 6px 20px 16px; border-top: 1px solid var(--line-200); }
.nav-mobile a { padding: 12px 4px; border-bottom: 1px solid var(--line-100); font-weight: 600; color: var(--ink-700); }
.nav-mobile.open { display: flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--sky-500)); color: var(--white); box-shadow: 0 10px 22px rgba(14,143,111,0.28); }
.btn-primary:hover { box-shadow: 0 14px 28px rgba(14,143,111,0.35); }
.btn-outline { background: var(--white); color: var(--blue-700); border-color: var(--blue-600); }
.btn-outline:hover { background: var(--sky-100); }
.btn-ghost { background: var(--sky-100); color: var(--blue-700); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; background: linear-gradient(180deg, var(--sky-100) 0%, var(--white) 78%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--white); color: var(--blue-700); font-weight: 700; font-size: 0.82rem; box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}
.hero h1 { font-size: 2.5rem; color: var(--ink-900); margin-bottom: 16px; }
.hero .lede { font-size: 1.06rem; color: var(--ink-700); margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { font-size: 0.86rem; color: var(--ink-400); }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slideshow .hero-slide {
  position: absolute; inset: 0; opacity: 0; z-index: 0;
  transition: opacity .8s ease;
}
.hero-slideshow .hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-badges { display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px; }
.hero-badge { display:flex; align-items:center; gap:8px; background:var(--white); border:1px solid var(--line-200); border-radius:999px; padding:8px 14px; font-size:0.82rem; font-weight:600; color:var(--ink-700); }

/* ---------- Hero: full-bleed photo background ---------- */
.hero--photo {
  padding: 0; min-height: 600px; display: flex; align-items: center;
  background: var(--ink-900);
}
.hero--photo .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero--photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,15,30,.80) 0%, rgba(8,15,30,.58) 36%, rgba(8,15,30,.22) 66%, rgba(8,15,30,.08) 100%);
}
.hero--photo .wrap { display: block; position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }
.hero-photo-content { max-width: 620px; }
@keyframes heroDrop {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-photo-content > * {
  opacity: 0;
  animation: heroDrop .7s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-photo-content > *:nth-child(1) { animation-delay: .05s; }
.hero-photo-content > *:nth-child(2) { animation-delay: .18s; }
.hero-photo-content > *:nth-child(3) { animation-delay: .31s; }
.hero-photo-content > *:nth-child(4) { animation-delay: .44s; }
.hero-photo-content > *:nth-child(5) { animation-delay: .57s; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo-content > * { animation: none; opacity: 1; }
}
.hero--photo h1 { color: #fff; }
.hero--photo .lede { color: rgba(255,255,255,0.92); }
.hero--photo .hero-note { color: rgba(255,255,255,0.72); }
.hero--photo .btn-outline { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }
.hero--photo .btn-outline:hover { background: rgba(255,255,255,0.2); }
.hero--photo .hero-badge { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); color: #fff; backdrop-filter: blur(4px); }

/* ---------- Section base ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head.left { margin: 0 0 32px; text-align: left; }
.kicker { display:inline-block; color: var(--blue-600); font-weight: 800; font-size: 0.84rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.section h2 { font-size: 1.85rem; margin-bottom: 12px; }
.section .lede { color: var(--ink-600); font-size: 1rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--line-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.06rem; }
.card-body p { color: var(--ink-600); font-size: 0.9rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--blue-700); font-size: 0.88rem; display:inline-flex; align-items:center; gap:4px; }

/* icon cards (no photo) */
.icon-card { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-card); }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-100); color: var(--blue-700); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom: 14px; }
.icon-card h3 { font-size: 1rem; margin-bottom: 6px; }
.icon-card p { color: var(--ink-600); font-size: 0.88rem; }

/* ---------- STEP process ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.step { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 20px 16px; text-align: center; box-shadow: var(--shadow-card); }
.step-num { display:inline-flex; align-items:center; justify-content:center; width: 34px; height:34px; border-radius: 999px; background: linear-gradient(135deg, var(--blue-600), var(--sky-500)); color:#fff; font-weight:800; font-size:0.85rem; margin-bottom: 10px; }
.step h3 { font-size: 0.94rem; margin-bottom: 6px; }
.step p { font-size: 0.82rem; color: var(--ink-600); }

/* ---------- Before/After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ba-pair { background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-imgs figure { margin: 0; position: relative; aspect-ratio: 4/3; overflow:hidden; }
.ba-imgs img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position:absolute; top:8px; left:8px; padding: 3px 10px; border-radius: 999px; font-size:0.72rem; font-weight:800; color:#fff; }
.ba-tag.before { background: rgba(15,23,42,0.72); }
.ba-tag.after { background: var(--mint-500); }
.ba-caption { padding: 14px 16px; font-size: 0.87rem; color: var(--ink-700); }
.ba-note { font-size: 0.8rem; color: var(--ink-400); margin-top: 14px; text-align:center; }

/* ---------- Table ---------- */
.table-scroll-hint { display: none; font-size: 0.78rem; color: var(--ink-400); margin: 0 0 8px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line-200); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-100); font-size: 0.92rem; }
table.compare th { background: var(--sky-100); color: var(--blue-700); font-weight: 800; }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- Checklist ---------- */
.checklist li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-200); font-size: 0.94rem; color: var(--ink-700); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; color: var(--mint-500); font-weight: 900; flex-shrink: 0; }

/* ---------- Callout / notice box ---------- */
.callout {
  background: var(--sky-100); border: 1px solid #f0c7a8; border-radius: var(--radius-md);
  padding: 20px 22px; font-size: 0.92rem; color: var(--ink-700);
}
.callout strong { color: var(--blue-700); }
.callout.mint { background: var(--mint-100); border-color: #99f6e4; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; font-size: 1rem; font-weight: 700; color: var(--ink-900);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-q .qmark { color: var(--blue-600); }
.faq-q .chev { transition: transform .2s; color: var(--ink-400); flex-shrink:0; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 4px 20px; color: var(--ink-700); font-size: 0.94rem; }
.faq-more-hidden { display: none; }
.faq-more-hidden.open { display: block; }
#faq-more-btn { margin: 24px auto 0; display: flex; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-700), var(--sky-500));
  border-radius: var(--radius-lg); padding: 44px 36px; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); }
.cta-band .btn-primary { background: #fff; color: var(--blue-700); box-shadow: none; }

/* ---------- Region ---------- */
.region-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.region-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3; }
.region-media img { width:100%; height:100%; object-fit:cover; }
.region-tags { display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.region-tag { background: var(--white); border:1px solid var(--line-200); padding:7px 14px; border-radius:999px; font-size:0.85rem; font-weight:700; color: var(--blue-700); }

/* ---------- Consultation page ---------- */
.consult-phone-card {
  background: var(--white); border: 2px solid var(--blue-600); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; box-shadow: var(--shadow-card);
}
.consult-phone-number { font-size: 2.1rem; font-weight: 900; color: var(--blue-700); letter-spacing: 0.02em; margin: 10px 0 22px; }
.consult-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- Long-form SEO text block ---------- */
.article-copy { max-width: 760px; margin: 0 auto; color: var(--ink-700); font-size: 0.98rem; }
.article-copy h2 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--ink-900); }
.article-copy h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--ink-900); }
.article-copy p { margin-bottom: 14px; }
.updated-note { text-align:center; color: var(--ink-400); font-size:0.82rem; margin-top: 40px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-400); padding: 14px 0; }
.breadcrumb a { color: var(--ink-600); }
.breadcrumb a:hover { color: var(--blue-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #cbd5e1; padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; font-size: 0.86rem; }
.footer-col a:hover { color: #fff; }
.footer-biz { font-size: 0.82rem; line-height: 1.9; color: #94a3b8; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 18px; font-size: 0.78rem; color: #64748b; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden { position:absolute; width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .table-scroll-hint { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 44px; }
  .hero h1 { font-size: 1.86rem; }
  .hero-media { order: -1; }
  .hero--photo { padding: 0; min-height: 480px; }
  .hero--photo .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero--photo::after { background: linear-gradient(180deg, rgba(8,15,30,.35) 0%, rgba(8,15,30,.78) 55%, rgba(8,15,30,.88) 100%); }
  .hero-photo-content { max-width: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .region-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section h2 { font-size: 1.5rem; }
  .cta-band { padding: 32px 20px; }
  .consult-phone-number { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.6rem; }
  .ba-imgs { grid-template-columns: 1fr; }
  .ba-imgs figure { aspect-ratio: 4/3; }
}
