/* SDP — 점포 시설물 철거전문 | style.css */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&family=Manrope:wght@600;700;800&display=swap');

/* ── CSS 변수 ───────────────────────────────────────────────────── */
:root {
  --primary:        #1A2E38;
  --primary-dark:   #0f1d24;
  --primary-light:  #2e4f60;
  --secondary:      #0E1C24;
  --accent:         #E8632A;
  --accent-dark:    #c4511f;
  --accent-light:   #f07a46;
  --bg-cream:       #f7f5f2;
  --bg-sand:        #f0ece6;
  --bg-beige:       #e8e2d9;
  --text-dark:      #1a1a1a;
  --text-body:      #3d3d3d;
  --text-light:     #767676;
  --border:         rgba(0,0,0,.08);
  --radius:         0px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.05), 0 1px 3px rgba(0,0,0,.04);
  --shadow:         0 4px 24px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg:      0 12px 48px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);
  --transition:     all .35s cubic-bezier(.4,0,.2,1);
  --font-display:   'Manrope', sans-serif;
  --font-body:      'Noto Sans KR', sans-serif;
  --header-h:       64px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--text-body);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ── 타이포 ─────────────────────────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.3; }
h3 { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.4; }
p  { font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.8; }

/* ── 컨테이너 ───────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5%, 60px);
}

/* ── 버튼 ──────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 700;
  padding: clamp(12px,1.5vw,16px) clamp(24px,3vw,36px);
  border: 2px solid var(--accent);
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,99,42,.35);
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 700;
  padding: clamp(11px,1.4vw,15px) clamp(22px,2.8vw,34px);
  border: 2px solid var(--primary);
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-lg { padding: clamp(16px,2vw,20px) clamp(32px,4vw,52px); font-size: clamp(1rem,1.3vw,1.1rem); }
.btn-outline--light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline--light:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ── 헤더 ──────────────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  padding: 0 clamp(16px,5%,60px);
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}
#site-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.site-logo { flex-shrink: 0; }
.site-logo rect, .site-logo line, .site-logo path {
  stroke: #fff;
  transition: stroke .35s;
}
#site-header.scrolled .site-logo rect,
#site-header.scrolled .site-logo line,
#site-header.scrolled .site-logo path { stroke: var(--primary); }
.logo-text { color: #fff; transition: color .35s; }
#site-header.scrolled .logo-text { color: var(--primary); }

/* ── 네비 ──────────────────────────────────────────────────────── */
.header-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: clamp(20px,3vw,36px); }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: var(--transition);
  white-space: nowrap;
}
#site-header.scrolled .nav-link { color: var(--text-dark); }
.nav-link:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ── 햄버거 ─────────────────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; padding: 4px;
}
.hamburger span {
  display: block; height: 2px; background: #fff;
  transition: var(--transition);
}
#site-header.scrolled .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 메뉴 ────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; right: -100%; bottom: 0;
  width: min(320px, 90vw); z-index: 1100;
  background: var(--primary);
  padding: 80px 32px 40px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-overlay {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  color: rgba(255,255,255,.7); font-size: 1.4rem;
  background: none; border: none; cursor: pointer;
  transition: color .2s;
}
.mobile-close:hover { color: #fff; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-link {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
}
.mobile-nav-link:hover { color: var(--accent); }
.mobile-nav-cta {
  margin-top: 24px;
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  padding: 14px;
  border-bottom: none;
}

