/* ================================================================
   원진하수구 — main.css   (mobile-first)
   Pretendard 폰트는 functions.php에서 인큐
   ================================================================ */

/* ─── Variables ───────────────────────────────────────────────── */
:root {
  --wj-navy:      #1B3A6B;
  --wj-navy-dark: #0F2442;
  --wj-navy-mid:  #2A5298;
  --wj-orange:    #FF6B1A;
  --wj-orange-dk: #E55A0E;
  --wj-bg:        #F4F6FB;
  --wj-white:     #ffffff;
  --wj-text:      #1A1C23;
  --wj-muted:     #6B7280;
  --wj-border:    #E5E7EB;
  --wj-radius:    10px;
  --wj-shadow:    0 2px 12px rgba(27,58,107,.10);
  --wj-shadow-md: 0 4px 20px rgba(27,58,107,.15);
  --container:    1120px;
}

/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.wj-body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wj-text);
  background: var(--wj-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wj-body img { max-width: 100%; height: auto; display: block; }
.wj-body a { color: inherit; text-decoration: none; }
.wj-body button { cursor: pointer; border: none; background: none; font: inherit; }

.wj-body h1, .wj-body h2, .wj-body h3, .wj-body h4, .wj-body h5, .wj-body h6 {
  margin: 0; padding: 0; line-height: 1.3;
}
.wj-body p { margin: 0; }

/* ─── Container ─────────────────────────────────────────────────── */
.wj-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Screen reader only ────────────────────────────────────────── */
.wj-sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ─── Header ────────────────────────────────────────────────────── */
.wj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wj-white);
  border-bottom: 1px solid var(--wj-border);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.wj-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.wj-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.wj-logo svg { height: 44px; width: auto; }

/* 모바일: 헤더 우측 전화 버튼 */
.wj-header__cta-mobile a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wj-orange);
  color: var(--wj-white);
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  transition: background .2s;
}
.wj-header__cta-mobile a:hover { background: var(--wj-orange-dk); }

/* 데스크톱: 전화번호 + 버튼 */
.wj-header__phone { display: none; }

@media (min-width: 1024px) {
  .wj-header__inner { height: 70px; }
  .wj-header__cta-mobile { display: none; }
  .wj-header__phone {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .wj-header__phone-info { text-align: right; }
  .wj-header__phone-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--wj-navy);
    letter-spacing: -0.5px;
  }
  .wj-header__phone-badge {
    font-size: .72rem;
    color: var(--wj-muted);
    font-weight: 500;
    margin-top: 1px;
  }
  .wj-header__phone-cta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--wj-orange);
    color: var(--wj-white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 3px 12px rgba(255,107,26,.35);
  }
  .wj-header__phone-cta a:hover {
    background: var(--wj-orange-dk);
    box-shadow: 0 5px 16px rgba(255,107,26,.5);
  }
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.wj-hero {
  position: relative;
  background: linear-gradient(150deg, var(--wj-navy-dark) 0%, var(--wj-navy) 55%, var(--wj-navy-mid) 100%);
  color: var(--wj-white);
  padding: 56px 0 88px;
  overflow: visible; /* slides 컨테이너가 자체 overflow:hidden 처리 */
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 모바일: 사진 위 균일 네이비 오버레이 */
.wj-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 52, 0.75);
  z-index: 1;
  pointer-events: none;
}
/* 장식 원 제거 */
.wj-hero::after { content: none; }

/* 히어로 내부 레이아웃 */
.wj-hero__inner {
  position: relative;
  z-index: 2;
}

