/* W.N 소신 - 외벽 실리콘 제거 공통 스타일 */

:root {
  --blue-900: #0e3a66;
  --blue-700: #14539a;
  --blue-600: #1c6dd0;
  --blue-500: #2f7fe0;
  --blue-100: #eaf3fc;
  --blue-50: #f5f9fd;
  --ink: #1b2733;
  --ink-soft: #4a5866;
  --line: #dce6f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 58, 102, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  padding-bottom: 64px; /* 하단 고정 전화상담 바 공간 확보 */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--blue-50);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 30px;
  margin: 0 0 12px;
  color: var(--blue-900);
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--blue-900);
  white-space: nowrap;
}

.brand-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--blue-600);
}

.main-nav .nav-cta {
  background: var(--blue-600);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
}

.main-nav .nav-cta:hover {
  background: var(--blue-700);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue-900);
}

/* 뒤로 가기 */
.back-bar {
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  font-weight: 700;
  color: var(--blue-700);
  font-size: 14px;
}

.back-link:hover {
  color: var(--blue-900);
}

/* 히어로 */
.hero {
  background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 60%);
  padding: 80px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  flex: 1.1;
}

.hero-visual {
  flex: 0.9;
}

.hero-copy .eyebrow {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: 46px;
  line-height: 1.3;
  color: var(--blue-900);
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
}

.hero-copy .sub-copy {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-700);
  color: var(--white);
}

.btn-outline {
  border-color: var(--blue-600);
  color: var(--blue-700);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--blue-100);
}

/* NSEO 카드 그리드 (가로 5열) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.nseo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease;
}

.nseo-card:hover {
  transform: translateY(-4px);
}

.nseo-card img {
  border-radius: 0;
  margin: 0;
}

.nseo-card .card-label {
  padding: 16px 12px;
  font-weight: 700;
  color: var(--blue-900);
  font-size: 15px;
}

/* 시공 프로세스 */
.table-wrap {
  overflow-x: auto;
}

.process-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-table th,
.process-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.process-table th {
  background: var(--blue-50);
  color: var(--blue-900);
  font-size: 14px;
}

.process-table td:first-child {
  width: 160px;
  font-weight: 700;
  color: var(--blue-700);
  white-space: nowrap;
}

.process-table tr:last-child td {
  border-bottom: none;
}

/* 시공 전후 비교 */
.compare-wrap {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.compare-col {
  flex: 1 1 50%;
  text-align: center;
}

.compare-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.compare-tag {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  color: var(--blue-700);
  font-size: 16px;
}

.article-body {
  max-width: 820px;
  margin: 48px auto 0;
  font-size: 16px;
  color: var(--ink-soft);
}

.article-body p {
  margin: 0 0 20px;
}

/* 한눈에 보는 요약 카드형 정보 그리드 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 48px auto 0;
}

.info-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-item .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 800;
  margin-bottom: 14px;
}

.info-item h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 18px;
}

.info-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* FAQ 아코디언 */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--blue-600);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  content: "\2212";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
  color: var(--ink-soft);
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* 상담 페이지 */
.consult-panel {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.consult-panel .thumb {
  flex: 0 0 320px;
}

.consult-panel .info {
  flex: 1;
}

.consult-panel h2 {
  color: var(--blue-900);
  font-size: 26px;
  margin-top: 0;
}

.phone-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--blue-100);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 20px 0;
}

.phone-box .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-900);
}

/* 사이트맵 카드 */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sitemap-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sitemap-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 18px;
}

.sitemap-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.sitemap-card .go {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 14px;
}

/* 푸터 */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 28px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
}

.footer-brand .brand-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--white));
}

.footer-info {
  font-size: 14px;
  line-height: 1.9;
}

.footer-links a {
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--blue-100);
}

.footer-bottom {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* 하단 고정 전화상담 바 */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--blue-600);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.call-bar .phone-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--white);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .consult-panel {
    flex-direction: column;
  }

  .consult-panel .thumb {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .compare-wrap {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .section {
    padding: 48px 0;
  }

  .footer-top {
    flex-direction: column;
  }
}
