/* ============================================================
   page-accessory-work.css
   부속 공사 항목 — 방진 마운트·캔버스 커넥터·벨트풀리·인버터·
   마그네트 스위치·방수 후드 카드 그리드 페이지 전용 스타일
   Title/Body: Noto Sans KR 700 / 400
   Layout signature: 6 부속 카드 그리드 + 비교표 + 사례 카드 + 아코디언
   Animation: hover only (scroll-reveal 미사용)
   ============================================================ */

:root {
  --cta-primary: #4C1D95;
  --cta-secondary: #F5F3FF;
  --aw-ink: #3B0764;
  --aw-deep: #4C1D95;
  --aw-accent: #7C3AED;
  --aw-line: #DDD6FE;
  --aw-r-xs: 8px;
  --aw-r-sm: 14px;
  --aw-r-md: 22px;
  --aw-r-lg: 34px;
  --aw-pad-y: 64px;
}

body { font-family: 'Noto Sans KR', -apple-system, sans-serif; font-weight: 400; background: #F5F3FF; color: var(--aw-ink); }
h1, h2, h3 { font-family: 'Noto Sans KR', sans-serif; font-weight: 700; color: var(--aw-deep); letter-spacing: -.01em; }

/* ---- divider: soft line with hollow ring marker (distinct from other pages) ---- */
.aw-divider { display: flex; align-items: center; gap: 14px; margin: 0 0 var(--aw-pad-y); max-width: 1080px; padding: 0 20px; margin-left: auto; margin-right: auto; }
.aw-divider::before,
.aw-divider::after { content: ""; flex: 1; height: 1px; background: var(--aw-line); }
.aw-divider span { width: 14px; height: 14px; border: 3px solid var(--aw-accent); border-radius: 50%; flex-shrink: 0; background: #fff; }

/* ---- intro ---- */
.aw-intro { max-width: 860px; margin: 0 auto; padding: 56px 20px 40px; text-align: center; }
.aw-intro__eyebrow { color: var(--aw-accent); font-weight: 700; font-size: .9rem; letter-spacing: .1em; margin-bottom: 14px; }
.aw-intro h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin-bottom: 22px; }
.aw-intro p { color: #4C1D95; line-height: 1.9; }

/* ---- section shell ---- */
.aw-section { max-width: 1080px; margin: 0 auto; padding: 0 20px var(--aw-pad-y); }
.aw-section h2 { font-size: 1.4rem; margin-bottom: 26px; padding: 10px 20px; background: #fff; border-radius: var(--aw-r-xs) var(--aw-r-md); box-shadow: 0 2px 0 var(--aw-accent); display: inline-block; }
.aw-section > p { margin-bottom: 14px; line-height: 1.85; color: #4C1D95; }

/* ---- 6 accessory cards ---- */
.aw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aw-card {
  background: #fff; border-radius: var(--aw-r-md); padding: 26px 24px;
  border: 1px solid var(--aw-line); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.aw-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(76,29,149,.16); border-color: var(--aw-accent); }
.aw-card__tag {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  background: var(--cta-secondary); color: var(--aw-deep); font-weight: 700; font-size: .85rem;
  border-radius: var(--aw-r-xs); margin-bottom: 14px;
}
.aw-card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.aw-card p { margin-bottom: 8px; font-size: .9rem; line-height: 1.7; color: #4C1D95; }
.aw-card p:last-child { margin-bottom: 0; }
.aw-card strong { color: var(--aw-deep); }

@media (max-width: 900px) {
  .aw-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .aw-cards { grid-template-columns: 1fr; }
}

/* ---- 점검 주기 비교표 ---- */
.aw-table-wrap { overflow-x: auto; border-radius: var(--aw-r-lg) var(--aw-r-xs); border: 2px solid var(--aw-deep); background: #fff; }
.aw-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.aw-table th, .aw-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--aw-line); }
.aw-table thead th { background: var(--aw-deep); color: #F5F3FF; font-weight: 700; }
.aw-table tbody th { background: var(--cta-secondary); color: var(--aw-deep); font-weight: 700; white-space: nowrap; }
.aw-table tbody tr:last-child td, .aw-table tbody tr:last-child th { border-bottom: none; }
.aw-table tbody tr:hover td, .aw-table tbody tr:hover th { background: #EDE9FE; }
.aw-note { font-size: .84rem; color: var(--aw-accent); margin-top: 12px; }

/* ---- 현장 사례 카드 ---- */
.aw-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aw-case {
  background: #fff; border-radius: var(--aw-r-sm); padding: 22px;
  border-left: 4px solid var(--aw-accent); transition: transform .18s ease, box-shadow .18s ease;
}
.aw-case:hover { transform: translateY(-5px); box-shadow: 0 12px 22px rgba(76,29,149,.14); }
.aw-case__label {
  display: inline-block; font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--aw-accent); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.aw-case h3 { font-size: 1.02rem; margin-bottom: 10px; }
.aw-case p { margin-bottom: 0; font-size: .89rem; color: #4C1D95; line-height: 1.75; }

@media (max-width: 900px) {
  .aw-cases { grid-template-columns: 1fr; }
}

/* ---- 오해 바로잡기 아코디언 (details/summary) ---- */
.aw-faq { display: flex; flex-direction: column; gap: 10px; }
.aw-faq details { border: 1px solid var(--aw-line); border-radius: var(--aw-r-xs); padding: 4px 18px; background: #fff; transition: box-shadow .18s ease, border-color .18s ease; }
.aw-faq details:hover { box-shadow: 0 6px 16px rgba(76,29,149,.12); border-color: var(--aw-accent); }
.aw-faq summary { padding: 14px 0; font-weight: 700; color: var(--aw-deep); font-size: 1rem; position: relative; padding-right: 30px; }
.aw-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.3rem; color: var(--aw-accent); font-weight: 400;
}
.aw-faq details[open] summary::after { content: "\2212"; }
.aw-faq .aw-faq-a { padding: 0 0 16px; color: #4C1D95; line-height: 1.8; }

/* ---- exactly one animation type on this page: CSS-only hover (no scroll-reveal) ---- */
@media (prefers-reduced-motion: reduce) {
  .aw-card, .aw-case, .aw-faq details { transition: none; }
}

@media (max-width: 480px) {
  .aw-section h2 { font-size: 1.15rem; }
  .aw-card, .aw-case { padding: 18px; }
}
