@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&family=Montserrat:wght@700;900&display=swap');

/* =====================================================
   CSS 변수 (디자인 토큰)
   ===================================================== */
:root {
  --sky:        #38BDF8;   /* 블루스카이 메인 */
  --sky-dark:   #0284C7;   /* 진한 블루 */
  --sky-deeper: #0369A1;
  --sky-light:  #E0F2FE;   /* 연한 스카이 배경 */
  --green:      #10B981;   /* 그린 포인트 */
  --green-dark: #059669;
  --green-light:#D1FAE5;
  --white:      #FFFFFF;
  --bg:         #F8FAFE;   /* 살짝 푸른빛 흰 배경 */
  --surface:    #FFFFFF;
  --border:     #E2EAF4;
  --text-main:  #0F172A;
  --text-sub:   #475569;
  --text-muted: #94A3B8;
  --shadow-sm:  0 1px 4px rgba(14,30,60,0.07);
  --shadow-md:  0 4px 20px rgba(14,30,60,0.10);
  --shadow-lg:  0 12px 40px rgba(14,30,60,0.14);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
}

/* =====================================================
   기본 초기화
   ===================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* 가로 스크롤 방지 */
}
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 가로 스크롤 방지 */
  width: 100%;
  max-width: 100vw;
}

/* =====================================================
   자물쇠 인트로
   ===================================================== */
#intro-screen {
  position: fixed; inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
    url('images/intro_bg.jpg') center/cover no-repeat;
  background-color: #0C1A2E; /* 이미지 로딩 전 fallback */
  z-index: 99999;
  display: flex; justify-content: center; align-items: center;
  opacity: 1; visibility: visible;
  transition: opacity 0.8s ease;
}
/* fade-out은 인라인 CSS에서 관리 */
/* 배경 글로우 */
#intro-screen::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(56,189,248,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16,185,129,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.intro-box { text-align: center; position: relative; }
.intro-title {
  color: #fff;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
  opacity: 0.9;
}
#lock-img {
  width: 100px; cursor: pointer;
  filter: drop-shadow(0 0 20px rgba(56,189,248,0.5));
  transform-origin: center;
}
#lock-img:hover { filter: drop-shadow(0 0 30px rgba(56,189,248,0.8)); }

/* 자물쇠 열릴 때 — 커졌다 작아지는 애니메이션 */
@keyframes lock-open {
  0%   { transform: scale(1);    filter: drop-shadow(0 0 20px rgba(56,189,248,0.5)); }
  35%  { transform: scale(1.55); filter: drop-shadow(0 0 50px rgba(56,189,248,1)); }
  65%  { transform: scale(1.45); }
  85%  { transform: scale(0.9);  }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(56,189,248,0.3)); }
}
#lock-img.is-opening {
  animation: lock-open 1.0s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events: none;
}
.intro-hint {
  margin-top: 22px; font-size: 14px;
  color: rgba(255,255,255,0.5);
  animation: blink 1.8s infinite;
  letter-spacing: 1px;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.fade-out { opacity: 0 !important; visibility: hidden !important; }

/* =====================================================
   충격화면
   ===================================================== */
/* shock-screen은 인라인 CSS에서 관리 */
#shock-bg {
  position: absolute; inset: 0;
  background-image: url('images/shock.jpg');
  background-size: cover; background-position: center top;
  filter: brightness(0.5) saturate(0.8);
}
#shock-screen::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 70%;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  z-index: 1;
}
#shock-content { position: relative; z-index: 2; text-align: center; padding-bottom: 64px; width: 100%; }
#shock-text-box { margin-bottom: 36px; }
#shock-line1, #shock-line2, #shock-line3, #shock-line4 {
  font-size: clamp(18px, 4vw, 28px); color: #fff;
  font-weight: 700; line-height: 1.8; margin: 0;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#shock-line1.line-visible, #shock-line2.line-visible,
#shock-line3.line-visible, #shock-line4.line-visible { opacity: 1; transform: translateY(0); }
#shock-line4 { color: #38BDF8; font-size: clamp(20px, 4.5vw, 32px); font-weight: 900; }
#shock-cta-btn {
  opacity: 0; transform: translateY(22px) scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  background: linear-gradient(135deg, #38BDF8, #10B981);
  color: #fff; border: none; border-radius: 50px;
  padding: 16px 48px;
  font-size: clamp(16px, 3vw, 20px); font-weight: 800;
  cursor: pointer; letter-spacing: -0.3px;
  box-shadow: 0 8px 30px rgba(56,189,248,0.45);
}
#shock-cta-btn.btn-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#shock-cta-btn:hover { transform: scale(1.05); box-shadow: 0 12px 40px rgba(56,189,248,0.6); }

/* =====================================================
   상단 네비게이션
   ===================================================== */
.top-navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* 모바일에서는 아래 미디어쿼리로 제거 */
  border-bottom: 1px solid var(--border);
  height: 96px;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(14,30,60,0.06);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* 로고 + 전화 묶음 */
.logo-area {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.logo-link {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 80px; width: auto;
  display: block;
}
.logo-text-fallback {
  display: none;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 20px; font-weight: 900;
  color: var(--sky-dark); letter-spacing: -0.5px;
}
/* 전화번호 */
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  color: var(--sky-dark);
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.3px;
  padding: 6px 14px;
  border: 1.5px solid var(--sky);
  border-radius: 50px;
  background: var(--sky-light);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--sky-dark); color: white; border-color: var(--sky-dark); }
.nav-phone svg { flex-shrink: 0; }

/* PC 네비 메뉴 */
.main-menu ul { list-style: none; display: flex; gap: 4px; }
.main-menu a {
  display: block; padding: 8px 14px;
  text-decoration: none; color: var(--text-sub);
  font-weight: 600; font-size: 15px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.main-menu a:hover { color: var(--sky-dark); background: var(--sky-light); }
.main-menu li { position: relative; }

/* 모바일 햄버거 버튼 */
.mobile-menu-btn {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--text-main); border-radius: 2px;
  transition: all 0.3s;
}

/* =====================================================
   모바일 풀스크린 오버레이 메뉴
   ===================================================== */
#mobile-overlay-menu {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, #0C1A2E 0%, #0369A1 100%);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
#mobile-overlay-menu.is-open {
  opacity: 1; pointer-events: auto;
}
#mobile-menu-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,0.12); border: none;
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: white;
  transition: background 0.2s;
}
#mobile-menu-close:hover { background: rgba(255,255,255,0.22); }
.mobile-overlay-nav {
  display: flex; flex-direction: column;
  width: 100%; padding: 0 40px;
  gap: 0;
}
.mob-menu-item {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: padding-left 0.2s;
}
.mob-menu-item:last-child { border-bottom: none; }
.mob-menu-item:hover { padding-left: 8px; }
.mob-menu-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--sky); opacity: 0.7;
  width: 28px; flex-shrink: 0;
}
.mob-menu-label {
  font-size: 28px; font-weight: 900;
  color: white; letter-spacing: -1px;
}
.mob-call-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 40px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; text-decoration: none;
  font-size: 17px; font-weight: 800;
  padding: 16px 40px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(16,185,129,0.4);
}
body.menu-open { overflow: hidden; }

