/* =========================================================
   하수구 깔끔박사 — Site stylesheet
   ========================================================= */
:root {
  --c-primary: #0066c4;
  --c-primary-d: #004f99;
  --c-primary-l: #e9f3ff;
  --c-accent: #ff6a13;
  --c-accent-d: #e3550a;
  --c-text: #1a1f2e;
  --c-muted: #5b6478;
  --c-line: #e6e9ef;
  --c-soft: #f6f8fc;
  --c-card: #ffffff;
  --c-bg: #ffffff;
  --c-warn: #ffaf2e;
  --c-ok: #14a36a;
  --shadow-sm: 0 4px 14px rgba(15, 30, 60, .06);
  --shadow-md: 0 12px 32px rgba(15, 30, 60, .10);
  --shadow-lg: 0 24px 60px rgba(15, 30, 60, .14);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1240px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  letter-spacing: -.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
.container { width: min(100% - 32px, var(--max-w)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: #000; color: #fff; padding: 6px 10px; z-index: 9999; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { font-size: 32px; }
.logo-text strong { display: block; font-size: 19px; font-weight: 800; color: var(--c-text); letter-spacing: -.02em; }
.logo-text em { display: block; font-size: 11px; font-style: normal; color: var(--c-muted); letter-spacing: .05em; }

.gnb ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.gnb a {
  display: block; padding: 10px 20px; font-weight: 600; font-size: 16px; color: var(--c-text);
  border-radius: 999px; position: relative; transition: .15s;
}
.gnb a:hover { background: var(--c-primary-l); color: var(--c-primary-d); }
.gnb li.on a { background: var(--c-primary); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.tel-btn {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-d));
  color: #fff; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.tel-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.tel-icon { font-size: 18px; }
.tel-text em { display: block; font-size: 10px; font-style: normal; opacity: .9; }
.tel-text strong { display: block; font-size: 16px; letter-spacing: .02em; }

.mobile-toggle {
  display: none; width: 40px; height: 40px; background: transparent; border: none;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--c-text); transition: .2s; }
.mobile-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.on span:nth-child(2) { opacity: 0; }
.mobile-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; padding: 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-inner a {
  padding: 16px 20px; font-size: 18px; font-weight: 700; border-radius: 12px; border-bottom: 1px solid var(--c-line);
}
.mobile-nav-inner a.on { color: var(--c-primary); background: var(--c-primary-l); }
.mobile-tel {
  margin-top: 16px; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-d));
  color: #fff !important; text-align: center;
}

@media (max-width: 980px) {
  .gnb, .tel-btn .tel-text em { display: none; }
  .mobile-toggle { display: flex; }
  .tel-btn { padding: 8px 14px; }
  .tel-text strong { font-size: 14px; }
  .logo-text em { display: none; }
  .logo-text strong { font-size: 16px; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; transition: .15s; cursor: pointer; line-height: 1;
}
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-primary-d); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-d)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--c-primary-d); }
.btn-outline { background: #fff; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-soft { background: var(--c-soft); color: var(--c-text); }
.btn-soft:hover { background: var(--c-line); }
.btn-danger { background: #e23b3b; color: #fff; }
.btn-block { width: 100%; }

/* ============ Hero (full-screen slideshow + overlay) ============ */
.hero-fs {
  position: relative;
  height: clamp(620px, 88vh, 880px);
  min-height: 560px;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate;
}
.hero-fs-slides { position: absolute; inset: 0; z-index: 0; }
.hero-fs-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-fs-slide.on { opacity: 1; }
.hero-fs-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
.hero-fs-slide.on img { transform: scale(1); }

.hero-fs-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,18,40,.30) 0%, rgba(8,18,40,.10) 35%, rgba(8,18,40,.55) 75%, rgba(8,18,40,.85) 100%),
    linear-gradient(95deg, rgba(8,18,40,.78) 0%, rgba(8,18,40,.45) 38%, rgba(8,18,40,.18) 65%, rgba(8,18,40,.10) 100%);
}