/* 슬라이드 컨테이너: 히어로 전체 폭 배경 */
.wj-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* 개별 슬라이드 */
.wj-hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.wj-hero__slide.is-active { opacity: 1; }
.wj-hero__slide picture { width: 100%; height: 100%; display: block; }
.wj-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none; /* 전역 max-width:100% 오버라이드 */
}
/* 켄번즈: 좌→우 패닝 (scale 고정 1.06, translateX ±3%) */
@keyframes wj-kb {
  from { transform: scale(1.06) translateX(-3%); }
  to   { transform: scale(1.06) translateX(3%); }
}
.wj-hero__slide.is-active img {
  animation: wj-kb 7s linear forwards;
}
@media (prefers-reduced-motion: reduce) {
  .wj-hero__slide.is-active img { animation: none !important; }
}
.wj-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,26,.18);
  border: 1px solid rgba(255,107,26,.35);
  color: #FFB088;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.wj-hero__title {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.wj-hero__title em { color: #FF9A5C; font-style: normal; }

.wj-hero__sub {
  font-size: .97rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.75;
}
.wj-hero__cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wj-orange);
  color: var(--wj-white);
  padding: 18px 28px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(255,107,26,.5);
  transition: all .2s;
  width: 100%;
  max-width: 400px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.wj-hero__cta-main:hover {
  background: var(--wj-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,26,.6);
}
.wj-hero__cta-number { font-size: 1.3rem; letter-spacing: .5px; }

@media (max-width: 379px) {
  .wj-hero__cta-label { display: none; }
}

.wj-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.wj-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 12px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
}

/* Hero 하단 파도 */
.wj-hero__wave {
  position: absolute;
  bottom: -2px; left: 0; /* -2px: overflow:visible인 hero가 섹션 경계 gray band 제거 */
  width: 100%; line-height: 0; pointer-events: none;
  z-index: 3; /* 오버레이(1)·텍스트(2) 위에 렌더링 */
}
.wj-hero__wave svg { display: block; width: 100%; }

@media (min-width: 640px) {
  /* PC: 전체 폭 배경 사진 위 좌→우 그라데이션 오버레이 */
  /* 좌(문구 쪽) 더 진하게 → 우(사진 보임) 반투명 */
  .wj-hero::before {
    background: linear-gradient(
      to right,
      rgba(10, 26, 52, 0.88) 0%,
      rgba(10, 26, 52, 0.82) 35%,
      rgba(10, 26, 52, 0.55) 65%,
      rgba(10, 26, 52, 0.40) 100%
    );
  }
  .wj-hero { min-height: 600px; }
  .wj-hero__title { font-size: 2.4rem; }
  .wj-hero__cta-main { display: inline-flex; width: auto; max-width: 580px; }
}
@media (min-width: 1024px) {
  .wj-hero { padding: 96px 0 120px; min-height: 640px; }
  .wj-hero__title { font-size: 3rem; }
}

/* ─── Section 공통 ──────────────────────────────────────────────── */
.wj-section { padding: 56px 0; }
.wj-section--alt { background: var(--wj-bg); }

.wj-section__header {
  text-align: center;
  margin-bottom: 36px;
}
.wj-section__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--wj-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.wj-section__title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--wj-navy);
  letter-spacing: -0.5px;
}
.wj-section__desc {
  font-size: .93rem;
  color: var(--wj-muted);
  margin-top: 10px;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .wj-section { padding: 80px 0; }
  .wj-section__title { font-size: 1.9rem; }
}

/* ─── Services ──────────────────────────────────────────────────── */
.wj-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
/* 5번째 카드(홀수): 모바일 2열 전체 너비 */
.wj-services__grid .wj-service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.wj-service-card {
  background: var(--wj-navy);
  border: none;
  border-radius: var(--wj-radius);
  padding: 22px 14px;
  text-align: center;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--wj-white);
  position: relative;
  overflow: hidden;
}
.wj-service-card:hover {
  box-shadow: var(--wj-shadow-md);
  transform: translateY(-3px);
}
/* 사진 배경 */
.wj-service-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* 네이비 오버레이 */
.wj-service-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 107, 0.70);
  z-index: 1;
  transition: background .2s;
}
.wj-service-card:hover .wj-service-card__overlay {
  background: rgba(27, 58, 107, 0.55);
}
/* 아이콘/텍스트 오버레이 위로 */
.wj-service-card__icon,
.wj-service-card__name,
.wj-service-card__arrow { position: relative; z-index: 2; }