/* ── 공통 섹션 ──────────────────────────────────────────────────── */
.section { padding: clamp(60px,8vw,120px) 0; }
.section-title {
  color: var(--text-dark);
  margin-bottom: clamp(32px,4vw,56px);
}
.section-title--light { color: #fff; }
.section-cta { text-align: center; margin-top: clamp(32px,4vw,48px); }

/* ── Kicker ─────────────────────────────────────────────────────── */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.7rem,0.9vw,0.8rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.kicker--light { color: rgba(255,255,255,.75); }

/* ── 스크롤 리빌 ────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide--active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 7s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: calc(var(--header-h) + 40px) clamp(16px,5%,80px) 80px;
  max-width: 800px;
  width: 100%;
}
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.7rem,1vw,0.85rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
}
.hero-title {
  color: #fff;
  font-size: clamp(1.8rem,5vw,3.4rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: clamp(0.95rem,1.5vw,1.15rem);
  line-height: 1.65;
  margin-bottom: 20px;
}
.hero-notice {
  color: rgba(255,255,255,.7);
  font-size: clamp(0.8rem,1.1vw,0.9rem);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-cta { font-size: clamp(0.95rem,1.3vw,1.05rem); }
.hero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2; display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: background .3s, width .3s;
}
.hero-dot.active { background: var(--accent); width: 24px; }
.hero-btn {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.5rem; line-height: 1;
  backdrop-filter: blur(4px);
  transition: background .25s;
}
.hero-btn:hover { background: rgba(255,255,255,.3); }
.hero-btn--prev { left: clamp(12px,3%,32px); }
.hero-btn--next { right: clamp(12px,3%,32px); }

/* ── 시공사례 갤러리 ─────────────────────────────────────────────── */
.cases-section { background: var(--bg-cream); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(280px,30%,360px),1fr));
  gap: clamp(20px,2.5vw,32px);
}
.case-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card__link { display: block; }
.case-card__imgs { display: grid; grid-template-columns: 1fr 1fr; }
.case-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.case-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.case-card:hover .case-card__img-wrap img { transform: scale(1.05); }
.case-badge {
  position: absolute; bottom: 6px; left: 6px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 8px;
  backdrop-filter: blur(4px);
}
.case-badge--after { background: rgba(232,99,42,.8); }
.case-card__body { padding: clamp(14px,2vw,20px); }
.case-card__cat { font-size: 0.75rem; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.case-card__title { font-size: clamp(0.95rem,1.2vw,1.05rem); font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.case-card__loc { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; }
.case-card__more { font-size: 0.82rem; color: var(--accent); font-weight: 700; }
.cases-gallery { background: var(--bg-cream); }

/* ── 서비스 카드 ─────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,20%,240px),1fr));
  gap: clamp(16px,2vw,24px);
}
.svc-card {
  display: flex; flex-direction: column;
  padding: clamp(20px,2.5vw,32px) clamp(16px,2vw,24px);
  border: 1px solid var(--border);
  background: #fff;
  transition: var(--transition);
  cursor: pointer;
}
.svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.svc-card__icon {
  width: 52px; height: 52px;
  background: var(--bg-sand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  transition: background .3s, color .3s;
}
.svc-card:hover .svc-card__icon { background: var(--accent); color: #fff; }
.svc-card__title { font-size: clamp(1rem,1.2vw,1.1rem); color: var(--text-dark); margin-bottom: 8px; }
.svc-card__desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.svc-card__link { font-size: 0.82rem; color: var(--accent); font-weight: 700; margin-top: 14px; }

/* ── 신뢰 통계 ──────────────────────────────────────────────────── */
.trust-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: clamp(24px,3vw,40px);
  margin-bottom: clamp(32px,4vw,48px);
}
.trust-stat { text-align: center; }
.trust-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-label { font-size: clamp(0.8rem,1.1vw,0.9rem); color: rgba(255,255,255,.75); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-badge {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.2);
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-section { background: #fff; }
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.cc-faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left;
  padding: clamp(16px,2vw,20px) 0;
  font-size: clamp(0.9rem,1.1vw,1rem);
  font-weight: 600;
  color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color .25s;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform .3s; }
.cc-faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.cc-faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: clamp(14px,2vw,20px); color: var(--text-body); font-size: 0.93rem; line-height: 1.8; }

/* ── 지역 카드 ──────────────────────────────────────────────────── */
.regions-section { background: var(--bg-cream); }
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(160px,18%,220px),1fr));
  gap: clamp(10px,1.5vw,16px);
}
.region-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(12px,1.5vw,16px) clamp(14px,2vw,20px);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}
.region-card:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.region-card__arrow { color: var(--accent); transition: transform .25s; }
.region-card:hover .region-card__arrow { transform: translateX(4px); color: #fff; }

/* ── CTA 섹션 ───────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
}
.cta-container { max-width: 680px; }
.cta-desc {
  color: rgba(255,255,255,.88);
  font-size: clamp(0.95rem,1.3vw,1.05rem);
  line-height: 1.7;
  margin-bottom: clamp(24px,3vw,36px);
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta-section .btn-primary:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* ── 서비스 서브페이지 리치 컴포넌트 ─────────────────────────────── */

/* 서브 Hero */
.sub-hero {
  position: relative;
  min-height: clamp(280px,40vw,460px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: var(--header-h);
}
.sub-hero__img { position: absolute; inset: 0; }
.sub-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 100%); }
.sub-hero__content {
  position: relative; z-index: 1;
  padding: clamp(32px,5vw,60px) clamp(16px,5%,60px);
  width: 100%;
}
.sub-hero__content .kicker { color: rgba(255,255,255,.75); }
.sub-hero__content h1 { color: #fff; margin-bottom: 12px; }
.sub-hero__sub { color: rgba(255,255,255,.85); font-size: clamp(0.9rem,1.3vw,1.05rem); margin-bottom: 24px; }

/* 인트로 + 피처카드 */
.intro-section { background: #fff; }
.intro-text {
  font-size: clamp(0.98rem,1.2vw,1.08rem);
  line-height: 1.85;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: clamp(36px,4vw,52px);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(16px,2vw,24px);
}
.feat-card {
  background: var(--bg-sand);
  padding: clamp(20px,2.5vw,32px);
  border-top: 3px solid var(--accent);
}
.feat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,3vw,2.4rem);
  font-weight: 800;
  color: var(--accent);
  opacity: .25;
  line-height: 1;
  margin-bottom: 12px;
}
.feat-card h3 { font-size: clamp(0.98rem,1.2vw,1.1rem); color: var(--text-dark); margin-bottom: 8px; }
.feat-card p  { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* 증상/상황 카드 */
.symp-section { background: var(--bg-cream); }
.symp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28%,280px),1fr));
  gap: clamp(14px,2vw,20px);
  margin-bottom: clamp(28px,3vw,40px);
}
.symp-card {
  background: #fff;
  padding: clamp(18px,2vw,26px);
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.symp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left: 3px solid var(--accent); }
.num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.symp-card h3 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 4px; }
.symp-card p  { font-size: 0.83rem; color: var(--text-light); line-height: 1.65; }
.symp-cta { text-align: center; }

