:root {
  --accent: #17171A;
  --accent-soft: #F1EFE9;
  --hero-tint: #F6F5F1;
  --text: #17171A;
  --muted: #767065;
  --line: #E3E0D8;
  --btn-text: #FFFFFF;
  --point: #FFC600;
  --point-text: #17171A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, button, input, textarea {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
  margin: 0; color: var(--text); background: #fff;
  letter-spacing: -0.2px; line-height: 1.6; padding-bottom: 0;
  font-weight: 400;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.4px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== 헤더 (에디토리얼) ===== */
header.site-header { position: relative; z-index: 200; background: #fff; height: 84px; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 84px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 30px; height: 30px; color: var(--point); flex-shrink: 0; }
.logo-icon svg { display: block; width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-brand { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .5px; }
.logo-keyword { font-size: 18px; font-weight: 500; color: var(--text); letter-spacing: -.3px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu > li { position: relative; }
.nav-menu a.nav-link {
  font-size: 14.5px; font-weight: 400; letter-spacing: -0.1px;
  color: var(--text);
}
.nav-drop {
  position: absolute; top: 100%; left: 0; margin-top: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  box-shadow: none; padding: 6px; min-width: 190px;
  z-index: 201; display: none; flex-direction: column;
}
.nav-menu > li:hover .nav-drop, .nav-menu > li:focus-within .nav-drop { display: flex; }
.nav-drop a {
  padding: 11px 14px; border-radius: 0; font-size: 13.5px; font-weight: 400;
  color: var(--text);
}
.nav-drop a:hover { background: var(--accent-soft); }
.nav-cta {
  height: 42px; padding: 0 24px; border-radius: 0; background: var(--point); color: var(--point-text) !important;
  font-size: 14px; font-weight: 500; letter-spacing: -.2px; display: inline-flex; align-items: center;
}

/* ===== 히어로 (에디토리얼: 사진 분할 + 헤어라인) ===== */
.hero { padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.hero__inner {
  max-width: 1180px; margin: 0 auto; padding: 88px 24px; border-radius: 0;
  background: transparent;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; padding: 0 0 2px; border-bottom: 2px solid var(--point); border-radius: 0;
  background: transparent;
  color: var(--text); font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0 0 22px;
}
.hero h1 { font-size: 42px; font-weight: 500; color: var(--text); letter-spacing: -.5px; line-height: 1.38; margin: 0 0 18px; }
.hero-sub { font-size: 16px; line-height: 28px; color: var(--muted); max-width: 440px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 10px; margin: 0 0 28px; flex-wrap: wrap; }
.btn-fill {
  height: 50px; padding: 14px 28px; border-radius: 0; background: var(--point); color: var(--point-text);
  font-size: 14.5px; font-weight: 500; letter-spacing: -.1px; display: inline-flex; align-items: center;
}
.btn-line {
  height: 50px; padding: 14px 28px; border-radius: 0; background: transparent; color: var(--text);
  border: 1px solid var(--text); font-size: 14.5px; font-weight: 500; letter-spacing: -.1px;
  display: inline-flex; align-items: center;
}
.hero-checks { display: flex; gap: 22px; padding: 20px 0 0; margin: 0; font-size: 13.5px; color: var(--muted); list-style: disc inside; border-top: 1px solid var(--line); }
.hero-media { background: #fff; border-radius: 0; overflow: hidden; box-shadow: none; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; height: auto; object-fit: contain; display: block; }

/* start 패널 (서브페이지 상단) */
.hero-panel {
  max-width: 1180px; margin: 0 auto; padding: 72px 24px; background: transparent;
  border-radius: 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-panel .panel-photo { border-radius: 0; overflow: hidden; box-shadow: none; border: 1px solid var(--line); }
.hero-panel .panel-photo img { width: 100%; height: auto; object-fit: contain; }
.hero-panel h1 { font-size: 34px; font-weight: 500; margin: 0 0 14px; line-height: 1.38; letter-spacing: -.4px; }
.hero-panel p { font-size: 16px; color: var(--muted); margin: 0; }

/* page-hero (설치사례 상세) */
.page-hero { position: relative; z-index: 0; min-height: 420px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(15,15,14,.42); pointer-events: none; z-index: 0; }
.page-hero .copy { position: relative; z-index: 1; color: #fff; pointer-events: none; }
.page-hero .copy .hero-eyebrow { border-bottom-color: var(--point); color: #fff; }
.page-hero h1 { color: #fff; font-size: 36px; font-weight: 500; margin: 0; letter-spacing: -.4px; }

/* 설치사례 목록 히어로 */
.list-hero { position: relative; min-height: 38vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.list-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.list-hero::after { content: ""; position: absolute; inset: 0; background: rgba(15,15,14,.42); }
.list-hero .copy { position: relative; z-index: 1; color: #fff; text-align: center; }
.list-hero .copy .hero-eyebrow { border-bottom-color: var(--point); color: #fff; }
.list-hero h1 { color: #fff; font-size: 36px; font-weight: 500; margin: 0; letter-spacing: -.4px; }

/* ===== 공통 섹션 ===== */
section { padding: 100px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.section-title { font-size: 28px; font-weight: 500; margin: 0 0 16px; letter-spacing: -.4px; }
.section-lead { font-size: 16px; max-width: 640px; color: var(--muted); margin: 0 0 52px; white-space: nowrap; }
@media (max-width: 900px) { .section-lead { white-space: normal; } }

/* ABOUT */
#about p { font-size: 16px; line-height: 1.9; color: var(--text); max-width: 760px; margin: 0 0 18px; }

/* SERVICE */
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: #fff; border: none; border-radius: 0; padding: 36px 28px; }
.svc-icon { display: block; width: 40px; height: 40px; flex-shrink: 0; overflow: hidden; margin-bottom: 20px; }
.svc-icon svg { display: block; width: 100%; height: 100%; max-width: 40px; max-height: 40px; }
.service-card h3 { font-size: 17px; font-weight: 500; margin: 0 0 10px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }
@media (max-width: 767px) { .svc-icon { width: 34px; height: 34px; } .svc-icon svg { max-width: 34px; max-height: 34px; } }

/* CASES */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.case-card { background: #fff; border-radius: 0; overflow: hidden; transition: opacity .25s ease; border: none; }
.case-card:hover .thumb img { transform: scale(1.04); }
.case-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--hero-tint); }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card .body { padding: 20px 0 0; }
.case-card .region { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 8px; }
.case-card h3 { font-size: 17px; font-weight: 500; margin: 0 0 8px; }
.case-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* PROCESS */
.process-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--line); }
.process-item { padding: 28px 20px 28px 24px; border-right: 1px solid var(--line); }
.process-item:first-child { padding-left: 0; }
.process-item:last-child { border-right: none; }
.pnum { color: var(--text); background: var(--point); display: inline-block; font-weight: 600; font-size: 12px; padding: 2px 8px; margin-bottom: 12px; letter-spacing: .5px; }
.process-item h3 { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.process-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 767px) {
  .process-list { grid-template-columns: repeat(2,1fr); }
  .process-item { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
}

/* 지역 안내 */
.region-groups { display: flex; flex-direction: column; gap: 24px; }
.region-group h3 { font-size: 14px; color: var(--muted); margin: 0 0 14px; font-weight: 500; letter-spacing: .5px; }
.region-links { display: flex; flex-wrap: wrap; gap: 8px; }
.region-links a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 0; font-size: 13.5px; }
.region-links a:hover { border-color: var(--text); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; max-width: 820px; }
.faq-item { border: none; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0; }
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 16px; font-weight: 500; margin: 0 0 10px; }
.faq-item p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.8; }

/* 비용/비교 표 */
table.cost-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
table.cost-table th, table.cost-table td { border: 1px solid var(--line); padding: 15px 16px; text-align: left; }
table.cost-table th { background: var(--hero-tint); font-weight: 500; }

/* Closing */
.closing { position: relative; height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0; }
.closing .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.closing::after { content: ""; position: absolute; inset: 0; background: rgba(15,15,14,.5); }
.closing .copy { position: relative; z-index: 1; color: #fff; text-align: center; max-width: 700px; padding: 0 24px; }
.closing .closing-head { font-size: 32px; font-weight: 500; margin: 0 0 22px; white-space: nowrap; letter-spacing: -.4px; }
.closing .closing-quote { font-size: 15.5px; color: rgba(255,255,255,.8); margin: 0 0 34px; font-style: italic; }
.closing .btn-outline { display: inline-flex; align-items: center; height: 50px; padding: 0 32px; border: 1px solid #fff; color: #fff; border-radius: 0; font-size: 14.5px; font-weight: 500; }
@media (max-width: 767px) { .closing .closing-head { font-size: 23px; white-space: normal; } }

/* 콘텐츠 상세 공통 (허브·지역·사례) */
.content-body { max-width: 760px; margin: 52px auto 0; }
.content-body p { font-size: 16px; line-height: 1.9; margin: 0 0 18px; }
.content-photo { max-width: 640px; margin: 52px auto 0; text-align: center; }
.content-photo img { width: 100%; border-radius: 0; border: 1px solid var(--line); }
.content-photo .cap { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* 설치사례 상세 본문 */
.case-body { max-width: 640px; margin: 52px auto 0; text-align: center; }
.case-body .photo { border-radius: 0; overflow: hidden; background: var(--hero-tint); border: 1px solid var(--line); }
.case-body .photo img { width: 100%; object-fit: contain; }
.case-body .label { font-size: 13px; color: var(--muted); margin: 14px 0 22px; }
.case-body h2 { font-size: 26px; font-weight: 500; margin: 0 0 22px; letter-spacing: -.3px; }
.case-body .desc { text-align: left; }
.case-body .desc p { font-size: 16px; line-height: 1.9; color: var(--text); }
.back-link { text-align: center; margin: 60px 0 0; }
.back-link a { display: inline-block; font-size: 14.5px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--text); padding-bottom: 2px; }

/* 푸터 */
footer.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 60px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-biz { font-size: 13px; line-height: 2; color: var(--muted); }
.footer-links h4 { font-size: 13px; font-weight: 500; margin: 0 0 16px; letter-spacing: .5px; }
.footer-links a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }

/* 모바일 하단 고정바 */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .nav-menu, .nav-cta { display: none; }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 60px; z-index: 300;
    border-top: 1px solid var(--line); background: #fff;
  }
  .mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 14.5px; font-weight: 500; }
  .mobile-bar a.consult { background: var(--point); color: var(--point-text); }
  .hero__inner, .hero-panel { grid-template-columns: 1fr; padding: 40px 24px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) { .mobile-bar { display: none !important; } }