/* 반응형 네비 */
@media (max-width: 768px) {
  .main-menu { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-phone { display: none; }
  .navbar-inner { padding: 0 18px; }
  /* 모바일 로고 크게 — 네비바 높이 유지하면서 로고만 확대 */
  .logo-img { height: 70px; }
}
@media (max-width: 400px) {
  .logo-img { height: 60px; }
}

/* 드롭다운 */
.submenu {
  display: none; position: absolute;
  top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  min-width: 150px; z-index: 1001;
  border: 1px solid var(--border);
  overflow: hidden;
}
.submenu li { margin: 0; padding: 0; }
.submenu a {
  display: block; padding: 12px 20px;
  font-size: 14px; font-weight: 500;
  color: var(--text-sub); border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.submenu li:last-child a { border-bottom: none; }
.submenu a:hover { background: var(--sky-light); color: var(--sky-dark); }

@media (max-width: 600px) {
  .top-navbar { padding: 0 16px; }
  .main-menu ul { gap: 2px; }
  .main-menu a { padding: 8px 10px; font-size: 13px; }
}

/* =====================================================
   메인 배너
   ===================================================== */
.hero {
  position: relative; width: 100%; height: 520px;
  background: #0C1A2E;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden;
}
#hero-bg-container {
  position: absolute; inset: 0; z-index: 0;
  background: #0C1A2E;
}
.hero-swiper { width: 100%; height: 100%; }
.slide-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,132,199,0.55) 0%,
    rgba(12,26,46,0.7) 60%,
    rgba(16,185,129,0.25) 100%
  );
  z-index: 1;
}
/* 기하학 장식 */
.hero::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(56,189,248,0.2);
  z-index: 2; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -40px; left: 10%;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.2);
  z-index: 2; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 10;
  color: white; text-align: center; padding: 0 24px;
}
.hero-content h1 {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900; letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  line-height: 1.15;
}
.hero-content p {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 400; opacity: 0.88;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
@media (max-width: 600px) { .hero { height: 360px; } }

/* =====================================================
   필터 버튼
   ===================================================== */
.portfolio-filter {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px;
  padding: 36px 20px 12px;
  max-width: 900px; margin: 0 auto;
}
.filter-btn {
  padding: 9px 22px;
  font-size: 14px; font-weight: 700;
  color: var(--text-sub);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 50px; cursor: pointer;
  transition: all 0.22s ease;
  letter-spacing: -0.2px;
}
.filter-btn:hover { border-color: var(--sky); color: var(--sky-dark); background: var(--sky-light); }
.filter-btn.active {
  background: var(--sky-dark); color: #fff;
  border-color: var(--sky-dark);
  box-shadow: 0 4px 14px rgba(2,132,199,0.3);
}

/* =====================================================
   바둑판 카테고리 카드 ★ 핵심 디자인
   ===================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  padding: 20px 24px 48px;
  max-width: 1080px; margin: 0 auto;
}
.category-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none; color: var(--text-main);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky);
}
/* 썸네일 영역 */
.card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky-light);
  position: relative;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.category-card:hover .card-thumb img { transform: scale(1.06); }
/* 이미지 없을 때 */
.card-thumb-empty {
  display: flex; align-items: center; justify-content: center;
}
.card-thumb-empty::after {
  content: '사진 준비중';
  font-size: 12px; color: var(--text-muted); font-weight: 600;
}
.card-thumb-empty img { display: none; }
/* 이미지 위 그라데이션 */
.card-thumb::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.18), transparent);
  pointer-events: none;
}
/* 텍스트 영역 */
.card-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 2px solid transparent;
  transition: border-color 0.25s;
}
.category-card:hover .card-body {
  border-top-color: var(--sky);
}
.card-body h3 {
  font-size: 14px; font-weight: 700;
  color: var(--text-main); line-height: 1.45;
  word-break: keep-all; margin: 0;
}
.price-text {
  font-size: 13px; font-weight: 800;
  color: var(--sky-dark);
  background: var(--sky-light);
  padding: 3px 10px; border-radius: 20px;
  display: inline-block; align-self: flex-start;
}

/* =====================================================
   업체 소개 섹션
   ===================================================== */
.about-section {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 24px 60px;
  position: relative;
}
/* 큰따옴표 장식 */
.about-section::before,
.about-section::after {
  font-family: Georgia, serif;
  font-size: 80px; font-weight: 900;
  color: var(--green); opacity: 0.25;
  position: absolute; line-height: 1;
}
.about-section::before {
  content: '\201C';
  top: 60px; left: 20px;
}
.about-section::after {
  content: '\201D';
  top: 60px; right: 20px;
}
.about-section h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900; color: var(--text-main);
  text-align: center; margin-bottom: 48px;
  letter-spacing: -0.8px;
  line-height: 1.45;
  word-break: keep-all;
  position: relative;
}
.about-section h2 .highlight {
  color: var(--green-dark);
}
.about-section h2::after {
  content: '';
  display: block; margin: 16px auto 0;
  width: 52px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.about-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}
.about-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}
.about-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-box h4 {
  font-size: 13px; font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}
.about-box p { font-size: 15px; color: var(--text-sub); line-height: 1.8; }
.about-box p strong { color: var(--text-main); font-size: 17px; font-weight: 900; }

/* =====================================================
   고객 후기
   ===================================================== */
.review-section {
  background: linear-gradient(135deg, var(--sky-light) 0%, var(--green-light) 100%);
  padding: 72px 24px;
}
.review-section h2 {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: clamp(22px, 3vw, 32px); font-weight: 900;
  text-align: center; color: var(--text-main);
  margin-bottom: 48px; letter-spacing: -0.5px;
}
.review-section h2::after {
  content: '';
  display: block; margin: 14px auto 0;
  width: 48px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}
/* 후기 슬라이더 */
.review-section { padding-bottom: 60px; }

.review-swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 48px !important;
  overflow: visible !important;
}
.review-swiper .swiper-wrapper { align-items: flex-start; }

.review-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex; flex-direction: column;
  height: auto !important; /* 높이 자동 — 이미지 길이 무관 */
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* 후기 이미지 — 원본 비율 그대로 */
.review-img-wrap {
  width: 100%;
  background: #f0f4f8;
  flex-shrink: 0;
}
.review-img {
  width: 100%; height: auto;
  object-fit: contain;
  display: block;
}

/* 텍스트 영역 */
.review-body {
  padding: 16px 18px 18px;
  position: relative;
}
.review-body::before {
  content: '"';
  position: absolute; top: 10px; left: 14px;
  font-size: 44px; line-height: 1;
  color: var(--sky); opacity: 0.12;
  font-family: Georgia, serif; font-weight: 900;
  pointer-events: none;
}
.review-card .stars { display: flex; gap: 2px; margin-bottom: 8px; }
.review-card .review-text {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.7; margin-bottom: 12px;
  font-style: italic; word-break: keep-all;
}
.review-card .review-author {
  font-size: 12px; color: var(--text-muted);
  font-weight: 700; text-align: right;
}

/* 페이지네이션 */
.review-pagination {
  bottom: 16px !important;
}
.review-pagination .swiper-pagination-bullet {
  background: var(--sky-dark); opacity: 0.3;
}
.review-pagination .swiper-pagination-bullet-active {
  opacity: 1; background: var(--sky-dark);
}

/* =====================================================
   푸터
   ===================================================== */