/* 프로세스 스텝 */
.proc-section { background: #fff; }
.proc-steps {
  display: flex; flex-direction: column; gap: 0;
  counter-reset: proc-counter;
  position: relative;
}
.proc-steps::before {
  content: '';
  position: absolute;
  left: 20px; top: 40px; bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--border) 100%);
}
.proc-step {
  display: flex; gap: clamp(20px,3vw,32px);
  padding: clamp(20px,2.5vw,28px) 0;
  counter-increment: proc-counter;
  position: relative;
}
.proc-step::before {
  content: '0' counter(proc-counter);
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: background .3s;
}
.proc-step:hover::before { background: var(--accent); }
.proc-step__body h3 { font-size: clamp(0.98rem,1.2vw,1.08rem); color: var(--text-dark); margin-bottom: 6px; }
.proc-step__body p  { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* 방식 비교 */
.method-section { background: var(--bg-cream); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px,28%,320px),1fr));
  gap: clamp(16px,2vw,24px);
}
.method-card {
  background: #fff;
  padding: clamp(20px,2.5vw,32px);
  box-shadow: var(--shadow-sm);
}
.method-card h3 { font-size: clamp(1rem,1.2vw,1.1rem); color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.pros, .cons { list-style: none; margin-bottom: 12px; }
.pros li::before { content: '+'; color: var(--accent); font-weight: 800; margin-right: 8px; }
.cons li::before { content: '-'; color: var(--text-light); font-weight: 700; margin-right: 8px; }
.pros li, .cons li { font-size: 0.88rem; color: var(--text-body); line-height: 1.65; margin-bottom: 4px; }
.pros-label, .cons-label { font-size: 0.75rem; font-weight: 700; letter-spacing: .05em; color: var(--text-light); margin-bottom: 6px; }

/* 서비스 갤러리 3컷 */
.svc-gallery-section { background: #fff; }
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(10px,1.5vw,16px);
  margin-bottom: clamp(20px,2.5vw,28px);
}
.svc-gallery__item { position: relative; overflow: hidden; }
.svc-gallery__item img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .4s ease;
}
.svc-gallery__item:hover img { transform: scale(1.05); }
.svc-gallery__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 0.78rem;
  padding: 8px 12px;
  backdrop-filter: blur(4px);
}
.gallery-link { display: block; text-align: center; }
.gallery-link a { font-size: 0.9rem; color: var(--accent); font-weight: 700; }