.wj-service-card__icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wj-service-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--wj-white);
  stroke-width: 2;
  fill: none;
}
.wj-service-card__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--wj-white);
  line-height: 1.3;
}
.wj-service-card__arrow {
  font-size: .78rem;
  color: #FFB088;
  font-weight: 600;
}

@media (min-width: 640px) {
  .wj-services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .wj-services__grid .wj-service-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
}
@media (min-width: 1024px) {
  .wj-services__grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .wj-service-card { padding: 28px 18px; }
  .wj-service-card__name { font-size: .95rem; }
}

/* ─── Filter 섹션 ───────────────────────────────────────────────── */
.wj-filter-section {
  background: var(--wj-navy);
  padding: 48px 0;
  color: var(--wj-white);
}
.wj-filter-section .wj-section__label { color: #FFB088; }
.wj-filter-section .wj-section__title { color: var(--wj-white); }
.wj-filter-section .wj-section__desc  { color: rgba(255,255,255,.65); }

/* 쇼트코드 [wonjin_filter] 스타일 재정의 */
.wonjin-filter { max-width: 600px; margin: 0 auto; }
.wonjin-filter__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wonjin-filter__select {
  flex: 1;
  padding: 14px 44px 14px 18px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--wj-white);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
}
.wonjin-filter__select option {
  background: var(--wj-navy-dark);
  color: var(--wj-white);
}
.wonjin-filter__select:focus { outline: none; border-color: var(--wj-orange); }
.wonjin-filter__btn {
  padding: 15px 36px;
  background: var(--wj-orange);
  color: var(--wj-white);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  transition: background .2s;
  flex-shrink: 0;
}
.wonjin-filter__btn:hover { background: var(--wj-orange-dk); }
.wonjin-filter__msg {
  margin-top: 10px;
  color: #FFB088;
  font-size: .88rem;
  text-align: center;
}

@media (min-width: 640px) {
  .wonjin-filter__row { flex-direction: row; }
}

/* ─── Regions ───────────────────────────────────────────────────── */
.wj-regions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.wj-region-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  border-radius: var(--wj-radius);
  font-weight: 600;
  color: var(--wj-text);
  transition: all .18s;
  font-size: .92rem;
}
.wj-region-chip:hover {
  border-color: var(--wj-navy);
  color: var(--wj-navy);
  background: #EEF2FF;
  transform: translateX(3px);
}
.wj-region-chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wj-orange);
  flex-shrink: 0;
}
.wj-region-chip__arrow { margin-left: auto; color: var(--wj-muted); font-size: .8rem; }

@media (min-width: 640px) { .wj-regions__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .wj-regions__grid { grid-template-columns: repeat(5, 1fr); } }

/* ─── Process ───────────────────────────────────────────────────── */
.wj-process__steps {
  display: flex;
  flex-direction: column;
}
.wj-process__step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  position: relative;
}
.wj-process__step + .wj-process__step::before {
  content: '';
  position: absolute;
  top: 0; left: 21px;
  width: 2px; height: 22px;
  background: var(--wj-border);
}
.wj-process__num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--wj-navy);
  color: var(--wj-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
}
.wj-process__content { flex: 1; padding-top: 10px; }
.wj-process__title {
  font-weight: 700;
  font-size: .97rem;
  color: var(--wj-navy);
  margin-bottom: 4px;
}
.wj-process__desc { font-size: .87rem; color: var(--wj-muted); line-height: 1.6; }