.site-footer {
  background: #1a1f2e;
  color: #9aa0b0;
  padding: 0;
  font-size: 13px;
  line-height: 1.9;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px 32px;
}
.footer-top {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-link {
  color: #b0b8cc; text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: color 0.2s;
}
.footer-link:hover { color: white; }
.footer-admin { color: var(--sky); }
.footer-admin:hover { color: var(--sky-light); }
.footer-divider {
  color: rgba(255,255,255,0.2);
  font-size: 12px; margin: 0 2px;
}
.footer-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-info { flex: 1; }
.footer-info p { margin: 0; color: #8a909e; }
.footer-company {
  font-weight: 700; color: #c0c8d8 !important;
  margin-bottom: 2px !important;
}
.footer-copy {
  margin-top: 12px !important;
  color: #6a7080 !important;
  font-size: 12px;
}
.footer-badges {
  display: flex; align-items: center;
  gap: 12px; flex-shrink: 0;
}
.footer-badge {
  height: 52px; width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-badge:hover { opacity: 1; }
.footer-logo {
  height: 100px; width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
  margin-right: 4px;
}
.footer-logo:hover { opacity: 1; }
@media (max-width: 600px) {
  .footer-inner { padding: 24px 18px; }
  .footer-body { flex-direction: column; align-items: flex-start; }
  .footer-badges { margin-top: 16px; }
}

/* =====================================================
   퀵메뉴 토글 (오른쪽 상단)
   ===================================================== */
.quick-menu {
  position: fixed; right: 20px; top: 104px;
  display: flex; flex-direction: column;
  align-items: flex-end; z-index: 2000;
}
.quick-toggle-btn { display: none; }
.quick-items {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
}
.quick-btn {
  display: flex; align-items: center;
  justify-content: flex-end; gap: 9px;
  height: 42px; padding: 0 16px 0 14px;
  border-radius: 50px;
  text-decoration: none; color: white;
  font-weight: 700; font-size: 13px;
  border: none; cursor: pointer;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.quick-btn:hover { box-shadow: var(--shadow-lg); transform: translateX(-3px) scale(1.03); }
.quick-btn .icon { font-size: 16px; }
.quick-btn.youtube  { background: #FF0000; }
.quick-btn.blog     { background: #03C75A; }
.quick-btn.call     { background: var(--sky-dark); }
.quick-btn.chatbot-btn { background: linear-gradient(135deg, var(--sky-dark), var(--green-dark)); }

@media (max-width: 600px) {
  .quick-menu { right: 12px; top: 100px; }
  .quick-btn { height: 38px; font-size: 12px; padding: 0 13px 0 12px; }
}


/* =====================================================
   챗봇 팝업 (메신저형)
   ===================================================== */

/* 뱃지 */
#chatbot-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 11px; height: 11px;
  background: #EF4444;
  border-radius: 50%;
  border: 2px solid white;
  display: block;
  animation: badge-pulse 1.8s infinite;
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
#chatbot-open-btn { position: relative; }

/* 팝업 컨테이너 */
#chatbot-popup {
  position: fixed;
  right: 82px;
  top: 104px;
  width: min(680px, calc(100vw - 100px));
  height: min(860px, calc(100vh - 100px));
  background: #F2F4F6;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(14,30,60,0.2), 0 4px 16px rgba(14,30,60,0.1);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  /* 닫힌 상태 */
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.4,0,.2,1);
  transform-origin: top right;
}
#chatbot-popup.cb-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* 헤더 */
#chatbot-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.cb-header-left {
  display: flex; align-items: center; gap: 12px;
}
.cb-profile-wrap {
  position: relative; flex-shrink: 0;
}
.cb-profile-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sky-light);
}
.cb-profile-fallback {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  display: none; align-items: center; justify-content: center;
}
.cb-online-dot {
  position: absolute; bottom: 2px; right: 2px;
  width: 11px; height: 11px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid white;
}
.cb-header-info {}
.cb-name {
  font-size: 15px; font-weight: 800;
  color: var(--text-main); margin: 0 0 2px;
}
.cb-status {
  font-size: 12px; color: var(--green-dark);
  font-weight: 600; margin: 0;
}
#chatbot-close-btn {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
#chatbot-close-btn:hover { background: var(--border); color: var(--text-main); }

/* 알림 배너 */
#cb-notice-bar {
  background: #FFF7ED;
  border-bottom: 1px solid #FED7AA;
  padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #92400E; font-weight: 600;
  flex-shrink: 0;
}
.cb-notice-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #F97316; flex-shrink: 0;
}
#cb-notice-read {
  margin-left: auto; background: none; border: none;
  font-size: 12px; color: #F97316; font-weight: 700;
  cursor: pointer; text-decoration: underline;
}

/* 메시지 영역 */
#chatbot-messages {
  flex: 1; overflow-y: auto;
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 6px;
  scroll-behavior: smooth;
}
#chatbot-messages::-webkit-scrollbar { width: 4px; }
#chatbot-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* 메시지 행 */
.cb-row {
  display: flex; align-items: flex-end; gap: 8px;
  margin-bottom: 4px;
}
.cb-row.user { flex-direction: row-reverse; }

.cb-msg-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 1.5px solid var(--border);
  align-self: flex-end;
}

.cb-bubble-wrap {
  display: flex; flex-direction: column;
  max-width: 72%;
}
.cb-row.user .cb-bubble-wrap { align-items: flex-end; }
.cb-row.bot .cb-bubble-wrap { align-items: flex-start; }

/* 말풍선 */
.cb-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px; line-height: 1.65;
  word-break: keep-all;
}
.cb-bubble.bot {
  background: white;
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.cb-bubble.user {
  background: var(--sky-dark);
  color: white;
  border-bottom-right-radius: 4px;
}
.cb-time {
  font-size: 11px; color: var(--text-muted);
  margin-top: 4px; padding: 0 4px;
}

/* 타이핑 인디케이터 */
.cb-typing-bubble {
  padding: 14px 18px;
  display: flex; align-items: center; gap: 5px;
}
.cb-typing-bubble span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
  animation: cb-typing 1.2s infinite;
}
.cb-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cb-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* 선택지 영역 */
#chatbot-options {
  padding: 12px 18px 16px;
  display: flex; flex-direction: column; gap: 7px;
  border-top: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
  max-height: 260px; overflow-y: auto;
}
.cb-opt-btn {
  background: white;
  border: 1.5px solid var(--sky);
  color: var(--sky-dark);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: all 0.18s;
  animation: cb-opt-in 0.25s ease both;
}
@keyframes cb-opt-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cb-opt-btn:hover {
  background: var(--sky-dark); color: white;
  border-color: var(--sky-dark);
  transform: translateX(4px);
}
.cb-end-btns { display: flex; flex-direction: column; gap: 8px; }
.cb-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; border: none; border-radius: 10px;
  padding: 13px; font-size: 14px; font-weight: 800;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 14px rgba(16,185,129,0.35);
  transition: all 0.2s;
}
.cb-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.45); }

/* 하단 푸터 */
#chatbot-footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px 18px;
  display: flex; gap: 10px;
  flex-shrink: 0;
}
#chatbot-restart-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 9px 16px;
  font-size: 13px; font-weight: 700; color: var(--text-sub);
  cursor: pointer; transition: all 0.2s; flex: 1;
  justify-content: center;
}
#chatbot-restart-btn:hover { background: var(--border); color: var(--text-main); }
#chatbot-call-shortcut {
  display: flex; align-items: center; gap: 6px;
  background: var(--sky-light); border: 1.5px solid var(--sky);
  border-radius: 8px; padding: 9px 16px;
  font-size: 13px; font-weight: 700; color: var(--sky-dark);
  text-decoration: none; transition: all 0.2s; flex: 1;
  justify-content: center;
}
#chatbot-call-shortcut:hover { background: var(--sky-dark); color: white; border-color: var(--sky-dark); }

/* 모바일 - 하단 절반 bottom sheet */
@media (max-width: 768px) {
  #chatbot-popup {
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;           /* 상단 고정 해제 */
    width: 100%;
    height: 52vh;        /* 화면 절반보다 살짝 넉넉하게 */
    max-height: 52vh;
    border-radius: 20px 20px 0 0;   /* 위쪽 모서리만 둥글게 */
    transform-origin: bottom center;
    transform: translateY(100%);    /* 닫힌 상태: 아래로 숨김 */
    opacity: 1;                     /* 모바일은 opacity 대신 translateY로 제어 */
    box-shadow: 0 -8px 40px rgba(14,30,60,0.18);
  }
  #chatbot-popup.cb-open {
    transform: translateY(0);
    opacity: 1;
  }
  /* 상단에 핸들 바 표시 */
  #chatbot-popup::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 10px auto 0;
    flex-shrink: 0;
  }
}


/* =====================================================
   상세 페이지 헤더
   ===================================================== */
.detail-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px); /* 모바일 제거 대상 */
  border-bottom: 1px solid var(--border);
  padding: 0 28px; height: 62px;
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.logo-link {
  text-decoration: none; color: var(--sky-dark);
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 22px; font-weight: 900; letter-spacing: -0.5px;
}

