/* 서울바닥왁스전문 — 대리석 마블 텍스처 콘셉트: 블랙 + 골드 */
:root {
  --onyx: #17140F;
  --onyx-dark: #0C0A07;
  --onyx-line: #3A3226;
  --gold: #C9A24B;
  --gold-soft: #E7CE8C;
  --paper: #F7F4EC;
  --card: #FFFFFF;
  --ink: #201C14;
  --muted: #5C5540;
}

* { 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.4;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.8rem, 5.2vw, 2.7rem); color: var(--gold-soft); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--onyx); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--onyx-dark);
  border-bottom: 1px solid var(--gold);
}
.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.2rem;
  color: var(--gold-soft);
  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(--onyx-line);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--gold);
}
#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: #EDE4CE;
  text-decoration: none;
  border-top: 1px solid var(--onyx-line);
}

/* ---------- marble & gold decorations ---------- */
.marble-vein {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(201,162,75,.35), transparent 60%),
    radial-gradient(ellipse 50% 30% at 85% 70%, rgba(231,206,140,.25), transparent 60%),
    linear-gradient(115deg, transparent 40%, rgba(201,162,75,.18) 41%, transparent 43%),
    linear-gradient(70deg, transparent 60%, rgba(201,162,75,.14) 61%, transparent 63%);
}

.gold-divider {
  height: 22px;
  background: var(--paper);
  position: relative;
}
.gold-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-soft) 50%, var(--gold) 80%, transparent);
  opacity: .8;
}

/* ---------- hero ---------- */
.hero-section {
  background: linear-gradient(160deg, var(--onyx-dark) 0%, var(--onyx) 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; position: relative; }
.eyebrow {
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
  position: relative;
}
.hero-desc {
  color: #E9E2CE;
  max-width: 640px;
  font-size: 1.05rem;
  position: relative;
}

/* ---------- buttons ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; position: relative; }
.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;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--onyx-dark); }
.btn-ghost { background: transparent; color: var(--gold-soft); border: 1px solid var(--gold); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 { position: relative; padding-bottom: .4rem; }
.content-section h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.content-section p { color: var(--ink); }
.content-section a { color: #8A6D22; text-decoration: underline; }

.table-scroll { overflow-x: auto; margin: 1.2rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--card); }
thead th { background: var(--onyx); color: var(--gold-soft); font-weight: 700; }
th, td { padding: .75rem 1rem; text-align: left; border: 1px solid #E7DFC9; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-section { background: var(--onyx); }
.cta-section h2 { color: var(--gold-soft); }
.cta-inner p { color: #E9E2CE; }

.last-modified {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--onyx-dark);
  color: #C7BC9C;
  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: #B2A683;
}
.site-footer address a { color: var(--gold); 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: #EFE8D4; }
.related-section h2 { color: var(--onyx); }
.related-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  margin-top: 1.2rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--card);
  border: 1px solid #DDCFA4;
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.related-card:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(201,162,75,.25); }
.rc-title { color: #8A6D22; font-weight: 700; font-size: 1rem; }
.rc-desc { color: var(--muted); font-size: .85rem; }
@media (min-width: 640px) { .related-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-cards { 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 #DDCFA4; 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(--onyx);
  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: '+'; color: #8A6D22; font-size: 1.3rem; flex-shrink: 0; }
.faq-section .accordion-trigger[aria-expanded="true"]::after { content: '\2212'; }
.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(--onyx); margin: 0 0 18px; }
.site-photo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border: 1px solid #DDCFA4; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