@media (min-width: 1024px) {
  .wj-process__steps {
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
  }
  .wj-process__step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 0;
  }
  .wj-process__step + .wj-process__step::before { display: none; }
  /* 화살표 구분자 */
  .wj-process__step + .wj-process__step::after {
    content: '→';
    position: absolute;
    left: -20px;
    top: 12px;
    color: var(--wj-border);
    font-size: 1.4rem;
  }
  .wj-process__step { position: relative; }
  .wj-process__content { padding-top: 0; }
  .wj-process__num { width: 50px; height: 50px; font-size: 1rem; }
}

/* ─── Case Studies ──────────────────────────────────────────────── */
.wj-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.wj-case-card {
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  border-radius: var(--wj-radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.wj-case-card:hover { box-shadow: var(--wj-shadow-md); }
.wj-case-card__img {
  height: 180px;
  background: linear-gradient(135deg, #E5E7EB, #D1D5DB);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wj-muted);
  font-size: .82rem;
  font-weight: 500;
}
.wj-case-card__body { padding: 18px 20px; }
.wj-case-card__title { font-weight: 700; color: var(--wj-text); margin-bottom: 6px; font-size: .97rem; }
.wj-case-card__meta { font-size: .8rem; color: var(--wj-muted); }

.wj-cases__more { text-align: center; margin-top: 28px; }
.wj-cases__more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border: 2px solid var(--wj-navy);
  border-radius: 50px;
  font-weight: 700;
  color: var(--wj-navy);
  font-size: .92rem;
  transition: all .18s;
}
.wj-cases__more a:hover { background: var(--wj-navy); color: var(--wj-white); }

@media (min-width: 640px) { .wj-cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wj-cases__grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── CTA 배너 ──────────────────────────────────────────────────── */
.wj-cta-banner {
  background: linear-gradient(135deg, var(--wj-orange), var(--wj-orange-dk));
  padding: 48px 20px;
  text-align: center;
  color: var(--wj-white);
}
.wj-cta-banner__title { font-size: 1.45rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.5px; }
.wj-cta-banner__sub   { font-size: .93rem; opacity: .9; margin-bottom: 22px; }
.wj-cta-banner a.wj-cta-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wj-navy-dark);
  color: var(--wj-white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
  letter-spacing: .3px;
}
.wj-cta-banner a.wj-cta-banner__phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}

@media (min-width: 1024px) {
  .wj-cta-banner__title { font-size: 1.85rem; }
  .wj-cta-banner__phone { font-size: 1.5rem; }
}

/* ─── Footer ────────────────────────────────────────────────────── */
.wj-footer {
  background: var(--wj-navy-dark);
  color: rgba(255,255,255,.65);
  padding: 44px 0 96px; /* bottom: 모바일 sticky bar 여유 */
}
.wj-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wj-footer__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--wj-white);
  margin-bottom: 6px;
}
.wj-footer__tagline { font-size: .82rem; opacity: .65; }
.wj-footer__info-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.wj-footer__info-list li { font-size: .83rem; line-height: 1.5; }
.wj-footer__info-list strong { color: rgba(255,255,255,.88); font-weight: 600; }
.wj-footer__phone {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wj-orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wj-footer__copy {
  font-size: .72rem;
  opacity: .45;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .wj-footer { padding-bottom: 44px; }
  .wj-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ─── 모바일 하단 고정 전화 바 ──────────────────────────────────── */
.wj-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--wj-navy-dark);
  border-top: 2px solid var(--wj-orange);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -2px 16px rgba(0,0,0,.25);
}
.wj-sticky-bar__text {
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.wj-sticky-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wj-orange);
  color: var(--wj-white);
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .97rem;
}
.wj-sticky-bar__number { letter-spacing: .5px; }

@media (min-width: 1024px) { .wj-sticky-bar { display: none; } }

/* ─── Breadcrumb ────────────────────────────────────────────────── */
.wj-breadcrumb {
  font-size: .78rem;
  color: var(--wj-muted);
  padding: 10px 0;
}
.wj-breadcrumb a { color: var(--wj-muted); }
.wj-breadcrumb a:hover { color: var(--wj-navy); text-decoration: underline; }
.wj-breadcrumb__sep { margin: 0 6px; color: var(--wj-border); }