/* 쇼핑 레이아웃 */
.shop-layout {
  display: flex; max-width: 1200px;
  margin: 36px auto; gap: 36px;
  padding: 0 20px; align-items: flex-start;
}
.sidebar {
  width: 230px; background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  position: sticky; top: 80px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.sidebar a {
  display: block; padding: 14px 18px;
  color: var(--text-sub); text-decoration: none;
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  transition: all 0.18s; position: relative;
}
.sidebar a::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--sky), var(--green));
  transform: scaleY(0); transition: transform 0.2s;
}
.sidebar a:hover { background: var(--sky-light); color: var(--sky-dark); padding-left: 22px; }
.sidebar a:hover::before { transform: scaleY(1); }
.sidebar a.active { background: var(--sky-light); color: var(--sky-dark); font-weight: 700; padding-left: 22px; }
.sidebar a.active::before { transform: scaleY(1); }
.sidebar a:last-child { border-bottom: none; }
.content-area { flex-grow: 1; min-width: 0; }
.youtube-link-box {
  background: linear-gradient(135deg, #FFF1F1, #FFE4E4);
  border: 1.5px solid #FFCCCC; padding: 18px;
  text-align: center; border-radius: var(--radius-md);
  margin-bottom: 24px; transition: all 0.2s;
}
.youtube-link-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.youtube-link-box a {
  color: #CC0000; font-size: 18px; font-weight: 800;
  text-decoration: none; display: inline-flex;
  align-items: center; gap: 10px;
}
.detail-img-box img { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

@media (max-width: 800px) {
  .shop-layout { flex-direction: column; gap: 18px; }
  .sidebar { width: 100%; position: static; }
}

/* =====================================================
   스크롤 페이드 인
   ===================================================== */
.fade-animate {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-animate.is-visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   서브 페이지 (업체정보, 포트폴리오 등)
   ===================================================== */
.sub-page-container {
  max-width: 900px; margin: 48px auto 100px;
  padding: 48px; background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); min-height: 500px;
  border: 1px solid var(--border);
}
.sub-page-title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 28px; color: var(--text-main);
  text-align: center; padding-bottom: 18px;
  margin-bottom: 40px; font-weight: 900;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--sky), var(--green)) 1;
}
.sub-page-content {
  font-size: 15px; color: var(--text-sub); line-height: 1.8;
}
.sub-page-content img {
  max-width: 100%; height: auto; display: block;
  margin: 20px auto; border-radius: var(--radius-sm);
}
.sub-page-content figure { margin: 30px 0 50px; text-align: center; }
.sub-page-content figcaption {
  margin-top: 14px; font-size: 13px;
  color: var(--text-muted); line-height: 1.5;
}
.sub-page-content p { margin-bottom: 24px; }
.content-section {
  padding: 56px 0;
  border-bottom: 1px dashed var(--border);
}
.content-section:last-child { border-bottom: none; }


  /* 팀 프로필 — 인물 중심 카드 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
  text-align: center;
}
.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* 사진 영역 — 정사각형 */
.profile-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  position: relative;
  flex-shrink: 0;
}
.profile-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.profile-card:hover .profile-photo { transform: scale(1.04); }
.profile-photo-fallback {
  display: none;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  color: white; font-size: 52px; font-weight: 900;
  align-items: center; justify-content: center;
}

/* 이름/직급 배지 — 사진 하단 오버레이 */
.profile-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(10,15,30,0.75));
}
.profile-role-badge {
  display: inline-block;
  background: var(--sky-dark);
  color: white; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.profile-name-overlay {
  display: block;
  font-size: 18px; font-weight: 900;
  color: white; letter-spacing: -0.3px;
}

/* 텍스트 정보 영역 */
.profile-info {
  padding: 16px 18px 20px;
  flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.profile-career {
  font-size: 12px; font-weight: 700;
  color: var(--sky-dark);
  background: var(--sky-light);
  padding: 5px 10px; border-radius: 50px;
  display: inline-block;
  align-self: center;
}
.profile-desc {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.65; margin: 0;
  word-break: keep-all;
}
.profile-skills {
  display: flex; flex-wrap: wrap;
  gap: 5px; justify-content: center;
  margin-top: 4px;
}
.skill-tag {
  font-size: 11px; color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 8px; border-radius: 4px;
}

/* 모바일 */
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 400px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .profile-info { padding: 12px 14px 16px; }
  .profile-desc { font-size: 12px; }
}
@media (max-width: 600px) {
  .profile-card { flex-direction: column; align-items: center; text-align: center; }
  .profile-skills, .profile-certs { justify-content: center; }
}

/* =====================================================
   가견적 계산기
   ===================================================== */
.calculator-section {
  padding: 64px 20px; background: var(--bg);
  display: flex; justify-content: center;
}
.calculator-box {
  background: var(--surface); max-width: 600px;
  width: 100%; padding: 44px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.calc-title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 26px; font-weight: 900;
  color: var(--text-main); text-align: center; margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.calc-desc { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 32px; }
.calc-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-bottom: 28px; flex-wrap: wrap;
}
.calc-step {
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  background: var(--bg); border: 1.5px solid var(--border);
  transition: all 0.25s;
}
.calc-step.active { background: var(--sky-dark); color: #fff; border-color: var(--sky-dark); }
.calc-step.done { background: var(--green-light); color: var(--green-dark); border-color: var(--green); }
.calc-step-arrow { color: var(--border); font-size: 16px; }
.calc-group label {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--text-main); margin-bottom: 12px;
}
.required { color: #EF4444; }
.step-btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin-top: 8px;
}
.step-select-btn {
  padding: 13px 10px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 700; color: var(--text-sub);
  cursor: pointer; text-align: center;
  transition: all 0.2s;
}
.step-select-btn:hover { border-color: var(--sky); background: var(--sky-light); color: var(--sky-dark); }
.checkbox-group {
  background: var(--bg); padding: 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.check-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-sub);
  margin-bottom: 10px; cursor: pointer;
}
.check-label:last-child { margin-bottom: 0; }
.calc-option { width: 16px; height: 16px; cursor: pointer; accent-color: var(--sky-dark); }
.calc-back-btn {
  display: inline-block; margin-top: 16px;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 18px;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  transition: all 0.2s;
}
.calc-back-btn:hover { background: var(--bg); color: var(--text-sub); }
.calc-result-btn {
  display: inline-block; margin-top: 16px; margin-left: 8px;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  border: none; border-radius: var(--radius-sm); padding: 10px 22px;
  font-size: 14px; font-weight: 800; color: #fff; cursor: pointer;
  transition: all 0.2s; float: right;
  box-shadow: 0 4px 14px rgba(2,132,199,0.3);
}
.calc-result-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(2,132,199,0.4); }
.calc-result {
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky-deeper) 100%);
  padding: 32px; border-radius: var(--radius-md);
  text-align: center; color: white;
  margin-top: 28px; margin-bottom: 18px;
}
.calc-summary {
  background: rgba(255,255,255,0.12); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 16px;
  font-size: 13px; text-align: left; line-height: 1.8;
}
.calc-summary p { margin: 0; }
.result-label { font-size: 14px; opacity: 0.85; margin-bottom: 8px; }
.result-price { font-size: 42px; font-weight: 900; letter-spacing: -1px; }
.result-price .unit { font-size: 22px; font-weight: 700; margin-left: 4px; opacity: 0.85; }
.result-notice { font-size: 12px; opacity: 0.65; margin-top: 14px; word-break: keep-all; }
.call-btn {
  display: block; width: 100%; padding: 17px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; text-align: center; font-size: 16px;
  font-weight: 800; text-decoration: none;
  border-radius: var(--radius-sm); transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}
.call-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,0.45); }

/* float-btn (TOP 버튼 등) */
.float-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 18px; font-weight: bold;
  text-decoration: none; border: none;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: all 0.25s;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.top-btn { background: var(--text-main); color: white; font-size: 14px; }

/* =====================================================
   반응형
   ===================================================== */
