/* ═══════════════════════════════════════════════
   VARIABLES & RESET
════════════════════════════════════════════════ */
:root {
  --bg:        #F2EFE9;
  --bg-dark:   #2C3539;
  --accent:    #7BB6B3;
  --cta2:      #373833;
  --text:      #262626;
  --text-light:#F2EFE9;
  --radius:    8px;
  --transition:0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════════════
   SECTION FADE-IN (IntersectionObserver)
════════════════════════════════════════════════ */
.section-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.section-fade.visible {
  opacity: 1;
  transform: none;
}
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(36px); }
  to   { opacity:1; transform:none; }
}

/* ═══════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(44,53,57,0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-list {
  display: flex;
  gap: 2px;
}
.nav-list li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ccc;
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-list li a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-cta-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  border-radius: var(--radius);
  margin-left: 10px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-cta-header:hover { background: #5fa0a0; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  background: var(--bg-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu.open { max-height: 320px; }
.mobile-menu ul { padding: 8px 20px 16px; }
.mobile-menu ul li a {
  display: block;
  color: #ccc;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.mobile-menu ul li:last-child a { border: none; }
.mobile-menu .mobile-cta {
  color: var(--accent) !important;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 64px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(44,53,57,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero-h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
  font-weight: 500;
}
.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(123,182,179,0.35);
}
.btn-hero:hover { background: #5fa0a0; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,182,179,0.45); }
.btn-hero-mobile { display: none; }
.btn-hero-pc { display: inline-flex; align-items: center; gap: 8px; }

/* ═══════════════════════════════════════════════
   PAIN POINTS ROTATOR
════════════════════════════════════════════════ */
.pain-points {
  background: var(--bg);
  padding: 80px 0;
  text-align: center;
}
.pain-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.rotator-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.rotator-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  pointer-events: none;
}
.rotator-item.active {
  opacity: 1;
  transform: none;
  position: relative;
}
.rotator-quote {
  color: var(--accent);
  font-size: 1.4em;
  line-height: 1;
}
.pain-answer {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bg-dark);
  border-radius: 12px;
  display: inline-block;
}
.pain-answer p {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.9;
}

/* ═══════════════════════════════════════════════
   BEFORE / AFTER SLIDER
════════════════════════════════════════════════ */
.before-after {
  background: #E9E5DF;
  padding: 80px 0;
  text-align: center;
}
.before-after .section-title { color: var(--text); }
.before-after .section-sub { color: #777; }
.ba-slider-wrap {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.ba-slider {
  position: relative;
  height: 700px;
  border-radius: 12px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
}
.ba-label {
  position: absolute;
  bottom: 16px;
  z-index: 10;
  padding: 5px 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
  pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.ba-line {
  width: 3px;
  flex: 1;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}
.ba-circle {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  gap: 0;
}
.ba-guide {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(123,182,179,0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   MASTER SECTION (배경이미지 + 오버레이)
════════════════════════════════════════════════ */
.master-section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  isolation: isolate;
}
/* Layer 1: 이미지 명암 따라 어둠 깔기 (multiply = 밝은 부분만 비례로 어두워짐) */
.master-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 36, 34, 0.68);
  mix-blend-mode: multiply;
  z-index: 0;
}
/* Layer 2: 민트 컬러 그레이딩 (color = 이미지 명도는 유지, 색조만 민트로) */
.master-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(123, 182, 179, 0.65);
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}
.master-content {
  position: relative;
  z-index: 2;
  padding: 80px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.master-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9);
}
.master-sub {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  margin-bottom: 52px;
  line-height: 1.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.master-points {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.master-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   SECTION TITLES
════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.section-title.light { color: #fff; }
.section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 48px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.section-sub.light-sub { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════
   CASES GRID
════════════════════════════════════════════════ */
.cases-section { padding: 88px 0; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cases-grid-full { grid-template-columns: repeat(2, 1fr); }
.case-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--bg-dark);
}

/* 듀오 이미지 */
.case-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 380px;
}
.case-duo-img {
  background-size: cover;
  background-position: center;
  background-color: #3a4a4d;
  transition: transform 0.5s ease;
  overflow: hidden;
}
.case-card:hover .case-duo-img { transform: scale(1.04); }

/* 호버 오버레이 */
.case-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,53,57,0.95) 0%, rgba(44,53,57,0.45) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
}
.case-card:hover .case-hover-overlay { transform: translateY(0); }
.case-hover-region {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin: 0 0 7px;
}
.case-hover-review {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  margin: 0 0 10px;
}
.case-hover-more {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

/* 모바일: 오버레이 항상 노출 */
@media (hover: none) {
  .case-hover-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(44,53,57,0.9) 0%, rgba(44,53,57,0.15) 60%, transparent 100%);
  }
}

