/* 고양바닥왁스전문 — 실크 광택 스와치 콘셉트: 펄화이트 + 로즈골드, 둥근 스와치 카드 */
:root {
  --rose: #B76E79;
  --rose-dark: #8F4A55;
  --rose-line: #D9A6AE;
  --pearl: #F7F1EC;
  --pearl-dark: #EADFD5;
  --paper: #FDFAF7;
  --card: #FFFFFF;
  --ink: #332423;
  --muted: #6B5A57;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

h1, h2 {
  font-family: "Song Myung", "Noto Sans KR", serif;
  font-weight: 400;
  line-height: 1.35;
  color: var(--rose-dark);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.8rem, 5.2vw, 2.7rem); color: #fff; }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); color: var(--rose-dark); }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #2B2020;
  border-bottom: 3px solid var(--rose);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: "Song Myung", "Noto Sans KR", serif;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--rose-line);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--rose);
}
#primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  display: block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 .5rem;
  color: #F3E4E6;
  text-decoration: none;
  border-top: 1px solid #4A3A3A;
}

/* ---------- swatch decorations ---------- */
.swatch-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  background: #2B2020;
}
.swatch-row .swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--pearl));
  opacity: .7;
}
.swatch-row .swatch:nth-child(2n) { opacity: .4; }
.swatch-row .swatch:nth-child(3) { opacity: 1; }

.swatch-divider {
  height: 36px;
  background: repeating-linear-gradient(
    100deg,
    var(--rose) 0 18px,
    var(--pearl-dark) 18px 36px,
    var(--rose-line) 36px 54px
  );
  opacity: .35;
}

/* ---------- hero ---------- */
.hero-section {
  background: #2B2020;
  position: relative;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; }
.eyebrow {
  color: var(--rose-line);
  font-size: .85rem;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #EEDDE0;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .9rem 2.1rem;
  font-family: "Song Myung", "Noto Sans KR", serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: .03em;
  transition: opacity .15s ease;
  position: relative;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--rose); color: #fff; }
.btn-ghost { background: transparent; color: var(--rose-line); border: 1px solid var(--rose-line); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 { position: relative; padding-left: 1.3rem; }
.content-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--pearl-dark));
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--rose-dark); text-decoration: underline; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; background: var(--card); box-shadow: 0 1px 0 var(--pearl-dark); }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--pearl-dark); font-size: .95rem; }
th { background: var(--pearl); color: var(--rose-dark); font-weight: 700; }
tr:last-child td { border-bottom: none; }

/* ---------- CTA ---------- */
.cta-section { background: var(--rose); }
.cta-section h2 { color: #fff; }
.cta-inner p { color: #FBEFEF; }

/* ---------- footer ---------- */
.site-footer {
  background: #2B2020;
  color: #D8C4C6;
  padding: 1rem 1.25rem;
}
.site-footer address {
  max-width: 1080px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.5;
  color: #BFA6A9;
}
.site-footer address a { color: var(--rose-line); text-decoration: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  .btn { padding: .9rem 2.4rem; }
}

@media (min-width: 768px) {
  .header-inner { padding: 16px 32px; }
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
  }
  #primary-nav a {
    border-top: none;
    min-height: auto;
    line-height: normal;
    padding: 0;
  }
  .section-inner { padding: 4rem 2rem; }
  .hero-inner { padding-top: 3.5rem; padding-bottom: 4rem; }
}

@media (min-width: 1024px) {
  .section-inner { padding: 5rem 2rem; }
  .content-section .section-inner { max-width: 900px; }
}

@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1280px; }
  .content-section .section-inner { max-width: 960px; margin: 0 auto; }
}

/* ---------- 관련 페이지 ---------- */
.related-section { background: var(--pearl); }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--card);
  border-radius: 6px;
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  border-top: 3px solid var(--rose);
  box-shadow: 0 2px 10px rgba(183,110,121,.12);
  transition: box-shadow .15s ease, transform .15s ease;
}
.related-card:hover { box-shadow: 0 6px 18px rgba(183,110,121,.22); transform: translateY(-2px); }
.related-card-title { font-weight: 700; color: var(--rose-dark); }
.related-card-desc { font-size: .85rem; color: var(--muted); }
.updated-note { margin-top: 1.4rem; font-size: .82rem; color: var(--muted); }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border: 1px solid var(--pearl-dark); border-radius: 4px; margin-bottom: .8rem; background: var(--card); }
.faq-section .accordion-item h3 { margin: 0; font-size: 1rem; }
.faq-section .accordion-trigger {
  width: 100%;
  text-align: left;
  min-height: 44px;
  background: none;
  border: none;
  color: var(--rose-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
}
.faq-section .accordion-trigger::after { content: '\25CB'; color: var(--rose); font-size: 1rem; flex-shrink: 0; }
.faq-section .accordion-trigger[aria-expanded="true"]::after { content: '\25CF'; }
.faq-section .accordion-panel { padding: 0 1.2em 1.1em; }
.faq-section .accordion-panel p { color: var(--muted); margin: 0; }

/* 현장 사진 */
.site-photo-section { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--rose-dark); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 50%/12%; position: relative; }
.site-photo-grid picture::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%/12%;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.7);
  pointer-events: none;
}
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
