/* W.N 소신 — 외벽실리콘제거 정적 사이트 스타일 */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f0;
  --bg-muted: #eef1f3;
  --text: #262a2e;
  --text-soft: #5b6168;
  --navy: #1f3350;
  --navy-dark: #16263c;
  --border: #e4e1d8;
  --white: #ffffff;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-muted { background: var(--bg-muted); }
.section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
}
.section-desc {
  text-align: center;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--navy); }
.brand svg { width: 26px; height: 26px; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--text); }
.main-nav a:hover { color: var(--navy); }
.main-nav a.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; }

/* 히어로 */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f7f5f0 0%, #ffffff 100%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--navy-dark);
}
.hero-lead {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--text-soft);
  font-size: 16px;
}
.hero-lead p { margin: 0 0 10px; }
.hero-figure { max-width: 760px; margin: 0 auto 30px; }
.hero-figure img {
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* 히어로 전후 슬라이더 (밀어서 보기) */
.hero-figure { position: relative; }
.hero-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.hero-slider.dragging { cursor: grabbing; scroll-snap-type: none; }
.hero-slider::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; margin: 0; }
.hero-slide img { width: 100%; height: auto; display: block; margin: 0; border-radius: var(--radius); border: 1px solid var(--border); -webkit-user-drag: none; }
.hero-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(22,38,60,0.15);
  z-index: 3;
}
.hero-nav:hover { background: var(--navy); color: var(--white); }
.hero-prev { left: -8px; }
.hero-next { right: -8px; }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.hero-dots .dot.active { background: var(--navy); }
@media (max-width: 640px) {
  .hero-nav { width: 38px; height: 38px; font-size: 18px; }
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.badge {
  background: var(--bg-muted);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--bg-muted); }
.btn-block { width: 100%; }

/* 카드 그리드 (5개처럼 나눠떨어지지 않아도 마지막 줄이 가운데 정렬되도록 flex 사용) */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  max-width: 340px;
}
.card figure { margin: 0; background: var(--bg-muted); }
.card figure img { width: 100%; height: 190px; object-fit: cover; margin: 0 auto; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 17px; }
.card-body p { margin: 0; color: var(--text-soft); font-size: 14px; flex: 1; }
.card-link { margin-top: 6px; font-weight: 700; color: var(--navy); font-size: 14px; }
.card-link::after { content: " →"; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.photo-grid figure { margin: 0; text-align: center; }
.photo-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0 auto 8px;
}
.photo-grid figcaption { font-size: 13px; color: var(--text-soft); }

/* 세부페이지 전용: 3열 x 2행 (5장 중 마지막 2장은 가운데 정렬), 큰 사이즈, 스크롤 없음 */
.photo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.photo-row figure { flex: 1 1 320px; max-width: 340px; margin: 0; text-align: center; }
.photo-row img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0 auto 10px;
}
.photo-row figcaption { font-size: 14px; color: var(--text-soft); }
@media (max-width: 860px) {
  .photo-row figure { flex-basis: calc(50% - 11px); max-width: calc(50% - 11px); }
  .photo-row img { height: 220px; }
}
@media (max-width: 640px) {
  .photo-row figure { flex-basis: 100%; max-width: 100%; }
  .photo-row img { height: 220px; }
}

/* 이유/요약 카드 3개 */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.reason-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}
.reason-card h3 { margin: 0 0 8px; font-size: 16px; }
.reason-card p { margin: 0; color: var(--text-soft); font-size: 14px; }

/* 프로세스 */
.step-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step-item .step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
}
.step-item h3 { margin: 0 0 6px; font-size: 16px; }
.step-item p { margin: 0; color: var(--text-soft); font-size: 14px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
}
.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
  color: var(--text-soft);
  font-size: 14px;
}
.faq-item.open .faq-answer { padding: 0 20px 20px; }

/* CTA 배너 */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { margin: 0 0 14px; font-size: 24px; }
.cta-band p { margin: 0 0 26px; color: #cdd6e2; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--navy); }
.cta-band .btn-primary:hover { background: #e9edf2; }

/* 뒤로가기 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
}
.back-link::before { content: "←"; }

/* 사업자 정보 / 사이트맵 */
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.info-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; }
.info-box dt { color: var(--text-soft); font-size: 14px; }
.info-box dd { margin: 0; font-size: 14px; font-weight: 600; }

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sitemap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.sitemap-card h3 { margin: 0 0 10px; font-size: 16px; }
.sitemap-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sitemap-card a { font-size: 14px; color: var(--navy); font-weight: 600; }
.sitemap-card a:hover { text-decoration: underline; }

/* 푸터 */
.site-footer {
  background: var(--navy-dark);
  color: #c9d2dd;
  padding: 34px 0 90px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-inner a.sitemap-link {
  display: inline-block;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-info { font-size: 13px; color: #9fabb9; line-height: 1.9; margin: 0; }

/* 전화상담 플로팅 (PC) */
.floating-call {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(22,38,60,0.35);
  z-index: 200;
}
.floating-call svg { width: 26px; height: 26px; }

/* 모바일 하단 고정 전화상담 */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  font-size: 15px;
}

/* 반응형 */
@media (max-width: 860px) {
  .card { flex-basis: calc(50% - 11px); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav { position: fixed; top: 62px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .main-nav.open { max-height: 320px; }
  .main-nav a { padding: 16px 20px; border-top: 1px solid var(--border); }
  .main-nav a.nav-cta { margin: 14px 20px; text-align: center; border-radius: 999px; }
  .nav-toggle { display: block; position: relative; }
  .nav-toggle::before, .nav-toggle::after, .nav-toggle span {
    position: absolute; left: 8px; right: 8px; height: 2px; background: var(--navy-dark);
  }
  .nav-toggle::before { top: 11px; }
  .nav-toggle span { top: 17px; }
  .nav-toggle::after { top: 23px; }

  .hero h1 { font-size: 26px; }
  section { padding: 44px 0; }
  .card { flex-basis: 100%; max-width: 100%; }
  .step-list { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: 1fr; }
  .info-box dl { grid-template-columns: auto 1fr; }

  .floating-call { display: none; }
  .mobile-call-bar { display: block; }
  .site-footer { padding-bottom: 92px; }
}
