/* ============================================================
   PACER 자녀교육권부모연합 — 공통 스타일
   브랜드: 네이비 #1F3557 / 로즈 #DD6E86 / 스카이블루 #6E9EDB
   서체: Noto Serif KR(제목) + Pretendard(본문)
   ============================================================ */

:root {
  --navy: #1F3557;
  --navy-deep: #16263F;
  --rose: #DD6E86;
  --rose-soft: #FBF0F2;
  --blue: #6E9EDB;
  --blue-soft: #EEF4FB;
  --ink: #2A3648;
  --gray: #5B6779;
  --line: #E3E9F2;
  --paper: #FDFEFF;
  --bg: #F7F9FC;
  --radius: 14px;
  --maxw: 1120px;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 17px;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 254, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }

.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  display: block; padding: 10px 14px;
  font-weight: 600; font-size: 15.5px; color: var(--navy);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: var(--blue-soft); }
.main-nav a.active { color: var(--rose); }
.main-nav a.active::after {
  content: ''; display: block; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--rose) 50%, var(--blue) 50%);
  margin-top: 2px;
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2.5px; margin: 5px auto;
  background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(31, 53, 87, 0.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 16.5px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- 시그니처: 두 손 모티프 ---------- */
.hands-mark {
  display: inline-flex; gap: 5px; margin-bottom: 18px;
}
.hands-mark i {
  width: 34px; height: 7px; border-radius: 4px;
}
.hands-mark i:first-child { background: var(--rose); transform: rotate(-4deg); }
.hands-mark i:last-child { background: var(--blue); transform: rotate(4deg); }

/* ---------- 히어로 (홈) ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--blue-soft) 0%, transparent 60%),
    radial-gradient(800px 450px at 5% 110%, var(--rose-soft) 0%, transparent 55%),
    var(--paper);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero-eyebrow {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 900; line-height: 1.42;
  color: var(--navy); max-width: 21em;
}
.hero h1 .accent { color: var(--rose); }
.hero-sub {
  margin-top: 26px; font-size: clamp(17px, 2vw, 19.5px);
  color: var(--gray); max-width: 38em;
}
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 8px 20px rgba(31, 53, 87, 0.25);
}
.btn-outline {
  border: 2px solid var(--navy); color: var(--navy);
}

/* ---------- 페이지 상단 (서브페이지) ---------- */
.page-head {
  background:
    linear-gradient(115deg, var(--blue-soft) 0%, var(--paper) 55%, var(--rose-soft) 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 60px;
}
.page-head .crumb {
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--blue); margin-bottom: 14px; text-transform: uppercase;
}
.page-head h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(28px, 4vw, 42px); color: var(--navy);
}
.page-head p { margin-top: 16px; color: var(--gray); max-width: 44em; font-size: 17.5px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 84px 0; }
.section.tint-blue { background: var(--blue-soft); }
.section.tint-rose { background: var(--rose-soft); }
.section.tint-navy { background: var(--navy); color: #E8EEF7; }

.section-head { margin-bottom: 48px; }
.section-head .label {
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--rose); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(24px, 3.2vw, 34px); color: var(--navy); line-height: 1.4;
}
.tint-navy .section-head h2 { color: #fff; }
.tint-navy .section-head .label { color: var(--blue); }
.section-head .desc { margin-top: 14px; color: var(--gray); max-width: 46em; }
.tint-navy .section-head .desc { color: #B9C7DC; }

/* ---------- 카드 ---------- */
.card-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 53, 87, 0.1);
}
.card h3 {
  font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px;
}
.card p { font-size: 15.5px; color: var(--gray); }
.card .num {
  font-family: var(--serif); font-size: 15px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  color: #fff;
}
.card:nth-child(odd) .num { background: var(--rose); }
.card:nth-child(even) .num { background: var(--blue); }

/* ---------- 인용/전문 블록 ---------- */
.charter {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 6px solid; border-image: linear-gradient(180deg, var(--rose), var(--blue)) 1;
  padding: 36px 40px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 18px; line-height: 2; color: var(--ink);
}
.charter p + p { margin-top: 1.2em; }

/* ---------- 조직도 ---------- */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node {
  background: var(--paper); border: 2px solid var(--navy);
  color: var(--navy); font-weight: 800; font-size: 17px;
  padding: 14px 34px; border-radius: 12px; text-align: center;
}
.org-node.top { background: var(--navy); color: #fff; }
.org-node small { display: block; font-weight: 500; font-size: 13.5px; opacity: 0.75; margin-top: 2px; }
.org-line { width: 2px; height: 28px; background: var(--line); }
.org-branches {
  display: grid; gap: 18px; width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 4px;
}
.org-branch {
  background: var(--paper); border: 1.5px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius); padding: 24px 22px; text-align: center;
}
.org-branch:nth-child(1) { border-top-color: var(--rose); }
.org-branch:nth-child(3) { border-top-color: var(--navy); }
.org-branch h4 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.org-branch p { font-size: 14.5px; color: var(--gray); }

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; }
table.info {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-size: 15.5px;
}
table.info th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 14px 18px; font-weight: 700; white-space: nowrap;
}
table.info td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.info tr td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- 리스트 스타일 ---------- */
.check-list { list-style: none; }
.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink);
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 16px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--rose) 50%, var(--blue) 50%);
}

/* ---------- 공지 카드 ---------- */
.news-item {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; margin-bottom: 16px;
}
.news-item .date {
  font-family: var(--serif); font-weight: 700; color: var(--blue);
  white-space: nowrap; font-size: 15px; padding-top: 3px;
}
.news-item h3 { font-size: 17.5px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.news-item p { font-size: 15px; color: var(--gray); }

/* ---------- CTA 밴드 ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, #2A4A78 100%);
  color: #fff; text-align: center; padding: 76px 24px;
}
.cta-band h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(24px, 3.4vw, 34px); line-height: 1.45;
}
.cta-band p { margin-top: 14px; color: #C3D1E6; font-size: 17px; }
.cta-band .btn-primary {
  background: #fff; color: var(--navy); margin-top: 32px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--navy-deep); color: #A9B8CF;
  padding: 56px 0 40px; font-size: 14.5px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 52px; width: auto; margin-bottom: 16px; }
.site-footer h5 {
  color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px; padding-top: 24px; font-size: 13px; color: #7C8CA6;
}

/* ---------- 스크롤 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 유틸 ---------- */
.mt-40 { margin-top: 40px; }
.two-col { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.note {
  background: var(--blue-soft); border: 1px solid #D5E3F5;
  border-radius: 10px; padding: 16px 20px; font-size: 14.5px; color: var(--navy);
}
