/* 과천사무실바닥왁스전문 — 오피스 블라인드 라인 패턴 모티프: 그레이 + 스카이블루 */
:root {
  --graphite: #3A4149;
  --graphite-dark: #262B31;
  --graphite-line: #4C555E;
  --sky: #6FB6E0;
  --sky-dark: #3E86AE;
  --paper: #F4F6F7;
  --card: #FFFFFF;
  --ink: #23282D;
  --muted: #5B6469;
}

* { 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: "Do Hyeon", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: var(--sky);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.85rem, 5.2vw, 2.7rem); color: #fff; }
h2 { font-size: clamp(1.28rem, 3.1vw, 1.65rem); color: var(--graphite); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--graphite-dark);
  border-bottom: 2px solid var(--sky-dark);
}
.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: "Do Hyeon", "Noto Sans KR", sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--graphite-line);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--sky);
}
#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: #E4E9EC;
  text-decoration: none;
  border-top: 1px solid var(--graphite-line);
}

/* ---------- blind-line decorations ---------- */
.blind-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  pointer-events: none;
}
.blind-lines span {
  display: block;
  height: 2px;
  background: var(--sky);
  opacity: .12;
}
.blind-lines span:nth-child(3n) { opacity: .22; }

.blind-divider {
  height: 22px;
  background: repeating-linear-gradient(180deg, var(--graphite-line) 0 3px, var(--paper) 3px 9px);
  opacity: .5;
}

/* ---------- hero ---------- */
.hero-section {
  background: var(--graphite-dark);
  position: relative;
  overflow: hidden;
}
.hero-inner { padding-top: 2.5rem; padding-bottom: 3.2rem; position: relative; }
.eyebrow {
  color: var(--sky);
  font-size: .85rem;
  letter-spacing: .05em;
  margin: 0 0 .5rem;
}
.hero-desc {
  color: #DEE3E6;
  max-width: 640px;
  font-size: 1.05rem;
}

/* ---------- pill buttons w/ sky outline ---------- */
.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.3rem;
  font-family: "Do Hyeon", "Noto Sans KR", sans-serif;
  font-size: 1.02rem;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--sky); color: var(--graphite-dark); }
.btn-ghost { background: transparent; color: var(--sky); border: 1px solid var(--sky-dark); }

/* ---------- content ---------- */
.content-section { background: var(--paper); }
.content-section h2 {
  position: relative;
  padding-bottom: .4rem;
  border-bottom: 3px solid var(--sky);
  display: inline-block;
}
.content-section p { color: var(--ink); }
.content-section a { color: var(--sky-dark); text-decoration: underline; }
.content-section ul { padding-left: 1.2em; }
.content-section li { margin-bottom: .8em; }

.table-scroll { overflow-x: auto; margin: 1.2em 0; }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--card); }
.table-scroll th, .table-scroll td { padding: .75em 1em; border-bottom: 1px solid #DEE2E4; text-align: left; font-size: .95rem; }
.table-scroll thead th { background: var(--graphite); color: #fff; border-bottom: 3px solid var(--sky); }
.table-scroll tbody tr:last-child td { border-bottom: none; }
.table-scroll tbody tr:nth-child(even) { background: #EEF3F5; }

/* ---------- CTA ---------- */
.cta-section { background: var(--graphite); }
.cta-section h2 { color: #fff; border-bottom-color: var(--sky); }
.cta-inner p { color: #DEE3E6; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--graphite-dark);
  color: #C7CDD0;
  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: #A4ACB0;
}
.site-footer address a { color: var(--sky); text-decoration: none; }

.last-modified { font-size: .85rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- 관련 페이지 ---------- */
.related-section { background: #E8ECEE; }
.related-section p { color: var(--ink); }
.related-section a { color: var(--sky-dark); text-decoration: underline; }
.related-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 1.4rem;
}
.related-card {
  display: block;
  background: var(--card);
  border-radius: 8px;
  border-left: 4px solid var(--sky);
  padding: 1rem 1.2rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none !important;
  color: var(--graphite) !important;
  transition: background .15s ease, border-color .15s ease;
}
.related-card:hover { background: #EAF3F8; border-left-color: var(--sky-dark); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); }
.faq-section .accordion { max-width: 780px; margin: 0 auto; }
.faq-section .accordion-item { border-radius: 8px; border: 1px solid #D6DBDD; margin-bottom: .8rem; background: var(--card); overflow: hidden; }
.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(--graphite);
  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(--sky-dark); font-size: 1.1rem; flex-shrink: 0; transition: transform .15s ease; }
.faq-section .accordion-trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
.faq-section .accordion-panel { padding: 0 1.2em 1.1em; border-top: 2px solid #EAF0F2; }
.faq-section .accordion-panel p { color: var(--muted); margin: .8em 0 0; }

/* 현장 사진: 1개 큰 사진 + 3개 작은 사진 비대칭 그리드 */
.site-photo-section { max-width: 1040px; margin: 0 auto; padding: 40px 20px; }
.site-photo-section h2 { color: var(--graphite); margin: 0 0 18px; }
.site-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.site-photo-grid picture { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; border: 1px solid #D6DBDD; }
.site-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) {
  .site-photo-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: "a a b c" "a a d d";
  }
  .site-photo-grid .ph-a { grid-area: a; }
  .site-photo-grid .ph-b { grid-area: b; }
  .site-photo-grid .ph-c { grid-area: c; }
  .site-photo-grid .ph-d { grid-area: d; }
  .site-photo-grid picture { aspect-ratio: auto; height: 100%; }
}

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

@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.6rem; padding-bottom: 4.2rem; }
  .related-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .section-inner { padding: 5rem 2rem; }
  .content-section .section-inner { max-width: 900px; }
  .site-photo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .header-inner, .section-inner { max-width: 1280px; }
  .content-section .section-inner { max-width: 960px; margin: 0 auto; }
  .related-cards { grid-template-columns: repeat(6, 1fr); }
}