.hero-fs-inner {
  position: relative; z-index: 2;
  height: 100%; display: flex; align-items: flex-end;
}
.hero-fs-content { max-width: 920px; padding: 0 0 86px; width: 100%; }

.hero-fs-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; margin-bottom: 26px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  animation: hf-up .8s .1s both;
}
.hero-fs-title {
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.038em;
  margin: 0 0 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
  animation: hf-up .9s .25s both;
}
.hero-fs-title .grad {
  background: linear-gradient(90deg, #62c8ff, #ffffff 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-fs-title .accent { color: #ff8c3e; }
.hero-fs-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75; margin: 0 0 36px;
  color: rgba(255,255,255,.92);
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  animation: hf-up 1s .42s both;
}
.hero-fs-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: hf-up 1.1s .55s both; margin-bottom: 18px; }
.btn-ghost-white {
  background: rgba(255,255,255,.10);
  color: #fff; border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}
.btn-ghost-white:hover { background: #fff; color: var(--c-primary-d); border-color: #fff; }

.hero-fs-trust {
  margin-top: 0; display: flex; gap: 24px; flex-wrap: wrap;
  color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600;
  animation: hf-up 1.2s .68s both;
}
.hero-fs-trust span { display: inline-flex; gap: 6px; align-items: center; }
.hero-fs-trust span::before {
  content: '✓'; display: inline-flex; width: 18px; height: 18px;
  align-items: center; justify-content: center;
  background: #14a36a; color: #fff; border-radius: 50%; font-size: 11px;
}

.hero-fs-progress {
  position: absolute; right: 32px; bottom: 24px; z-index: 3;
  display: flex; align-items: center; gap: 18px;
}
.hero-fs-dots { display: flex; gap: 8px; }
.hero-fs-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none; padding: 0; cursor: pointer;
  transition: width .25s, background .25s;
}
.hero-fs-dots button.on { width: 32px; border-radius: 999px; background: #fff; }

.hero-fs-timer {
  position: relative; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero-fs-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-fs-timer .track { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2.5; }
.hero-fs-timer .bar   {
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 106.81;  /* 2 × π × r(17) */
  stroke-dashoffset: 0;
}
.hero-fs-timer.run .bar { animation: hf-ring 5s linear infinite; }
@keyframes hf-ring {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 106.81; }
}
.hero-fs-timer .num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

.hero-fs-badge {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
  z-index: 3; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  border-radius: 20px; padding: 22px 26px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: hf-pulse 3s ease-in-out infinite, hf-in 1s .8s both;
}
.hero-fs-badge .num { font-size: 36px; font-weight: 900; color: #ff8c3e; line-height: 1; letter-spacing: -.02em; }
.hero-fs-badge .lbl { font-size: 12.5px; color: #fff; font-weight: 600; text-align: center; letter-spacing: .02em; }

.hero-fs-scroll {
  display: none;
  position: absolute; right: 28px; bottom: 22px; z-index: 3;
  color: rgba(255,255,255,.72); font-size: 11.5px; letter-spacing: .15em;
  writing-mode: vertical-rl; text-orientation: mixed;
  display: flex; align-items: center; gap: 14px;
  text-transform: uppercase;
}
.hero-fs-scroll::after {
  content: ''; width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: hf-scroll 1.6s ease-in-out infinite;
}

@keyframes hf-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hf-in { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes hf-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,62,.45); } 50% { box-shadow: 0 0 0 14px rgba(255,140,62,0); } }
@keyframes hf-scroll { 0% { opacity: 0; transform: translateY(-12px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 980px) {
  .hero-fs { height: clamp(560px, 80vh, 720px); }
  .hero-fs-badge { right: 16px; padding: 16px 18px; border-radius: 14px; }
  .hero-fs-badge .num { font-size: 26px; }
  .hero-fs-badge .lbl { font-size: 11px; }
  .hero-fs-scroll { display: none; }
}
@media (max-width: 640px) {
  .hero-fs { height: 78vh; min-height: 520px; }
  .hero-fs-content { padding: 0 0 96px; }
  .hero-fs-eyebrow { font-size: 12.5px; padding: 7px 14px; margin-bottom: 18px; }
  .hero-fs-trust { gap: 10px 14px; font-size: 12.5px; }
  .hero-fs-badge { right: 16px; top: 90px; transform: none; flex-direction: row; gap: 10px; padding: 12px 16px; }
  .hero-fs-badge .lbl { text-align: left; }
  .hero-fs-progress { right: 50%; transform: translateX(50%); bottom: 18px; gap: 14px; }
  .hero-fs-timer { width: 40px; height: 40px; }
  .hero-fs-timer .num { font-size: 12px; }
}

/* ============ Trust strip ============ */
.trust-strip {
  background: linear-gradient(180deg, #f6f9ff, #fff);
  border-block: 1px solid var(--c-line);
}
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon { font-size: 30px; line-height: 1; }
.trust-item h4 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.trust-item p  { margin: 0; font-size: 13px; color: var(--c-muted); line-height: 1.55; }
@media (max-width: 800px) { .trust-strip .container { grid-template-columns: repeat(2, 1fr); } }

/* ============ Section common ============ */
.section { padding: 96px 0; }
.section.gray { background: var(--c-soft); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block; color: var(--c-primary); font-weight: 800; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; font-weight: 900; letter-spacing: -.03em;
}
.section-head p { margin: 0; color: var(--c-muted); font-size: 17px; }

/* ============ Service cards (home) ============ */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.svc-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px 24px; transition: .2s; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-primary), #00b3ff); opacity: 0; transition: .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { opacity: 1; }
.svc-icon { font-size: 36px; margin-bottom: 16px; line-height: 1; }
.svc-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.svc-card p  { margin: 0; font-size: 14px; color: var(--c-muted); line-height: 1.6; }
.svc-card .more { display: inline-block; margin-top: 16px; color: var(--c-primary); font-size: 13px; font-weight: 700; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============ Process steps ============ */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.step {
  text-align: center; padding: 28px 16px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius); position: relative;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), #00b3ff);
  color: #fff; font-weight: 900; font-size: 17px; margin-bottom: 14px;
}
.step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.step p { margin: 0; font-size: 13px; color: var(--c-muted); }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ Why us ============ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  padding: 36px 28px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.why-card .ic { font-size: 40px; margin-bottom: 18px; }
.why-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.why-card p  { margin: 0; font-size: 15px; color: var(--c-muted); line-height: 1.7; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ Reviews preview ============ */
.review-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
  transition: .2s; display: flex; flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-thumb { aspect-ratio: 16/10; background: var(--c-soft); overflow: hidden; }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.review-card:hover .review-thumb img { transform: scale(1.05); }
.review-thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary-l), #fff); font-size: 60px;
}
.review-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.review-meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--c-primary-l); color: var(--c-primary-d); font-size: 12px; font-weight: 700;
}
.tag.gray { background: var(--c-soft); color: var(--c-muted); }
.review-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 800; line-height: 1.4; }
.review-card .excerpt { color: var(--c-muted); font-size: 14px; flex: 1; margin: 0 0 14px; }
.review-card .date { color: var(--c-muted); font-size: 12px; }
@media (max-width: 900px) { .review-cards { grid-template-columns: 1fr; } }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(135deg, #0d2852 0%, #0066c4 60%, #00b3ff 100%);
  color: #fff; padding: 64px 0;
}
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-eyebrow { color: rgba(255,255,255,.85); font-size: 14px; margin: 0 0 10px; font-weight: 700; }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(24px, 3.5vw, 34px); font-weight: 900; line-height: 1.3; }
.cta-sub { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Sub hero ============ */
.sub-hero {
  background: linear-gradient(135deg, #0d2852, #0066c4); color: #fff; padding: 80px 0 60px;
  background-size: cover; background-position: center; text-align: center;
}
.sub-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.03em; }
.sub-hero p { margin: 0 0 18px; font-size: 17px; opacity: .9; }
.breadcrumb { display: inline-flex; gap: 6px; color: rgba(255,255,255,.75); font-size: 13px; }
.breadcrumb a { opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

/* ============ Flash ============ */
.flash {
  margin: 24px 0; padding: 14px 18px; background: var(--c-primary-l);
  color: var(--c-primary-d); border-radius: var(--radius-sm); border: 1px solid #cfe2ff; font-weight: 600;
}

/* ============ Footer ============ */
.site-footer { background: #0f1726; color: rgba(255,255,255,.78); padding-top: 60px; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-tag { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.65); margin: 0 0 18px; }
.footer-cert { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }
.footer-nav h3, .footer-contact h3 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 800; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.7); }
.footer-nav a:hover { color: #fff; }
.footer-tel { font-size: 26px; font-weight: 900; color: var(--c-accent); margin: 0 0 6px; letter-spacing: .02em; }
.footer-sub { font-size: 13px; color: rgba(255,255,255,.6); margin: 0 0 4px; }
.footer-sub a { color: rgba(255,255,255,.7); }
.footer-btn {
  display: inline-block; margin-top: 14px; padding: 10px 18px;
  background: var(--c-primary); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.footer-btn:hover { background: var(--c-primary-d); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom .copy { color: rgba(255,255,255,.4); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============ Float call ============ */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-d));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 24px rgba(255,106,19,.35), 0 0 0 0 rgba(255,106,19,.6); }
  50% { box-shadow: 0 12px 24px rgba(255,106,19,.35), 0 0 0 14px rgba(255,106,19,0); }
}
@media (min-width: 980px) { .float-call { display: none; } }

/* ============ Sub page common ============ */
.page-wrap { padding: 64px 0 96px; }
.page-narrow { max-width: 880px; margin-inline: auto; }
.page-section { margin-bottom: 72px; }
.page-section h2 { font-size: 26px; font-weight: 900; margin: 0 0 8px; letter-spacing: -.03em; }
.page-section .lead { color: var(--c-muted); font-size: 16px; margin: 0 0 28px; }
.section-divider { height: 1px; background: var(--c-line); border: none; margin: 56px 0; }

/* About page */
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.intro-grid .img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4/5; background: var(--c-soft);
}
.intro-grid .img img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid h3 { font-size: 28px; margin: 0 0 18px; font-weight: 900; letter-spacing: -.03em; }
.intro-grid h3 .point { color: var(--c-primary); }
.intro-grid p { font-size: 15.5px; line-height: 1.85; color: #3a4256; margin: 0 0 14px; }
.intro-grid .sign { margin-top: 24px; font-weight: 800; }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; } }