@media (max-width: 600px) {
  .sub-page-container { padding: 28px 18px; margin: 24px 12px 60px; }
  .calculator-box { padding: 28px 20px; }
  .category-grid { padding: 16px 14px 32px; gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   지그재그 섹션 (모헤어 교체 필요성)
   ===================================================== */
.zigzag-section {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.zigzag-header {
  text-align: center;
  margin-bottom: 64px;
  padding: 0 24px;
  position: relative;
}
.zigzag-header::before,
.zigzag-header::after {
  font-family: Georgia, serif;
  font-size: 72px; font-weight: 900;
  color: var(--green); opacity: 0.22;
  position: absolute; line-height: 0.8; top: 0;
}
.zigzag-header::before { content: '\201C'; left: calc(50% - 260px); }
.zigzag-header::after  { content: '\201D'; right: calc(50% - 260px); }

.zigzag-header h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900; color: var(--text-main);
  letter-spacing: -1px; line-height: 1.3;
}
.zigzag-header h2 strong { color: var(--green-dark); }
.zigzag-header h2::after {
  content: '';
  display: block; margin: 16px auto 0;
  width: 52px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}

/* 각 행 */
.zz-row {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 32px;
  gap: 64px;
}
.zz-row:last-child { margin-bottom: 0; }

/* 텍스트 블록 */
.zz-text {
  flex: 1;
  min-width: 0;
}
.zz-badge {
  display: inline-block;
  background: var(--sky-light);
  color: var(--sky-dark);
  font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 50px;
  border: 1px solid rgba(56,189,248,0.3);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.zz-label {
  font-size: 13px; font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.zz-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900; color: var(--text-main);
  margin-bottom: 18px;
  line-height: 1.4; letter-spacing: -0.5px;
  word-break: keep-all;
}
.zz-desc {
  font-size: 15px; color: var(--text-sub);
  line-height: 1.85; word-break: keep-all;
}

/* 이미지 블록 */
.zz-image {
  flex: 1; min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sky-light);
}
.zz-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.zz-row:hover .zz-image img { transform: scale(1.04); }

/* 이미지 없을 때 플레이스홀더 */
.zz-img-placeholder {
  display: flex; align-items: center; justify-content: center;
}
.zz-img-placeholder::after {
  content: '🖼 이미지 준비 중';
  font-size: 14px; color: var(--text-muted);
  font-weight: 600;
}
.zz-img-placeholder img { display: none; }

/* 이미지 좌측 구분선 (텍스트 우측일 때) */
.zz-row:not(.reverse) .zz-text {
  padding-right: 8px;
}
.zz-row.reverse .zz-text {
  padding-left: 8px;
}

/* 번호 장식 */
.zz-row:nth-child(1) .zz-image::before,
.zz-row:nth-child(2) .zz-image::before,
.zz-row:nth-child(3) .zz-image::before,
.zz-row:nth-child(4) .zz-image::before {
  position: absolute; top: 16px; right: 16px;
  z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: var(--sky-dark);
  box-shadow: var(--shadow-sm);
}
.zz-row:nth-child(1) .zz-image::before { content: '01'; }
.zz-row:nth-child(2) .zz-image::before { content: '02'; }
.zz-row:nth-child(3) .zz-image::before { content: '03'; }
.zz-row:nth-child(4) .zz-image::before { content: '04'; }

/* 모바일: 세로 배치 */
@media (max-width: 768px) {
  .zigzag-section { padding: 52px 0; }

  .zigzag-header { margin-bottom: 40px; padding: 0 20px; }
  .zigzag-header::before,
  .zigzag-header::after { display: none; }

  /* reverse 포함 모든 행 → 세로 단일 컬럼 */
  .zz-row,
  .zz-row.reverse {
    flex-direction: column;   /* 항상 위→아래 */
    gap: 20px;
    padding: 0 18px;
    margin-bottom: 48px;
  }

  /* reverse 행: 이미지가 HTML상 첫 번째인데 모바일에서는 텍스트를 위로 */
  .zz-row.reverse .zz-text { order: -1; }  /* 텍스트 먼저 */
  .zz-row.reverse .zz-image { order: 1; }  /* 이미지 다음 */

  /* 이미지 비율 → 모바일에서 더 크게 */
  .zz-image {
    aspect-ratio: 4 / 3;   /* 16:9보다 키 큰 비율로 더 크게 */
    width: 100%;
  }

  /* 텍스트 패딩 초기화 */
  .zz-row:not(.reverse) .zz-text,
  .zz-row.reverse .zz-text { padding: 0; }

  /* 번호 배지 크기 */
  .zz-row:nth-child(1) .zz-image::before,
  .zz-row:nth-child(2) .zz-image::before,
  .zz-row:nth-child(3) .zz-image::before,
  .zz-row:nth-child(4) .zz-image::before {
    width: 30px; height: 30px; font-size: 12px;
    top: 10px; right: 10px;
  }

  .zz-title { font-size: 17px; }
  .zz-desc  { font-size: 14px; }
}

/* =====================================================
   SVG 별점
   ===================================================== */
.stars {
  display: flex; gap: 3px;
  margin-bottom: 12px;
}
.star-icon {
  color: #F59E0B;
  flex-shrink: 0;
}

/* =====================================================
   퀵메뉴 SVG 아이콘
   ===================================================== */
.qicon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.qicon-n {
  font-size: 14px; font-weight: 900;
  color: white; line-height: 1;
  font-family: 'Arial Black', sans-serif;
}
/* 토글 버튼 열렸을 때 X로 변환 */
.quick-toggle-btn.is-open svg line:first-child {
  transform: rotate(45deg) translate(0, 0);
  transform-origin: center;
}
.quick-toggle-btn.is-open svg line:last-child {
  transform: rotate(-45deg) translate(0, 0);
  transform-origin: center;
}

/* =====================================================
   지그재그 배지 (이모지 없는 버전)
   ===================================================== */
.zz-badge {
  display: inline-block;
  background: var(--sky-light);
  color: var(--sky-dark);
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 50px;
  border: 1px solid rgba(56,189,248,0.3);
  margin-bottom: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* =====================================================
   모바일 바둑판 2열 유지
   ===================================================== */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px; padding: 14px 14px 32px;
  }
  .card-body h3 { font-size: 13px; }
}

/* 모바일 챗봇 내부 레이아웃 조정 */
@media (max-width: 768px) {
  #chatbot-messages {
    padding: 14px 14px;
  }
  #chatbot-options {
    max-height: 160px;
    padding: 10px 14px 12px;
  }
  #chatbot-footer {
    padding: 10px 14px;
  }
  .cb-opt-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
  #chatbot-header {
    padding: 12px 16px;
  }
  .cb-profile-img,
  .cb-profile-fallback {
    width: 38px; height: 38px;
  }
}

/* =====================================================
   견적 바로가기 CTA (about 섹션 하단)
   ===================================================== */
.estimate-cta {
  margin-top: 52px;
  background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky-deeper) 60%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 8px 32px rgba(2,132,199,0.25);
}
.estimate-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.estimate-cta-text {
  display: flex; flex-direction: column; gap: 6px;
}
.estimate-cta-text strong {
  font-size: 20px; font-weight: 900;
  color: white; letter-spacing: -0.5px;
}
.estimate-cta-text span {
  font-size: 14px; color: rgba(255,255,255,0.75);
}
.estimate-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: white;
  color: var(--sky-dark);
  font-size: 15px; font-weight: 800;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.estimate-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
@media (max-width: 600px) {
  .estimate-cta { padding: 24px 20px; }
  .estimate-cta-inner { flex-direction: column; align-items: flex-start; }
  .estimate-cta-btn { width: 100%; justify-content: center; }
  .estimate-cta-text strong { font-size: 17px; }
}

/* =====================================================
   퀵메뉴 툴팁 말풍선
   ===================================================== */
#quick-tooltip {
  position: absolute;
  right: 62px;
  top: 0;
  background: white;
  color: var(--text-main);
  font-size: 13px; font-weight: 600;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 12px;
  border-radius: 12px 12px 0 12px;
  box-shadow: 0 4px 20px rgba(14,30,60,0.15);
  border: 1px solid var(--border);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}
#quick-tooltip.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}
/* 말풍선 꼬리 */
.tooltip-arrow {
  position: absolute;
  right: -7px; top: 14px;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid white;
  filter: drop-shadow(1px 0 1px rgba(0,0,0,0.08));
}
/* quick-menu 상대 위치 기준 */
.quick-menu { position: fixed; right: 20px; top: 104px; }

/* =====================================================
   유튜브 embed 플레이어
   ===================================================== */
.yt-embed-wrap {
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.yt-embed-label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700;
  color: var(--text-sub);
  background: var(--bg);
}
/* 16:9 비율 유지 */
.yt-embed-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 */
  background: #000;
}
.yt-embed-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.yt-channel-link {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: color 0.2s;
}
.yt-channel-link:hover { color: #CC0000; }

/* =====================================================
   모바일 성능 최적화
   ===================================================== */
@media (max-width: 768px) {
  /* blur 효과 제거 — 모바일 GPU 부하 최대 원인 */
  .top-navbar,
  .detail-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255,255,255,0.98) !important;
  }
  /* 서브페이지 헤더 로고도 크게 */
  .detail-header .logo-img { height: 70px; }

  /* 카드 호버 애니메이션 비활성화 */
  .category-card:hover { transform: none; }
  .category-card:hover .card-thumb img { transform: none; }
  .about-box:hover,
  .review-card:hover,
  .profile-card:hover,
  .zz-row:hover .zz-image img { transform: none; }

  /* 페이드 인 애니메이션 단순화 */
  .fade-animate {
    transition: opacity 0.4s ease;
    transform: none !important;
  }
  .fade-animate.is-visible {
    transform: none !important;
  }

  /* will-change로 합성 레이어 최적화 */
  #intro-screen,
  #shock-screen { will-change: opacity; }
}