/* 연관 서비스 */
.related-section { background: var(--bg-cream); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(14px,2vw,20px);
  margin-bottom: clamp(28px,3vw,40px);
}
.related-card {
  background: #fff;
  padding: clamp(18px,2vw,24px);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.related-card__title { font-size: clamp(0.9rem,1.1vw,1rem); font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.related-card__desc { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }
.related-cta { text-align: center; padding: clamp(28px,4vw,44px) 0 0; }

/* ── gallery.php ────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(280px,28%,360px),1fr));
  gap: clamp(20px,2.5vw,32px);
}
.gallery-card { background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition); overflow: hidden; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-card__thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-card:hover .gallery-card__thumb img { transform: scale(1.05); }
.gallery-card__body { padding: clamp(14px,2vw,20px); }
.gallery-empty { text-align: center; padding: 80px 20px; color: var(--text-light); }

/* ── portfolio-detail.php ───────────────────────────────────────── */
.pd-hero { position: relative; min-height: 400px; margin-top: var(--header-h); overflow: hidden; }
.pd-hero img { width: 100%; height: 400px; object-fit: cover; }
.pd-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.pd-ba {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px,2vw,24px);
  margin: clamp(32px,4vw,52px) 0;
}
.pd-ba__item { position: relative; }
.pd-ba__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pd-ba__label {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 10px; backdrop-filter: blur(4px);
}
.pd-ba__label--after { background: rgba(232,99,42,.8); }
.pd-summary {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: clamp(12px,1.5vw,20px);
  margin-bottom: clamp(32px,4vw,52px);
}
.pd-summary__item { background: var(--bg-sand); padding: clamp(14px,2vw,20px); }
.pd-summary__label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); margin-bottom: 4px; }
.pd-summary__val { font-size: clamp(0.9rem,1.1vw,1rem); font-weight: 700; color: var(--text-dark); }
.pd-steps { margin-bottom: clamp(32px,4vw,52px); }
.pd-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: clamp(14px,1.8vw,18px) 0;
  border-bottom: 1px solid var(--border);
}
.pd-step__num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pd-nav {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: clamp(24px,3vw,40px);
  border-top: 1px solid var(--border);
}
.pd-nav__link {
  display: flex; flex-direction: column;
  background: var(--bg-sand);
  padding: clamp(12px,1.5vw,16px) clamp(16px,2vw,24px);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition); flex: 1;
}
.pd-nav__link:hover { background: var(--primary); color: #fff; }
.pd-nav__dir { font-size: 0.72rem; color: var(--text-light); margin-bottom: 4px; }

/* ── consultation.php ───────────────────────────────────────────── */
.consult-hero { background: var(--primary); padding: calc(var(--header-h) + 40px) 0 clamp(40px,5vw,60px); text-align: center; }
.consult-hero h1 { color: #fff; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,2vw,24px); margin-bottom: clamp(32px,4vw,48px); }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: clamp(28px,4vw,44px) clamp(20px,3vw,32px);
  background: var(--bg-sand);
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
  font-weight: 700;
  color: var(--text-dark);
}
.contact-card:hover { border-color: var(--accent); background: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { width: 56px; height: 56px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-card__title { font-family: var(--font-display); font-size: clamp(1rem,1.3vw,1.15rem); color: var(--text-dark); }
.contact-card__sub { font-size: 0.83rem; color: var(--text-light); font-weight: 400; line-height: 1.6; }
.consult-notice {
  background: var(--bg-cream);
  padding: clamp(16px,2vw,24px);
  border-left: 3px solid var(--accent);
  margin-bottom: clamp(24px,3vw,36px);
}
.biz-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 12px; }
.biz-info-item { background: #fff; padding: 14px 18px; border: 1px solid var(--border); }
.biz-info-label { font-size: 0.75rem; color: var(--text-light); margin-bottom: 3px; }
.biz-info-val { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }

/* ── sitemap-page.php ───────────────────────────────────────────── */
.sitemap-hero { background: var(--primary); padding: calc(var(--header-h) + 40px) 0 clamp(40px,5vw,56px); }
.sitemap-hero h1 { color: #fff; }
.sitemap-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px,2.5vw,28px); }
.sitemap-filter-btn {
  padding: 7px 16px; border: 1px solid var(--border);
  font-size: 0.83rem; font-weight: 600;
  background: #fff; color: var(--text-body);
  cursor: pointer; transition: var(--transition);
}
.sitemap-filter-btn.active, .sitemap-filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.sitemap-search { display: flex; gap: 0; margin-bottom: clamp(20px,2.5vw,28px); }
.sitemap-search input {
  flex: 1; padding: 10px 16px;
  border: 1px solid var(--border); border-right: none;
  font-family: var(--font-body); font-size: 0.9rem;
}
.sitemap-search button { padding: 10px 20px; background: var(--primary); color: #fff; font-weight: 600; }
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,22%,260px),1fr));
  gap: clamp(10px,1.5vw,16px);
}
.sitemap-card {
  display: flex; align-items: center; gap: 12px;
  padding: clamp(12px,1.5vw,16px);
  background: #fff; border: 1px solid var(--border);
  transition: var(--transition);
}
.sitemap-card:hover { border-color: var(--accent); background: var(--bg-sand); }
.sitemap-card__icon { width: 32px; height: 32px; background: var(--bg-sand); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sitemap-card__title { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); }
.sitemap-card__cat { font-size: 0.72rem; color: var(--text-light); }