.promise-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.promise {
  padding: 28px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  text-align: center;
}
.promise .ic { font-size: 36px; }
.promise h4 { margin: 12px 0 6px; font-size: 16px; font-weight: 800; }
.promise p  { margin: 0; font-size: 13.5px; color: var(--c-muted); line-height: 1.6; }
@media (max-width: 900px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }

/* Service catalog */
.svc-block {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  margin-bottom: 56px;
}
.svc-block.reverse { grid-template-columns: 1.2fr 1fr; }
.svc-block.reverse .svc-block-img { order: 2; }
.svc-block-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--c-primary-l), #fff);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
}
.svc-block-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-block h3 { font-size: 26px; margin: 0 0 10px; font-weight: 900; }
.svc-block .ko-sub { color: var(--c-accent); font-weight: 800; font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.svc-block p { font-size: 15.5px; line-height: 1.8; color: #3a4256; margin: 0 0 12px; }
.svc-block ul { padding-left: 0; list-style: none; margin: 14px 0 0; display: grid; gap: 8px; }
.svc-block ul li { padding-left: 22px; position: relative; font-size: 14.5px; color: #3a4256; }
.svc-block ul li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; color: var(--c-primary); font-weight: 900;
}
@media (max-width: 880px) {
  .svc-block, .svc-block.reverse { grid-template-columns: 1fr; }
  .svc-block.reverse .svc-block-img { order: 0; }
}

.area-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.area {
  padding: 22px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--c-line); text-align: center; transition: .2s;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--c-primary); }