/* ─── area_service 단일 페이지 ──────────────────────────────────── */
.wj-as-topbar {
  background: var(--wj-bg);
  padding: 8px 0;
  border-bottom: 1px solid var(--wj-border);
}
.wj-as-hero {
  background: linear-gradient(150deg, var(--wj-navy-dark), var(--wj-navy));
  color: var(--wj-white);
  padding: 44px 0 40px;
}
.wj-as-hero__title {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.wj-as-hero__lead {
  font-size: .97rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 28px;
}
.wj-as-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wj-orange);
  color: var(--wj-white);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(255,107,26,.45);
  transition: all .2s;
}
.wj-as-hero__cta:hover {
  background: var(--wj-orange-dk);
  transform: translateY(-2px);
}

.wj-as-content { padding: 44px 0; }
.wj-as-content__inner { max-width: 780px; margin: 0 auto; }
.wj-as-content .entry-content > * + * { margin-top: 1.2em; }
.wj-as-content .entry-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--wj-navy); margin-top: 1.8em; }
.wj-as-content .entry-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--wj-text); margin-top: 1.5em; }
.wj-as-content .entry-content p { line-height: 1.8; }
.wj-as-content .entry-content ul { padding-left: 1.4em; }

.wj-as-placeholder {
  background: var(--wj-bg);
  border: 2px dashed var(--wj-border);
  border-radius: var(--wj-radius);
  padding: 40px;
  text-align: center;
  color: var(--wj-muted);
  font-size: .88rem;
  line-height: 1.7;
}

/* 내부 링크 블록 */
.wj-as-related { padding: 36px 0; background: var(--wj-bg); }
.wj-as-related__blocks { display: grid; grid-template-columns: 1fr; gap: 24px; }
.wj-as-related__block-title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--wj-navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--wj-border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wj-as-related__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.wj-as-related__list a {
  display: inline-block;
  padding: 7px 14px;
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--wj-text);
  transition: all .15s;
}
.wj-as-related__list a:hover,
.wj-as-related__list a.is-current {
  background: var(--wj-navy);
  color: var(--wj-white);
  border-color: var(--wj-navy);
}

/* 하단 CTA */
.wj-as-cta-bottom {
  padding: 44px 0;
  background: var(--wj-navy);
  color: var(--wj-white);
  text-align: center;
}
.wj-as-cta-bottom__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }

@media (min-width: 1024px) {
  .wj-as-hero { padding: 64px 0 56px; }
  .wj-as-hero__title { font-size: 2.1rem; }
  .wj-as-related__blocks { grid-template-columns: repeat(2, 1fr); }
}

/* ─── area_service 아카이브 ─────────────────────────────────────── */
.wj-archive-hero {
  background: linear-gradient(135deg, var(--wj-navy-dark), var(--wj-navy));
  color: var(--wj-white);
  padding: 44px 0;
  text-align: center;
}
.wj-archive-hero__title { font-size: 1.65rem; font-weight: 800; margin-bottom: 8px; }
.wj-archive-hero__sub   { font-size: .9rem; opacity: .75; }

.wj-archive-body { padding: 36px 0 60px; }
.wj-archive-region { margin-bottom: 32px; }
.wj-archive-region__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wj-navy);
  padding: 0 0 8px;
  border-bottom: 2px solid var(--wj-border);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wj-archive-region__name::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wj-orange);
  flex-shrink: 0;
}
.wj-archive-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.wj-archive-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--wj-text);
  transition: all .15s;
}
.wj-archive-list a:hover {
  border-color: var(--wj-navy);
  color: var(--wj-navy);
  background: #EEF2FF;
}
.wj-archive-list a span { color: var(--wj-orange); font-size: .8rem; }

@media (min-width: 640px) { .wj-archive-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .wj-archive-list { grid-template-columns: repeat(4, 1fr); } }