/* ── 지역 페이지 ─────────────────────────────────────────────────── */
.region-hero { background: var(--primary); padding: calc(var(--header-h) + 60px) 0 clamp(60px,8vw,100px); }
.region-hero h1 { color: #fff; margin-bottom: 12px; }
.region-hero p  { color: rgba(255,255,255,.8); font-size: clamp(0.95rem,1.2vw,1.05rem); }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(20px,2.5vw,32px) 0; }
.area-tag {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 0.82rem; font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.2);
}
.apt-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px,2vw,28px); }
.apt-tag {
  background: var(--bg-sand);
  color: var(--text-dark);
  font-size: 0.82rem; font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--border);
}
.region-svc-list { display: flex; flex-direction: column; gap: 12px; margin: clamp(20px,2.5vw,32px) 0; }
.region-svc-item {
  display: flex; align-items: center; gap: 14px;
  padding: clamp(14px,1.8vw,18px) clamp(16px,2vw,22px);
  background: #fff;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.region-svc-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.region-svc-item h3 { font-size: clamp(0.9rem,1.1vw,1rem); color: var(--text-dark); margin-bottom: 3px; }
.region-svc-item p  { font-size: 0.83rem; color: var(--text-light); }
.region-proc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: clamp(12px,1.5vw,18px); }
.region-proc-item {
  background: var(--bg-sand);
  padding: clamp(16px,2vw,22px);
  border-top: 3px solid var(--primary);
}
.region-proc-item .step-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--accent); opacity: .35; line-height: 1; margin-bottom: 8px;
}
.region-proc-item h3 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 6px; }
.region-proc-item p  { font-size: 0.83rem; color: var(--text-light); line-height: 1.65; }