.area .ic { font-size: 32px; }
.area h4 { margin: 10px 0 4px; font-size: 15px; font-weight: 800; }
.area p  { margin: 0; font-size: 12.5px; color: var(--c-muted); line-height: 1.55; }
@media (max-width: 980px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }

/* Reviews list / detail */
.list-toolbar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; margin-bottom: 24px;
}
.search-form { display: flex; gap: 8px; }
.search-form input, .search-form select {
  padding: 10px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  font-size: 14px; background: #fff;
}
.search-form input { min-width: 220px; }

.review-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .review-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .review-list { grid-template-columns: 1fr; } }

.review-detail { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 40px; }
.review-detail .title { font-size: 28px; margin: 12px 0 14px; font-weight: 900; letter-spacing: -.03em; }
.review-detail .meta { display: flex; gap: 12px; color: var(--c-muted); font-size: 13px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); margin-bottom: 28px; }
.review-detail .content { font-size: 16px; line-height: 1.9; color: #2a3142; }
.review-detail .content img { border-radius: var(--radius-sm); margin: 16px 0; max-width: 100%; height: auto; }
.review-detail .content video { width: 100%; max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--c-line); background: #fff; font-size: 14px; color: var(--c-text);
}
.pager .on { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pager a:hover { background: var(--c-soft); }

/* ============ Forms ============ */
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px dashed var(--c-line); }
.form-row:last-of-type { border-bottom: none; }
.form-row label { font-weight: 700; padding-top: 10px; font-size: 15px; }
.form-row .req { color: var(--c-accent); }
.form-row input[type=text], .form-row input[type=tel], .form-row input[type=email],
.form-row input[type=password], .form-row input[type=date], .form-row input[type=file],
.form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  font-size: 15px; background: #fff; font-family: inherit;
}
.form-row textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-l);
}
.form-row .hint { font-size: 12.5px; color: var(--c-muted); margin-top: 6px; }
.form-row .inline { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-actions { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row label { padding-top: 0; }
}

.cat-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-pick label {
  padding: 12px 8px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  text-align: center; cursor: pointer; font-size: 13.5px; font-weight: 600; transition: .15s; background: #fff;
}
.cat-pick input { display: none; }
.cat-pick input:checked + span { color: var(--c-primary); }
.cat-pick label:has(input:checked) { border-color: var(--c-primary); background: var(--c-primary-l); color: var(--c-primary-d); }
.cat-pick label:hover { border-color: var(--c-primary); }
@media (max-width: 700px) { .cat-pick { grid-template-columns: repeat(2, 1fr); } }

/* ============ Tables ============ */
.b-table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--c-text); }
.b-table th, .b-table td { padding: 14px 12px; text-align: center; font-size: 14.5px; border-bottom: 1px solid var(--c-line); }
.b-table th { background: var(--c-soft); font-weight: 700; color: var(--c-muted); font-size: 13px; letter-spacing: .02em; }
.b-table td.t-left { text-align: left; }
.b-table td a { font-weight: 600; }
.b-table td a:hover { color: var(--c-primary); }
.b-table .pin { background: linear-gradient(180deg, #fff8e8, #fff); }
.b-table .pin td:first-child { color: var(--c-accent); font-weight: 800; }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
}
.badge-new { background: var(--c-accent); color: #fff; }
.badge-ok  { background: var(--c-ok); color: #fff; }
.badge-wait{ background: var(--c-warn); color: #fff; }
.badge-done{ background: var(--c-muted); color: #fff; }
.badge-priv{ background: var(--c-soft); color: var(--c-muted); }

@media (max-width: 700px) {
  .b-table .hide-m { display: none; }
}

/* ============ Tab nav ============ */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--c-line); margin-bottom: 28px; flex-wrap: wrap; }
.tabs a {
  padding: 14px 22px; font-weight: 700; color: var(--c-muted); font-size: 15px;
  border-bottom: 3px solid transparent; margin-bottom: -2px; transition: .15s;
}
.tabs a.on { color: var(--c-primary); border-color: var(--c-primary); }
.tabs a:hover { color: var(--c-primary-d); }

/* ============ QnA detail / accordions ============ */
.qna-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.qna-q {
  padding: 18px 22px; display: flex; gap: 14px; align-items: center; cursor: pointer; user-select: none;
}
.qna-q .q-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary);
  color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center;
}
.qna-q strong { flex: 1; font-weight: 700; font-size: 16px; }
.qna-q .meta { font-size: 12.5px; color: var(--c-muted); }
.qna-q .arrow { transition: .2s; }
.qna-item.open .qna-q .arrow { transform: rotate(180deg); }
.qna-a {
  display: none; padding: 0 22px 22px 22px; border-top: 1px dashed var(--c-line); margin-top: 0;
  font-size: 15px; color: #2a3142; line-height: 1.8;
}
.qna-item.open .qna-a { display: block; }
.qna-a .a-head { display: flex; gap: 14px; padding-top: 18px; }
.qna-a .a-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent);
  color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center;
}
.qna-a .a-body { flex: 1; }