/* 모바일 이미지 최적화 — 과도한 리사이징 방지 */
@media (max-width: 768px) {
  .hero { height: 280px; }
  #hero-bg-container img,
  #hero-bg-container video { image-rendering: auto; }

  /* 인트로/충격 배경 — 모바일은 center 고정 */
  #intro-screen { background-attachment: scroll !important; }
  #shock-bg { background-attachment: scroll !important; }
}

/* 스플래시 CSS는 index.html 인라인으로 이동 */
/* 프로그레스바 */
.splash-bar-wrap {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px; overflow: hidden;
}
.splash-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--sky), var(--green));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.splash-msg {
  font-size: 13px; color: rgba(255,255,255,0.4);
  letter-spacing: 1px; margin: 0;
}

/* =====================================================
   연혁 스타일
   ===================================================== */
.history-headline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-sub); line-height: 1.7;
  text-align: center; margin-bottom: 48px;
  padding: 24px 28px;
  background: var(--sky-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--sky);
}
.history-headline strong {
  color: var(--sky-dark); font-weight: 900;
}
.history-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px dashed var(--border);
}
.history-block:last-child { border-bottom: none; margin-bottom: 0; }
.history-era {
  display: inline-block;
  background: linear-gradient(135deg, var(--sky-dark), var(--sky));
  color: white; font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 50px;
  letter-spacing: 1px; margin-bottom: 8px;
}
.history-period {
  font-size: 17px; font-weight: 800;
  color: var(--text-main); margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.history-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.history-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: var(--text-sub); line-height: 1.7;
}
.history-year {
  flex-shrink: 0;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px; font-weight: 800;
  padding: 3px 10px; border-radius: 20px;
  border: 1px solid var(--green);
  margin-top: 2px;
}

/* 오시는 길 */
.location-address {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  color: var(--text-main); margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--sky-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56,189,248,0.3);
}
.location-address svg { color: var(--sky-dark); flex-shrink: 0; }
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   상세페이지 — 도면 + 상세정보 + 가격표
   ===================================================== */

/* 도면 영역 */
.blueprint-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.blueprint-label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text-sub);
}
.blueprint-img-wrap {
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
#blueprint-img {
  width: 100%; height: auto;
  display: none;
}
.blueprint-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 48px;
  color: var(--text-muted);
}
.blueprint-placeholder p { font-size: 14px; margin: 0; }

/* 상세 정보 */
.dp-summary {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--sky-dark); line-height: 1.7;
  margin-bottom: 20px;
}
.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 28px;
}
.dp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.dp-card-title {
  font-size: 13px; font-weight: 800;
  color: var(--sky-dark); margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.dp-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.dp-features li {
  font-size: 13px; color: var(--text-sub);
  display: flex; align-items: flex-start; gap: 8px;
}
.dp-features li::before {
  content: '▸'; color: var(--sky); flex-shrink: 0;
  margin-top: 1px;
}
.dp-steps { display: flex; flex-direction: column; gap: 10px; }
.dp-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-sub);
}
.dp-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-dark); color: white;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.dp-highlight {
  font-size: 18px; font-weight: 900;
  color: var(--sky-dark); margin: 4px 0 0;
}
.dp-highlight.green { color: var(--green-dark); }

/* 가격표 */
.price-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.price-table-title {
  font-size: 17px; font-weight: 900;
  color: var(--text-main); margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.price-notice {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 16px;
}
.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.price-table th {
  background: var(--sky-dark); color: white;
  padding: 10px 16px; text-align: left;
  font-weight: 700; font-size: 13px;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--sky-dark); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--sky-light); }
.price-special td { color: var(--green-dark) !important; }
.price-special td:last-child { color: var(--green-dark) !important; }

/* 점검 프로세스 */
.inspection-info {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border);
}
.inspection-time {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--sky-dark); margin-bottom: 14px;
}
.inspection-list {
  padding-left: 20px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.inspection-list li {
  font-size: 14px; color: var(--text-sub); line-height: 1.6;
}

/* 하단 CTA 버튼 */
.detail-cta-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; text-decoration: none;
  font-size: 17px; font-weight: 800;
  padding: 18px; border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
  transition: all 0.2s;
}
.detail-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,185,129,0.45);
}

/* 모바일 */
@media (max-width: 600px) {
  .dp-grid { grid-template-columns: 1fr; }
  .price-table-wrap { padding: 20px 14px; }
}

/* =====================================================
   상세페이지 쿠팡형 레이아웃
   ===================================================== */

/* 히어로 */
.dp-hero {
  background: linear-gradient(135deg, #0C1A2E 0%, #0369A1 100%);
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.dp-hero::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid rgba(56,189,248,0.15);
  pointer-events: none;
}
.dp-hero-tag {
  display: inline-block;
  background: rgba(56,189,248,0.2);
  border: 1px solid rgba(56,189,248,0.4);
  color: #7DD3FC; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
  letter-spacing: 0.5px; margin-bottom: 14px;
}
.dp-hero-title {
  font-size: clamp(22px, 3vw, 30px); font-weight: 900;
  color: white; line-height: 1.35;
  letter-spacing: -0.8px; margin-bottom: 12px;
}
.dp-hero-title strong { color: #38BDF8; }
.dp-hero-sub {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin: 0; word-break: keep-all;
}

/* 통계 카드 */
.dp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 32px;
}
.dp-stat {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 12px; text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.dp-stat::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}
.dp-stat strong {
  display: block;
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 900;
  color: var(--sky-dark); margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.dp-stat span { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* 섹션 구분선 */
.dp-section-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 36px 0 20px;
}
.dp-section-divider::before,
.dp-section-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border); display: block;
}
.dp-section-divider span {
  font-size: 12px; font-weight: 800;
  color: var(--text-muted); white-space: nowrap;
  letter-spacing: 1px; text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
}

/* 특징 4카드 */
.dp-features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 8px;
}
.dp-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.dp-feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--green));
}
.dp-feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dp-feature-icon { font-size: 28px; line-height: 1; display: block; flex-shrink: 0; }
.dp-feature-card h4 {
  font-size: 15px; font-weight: 800;
  color: var(--text-main); margin: 0;
  word-break: keep-all; line-height: 1.4;
}
.dp-feature-card p { font-size: 13px; color: var(--text-sub); line-height: 1.65; margin: 0; word-break: keep-all; }