/* ─── case_study 단일 ───────────────────────────────────────────── */
.wj-cs-hero {
  background: var(--wj-navy);
  color: var(--wj-white);
  padding: 44px 0;
}
.wj-cs-hero__meta { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.wj-cs-hero__title { font-size: 1.55rem; font-weight: 800; margin-bottom: 14px; }
.wj-cs-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wj-cs-hero__tag {
  padding: 5px 12px;
  background: rgba(255,255,255,.12);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}
.wj-cs-content { padding: 44px 0; max-width: 800px; margin: 0 auto; }
.wj-cs-gallery { padding: 0 0 44px; }
.wj-cs-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wj-cs-gallery__grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
}

@media (min-width: 640px) { .wj-cs-gallery__grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── Related Cases ────────────────────────────────────────────── */
.wj-related-cases {
  padding: 48px 0;
  background: var(--wj-light, var(--wj-bg));
}
.wj-case-card__img--empty {
  background: var(--wj-border);
  height: 180px;
}

/* ─── area_service 본문 콘텐츠 (STEP 5) ─────────────────────────── */
.wj-as-body { padding: 4px 0; }

.wj-as-section { margin-bottom: 40px; }
.wj-as-section--faq { margin-bottom: 28px; }

.wj-as-section__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--wj-navy);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--wj-orange);
  line-height: 1.4;
}