/* ── admin ──────────────────────────────────────────────────────── */
.admin-body { background: var(--bg-cream); min-height: 100vh; padding: 32px clamp(16px,4%,40px); }
.admin-card {
  background: #fff; box-shadow: var(--shadow-sm);
  padding: clamp(20px,3vw,32px); margin-bottom: 24px;
}
.admin-card h2 { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 12px; }
.admin-stat { background: var(--bg-sand); padding: 14px 18px; text-align: center; }
.admin-stat .num { font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 4px; display: block; }
.admin-stat .lbl { font-size: 0.78rem; color: var(--text-light); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { background: var(--bg-sand); padding: 10px 12px; text-align: left; font-weight: 700; color: var(--text-dark); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.admin-table tr:hover td { background: var(--bg-cream); }
.badge { display: inline-block; padding: 3px 8px; font-size: 0.72rem; font-weight: 700; }
.badge--pub { background: #d1fae5; color: #065f46; }
.badge--pend { background: #fef3c7; color: #92400e; }
.badge--idx { background: #dbeafe; color: #1e40af; }
.badge--noindex { background: #fee2e2; color: #991b1b; }
.admin-login { max-width: 400px; margin: 80px auto; }
.admin-login h1 { font-size: 1.4rem; margin-bottom: 28px; color: var(--text-dark); }
.admin-login .field { margin-bottom: 16px; }
.admin-login label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.admin-login input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 0.95rem;
}
.admin-login input:focus { outline: 2px solid var(--accent); }
.admin-login .submit { width: 100%; padding: 12px; background: var(--primary); color: #fff; font-weight: 700; margin-top: 8px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 1.4rem; color: var(--text-dark); }
.admin-logout { font-size: 0.83rem; color: var(--text-light); text-decoration: underline; }

/* ── Floating CTA ───────────────────────────────────────────────── */
.floating-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 700;
  padding: 14px 22px;
  box-shadow: 0 6px 24px rgba(232,99,42,.4);
  transition: var(--transition);
}
.floating-cta:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(232,99,42,.5); }
.pulse-ring {
  position: absolute; inset: -4px;
  border: 2px solid var(--accent);
  animation: pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { transform: scale(.95); opacity: .8; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(.95); opacity: 0; }
}

/* ── Back to top ────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 88px; right: 28px; z-index: 900;
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--accent); transform: translateY(-2px); }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,.75);
  padding-top: clamp(48px,6vw,80px);
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 clamp(16px,5%,60px) clamp(40px,5vw,60px);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px,4vw,56px);
}
.footer-logo-link { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: rgba(255,255,255,.9); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 20px; }
.footer-biz-info { display: flex; flex-direction: column; gap: 4px; }
.footer-biz-info span { font-size: 0.78rem; color: rgba(255,255,255,.5); }
.footer-col-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 16px; letter-spacing: .05em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 0.83rem; color: rgba(255,255,255,.55); transition: color .25s; }
.footer-link:hover { color: var(--accent); }
.footer-cta-link { color: var(--accent) !important; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: clamp(16px,2vw,20px) clamp(16px,5%,60px);
  text-align: center;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,.35); }

/* ── 반응형 ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pd-summary { grid-template-columns: repeat(2,1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(1.5rem,5.5vw,2rem); }
  .feat-grid { grid-template-columns: 1fr; }
  .svc-gallery { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .pd-ba { grid-template-columns: 1fr; }
  .proc-steps::before { left: 16px; }
  .method-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 560px) {
  .cases-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .pd-summary { grid-template-columns: 1fr 1fr; }
  .symp-grid { grid-template-columns: 1fr; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; }
}