/* 전후 비교 */
.dp-before-after {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 8px;
}
.dp-ba-card {
  flex: 1; border-radius: var(--radius-md);
  overflow: hidden; border: 1.5px solid var(--border);
  min-width: 0;
}
.dp-ba-card.before { border-color: #FCA5A5; }
.dp-ba-card.after  { border-color: var(--green); }
.dp-ba-label { padding: 8px 14px; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.before-label { background: #FEE2E2; color: #DC2626; }
.after-label  { background: var(--green-light); color: var(--green-dark); }
.dp-ba-img {
  overflow: hidden; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.dp-ba-img img { width: 100%; height: auto; object-fit: contain; display: block; max-height: 400px; }
.dp-ba-placeholder::after { content: '사진 준비 중'; font-size: 12px; color: var(--text-muted); }
.dp-ba-card p {
  padding: 10px 14px; font-size: 12px;
  color: var(--text-sub); line-height: 1.6; margin: 0;
  border-top: 1px solid var(--border);
}
.dp-ba-arrow { font-size: 24px; color: var(--sky-dark); font-weight: 900; flex-shrink: 0; align-self: center; }

/* 시공 프로세스 */
.dp-process {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dp-proc-step {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.dp-proc-step:last-child { border-bottom: none; }
.dp-proc-step:hover { background: var(--sky-light); }
.dp-proc-num {
  width: 56px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--sky-dark), var(--sky));
  color: white; font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
}
.dp-proc-text {
  flex: 1; padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--text-main); line-height: 1.5;
  display: flex; align-items: center;
}
.dp-proc-arrow { display: none; }

/* 자재 */
.dp-material {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
}
.dp-material-icon { font-size: 36px; flex-shrink: 0; }
.dp-material h4 { font-size: 14px; font-weight: 800; color: var(--sky-dark); margin-bottom: 4px; }
.dp-material p { font-size: 13px; color: var(--text-sub); margin: 0; }

/* 시공 정보 요약 — 가로 3열 */
.dp-info-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 8px;
}
.dp-info-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px; text-align: center;
}
.dp-info-label {
  display: block; font-size: 12px;
  color: var(--text-muted); font-weight: 600;
  margin-bottom: 6px; letter-spacing: 0.3px;
}
.dp-info-item strong { display: block; font-size: 16px; font-weight: 900; color: var(--sky-dark); }
.dp-info-item strong.green { color: var(--green-dark); }
.dp-info-item strong.price { color: #E53E3E; font-size: 14px; }

/* 모바일 */
@media (max-width: 600px) {
  .dp-stats { grid-template-columns: repeat(2, 1fr); }
  .dp-features-grid { grid-template-columns: 1fr; }
  .dp-hero { padding: 28px 24px; }
  .dp-info-row { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   상세페이지 — 도면 + 상세정보 + 가격표
   ===================================================== */

/* 도면 영역 */
.blueprint-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.blueprint-label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text-sub);
}
.blueprint-img-wrap {
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
#blueprint-img {
  width: 100%; height: auto;
  display: none;
}
.blueprint-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 48px;
  color: var(--text-muted);
}
.blueprint-placeholder p { font-size: 14px; margin: 0; }

/* 상세 정보 */
.dp-summary {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--sky-dark); line-height: 1.7;
  margin-bottom: 20px;
}
.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 28px;
}
.dp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.dp-card-title {
  font-size: 13px; font-weight: 800;
  color: var(--sky-dark); margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.dp-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.dp-features li {
  font-size: 13px; color: var(--text-sub);
  display: flex; align-items: flex-start; gap: 8px;
}
.dp-features li::before {
  content: '▸'; color: var(--sky); flex-shrink: 0;
  margin-top: 1px;
}
.dp-steps { display: flex; flex-direction: column; gap: 10px; }
.dp-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-sub);
}
.dp-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-dark); color: white;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.dp-highlight {
  font-size: 18px; font-weight: 900;
  color: var(--sky-dark); margin: 4px 0 0;
}
.dp-highlight.green { color: var(--green-dark); }

/* 가격표 */
.price-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.price-table-title {
  font-size: 17px; font-weight: 900;
  color: var(--text-main); margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.price-notice {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 16px;
}
.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.price-table th {
  background: var(--sky-dark); color: white;
  padding: 10px 16px; text-align: left;
  font-weight: 700; font-size: 13px;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--sky-dark); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--sky-light); }
.price-special td { color: var(--green-dark) !important; }
.price-special td:last-child { color: var(--green-dark) !important; }

/* 점검 프로세스 */
.inspection-info {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border);
}
.inspection-time {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--sky-dark); margin-bottom: 14px;
}
.inspection-list {
  padding-left: 20px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.inspection-list li {
  font-size: 14px; color: var(--text-sub); line-height: 1.6;
}

/* 하단 CTA 버튼 */
.detail-cta-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; text-decoration: none;
  font-size: 17px; font-weight: 800;
  padding: 18px; border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
  transition: all 0.2s;
}
.detail-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,185,129,0.45);
}

/* 모바일 */
@media (max-width: 600px) {
  .dp-grid { grid-template-columns: 1fr; }
  .price-table-wrap { padding: 20px 14px; }
}

/* =====================================================
   상세페이지 — 도면 + 상세정보 + 가격표
   ===================================================== */

/* 도면 영역 */
.blueprint-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.blueprint-label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text-sub);
}
.blueprint-img-wrap {
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
#blueprint-img {
  width: 100%; height: auto;
  display: none;
}
.blueprint-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 48px;
  color: var(--text-muted);
}
.blueprint-placeholder p { font-size: 14px; margin: 0; }

/* 상세 정보 */
.dp-summary {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--sky-dark); line-height: 1.7;
  margin-bottom: 20px;
}
.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 28px;
}
.dp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.dp-card-title {
  font-size: 13px; font-weight: 800;
  color: var(--sky-dark); margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.dp-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.dp-features li {
  font-size: 13px; color: var(--text-sub);
  display: flex; align-items: flex-start; gap: 8px;
}
.dp-features li::before {
  content: '▸'; color: var(--sky); flex-shrink: 0;
  margin-top: 1px;
}
.dp-steps { display: flex; flex-direction: column; gap: 10px; }
.dp-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-sub);
}
.dp-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-dark); color: white;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.dp-highlight {
  font-size: 18px; font-weight: 900;
  color: var(--sky-dark); margin: 4px 0 0;
}
.dp-highlight.green { color: var(--green-dark); }

/* 가격표 */
.price-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.price-table-title {
  font-size: 17px; font-weight: 900;
  color: var(--text-main); margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.price-notice {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 16px;
}
.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.price-table th {
  background: var(--sky-dark); color: white;
  padding: 10px 16px; text-align: left;
  font-weight: 700; font-size: 13px;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--sky-dark); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--sky-light); }
.price-special td { color: var(--green-dark) !important; }
.price-special td:last-child { color: var(--green-dark) !important; }

/* 점검 프로세스 */
.inspection-info {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border);
}
.inspection-time {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--sky-dark); margin-bottom: 14px;
}
.inspection-list {
  padding-left: 20px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.inspection-list li {
  font-size: 14px; color: var(--text-sub); line-height: 1.6;
}

/* 하단 CTA 버튼 */
.detail-cta-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; text-decoration: none;
  font-size: 17px; font-weight: 800;
  padding: 18px; border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
  transition: all 0.2s;
}
.detail-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,185,129,0.45);
}

/* 모바일 */
@media (max-width: 600px) {
  .dp-grid { grid-template-columns: 1fr; }
  .price-table-wrap { padding: 20px 14px; }
}
/* =====================================================
   상세페이지 — 도면 + 상세정보 + 가격표
   ===================================================== */

/* 도면 영역 */
.blueprint-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.blueprint-label {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text-sub);
}
.blueprint-img-wrap {
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
#blueprint-img {
  width: 100%; height: auto;
  display: none;
}
.blueprint-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 48px;
  color: var(--text-muted);
}
.blueprint-placeholder p { font-size: 14px; margin: 0; }

/* 상세 정보 */
.dp-summary {
  background: linear-gradient(135deg, var(--sky-light), var(--green-light));
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 15px; font-weight: 600;
  color: var(--sky-dark); line-height: 1.7;
  margin-bottom: 20px;
}
.dp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 28px;
}
.dp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}
.dp-card-title {
  font-size: 13px; font-weight: 800;
  color: var(--sky-dark); margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.dp-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.dp-features li {
  font-size: 13px; color: var(--text-sub);
  display: flex; align-items: flex-start; gap: 8px;
}
.dp-features li::before {
  content: '▸'; color: var(--sky); flex-shrink: 0;
  margin-top: 1px;
}
.dp-steps { display: flex; flex-direction: column; gap: 10px; }
.dp-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-sub);
}
.dp-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-dark); color: white;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.dp-highlight {
  font-size: 18px; font-weight: 900;
  color: var(--sky-dark); margin: 4px 0 0;
}
.dp-highlight.green { color: var(--green-dark); }

/* 가격표 */
.price-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.price-table-title {
  font-size: 17px; font-weight: 900;
  color: var(--text-main); margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.price-notice {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 16px;
}
.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.price-table th {
  background: var(--sky-dark); color: white;
  padding: 10px 16px; text-align: left;
  font-weight: 700; font-size: 13px;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.price-table td:last-child { text-align: right; font-weight: 700; color: var(--sky-dark); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--sky-light); }
.price-special td { color: var(--green-dark) !important; }
.price-special td:last-child { color: var(--green-dark) !important; }

/* 점검 프로세스 */
.inspection-info {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border);
}
.inspection-time {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--sky-dark); margin-bottom: 14px;
}
.inspection-list {
  padding-left: 20px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.inspection-list li {
  font-size: 14px; color: var(--text-sub); line-height: 1.6;
}

/* 하단 CTA 버튼 */
.detail-cta-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white; text-decoration: none;
  font-size: 17px; font-weight: 800;
  padding: 18px; border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
  transition: all 0.2s;
}
.detail-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,185,129,0.45);
}