.wj-as-body__lead {
  font-size: .97rem;
  color: var(--wj-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* 증상 체크리스트 */
.wj-as-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.wj-as-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--wj-bg);
  border-radius: 8px;
}
.wj-as-checklist li::before {
  content: '✓';
  color: var(--wj-orange);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.wj-as-checklist--warning li::before { content: '⚠'; }

/* 원인 목록 */
.wj-as-causes {
  list-style: none;
  counter-reset: cause-counter;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wj-as-causes li {
  counter-increment: cause-counter;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  border-radius: 10px;
}
.wj-as-causes li::before {
  content: counter(cause-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: var(--wj-navy);
  color: var(--wj-white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.wj-as-causes li strong {
  display: block;
  font-size: .92rem;
  color: var(--wj-navy);
  margin-bottom: 3px;
}
.wj-as-causes li span {
  font-size: .86rem;
  color: var(--wj-muted);
  line-height: 1.6;
}

/* 원인 카드 (변기막힘 전용) */
.wj-as-cause-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.wj-as-cause-card {
  padding: 14px 16px;
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  border-radius: 10px;
  border-top: 3px solid var(--wj-navy);
}
.wj-as-cause-card strong {
  display: block;
  font-size: .92rem;
  color: var(--wj-navy);
  margin-bottom: 5px;
}
.wj-as-cause-card p { font-size: .86rem; color: var(--wj-muted); line-height: 1.6; }

@media (min-width: 640px) {
  .wj-as-cause-cards { grid-template-columns: repeat(2, 1fr); }
}

/* 작업 단계 */
.wj-as-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wj-as-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  position: relative;
}
.wj-as-steps li + li { border-top: 1px solid var(--wj-border); }
.wj-as-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--wj-navy), var(--wj-navy-mid));
  color: var(--wj-white);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.wj-as-steps li > div { flex: 1; }
.wj-as-steps li strong { display: block; font-size: .95rem; color: var(--wj-text); margin-bottom: 4px; }
.wj-as-steps li p { font-size: .87rem; color: var(--wj-muted); line-height: 1.65; margin: 0; }

/* FAQ 아코디언 */
.wj-as-faq { display: flex; flex-direction: column; gap: 8px; }
.wj-as-faq__item {
  border: 1.5px solid var(--wj-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .15s;
}
.wj-as-faq__item[open] { border-color: var(--wj-navy); }
.wj-as-faq__item summary {
  padding: 14px 16px;
  font-size: .94rem;
  font-weight: 700;
  color: var(--wj-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wj-as-faq__item summary::-webkit-details-marker { display: none; }
.wj-as-faq__item summary::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: var(--wj-orange);
  color: var(--wj-white);
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.wj-as-faq__item[open] summary { color: var(--wj-navy); background: #EEF2FF; }
.wj-as-faq__ans {
  padding: 0 16px 14px 50px;
  font-size: .88rem;
  color: var(--wj-muted);
  line-height: 1.75;
}

/* 목차 (TOC) */
.wj-toc {
  background: #f8fafc;
  border-left: 3px solid var(--wj-orange);
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
}
.wj-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* 칩 버튼 스타일 */
.wj-toc__list a {
  display: inline-block;
  color: var(--wj-navy);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--wj-white);
  border: 1.5px solid var(--wj-border);
  padding: 5px 14px;
  border-radius: 50px;
  transition: background .15s, color .15s, border-color .15s;
}
.wj-toc__list a:hover {
  background: var(--wj-navy);
  color: var(--wj-white);
  border-color: var(--wj-navy);
}

/* TOC anchor 스크롤 오프셋 (sticky 헤더 높이 보상) */
section[id] { scroll-margin-top: 80px; }

/* 공공 레퍼런스 */
.wj-references {
  margin-top: 32px;
  padding: 16px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: .8rem;
  color: #64748b;
}
.wj-references p {
  margin: 0 0 8px;
  font-weight: 600;
}
.wj-references ul {
  margin: 0;
  padding-left: 16px;
}
.wj-references a {
  color: #64748b;
  text-decoration: underline;
}

/* 인라인 CTA */
.wj-as-cta-inline {
  margin: 32px 0 8px;
  text-align: center;
}
.wj-as-cta-inline__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wj-navy);
  color: var(--wj-white);
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--wj-shadow-md);
  transition: all .2s;
  flex-wrap: wrap;
  justify-content: center;
}
.wj-as-cta-inline__btn:hover {
  background: var(--wj-navy-dark);
  transform: translateY(-2px);
}
.wj-as-cta-inline__btn span {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .3px;
  color: #FFB088;
}

@media (min-width: 1024px) {
  .wj-as-section__title { font-size: 1.25rem; }
  .wj-as-cause-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   404 페이지
═══════════════════════════════════════════════════════════════ */
.wj-404-main {
  padding: 60px 0 80px;
  min-height: 60vh;
}
.wj-404-hero {
  text-align: center;
  padding: 0 0 48px;
}
.wj-404-hero__code {
  font-size: 7rem;
  font-weight: 900;
  color: var(--wj-orange);
  line-height: 1;
  margin-bottom: .4rem;
  letter-spacing: -4px;
}
.wj-404-hero__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--wj-navy);
  margin-bottom: .8rem;
}
.wj-404-hero__desc {
  font-size: 1rem;
  color: var(--wj-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.wj-404-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--wj-orange);
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  padding: 1rem 2.4rem;
  border-radius: 8px;
  letter-spacing: .05em;
  box-shadow: var(--wj-shadow-md);
  transition: all .2s;
}
.wj-404-cta:hover {
  background: #d95f10;
  transform: translateY(-2px);
}
.wj-404-cta-sub {
  font-size: .82rem;
  color: #888;
  margin-top: .75rem;
}
.wj-404-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.wj-404-nav__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--wj-navy);
  font-size: .95rem;
  font-weight: 600;
  transition: all .2s;
}
.wj-404-nav__link:hover {
  background: #fff;
  border-color: var(--wj-orange);
  color: var(--wj-orange);
}
.wj-404-nav__icon {
  display: flex;
  color: var(--wj-orange);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .wj-404-hero__code { font-size: 9rem; }
  .wj-404-hero__title { font-size: 1.75rem; }
  .wj-404-nav {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }
  .wj-404-nav__link { flex: 1; max-width: 200px; flex-direction: column; text-align: center; }
  .wj-404-nav__icon { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   작업사례 아카이브
═══════════════════════════════════════════════════════════════ */
.wj-archive-cs-hero {
  background: var(--wj-navy);
  color: #fff;
  padding: 48px 0 40px;
  text-align: center;
}
.wj-archive-cs-hero__title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: .6rem;
}
.wj-archive-cs-hero__desc {
  font-size: .95rem;
  opacity: .85;
}
.wj-archive-cs-grid-section {
  padding: 48px 0 60px;
}
.wj-cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wj-cs-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--wj-shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.wj-cs-card:hover { box-shadow: var(--wj-shadow-md); }
.wj-cs-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.wj-cs-card__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f3f4f6;
}
.wj-cs-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.wj-cs-card:hover .wj-cs-card__thumb img { transform: scale(1.04); }
.wj-cs-card__thumb--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}
.wj-cs-card__body {
  padding: 14px 16px 18px;
}
.wj-cs-card__badge {
  display: inline-block;
  background: var(--wj-orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.wj-cs-card__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--wj-navy);
  margin-bottom: 4px;
  line-height: 1.4;
}
.wj-cs-card__date {
  font-size: .78rem;
  color: var(--wj-muted);
  margin-bottom: 4px;
}
.wj-cs-card__summary {
  font-size: .82rem;
  color: var(--wj-gray);
  line-height: 1.5;
}
.wj-archive-cs-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--wj-muted);
}
.wj-pagination {
  margin-top: 40px;
  text-align: center;
}
.wj-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  color: var(--wj-navy);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.wj-pagination .page-numbers.current,
.wj-pagination .page-numbers:hover {
  background: var(--wj-navy);
  border-color: var(--wj-navy);
  color: #fff;
}

