/* ============================================================
   page-service-location.css — coverage-area page: SVG regional
   diagram, region card grid, environment glossary, route flow,
   scenario cards, accordion FAQ. Scroll-reveal animation only.
   ============================================================ */

:root {
  --cta-primary: #4D7C0F;
  --cta-secondary: #F7FAF5;
  --loc-radius-sm: 4px;
  --loc-radius-md: 20px;
  --loc-radius-lg: 40px;
  --loc-divider: dotted 3px #9CC17A;
}

body { font-family: 'Noto Sans KR', sans-serif; font-weight: 400; background: #F7FAF5; color: #1F2E17; }
h1, h2, h3 { font-family: 'Gowun Dodum', sans-serif; font-weight: 400; color: #14532D; letter-spacing: -.01em; }

main section + section { border-top: var(--loc-divider); }

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

/* ---- hero ---- */
.hero { max-width: 820px; margin: 0 auto; padding: 60px 20px 36px; text-align: center; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin-bottom: 16px; }
.hero p { font-size: 1.02rem; color: #3F5F34; }

/* ---- generic section wrapper ---- */
.section { max-width: 1000px; margin: 0 auto; padding: 52px 20px; }
.section h2 { font-size: 1.3rem; margin-bottom: 8px; }
.section h2::after { content: ""; display: block; width: 44px; height: 3px; background: #4D7C0F; border-radius: 999px; margin-top: 10px; }
.section > p.lead { color: #3F5F34; margin-bottom: 20px; max-width: 760px; }
.section p { color: #33472A; }

/* ---- coverage SVG diagram ---- */
.coverage-map-wrap { text-align: center; }
.coverage-map { max-width: 620px; width: 100%; height: auto; margin: 8px auto 18px; display: block; }
.coverage-note { max-width: 700px; margin: 0 auto; color: #3F5F34; font-size: .92rem; }

/* ---- region card grid (2-column) ---- */
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.region-card {
  background: #fff; border: 1px solid #DCEEC8; border-radius: var(--loc-radius-md);
  padding: 22px;
}
.region-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.region-card p { font-size: .92rem; color: #3F5F34; }

/* ---- environment glossary (dl) ---- */
.env-dl { margin-top: 18px; }
.env-dl dt { color: #14532D; font-weight: 700; font-size: 1rem; margin-top: 16px; }
.env-dl dt:first-child { margin-top: 0; }
.env-dl dd { color: #33472A; margin: 6px 0 0; font-size: .95rem; }

/* ---- route flow (no numbered badges; label-only steps) ---- */
.route-flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 20px; }
.route-flow__step {
  flex: 1 1 150px; min-width: 140px; text-align: center;
  background: #fff; border: 2px solid #4D7C0F; border-radius: var(--loc-radius-sm); padding: 14px 14px;
}
.route-flow__step b { display: block; color: #14532D; font-size: .86rem; margin-bottom: 4px; }
.route-flow__step span { font-size: .8rem; color: #3F5F34; }
.route-flow__arrow { font-size: 1.2rem; color: #4D7C0F; font-weight: 700; flex: none; }

/* ---- accessory work list ---- */
.accessory-list { margin: 16px 0 0 20px; color: #33472A; }
.accessory-list li { margin-bottom: 8px; }

/* ---- scenario cards ---- */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.scenario-card {
  background: #F1F8EA; border-left: 5px solid #4D7C0F; border-radius: var(--loc-radius-md);
  padding: 20px 22px;
}
.scenario-card h3 { font-size: 1rem; margin-bottom: 8px; color: #14532D; }
.scenario-card p { font-size: .92rem; color: #33472A; }

/* ---- accordion FAQ ---- */
.loc-faq details {
  background: #fff; border: 1px solid #DCEEC8; border-radius: var(--loc-radius-sm);
  margin-bottom: 10px; padding: 14px 18px;
}
.loc-faq summary { font-weight: 700; color: #14532D; font-size: .98rem; }
.loc-faq p { margin-top: 8px; color: #33472A; font-size: .92rem; }

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

/* ---- page list grid (region sub pages, 4 per row) ---- */
.page-card-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; }
.page-card {
  display: block; padding: 18px 20px; background: #fff; border: 1px solid #DCE7D3;
  border-radius: var(--loc-radius-md); font-weight: 700; color: #14532D;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.page-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20,83,45,.12); border-color: #4D7C0F; }

@media (max-width: 640px) {
  .region-grid, .scenario-grid { grid-template-columns: 1fr; }
  .page-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .section { padding: 40px 16px; }
  .route-flow__arrow { transform: rotate(90deg); }
  .page-card-grid { grid-template-columns: 1fr; }
}