/* page-cases.php 목록 카드 (기존 스타일 유지) */
.case-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #3a4a4d;
  transition: transform 0.5s ease;
}
.cases-grid-full .case-card { aspect-ratio: unset; }

/* 시공사례 목록 페이지 카드 */
.cases-list-card .case-hover-overlay { display: none; }
.case-list-info {
  padding: 14px 18px 16px;
  background: #fff;
}
.case-list-region {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 4px;
}
.case-list-desc {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,53,57,0.88) 0%, rgba(44,53,57,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.case-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}
.case-more {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}
.cases-more-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════
   WHY SECTION
════════════════════════════════════════════════ */
.dark-bg { background: var(--bg-dark); }
.why-section { padding: 88px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
}
.why-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.why-title-check {
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--accent);
}
.check-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}
.why-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.8;
}
.why-text {
  max-width: 720px;
  margin: 0 auto;
}
.why-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  margin-top: 28px;
}
.why-text p {
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════ */
.services-section { padding: 88px 0; background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-dark);
}
.service-body { padding: 24px; }
.service-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.service-body p {
  font-size: 0.855rem;
  color: #555;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════ */
.faq-section { padding: 88px 0; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(255,255,255,0.09); }
.faq-q[aria-expanded="true"] { background: rgba(123,182,179,0.12); color: #fff; }
.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--accent);
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 24px 20px;
}
.faq-a p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.85;
  padding-top: 4px;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════ */
