/* 서울사무실바닥왁스전문 — 유리빌딩 격자 패턴 콘셉트: 슬레이트그레이 + 시안 */
:root {
  --slate: #38424E;
  --slate-dark: #232A32;
  --slate-line: #4C5762;
  --cyan: #4FD8E0;
  --cyan-deep: #2AA6B4;
  --paper: #EEF2F4;
  --card: #FFFFFF;
  --ink: #1D2529;
  --muted: #56636B;
}

* { 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: "Gothic A1", "Noto Sans KR", sans-serif;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); color: #fff; }
h2 { font-size: clamp(1.2rem, 3vw, 1.55rem); color: var(--slate-dark); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--slate-dark);
  border-bottom: 1px solid var(--cyan-deep);
}
.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: "Gothic A1", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  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(--slate-line);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--cyan);
}
#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: #E4EDEF;
  text-decoration: none;
  border-top: 1px solid var(--slate-line);
}

/* ---------- glass grid decorations ---------- */
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79,216,224,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,216,224,.16) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
}

.grid-divider {
  height: 20px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.grid-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, var(--cyan-deep) 0 2px, transparent 2px 34px);
  opacity: .4;
}

/* ---------- hero ---------- */
.hero-section {
  background: linear-gradient(150deg, var(--slate-dark) 0%, var(--slate) 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3rem; position: relative; }
.eyebrow {
  color: var(--cyan);
  font-size: .85rem;
  letter-spacing: .05em;
  margin: 0 0 .5rem;
  position: relative;
}
.hero-desc {
  color: #DCE7E9;
  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: "Gothic A1", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--cyan-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 {
  display: inline-block;
  padding: .1em .1em .1em 0;
  background-image: linear-gradient(180deg, transparent 72%, rgba(79,216,224,.35) 72%);
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--cyan-deep); 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(--slate-dark); color: #fff; font-weight: 700; }
th, td { padding: .75rem 1rem; text-align: left; border: 1px solid #D6DEE1; font-size: .95rem; }

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

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

/* ---------- footer ---------- */
.site-footer {
  background: var(--slate-dark);
  color: #C7D2D5;
  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: #9FB0B4;
}
.site-footer address a { color: var(--cyan); 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: #E2E9EC; }
.related-section h2 { color: var(--slate-dark); }
.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 #C6D2D6;
  border-top: 3px solid var(--cyan-deep);
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
.related-card:hover { box-shadow: 0 6px 18px rgba(42,166,180,.2); transform: translateY(-2px); }
.rc-title { color: var(--cyan-deep); 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 #C6D2D6; 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(--slate-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: '+'; color: var(--cyan-deep); 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(--slate-dark); 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 #C6D2D6; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .site-photo-grid { grid-template-columns: repeat(2, 1fr); } }
