/* W.N 소신 - 싱크대교체 정적 사이트 공통 스타일 */

:root {
  --white: #ffffff;
  --light-gray: #f4f5f6;
  --beige: #f7f0e4;
  --deep-gray: #33363c;
  --text: #2b2d33;
  --navy: #1c3557;
  --navy-light: #2c4a73;
  --border: #e4e2dd;
  --radius: 12px;
  --max-width: 1120px;
  --shadow-soft: 0 2px 14px rgba(28, 53, 87, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.logo-icon {
  width: 30px;
  height: 30px;
  color: var(--navy);
  flex-shrink: 0;
}

.main-nav .nav-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.main-nav .nav-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--deep-gray);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav .nav-list a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--beige) 0%, var(--white) 100%);
  padding: 64px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  max-width: 20ch;
}

.hero-subtitle {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-gray);
  max-width: 40ch;
}

.hero-body {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--text);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 28px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* ---------- 사진 플레이스홀더 카드 ---------- */
.photo-card {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  margin: 0;
  border: 1px solid var(--border);
}

.photo-card svg {
  width: 25%;
  min-width: 44px;
  max-width: 72px;
  color: var(--navy);
}

.photo-card figcaption {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 26ch;
}

.ph-tone-1 { background: linear-gradient(135deg, #f7f0e4 0%, #efe4cf 100%); }
.ph-tone-2 { background: linear-gradient(135deg, #eef1f4 0%, #dde4eb 100%); }
.ph-tone-3 { background: linear-gradient(135deg, #f4f5f6 0%, #e9ebee 100%); }
.ph-tone-4 { background: linear-gradient(135deg, #eef3f0 0%, #dee9e2 100%); }
.ph-tone-5 { background: linear-gradient(135deg, #f0eef4 0%, #e1dcea 100%); }

.hero-visual .photo-card {
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

/* ---------- 지그재그 섹션 ---------- */
.nseo-section {
  padding: 72px 0;
}

.bg-light {
  background: var(--light-gray);
}

.bg-white {
  background: var(--white);
}

.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.zigzag-media {
  order: 1;
}

.zigzag-content {
  order: 2;
}

.zigzag.reverse .zigzag-media {
  order: 2;
}

.zigzag.reverse .zigzag-content {
  order: 1;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--beige);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.zigzag-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  max-width: 22ch;
}

.zigzag-highlight {
  margin-top: 16px;
  font-weight: 700;
  color: var(--deep-gray);
  font-size: 1.05rem;
  max-width: 40ch;
}

.zigzag-body {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--text);
  max-width: 44ch;
}

.checklist {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
}

.checklist svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.mini-contact-box {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.mini-contact-box h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.mini-contact-box p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 42ch;
}

.mini-contact-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.detail-link {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
}

/* ---------- 시공 전후 섹션 ---------- */
.cases-section {
  padding: 80px 0;
  background: var(--white);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
}

.section-heading p {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--text);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-set {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 20px;
}

.case-set-label {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.case-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.case-pair .photo-card {
  aspect-ratio: 1 / 1;
  padding: 12px;
}

.case-pair .photo-card svg {
  min-width: 32px;
  max-width: 48px;
}

.case-pair .photo-card figcaption {
  font-size: 0.78rem;
}

.case-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

/* ---------- 확인 카드 / 사진 준비 카드 ---------- */
.card-section {
  padding: 72px 0;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.info-card .info-icon {
  width: 46px;
  height: 46px;
  color: var(--navy);
  margin: 0 auto 14px;
}

.info-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- 작업 과정 보드 ---------- */
.process-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
}

.process-step .step-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.process-step p {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- FAQ 아코디언 ---------- */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--text);
  font-size: 0.96rem;
  background: var(--white);
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 72px 0;
  background: var(--navy);
  text-align: center;
}

.cta-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  max-width: 28ch;
  margin: 0 auto;
}

.cta-section p {
  margin-top: 16px;
  font-size: 1rem;
  color: #d8e0ea;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-actions {
  margin-top: 28px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--navy);
}

.cta-section .btn-primary:hover {
  background: var(--beige);
}

/* ---------- 상세페이지 공통 ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--beige) 0%, var(--white) 100%);
  padding: 48px 0 60px;
  text-align: center;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--deep-gray);
  padding: 8px 0;
  margin-bottom: 20px;
}

.back-button svg {
  width: 18px;
  height: 18px;
}

.page-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  max-width: 20ch;
  margin: 0 auto;
}

.page-hero .hero-subtitle,
.page-hero .hero-body {
  margin-left: auto;
  margin-right: auto;
}

.page-hero .hero-badges {
  justify-content: center;
}

.page-hero .hero-actions {
  display: flex;
  justify-content: center;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  max-width: 30ch;
  margin: 0 auto 28px;
}

.content-section .body-text {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
}

.content-section .checklist {
  max-width: 560px;
  margin: 20px auto 0;
}

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

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

.sitemap-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.sitemap-card p {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--text);
}

.sitemap-card a.detail-link {
  display: inline-block;
  margin-top: 14px;
}

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--deep-gray);
  color: #d7d8db;
  padding: 40px 0 96px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info p {
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer-brand {
  font-weight: 800;
  color: var(--white);
  font-size: 1.05rem;
}

.footer-links a {
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid #6b6d73;
  padding-bottom: 2px;
}

.footer-copyright {
  margin-top: 24px;
  font-size: 0.8rem;
  color: #9a9ba0;
}

/* ---------- 전화상담 플로팅 버튼 ---------- */
.floating-call-btn {
  position: fixed;
  right: 28px;
  bottom: 40px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(28, 53, 87, 0.28);
}

.floating-call-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-call-bar {
  display: none;
}

/* ---------- 반응형 ---------- */
@media (max-width: 860px) {
  .hero-inner,
  .zigzag {
    grid-template-columns: 1fr;
  }

  .zigzag-media {
    order: 1 !important;
  }

  .zigzag-content {
    order: 2 !important;
  }

  .hero-visual {
    order: -1;
  }

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

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

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

  .hero h1,
  .page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .main-nav .nav-list {
    gap: 18px;
    justify-content: center;
  }

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

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

  .floating-call-btn {
    display: none;
  }

  .mobile-call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--navy);
  }

  .mobile-call-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-weight: 700;
    padding: 16px 0;
    font-size: 1rem;
  }

  .mobile-call-bar svg {
    width: 20px;
    height: 20px;
  }

  .site-footer {
    padding-bottom: 100px;
  }

  body {
    padding-bottom: 0;
  }
}