.cta-section { padding: 88px 0; background: var(--bg); }
.cta-inner { text-align: center; }
.cta-title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}
.cta-sub {
  color: #666;
  margin-bottom: 36px;
  font-size: 0.9rem;
  line-height: 1.9;
}
.cta-tel-display {
  display: none;
  margin-top: 28px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.cta-tel-display a { color: var(--accent); }

/* 모바일/PC CTA 버튼 분기 */
.cta-buttons-mobile {
  display: none;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-buttons-pc {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-primary:hover { background: #5fa0a0; transform: translateY(-2px); }
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta2);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-secondary:hover { background: #555; transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ═══════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  padding: 52px 0 28px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-logo {
  margin-bottom: 24px;
}
.footer-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 700;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }
.footer-info {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-bottom: 16px;
}
.footer-info p {
  color: rgba(255,255,255,0.5);
  font-size: 0.825rem;
  line-height: 2;
}
.footer-info a { color: var(--accent); }
.footer-copy p {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════
   PAGE HERO (내부 페이지)
════════════════════════════════════════════════ */
.page-hero {
  padding: 100px 0 60px;
  margin-top: 64px;
  text-align: center;
}
.page-hero-img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.page-hero-img p { color: rgba(255,255,255,0.95); font-weight: 700; }
.mo-br { display: none; }
@media (max-width: 720px) { .mo-br { display: block; } }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(44,53,57,0.4) 100%);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   CASE DETAIL
════════════════════════════════════════════════ */
.case-content { padding: 64px 0; }
.case-lead { margin-bottom: 48px; }
.case-main-img {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-color: #3a4a4d;
  border-radius: 12px;
}
.case-body { margin-bottom: 48px; }
.case-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
}
.case-body h2:first-child { margin-top: 0; }
.case-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 28px 0 8px;
}
.case-body p {
  color: #444;
  line-height: 1.9;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.case-cta-box {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 32px;
}
.case-cta-box p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.case-nav { text-align: center; }

/* ═══════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════ */
.contact-section { padding: 72px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.contact-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.contact-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.contact-tel-big {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.contact-tel-big a { color: var(--accent); }
.contact-tel-sub {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.contact-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-hours { margin-bottom: 16px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0ede7;
  gap: 16px;
}
.hours-day { color: #888; font-size: 0.875rem; }
.hours-time { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.contact-note {
  color: #888;
  font-size: 0.82rem;
  line-height: 1.7;
}
.area-list li {
  color: #555;
  font-size: 0.875rem;
  padding: 7px 0;
  border-bottom: 1px solid #f0ede7;
  text-align: left;
}
.contact-guide { margin-bottom: 48px; }
.contact-guide h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}
.guide-steps { display: flex; flex-direction: column; gap: 20px; max-width: 600px; }
.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.guide-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.guide-step p { color: #666; font-size: 0.875rem; line-height: 1.7; }
.contact-info-box {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 36px 40px;
}
.contact-info-box h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.biz-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
}
.biz-info dt { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.biz-info dd { color: rgba(255,255,255,0.85); font-size: 0.875rem; }
.biz-info a { color: var(--accent); }

/* ═══════════════════════════════════════════════
   SITEMAP PAGE
════════════════════════════════════════════════ */
.sitemap-section { padding: 64px 0; }
.sitemap-group { margin-bottom: 48px; }
.sitemap-group h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.sitemap-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sitemap-list li a {
  color: var(--text);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.sitemap-list li a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   CASES LIST PAGE
════════════════════════════════════════════════ */
.cases-list-section { padding: 64px 0; }
.cases-main .cta-section { padding: 64px 0; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .biz-info { grid-template-columns: 1fr; }
  .biz-info dt::after { content: ''; display: block; }
}

@media (max-width: 720px) {
  .master-title-em { font-size: 1.6em; }

  .before-after { padding: 40px 0; }

  .site-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 60svh; }
  .btn-hero-mobile { display: inline-flex; font-size: 1.2rem; font-weight: 900; letter-spacing: 0.03em; }
  .btn-hero-pc { display: none; }
  .hero-content { padding: 48px 16px; }

  .cases-grid { grid-template-columns: 1fr; }
  .cases-grid-full { grid-template-columns: 1fr; }
  .case-duo { height: 260px; }

  .services-grid { grid-template-columns: 1fr; }

  .ba-slider { height: 420px; }

  .master-points { gap: 28px; }

  /* CTA 버튼 모바일/PC 전환 */
  .cta-buttons-mobile { display: flex; }
  .cta-buttons-pc { display: none; }
  .cta-tel-display { display: block; }

  .contact-btns { flex-direction: column; align-items: center; }

  .guide-steps { max-width: 100%; }

  .case-main-img { height: 240px; }

  .pain-answer { margin-left: -4px; margin-right: -4px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 14px; }
  .container { padding: 0 14px; }
  .pain-answer { padding: 20px 18px; }
  .contact-info-box { padding: 24px 20px; }
}

/* ============================================================
   CASE LANDING PAGE — .clp-* components
   ============================================================ */

.case-lp { background: var(--bg); }

/* Section wrapper */
.clp-section {
  padding: 72px 0;
}
.clp-section.dark-bg {
  background: var(--bg-dark);
  color: #fff;
}

/* Label above h2 */
.clp-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.clp-label.light { color: var(--accent); }

/* Section h2 */
.clp-h2 {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 40px;
}
.clp-h2.light { color: #fff; }

/* HERO */
.clp-hero {
  padding: 100px 0 80px;
}
.clp-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.clp-region-tag {
  display: inline-block;
  background: rgba(123,182,179,0.18);
  color: var(--accent);
  border: 1px solid rgba(123,182,179,0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.clp-hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.clp-hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 36px;
}
.clp-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.clp-tel-hero {
  margin: 20px 0 0;
  text-align: center;
}
.clp-tel-hero a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 26px;
  border: 1.5px solid rgba(123,182,179,0.45);
  border-radius: 50px;
  background: rgba(123,182,179,0.1);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.clp-tel-hero a:hover {
  background: rgba(123,182,179,0.2);
  border-color: rgba(123,182,179,0.7);
  color: #fff;
}

/* Detail grid */
.clp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.clp-img-wrap { border-radius: 12px; overflow: hidden; }
.clp-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #d0cfc9;
}
.clp-detail-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.4;
}
.clp-detail-body p {
  color: #555;
  line-height: 1.75;
  margin: 0 0 20px;
  font-size: 0.97rem;
}
.clp-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clp-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}
.clp-bullets li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

/* Area section */
.clp-area-section {}
.clp-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.clp-area-tags span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  padding: 7px 16px;
  border-radius: 100px;
}
.clp-area-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* Why list */
.clp-why-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.clp-why-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.clp-why-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  opacity: 0.7;
}
.clp-why-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}
.clp-why-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* FAQ in case page */
.clp-faq-section .faq-list { max-width: 760px; margin: 0 auto; }
.clp-faq-section .faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  font-family: inherit;
}
.clp-faq-section .faq-q:hover { color: #fff; }
.clp-faq-section .faq-arrow { flex-shrink: 0; transition: transform 0.25s; color: var(--accent); }
.clp-faq-section .faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.clp-faq-section .faq-a { padding: 0 0 20px; }
.clp-faq-section .faq-a p { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.75; margin: 0; }

/* Final CTA */
.clp-final-cta { background: var(--bg); text-align: center; }
.clp-cta-inner { max-width: 600px; margin: 0 auto; }
.clp-cta-inner h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}
.clp-cta-inner > p {
  color: #777;
  font-size: 0.95rem;
  margin: 0 0 28px;
}
.clp-cta-inner .clp-cta-wrap { justify-content: center; }
.clp-cta-inner .cta-tel-display {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}
.clp-cta-inner .cta-tel-display a {
  color: var(--text);
  text-decoration: none;
}
.clp-cta-inner .cta-tel-display a:hover { color: var(--accent); }
.clp-back-link { margin-top: 32px; }

/* Responsive */
@media (max-width: 720px) {
  .clp-hero { padding: 80px 0 60px; }
  .clp-section { padding: 52px 0; }
  .clp-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .clp-why-item { gap: 16px; }
  .clp-why-num { font-size: 1.6rem; width: 44px; }
}