@media (min-width: 640px) {
  .wj-cs-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .wj-cs-card__title { font-size: 1rem; }
}
@media (min-width: 1024px) {
  .wj-cs-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   U-3: 서비스 단일 페이지 — 사이드바 2단 레이아웃 (PC 1024px+)
═══════════════════════════════════════════════════════════════ */

/* 섹션 간격 확대 */
@media (min-width: 1024px) {
  .wj-as-section { margin-bottom: 60px; }
}

/* 2단 레이아웃 컨테이너 */
.wj-as-content__layout {
  display: block;
}
@media (min-width: 1024px) {
  .wj-as-content__layout {
    display: grid;
    grid-template-columns: 1fr 268px;
    gap: 48px;
    align-items: start;
  }
  /* PC에서는 본문 내 TOC 숨김 (사이드바 TOC만 표시) */
  .wj-as-content__main .wj-toc { display: none; }
}

/* 사이드바 */
.wj-as-sidebar {
  margin-top: 32px;
}
@media (min-width: 1024px) {
  .wj-as-sidebar {
    margin-top: 0;
    position: sticky;
    top: 90px;
  }
}

/* 사이드바 TOC */
.wj-as-sidebar .wj-toc {
  margin-bottom: 20px;
}
.wj-as-sidebar .wj-toc__heading {
  font-size: .8rem;
  font-weight: 700;
  color: var(--wj-muted);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wj-as-sidebar .wj-toc__list {
  flex-direction: column;
  gap: 6px;
}
.wj-as-sidebar .wj-toc__list a {
  display: block;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: .88rem;
}

/* 사이드바 CTA */
.wj-as-sidebar__cta {
  background: var(--wj-navy);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  color: var(--wj-white);
}
.wj-as-sidebar__cta-label {
  font-size: .78rem;
  opacity: .75;
  margin-bottom: 10px;
}
.wj-as-sidebar__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wj-orange);
  color: var(--wj-white);
  padding: 13px 16px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255,107,26,.4);
  transition: all .2s;
  word-break: keep-all;
}
.wj-as-sidebar__cta-btn:hover {
  background: var(--wj-orange-dk);
  transform: translateY(-2px);
}