/* 모바일 */
@media (max-width: 600px) {
  .dp-grid { grid-template-columns: 1fr; }
  .price-table-wrap { padding: 20px 14px; }
}

/* =====================================================
   시공 실적 이미지 그리드
   ===================================================== */
.stats-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stats-img-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.25s;
  position: relative;
}
.stats-img-item:hover { transform: scale(1.02); }
.stats-img-item img {
  width: 100%; height: 100%;
  object-fit: cover;   /* 1:1 꽉 채우기 */
  display: block;
  transition: transform 0.4s ease;
}
.stats-img-item:hover img { transform: scale(1.06); }
.stats-img-item.stats-img-empty {
  display: flex; align-items: center; justify-content: center;
}
.stats-img-item.stats-img-empty::after {
  content: '사진 준비 중';
  font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 600;
}
.stats-img-item.stats-img-empty img { display: none; }

@media (max-width: 768px) {
  .stats-img-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   시공 실적 카운터 섹션
   ===================================================== */
.stats-section {
  background: linear-gradient(160deg, #0C1A2E 0%, #0369A1 100%);
  padding: 72px 24px;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.1);
  pointer-events: none;
}
.stats-section::after {
  content: '';
  position: absolute; bottom: -60px; left: 5%;
  width: 250px; height: 250px; border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.1);
  pointer-events: none;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* 상단 텍스트 */
.stats-top {
  display: flex; align-items: center;
  gap: 48px; margin-bottom: 48px;
  flex-wrap: wrap;
}
.stats-text-col { flex: 1; min-width: 260px; }
.stats-tag {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.3);
  color: #7DD3FC; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 50px;
  letter-spacing: 1px; margin-bottom: 14px;
}
.stats-text-col h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900; color: white;
  letter-spacing: -1px; line-height: 1.3;
  margin-bottom: 0;
}
.stats-text-col h2::after { display: none; }
.stats-text-col h2 strong { color: #38BDF8; }

/* 이미지 4개 그리드 */
.stats-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stats-img-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.25s;
  position: relative;
}
.stats-img-item:hover { transform: scale(1.02); }
.stats-img-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.stats-img-item:hover img { transform: scale(1.06); }
.stats-img-item.stats-img-empty {
  display: flex; align-items: center; justify-content: center;
}
.stats-img-item.stats-img-empty::after {
  content: '사진 준비 중';
  font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 600;
}
.stats-img-item.stats-img-empty img { display: none; }

@media (max-width: 768px) {
  .stats-section { padding: 52px 20px; }
  .stats-top { gap: 28px; margin-bottom: 32px; }
  .stats-img-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* =====================================================
   후기 슬라이더 화살표 버튼
   ===================================================== */
.review-slider-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}
.review-nav-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  color: var(--sky-dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
}
.review-nav-btn:hover {
  background: var(--sky-dark);
  color: white;
  border-color: var(--sky-dark);
  transform: translateY(-50%) scale(1.1);
}
.review-prev { left: 8px; }
.review-next { right: 8px; }
.review-nav-btn.swiper-button-disabled {
  opacity: 0.3; cursor: not-allowed;
}
.review-nav-btn.swiper-button-disabled:hover {
  background: white; color: var(--sky-dark);
  border-color: var(--border);
  transform: translateY(-50%) scale(1);
}
@media (max-width: 600px) {
  .review-slider-wrap { padding: 0 16px; }
  .review-nav-btn { display: none; }
}

/* =====================================================
   지그재그 모바일 반응형
   ===================================================== */
@media (max-width: 768px) {
  .zigzag-section { padding: 52px 0; }
  .zigzag-header { margin-bottom: 40px; padding: 0 20px; }
  .zigzag-header::before,
  .zigzag-header::after { display: none; }

  /* 모든 행 세로 배치 */
  .zz-row,
  .zz-row.reverse {
    flex-direction: column;
    gap: 20px;
    padding: 0 18px;
    margin-bottom: 48px;
  }
  /* reverse 행: 텍스트 위, 이미지 아래 */
  .zz-row.reverse .zz-text { order: -1; }
  .zz-row.reverse .zz-image { order: 1; }

  /* 이미지 비율 */
  .zz-image { aspect-ratio: 4 / 3; width: 100%; }

  .zz-row:not(.reverse) .zz-text,
  .zz-row.reverse .zz-text { padding: 0; }

  .zz-title { font-size: 17px; }
  .zz-desc  { font-size: 14px; }
}

/* =====================================================
   모바일 이미지 최적화 (추가)
   ===================================================== */
@media (max-width: 600px) {
  /* 히어로 */
  .hero { height: 300px; }


/* =====================================================
   보양~청소 프로세스 이미지 섹션
   ===================================================== */
.process-img-section {
  background: var(--bg);
  padding: 80px 24px;
}
.process-img-inner {
  max-width: 1100px; margin: 0 auto;
}
.process-img-header {
  text-align: center; margin-bottom: 52px;
}
.process-img-tag {
  display: inline-block;
  background: var(--sky-light);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--sky-dark); font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 50px;
  letter-spacing: 1px; margin-bottom: 14px;
}
.process-img-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900; color: var(--text-main);
  letter-spacing: -0.8px; margin-bottom: 12px;
}
.process-img-header p {
  font-size: 15px; color: var(--text-sub);
  line-height: 1.7;
}

/* 3열 그리드 */
.process-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-img-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.process-img-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* 이미지 영역 — 4:3 비율 */
.process-img-wrap {
  width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky-light);
  position: relative;
}
.process-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.process-img-card:hover .process-img-wrap img { transform: scale(1.05); }
.process-img-wrap.process-img-empty::after {
  content: '사진 준비 중';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-muted); font-weight: 600;
}
.process-img-wrap.process-img-empty img { opacity: 0; }

/* 텍스트 영역 */
.process-img-info {
  padding: 24px 22px 28px;
  position: relative;
}
.process-img-num {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 900;
  color: var(--sky-dark);
  background: var(--sky-light);
  border: 1px solid rgba(56,189,248,0.25);
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: 1px; margin-bottom: 10px;
}
.process-img-info h3 {
  font-size: 18px; font-weight: 900;
  color: var(--text-main); margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.process-img-info p {
  font-size: 14px; color: var(--text-sub);
  line-height: 1.7; margin: 0;
  word-break: keep-all;
}

/* 카드 상단 컬러 바 */
.process-img-card:nth-child(1) .process-img-info::before { background: var(--sky-dark); }
.process-img-card:nth-child(2) .process-img-info::before { background: var(--sky); }
.process-img-card:nth-child(3) .process-img-info::before { background: var(--green); }
.process-img-info::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}

/* 모바일 */
@media (max-width: 768px) {
  .process-img-section { padding: 60px 20px; }
  .process-img-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-img-header { margin-bottom: 36px; }
}

/* =====================================================
   견적 계산기 — 3단계 최종 금액 버전
   ===================================================== */
.calc-result-new {
  display: flex; flex-direction: column; gap: 20px;
}

/* 선택 요약 태그 */
.calc-summary-tags {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.summary-tag {
  background: var(--sky-light);
  border: 1.5px solid rgba(56,189,248,0.3);
  color: var(--sky-dark);
  font-size: 14px; font-weight: 800;
  padding: 8px 18px; border-radius: 50px;
}
.summary-divider {
  font-size: 18px; font-weight: 900;
  color: var(--text-muted);
}

/* 금액 카드 */
.calc-price-card {
  background: linear-gradient(135deg, #0C1A2E 0%, #0369A1 100%);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative; overflow: hidden;
}
.calc-price-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.15);
}
.calc-price-card.is-special {
  background: linear-gradient(135deg, #065F46, #059669);
}
.calc-price-label {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px; margin-top: 0;
}
.calc-price-range {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 900; color: white;
  letter-spacing: -1px; line-height: 1.2;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  margin-bottom: 14px;
}
.calc-price-notice {
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin: 0;
}
