/* ============================================================
   page-gyeongju-sirocco-fan.css — historic-city theme: warm
   terracotta/brown on cream, serif headings, checklist cards,
   step flow, scenario cards, before/after compare, accordion FAQ.
   Scroll-reveal is the sole animation on this page.
   ============================================================ */

:root {
  --cta-primary: #92400E;
  --cta-secondary: #FDF6EC;
  --gj-secondary: #C2703D;
  --gj-bg: #FDF6EC;
  --gj-ink: #3A2415;
  --gj-ink-soft: #6B4B33;
  --gj-card-border: #E8D5B5;
  --gj-radius-sm: 8px;
  --gj-radius-md: 16px;
  --gj-radius-lg: 32px;
}

body { font-family: 'Noto Sans KR', sans-serif; font-weight: 400; background: var(--gj-bg); color: var(--gj-ink); }
h1, h2, h3 { font-family: 'Nanum Myeongjo', serif; color: #6B2E0A; letter-spacing: -.01em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }

/* ---- scroll-reveal (sole animation on this page) ---- */
main > section {
  animation: gjFadeUp .6s ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
@keyframes gjFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

main > section + section { border-top: 1px dashed var(--gj-card-border); }

/* ---- hero ---- */
.gj-hero { max-width: 820px; margin: 0 auto; padding: 60px 20px 40px; text-align: center; }
.gj-eyebrow { font-size: .85rem; font-weight: 700; color: var(--gj-secondary); letter-spacing: .06em; margin-bottom: 10px; }
.gj-hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 18px; }
.gj-hero p { font-size: 1.02rem; color: var(--gj-ink-soft); }

/* ---- generic section wrapper ---- */
.gj-section { max-width: 980px; margin: 0 auto; padding: 52px 20px; }
.gj-section h2 { font-size: 1.35rem; margin-bottom: 10px; }
.gj-section h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--gj-secondary); border-radius: 999px; margin-top: 10px; }
.gj-lead { color: var(--gj-ink-soft); margin-bottom: 22px; max-width: 760px; }
.gj-section > p { color: var(--gj-ink); margin-top: 4px; }
.gj-sub-h { font-size: 1.05rem; margin-top: 32px; margin-bottom: 10px; }

/* ---- checklist card grid ---- */
.gj-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.gj-check-card {
  background: #fff; border: 1px solid var(--gj-card-border); border-radius: var(--gj-radius-md);
  padding: 20px 22px;
}
.gj-check-card svg { color: var(--gj-secondary); margin-bottom: 10px; }
.gj-check-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.gj-check-card p { font-size: .92rem; color: var(--gj-ink-soft); }

/* ---- step flow ---- */
.gj-flow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gj-flow__step {
  flex: 1 1 170px; background: #fff; border-left: 4px solid var(--cta-primary);
  border-radius: var(--gj-radius-sm); padding: 16px 16px;
}
.gj-flow__step b { display: block; color: #6B2E0A; font-size: .92rem; margin-bottom: 6px; }
.gj-flow__step span { font-size: .85rem; color: var(--gj-ink-soft); }

/* ---- scenario cards ---- */
.gj-scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.gj-scenario-card {
  background: #FBEFDC; border-radius: var(--gj-radius-lg); padding: 22px 20px;
}
.gj-scenario-card h3 { font-size: 1rem; margin-bottom: 8px; }
.gj-scenario-card p { font-size: .9rem; color: var(--gj-ink-soft); }

/* ---- before/after 2-column compare ---- */
.gj-compare2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.gj-compare2__col { background: #fff; border: 1px solid var(--gj-card-border); border-radius: var(--gj-radius-md); padding: 20px 22px; }
.gj-compare2__col--accent { background: #92400E; border-color: #92400E; }
.gj-compare2__col h3 { font-size: 1rem; margin-bottom: 10px; }
.gj-compare2__col--accent h3 { color: #FDF6EC; }
.gj-compare2__col ul { margin-left: 18px; font-size: .9rem; color: var(--gj-ink-soft); }
.gj-compare2__col--accent ul { color: #FBEFDC; }
.gj-compare2__col li { margin-bottom: 8px; }

/* ---- accordion FAQ ---- */
.gj-faq details {
  background: #fff; border: 1px solid var(--gj-card-border); border-radius: var(--gj-radius-sm);
  margin-bottom: 10px; padding: 14px 18px;
}
.gj-faq summary { font-weight: 700; color: #6B2E0A; font-size: .98rem; cursor: pointer; }
.gj-faq p { margin-top: 8px; color: var(--gj-ink-soft); font-size: .92rem; }

/* ---- cta override (keep page bg on cta strip) ---- */
.cta { background: #fff; }

@media (max-width: 720px) {
  .gj-check-grid { grid-template-columns: 1fr; }
  .gj-scenario-grid { grid-template-columns: 1fr; }
  .gj-compare2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gj-section { padding: 40px 16px; }
}
