/* 볼라드시공 · 범브로빌드 - minimal theme / 스틸네이비 palette */
:root {
  --bg: #FFFFFF;
  --sub: #F5F6F8;
  --text: #1B1F27;
  --muted: #6B7280;
  --primary: #1A3159;
  --accent: #4472B8;
  --border: #E5E5E5;
  --radius: 4px;
  --sp-sm: 12px;
  --sp-md: 24px;
  --sp-lg: 48px;
  --sp-xl: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 720px; }

h1, h2, h3, h4 { font-weight: 300; letter-spacing: -0.01em; margin: 0 0 var(--sp-sm); }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 var(--sp-sm); color: var(--text); }
.section-lead { color: var(--muted); font-size: 16px; max-width: 620px; }

.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
  font-weight: 600;
}

section { padding: var(--sp-xl) 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: none; }
.section-flush { padding-top: var(--sp-lg); padding-bottom: var(--sp-lg); }
.section-tight { padding: var(--sp-lg) 0; }
.bg-sub { background: var(--sub); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1.2; }
.logo-brand-name { font-weight: 700; font-size: 16px; color: var(--primary); }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); width: 40px; height: 40px; font-size: 20px; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 14px 24px; border-top: 1px solid var(--border); font-size: 15px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.header-cta { padding: 10px 20px; font-size: 14px; }

/* hero (단일이미지) */
.hero { position: relative; border-top: none; padding: 0; }
.hero__bg { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,26,.42) 0%, rgba(10,15,26,.05) 45%, transparent 65%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-lg) 0;
  color: #fff;
}
.hero__content .kicker { color: #CFE0F5; }
.hero__title {
  font-size: clamp(32px, 6vw, 56px); font-weight: 300; margin: 0 0 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.hero__lead { color: #EDEFF3; max-width: 560px; text-shadow: 0 1px 6px rgba(0,0,0,.5); font-size: 16px; }
.hero__cta { margin-top: var(--sp-md); }

.hero-sub { padding: var(--sp-lg) 0 var(--sp-md); }
.badge {
  display: inline-block; font-size: 12px; letter-spacing: .06em; color: var(--accent);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 10px; margin-bottom: var(--sp-sm);
}

/* grids: PC 3열 / 모바일 2열 고정 (auto-fit 금지) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-1col-m { }

.card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--bg); transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(20,30,50,.08); }
.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 14px; margin: 0; }

/* 갤러리(단일사진, 사진 전용 카드) */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 1px solid var(--border); }
.gallery-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(to top, rgba(10,15,26,.68), transparent);
  color: #fff; font-size: 13px;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(10,14,22,.92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }

/* 진행 과정 (step list) */
.step-list { display: flex; flex-direction: column; gap: 0; margin-top: var(--sp-md); }
.step-row { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); }
.step-row:first-child { border-top: none; }
.step-row__num { font-size: 14px; color: var(--accent); font-weight: 700; min-width: 28px; }
.step-row__title { margin-bottom: 4px; }
.step-row__desc { color: var(--muted); font-size: 15px; margin: 0; }

/* faq */
.faq-list { margin-top: var(--sp-md); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; padding: 18px 4px; font-size: 16px; font-weight: 600;
  text-align: left; cursor: pointer; color: var(--text);
}
.faq-q .mark { color: var(--accent); font-weight: 400; font-size: 20px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .2s ease; }
.faq-a p { padding: 0 4px 18px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-item.open .mark { transform: rotate(45deg); }

/* cta section */
.cta-section { background: var(--primary); color: #fff; text-align: center; border-top: none; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #C9D6E8; margin-bottom: var(--sp-md); }
.cta-section .btn-row { justify-content: center; }

/* footer */
.site-footer { background: var(--sub); border-top: 1px solid var(--border); padding: var(--sp-lg) 0 var(--sp-md); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.footer-grid h4 { font-size: 13px; color: var(--muted); letter-spacing: .05em; margin-bottom: 12px; }
.footer-grid a { display: block; padding: 4px 0; font-size: 14px; }
.footer-brand { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.meta-note { color: var(--muted); font-size: 13px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: var(--sp-lg); padding-top: var(--sp-md); }
.footer-bottom p { color: var(--muted); font-size: 12px; margin: 0; }

/* sitemap page (텍스트 위주, 가볍게) */
.sitemap-group { margin-top: var(--sp-md); font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 13px; }

/* floating */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab {
  border-radius: 999px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; box-shadow: 0 6px 20px rgba(20,30,50,.25); border: none; cursor: pointer;
}
.fab-top { background: #fff; color: var(--text); border: 1px solid var(--border); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* utility */
.consult-phone-label { color: var(--muted); font-size: 13px; margin-top: var(--sp-md); }
.consult-phone { font-size: 24px; font-weight: 700; color: var(--primary); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .header-cta { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-1col-m.grid-3 { grid-template-columns: 1fr; }
  section { padding: var(--sp-lg) 0; }
  .hero__bg { aspect-ratio: 3/4; }
}
