/* ==========================================================================
   정진클린환경 홈 — 추가 콘텐츠 섹션 스타일 (기존 jj- 디자인 토큰과 정합)
   색: #176cff / #061b3f / #5c6877, bg #eef4fb, radius 16, Pretendard
   ========================================================================== */
.jj-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #176cff;
  margin-bottom: 12px;
}

/* --- 브랜드 소개 --- */
.jj-about-section {
  background: #fff;
  padding: 84px 0;
}
.jj-about-inner {
  width: min(92%, 940px);
  margin: 0 auto;
  text-align: center;
}
.jj-about-inner h2 {
  margin: 0 0 20px;
  color: #061b3f;
  font-size: clamp(2.6rem, 2.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.jj-about-inner p {
  margin: 0 auto 16px;
  max-width: 820px;
  color: #4b5666;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 500;
}
.jj-about-inner p b { color: #071d42; font-weight: 800; }
.jj-about-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.jj-about-point {
  background: #f4f8fd;
  border: 1px solid rgba(6,27,63,0.06);
  border-radius: 14px;
  padding: 24px 18px;
}
.jj-about-point .n { font-size: 22px; font-weight: 900; color: #176cff; }
.jj-about-point .t { margin-top: 8px; font-size: 15px; font-weight: 700; color: #061b3f; }
.jj-about-point .d { margin-top: 4px; font-size: 13.5px; color: #5c6877; line-height: 1.55; }

/* --- 서비스 상세 --- */
/* 흰↔하늘색 교차 리듬: 서비스(파랑)→상세(흰)→갤러리(파랑). 카드는 연푸른 반전. */
.jj-detail-section {
  background: #eef4fb;
  padding: 84px 0;
}
.jj-detail-grid {
  width: min(100%, 1120px);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.jj-detail-item {
  background: #f4f8fd;
  border: 1px solid rgba(6,27,63,0.06);
  border-radius: 16px;
  padding: 30px 30px;
  box-shadow: 0 10px 25px rgba(6,27,63,0.03);
}
.jj-detail-item h3 {
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 4px solid #176cff;
  font-size: 20px;
  font-weight: 800;
  color: #061b3f;
}
.jj-detail-item p {
  margin: 0;
  color: #4b5666;
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 500;
}

/* --- 작업 갤러리 → 시공사례(works) 게시판 그리드 --- */
.jj-works-grid {
  width: min(100%, 1200px);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.jj-work-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(6,27,63,0.07);
  box-shadow: 0 10px 25px rgba(6,27,63,0.03);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.25,1,0.5,1), box-shadow 0.35s ease;
}
.jj-work-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(6,27,63,0.1); }
.jj-work-thumb {
  height: 180px;
  background: #dce6f2 center/cover no-repeat;
}
.jj-work-body { padding: 16px 18px 20px; }
.jj-work-badges { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.jj-work-badges span {
  font-size: 11.5px; font-weight: 700; color: #176cff;
  background: #eaf1ff; border-radius: 20px; padding: 3px 10px;
}
.jj-work-card h3 {
  margin: 0; font-size: 15.5px; font-weight: 700; color: #071d42;
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jj-works-empty {
  width: 100%; text-align: center; color: #8794a5;
  font-size: 15px; padding: 40px 0; font-weight: 500;
}

/* --- 지역 커버리지 --- */
.jj-coverage-section { background: #fff; padding: 84px 0; }
.jj-cov-grid {
  width: min(100%, 1120px);
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.jj-cov-col h3 {
  margin: 0 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid #176cff;
  font-size: 18px; font-weight: 900; color: #061b3f;
}
.jj-cov-col h3 span { color: #9aa8bb; font-size: 14px; font-weight: 700; margin-left: 6px; }
.jj-cov-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jj-cov-links a {
  font-size: 13.5px; font-weight: 600; color: #4b5666;
  background: #f2f6fc; border: 1px solid rgba(6,27,63,0.06);
  border-radius: 8px; padding: 7px 11px; text-decoration: none;
  transition: 0.2s;
}
.jj-cov-links a:hover { background: #176cff; color: #fff; border-color: #176cff; }

/* --- FAQ --- */
.jj-faq-section { background: #eef4fb; padding: 84px 0; }
.jj-faq-list { width: min(100%, 900px); margin: 40px auto 0; }
.jj-faq-item {
  background: #fff; border: 1px solid rgba(6,27,63,0.07);
  border-radius: 14px; margin-bottom: 14px; overflow: hidden;
}
.jj-faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px; font-size: 16.5px; font-weight: 700; color: #061b3f;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.jj-faq-item summary::-webkit-details-marker { display: none; }
.jj-faq-item summary::after { content: "+"; color: #176cff; font-size: 24px; font-weight: 800; flex: none; }
.jj-faq-item[open] summary::after { content: "\2212"; }
.jj-faq-item .a {
  padding: 0 26px 24px; color: #4b5666; font-size: 15.5px; line-height: 1.85; font-weight: 500;
}

/* --- 반응형 --- */
@media (max-width: 1024px) {
  .jj-works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .jj-about-points { grid-template-columns: repeat(2, 1fr); }
  .jj-detail-grid { grid-template-columns: 1fr; }
  .jj-works-grid { grid-template-columns: repeat(2, 1fr); }
  .jj-cov-grid { grid-template-columns: 1fr; }
  .jj-about-section, .jj-detail-section, .jj-coverage-section, .jj-faq-section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .jj-works-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .jj-about-points { grid-template-columns: 1fr 1fr; }
}

/* --- 전후 비교 (Before/After) --- */
.jj-ba-section { background: #fff; padding: 84px 0; }
.jj-ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 28px; }
.jj-ba-tabs button {
  border: 1px solid rgba(6,27,63,0.12); background: #f2f6fc; color: #4b5666;
  font-size: 15px; font-weight: 700; padding: 10px 20px; border-radius: 24px; cursor: pointer; transition: 0.2s;
}
.jj-ba-tabs button:hover { border-color: #176cff; color: #176cff; }
.jj-ba-tabs button.active { background: #176cff; color: #fff; border-color: #176cff; }
.jj-ba-stage { width: min(100%, 1000px); margin: 0 auto; }
/* 드래그 슬라이더 — 랜딩 BeforeAfter 동일 방식(AFTER 베이스 + BEFORE 클립) */
.jj-ba-slider { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(14,42,71,0.18); user-select: none; -webkit-user-select: none; }
.jj-ba-slider img { max-width: none; } /* 테마 전역 img{max-width:100%} 리셋 무효화 — 클립 보정 폭(10000/pos%) 보존 필수 */
.jj-ba-slider img.jj-ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jj-ba-before { position: absolute; inset: 0; overflow: hidden; }
.jj-ba-before img { position: absolute; inset: 0; height: 100%; object-fit: cover; } /* width 는 JS(10000/pos%) */
.jj-ba-tag { position: absolute; top: 16px; font-size: 13px; font-weight: 700; color: #fff; padding: 6px 13px; border-radius: 8px; white-space: nowrap; }
.jj-ba-tag.before { left: 18px; background: rgba(11,33,56,0.85); }
.jj-ba-tag.after { right: 18px; background: #176cff; }
.jj-ba-divider { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; transform: translateX(-1.5px); box-shadow: 0 0 12px rgba(0,0,0,0.3); pointer-events: none; }
.jj-ba-handle { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.25); color: #176cff; pointer-events: none; }
.jj-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; }
.jj-ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; border-radius: 50%; background: transparent; cursor: ew-resize; }
.jj-ba-range::-moz-range-thumb { width: 44px; height: 44px; border: none; border-radius: 50%; background: transparent; cursor: ew-resize; }
@media (max-width: 640px) { .jj-ba-slider { aspect-ratio: 4 / 3; } .jj-ba-section { padding: 56px 0; } }

/* --- 서비스 지역 바로가기 (2026-07-20) --- */
.jj-regions-section { background: #f5f9fd; padding: 72px 0; }
.jj-regions-section .jj-regions-note { color: #5b6b7e; font-size: 16px; margin: 10px 0 26px; }
.jj-regions-group { margin-top: 22px; }
.jj-regions-group h3 { font-size: 17px; color: #0e2a47; margin: 0 0 10px; }
.jj-regions-group h3 a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; transition: color .15s; }
.jj-regions-group h3 a span { color: #8aa0b8; font-size: 18px; line-height: 1; transition: color .15s, transform .15s; }
.jj-regions-group h3 a:hover { color: #176CFF; }
.jj-regions-group h3 a:hover span { color: #176CFF; transform: translateX(2px); }
.jj-regions-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jj-regions-chips a {
  display: inline-block; padding: 7px 14px; border-radius: 100px;
  background: #fff; border: 1px solid #dce7f2; color: #33475c;
  font-size: 14px; text-decoration: none; transition: all .15s;
}
.jj-regions-chips a:hover { border-color: #176CFF; color: #176CFF; background: #eef5ff; }
.jj-regions-chips a.jj-chip-all { background: #176CFF; border-color: #176CFF; color: #fff; font-weight: 700; }
.jj-regions-chips a.jj-chip-all:hover { background: #0f57cc; border-color: #0f57cc; color: #fff; }
@media (max-width: 640px) {
  .jj-regions-section { padding: 48px 0; }
  .jj-regions-chips a { font-size: 13px; padding: 6px 11px; }
}