/* ============ Empty ============ */
.empty {
  padding: 80px 20px; text-align: center; background: var(--c-soft); border-radius: var(--radius);
  color: var(--c-muted);
}
.empty .ic { font-size: 56px; margin-bottom: 16px; }
.empty h3 { color: var(--c-text); margin: 0 0 8px; font-size: 18px; }

/* ============ Editor (TinyMCE wrapper) ============ */
.editor-wrap { border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden; }
.tox-tinymce { border-radius: 0 !important; border: none !important; }

/* ============ Media uploader ============ */
.media-strip {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; background: var(--c-soft);
  border-radius: var(--radius-sm); border: 1px dashed var(--c-line); min-height: 70px;
  align-items: flex-start;
}
.media-strip:empty::before { content: '여기에 이미지/영상이 표시됩니다.'; color: var(--c-muted); font-size: 13px; padding: 16px; }
.media-thumb {
  position: relative; width: 110px; height: 110px; border-radius: 8px; overflow: hidden;
  background: #000; border: 1px solid var(--c-line);
}
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  background: rgba(0,0,0,.7); color: #fff; border: none; border-radius: 50%; font-size: 12px; line-height: 1;
}

/* ============ Misc ============ */
.notice-band {
  background: linear-gradient(135deg, var(--c-primary-l), #f8fbff); border: 1px solid #d9e8fb;
  border-left: 4px solid var(--c-primary); padding: 18px 22px; border-radius: 10px; margin-bottom: 24px;
}
.notice-band strong { color: var(--c-primary-d); display: block; margin-bottom: 4px; }
.notice-band p { margin: 0; font-size: 14.5px; color: #2a3142; line-height: 1.7; }

.kbd-bg { padding: 60px 0; background: linear-gradient(180deg, #f6f9ff, #fff); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.kbd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.kbd-grid h3 { font-size: 36px; margin: 0 0 6px; color: var(--c-primary); font-weight: 900; }
.kbd-grid p  { margin: 0; color: var(--c-muted); font-size: 14px; font-weight: 600; }
@media (max-width: 800px) { .kbd-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ Admin ============ */
.admin-body { background: var(--c-soft); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #0f1726; color: rgba(255,255,255,.78); padding: 24px 0; }
.admin-side .brand { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-side .brand strong { display: block; color: #fff; font-size: 18px; }
.admin-side nav { padding: 18px 12px; }
.admin-side nav a {
  display: block; padding: 10px 14px; border-radius: 8px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600;
}
.admin-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side nav a.on { background: var(--c-primary); color: #fff; }
.admin-side .logout { margin: 0 12px; padding: 10px 14px; color: rgba(255,255,255,.5); font-size: 13px; display: block; }
.admin-main { padding: 32px 36px; }
.admin-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); padding: 24px; margin-bottom: 20px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-head h1 { margin: 0; font-size: 22px; font-weight: 900; }
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; }
}

/* Login card */
.login-shell { min-height: 100vh; display: grid; place-items: center; background: var(--c-soft); padding: 20px; }
.login-card { background: #fff; padding: 40px 32px; border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; max-width: 420px; }
.login-card h1 { text-align: center; margin: 0 0 24px; font-size: 22px; }
