/* =========================================================
   서울출장배터리 - 출장 배터리교체 서비스
   폰트: Pretendard (SIL OFL, 상업적 이용 무료)
   컬러: 딥 네이비 바탕 + 일렉트릭 옐로우 포인트 + 따뜻한 종이색(페이퍼) 본문
   느낌: 각진 모서리, 굵은 선, 출동 상황판 / 로드서비스 (주의 줄무늬)
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-800: #122b4f;
  --navy-700: #1b3a66;
  --navy-900: #071428;
  --yellow: #ffd60a;
  --yellow-dark: #e6bf00;
  --yellow-soft: #fff4c2;
  --paper: #f6f4ee;
  --paper-dark: #ebe8df;
  --white: #ffffff;
  --ink: #14213d;
  --muted: #5b6578;
  --line: #dde1e8;
  --line-dark: rgba(255, 255, 255, .14);
  --ok: #1f8f5f;
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1200px;
  --header-h: 72px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --stripe: repeating-linear-gradient(135deg, var(--yellow) 0 14px, var(--navy) 14px 28px);

  /* 예전 템플릿 호환용 이름 (생성 스크립트 인라인 스타일에서 사용) */
  --red: var(--yellow);
  --red-dark: var(--yellow-dark);
  --black: var(--ink);
  --gray-50: var(--paper);
  --gray-100: var(--paper-dark);
  --gray-200: var(--line);
  --gray-400: #a2a9b6;
  --gray-600: var(--muted);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 800; margin: 0 0 .5em; line-height: 1.28; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--yellow); color: var(--navy); }

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

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--navy); padding: 12px 20px; z-index: 999; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- Header (네이비 바 + 노란 전화 버튼) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  color: var(--white);
  height: var(--header-h);
  border-bottom: 3px solid var(--yellow);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; display: block; }
.main-nav { display: flex; gap: 2px; align-items: center; margin-left: 8px; }
.main-nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82);
  white-space: nowrap; transition: color .15s;
}
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.site-header .btn-outline { color: var(--white); border-color: rgba(255,255,255,.35); }
.site-header .btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Buttons (각진 모서리) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 13px 22px;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--yellow); color: var(--navy); border-color: var(--yellow); box-shadow: 0 2px 0 var(--yellow-dark); }
.btn-red:hover { background: #ffe14d; border-color: #ffe14d; }
.btn-black { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-black:hover { background: var(--navy-700); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 18px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; }

/* Mobile nav drawer */
.mobile-nav { position: fixed; inset: 0; background: var(--navy); color: var(--white); z-index: 300; display: none; flex-direction: column; padding: 20px 24px; }
.mobile-nav.open { display: flex; }
.mobile-nav .close-btn { align-self: flex-end; background: none; border: 0; font-size: 32px; color: var(--white); line-height: 1; }
.mobile-nav a { font-weight: 700; font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav a:not(.btn)::before { content: "— "; color: var(--yellow); }
.mobile-nav .btn { margin-top: 28px; border-bottom: 0; font-size: 18px; }

/* ---------- Floating call (mobile) ---------- */
.floating-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--yellow); color: var(--navy);
  padding: 16px; text-align: center; font-weight: 800; font-size: 17px;
  border-top: 3px solid var(--navy);
  box-shadow: 0 -8px 24px rgba(11,31,58,.25);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.tight { padding: 52px 0; }
.section.on-gray { background: var(--paper); }
.section.on-black { background: var(--navy); color: var(--white); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.section-head h2::before { content: ""; display: block; width: 44px; height: 5px; background: var(--yellow); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; color: var(--navy-700); letter-spacing: .02em; margin-bottom: 12px; padding: 4px 10px; background: var(--yellow-soft); border-radius: 3px; }
.list-title { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 20px; padding-left: 14px; border-left: 5px solid var(--yellow); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-top-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,31,58,.10); }
.card .icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy); color: var(--yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card p + p { margin-top: 14px; }
.post-card { display: block; }
.post-card .eyebrow { display: inline-block; margin-bottom: 10px; font-size: 12px; }
.post-card h3 { font-size: 17px; }

.step-list { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-weight: 900; font-size: 34px; line-height: 1; color: var(--yellow);
  -webkit-text-stroke: 1px var(--navy); margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- CTA banner (네이비 + 주의 줄무늬) ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px 56px; text-align: center;
  margin: 0 24px;
}
.cta-banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--stripe); }
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.72); margin-bottom: 26px; font-size: 16px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 24px 0; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: #b7bcc7; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Page header (inner pages, 왼쪽 정렬 + 노란 막대) ---------- */
.page-head { padding: 28px 24px 44px; text-align: left; }
.page-head h1 { font-size: clamp(28px, 4vw, 44px); max-width: 900px; }
.page-head h1::before { content: ""; display: block; width: 56px; height: 6px; background: var(--yellow); margin-bottom: 18px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 720px; margin: 10px 0 0; }
.page-head .eyebrow + h1::before { display: none; }
.page-head .eyebrow { margin-bottom: 14px; }

/* ---------- Region map (cartogram) ---------- */
.region-map { display: grid; gap: 8px; margin: 0 auto; max-width: 780px; position: relative; }
.region-cell {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 12px 6px;
  font-size: 14px; font-weight: 600;
  min-height: 64px;
  position: relative; z-index: 1;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.region-cell:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.region-cell.is-on { background: var(--white); border: 2.5px solid var(--navy); color: var(--navy); font-weight: 800; box-shadow: inset 0 -4px 0 var(--yellow); }
.region-cell.is-on:hover { background: var(--navy); color: var(--white); }
.region-cell.is-off { background: var(--paper); border-style: dashed; color: #9aa1ad; }
.region-cell.is-off:hover { background: var(--paper-dark); color: #6b7280; border-color: #b7bcc7; }
.hub-map { max-width: 560px; }
.hub-cell { min-height: 120px; font-size: 22px; font-weight: 800; }
.region-cell.hub-cell { border: 3px solid var(--navy); background: var(--white); color: var(--navy); font-size: 28px; min-height: 110px; box-shadow: inset 0 -6px 0 var(--yellow); }
.region-cell.hub-cell:hover { background: var(--navy); color: var(--white); }
.map-legend { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.map-legend .lg { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin: 0 6px 0 14px; }
.map-legend .lg-on { background: var(--white); border: 2px solid var(--navy); box-shadow: inset 0 -3px 0 var(--yellow); }
.map-legend .lg-off { background: var(--paper); border: 1.5px dashed #b7bcc7; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 20px; }
.area-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.area-list a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.area-list .prep { font-size: 11px; color: #8a919d; border: 1px solid #cfd4dc; border-radius: 3px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.count { display: inline-block; margin-left: 6px; font-weight: 700; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 3px; background: var(--yellow); color: var(--navy); vertical-align: middle; }
.prep-notice { margin: 18px auto 0; padding: 14px 18px; border-radius: var(--radius); background: var(--yellow-soft); border: 1px solid #f0d87a; border-left: 6px solid var(--yellow); color: #5a4a00; font-size: 15px; line-height: 1.7; }
.prep-notice a { color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* 서비스 권역 표시 */
:root { --zone-1: #2f6fed; --zone-2: #ef4444; --zone-3: #16a34a; --zone-4: #f59e0b; --zone-5: #0ea5a4; --zone-6: #db2777; }
/* 권역 음영: 부드러운 파스텔 톤 (경계선 없이 음영만) */
:root { --zone-1-shade: #d6e4fb; --zone-2-shade: #f8d9dc; --zone-3-shade: #d3efdd; --zone-4-shade: #fbe4c0; --zone-5-shade: #cdeeeb; --zone-6-shade: #f4d6e7; }
:root { --zone-1-bg: #e6eefb; --zone-2-bg: #fbe9ea; --zone-3-bg: #e5f4ea; --zone-4-bg: #fdf1df; --zone-5-bg: #e0f3f2; --zone-6-bg: #f8e8f1; }
.region-map.has-zones { gap: 16px; }
.zone-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.zone-lines line { display: none; }               /* 권역 경계선은 그리지 않음 */
.zone-lines rect { stroke: none; }
.zone-lines rect.zone-1 { fill: var(--zone-1-shade); } .zone-lines rect.zone-2 { fill: var(--zone-2-shade); }
.zone-lines rect.zone-3 { fill: var(--zone-3-shade); } .zone-lines rect.zone-4 { fill: var(--zone-4-shade); }
.zone-lines rect.zone-5 { fill: var(--zone-5-shade); } .zone-lines rect.zone-6 { fill: var(--zone-6-shade); }
.region-cell[data-zone="1"] { background: var(--zone-1-bg); } .region-cell[data-zone="2"] { background: var(--zone-2-bg); }
.region-cell[data-zone="3"] { background: var(--zone-3-bg); } .region-cell[data-zone="4"] { background: var(--zone-4-bg); }
.region-cell[data-zone="5"] { background: var(--zone-5-bg); } .region-cell[data-zone="6"] { background: var(--zone-6-bg); }
.region-cell[data-zone].is-off { border-style: solid; border-color: rgba(0,0,0,.06); color: #8a8a8a; }
.region-cell[data-zone]:hover { background: var(--navy); color: var(--white); }
.zone-lines line.zone-1 { stroke: var(--zone-1); } .zone-lines line.zone-2 { stroke: var(--zone-2); }
.zone-lines line.zone-3 { stroke: var(--zone-3); } .zone-lines line.zone-4 { stroke: var(--zone-4); }
.zone-lines line.zone-5 { stroke: var(--zone-5); } .zone-lines line.zone-6 { stroke: var(--zone-6); }
.zone-legend { max-width: 780px; margin: 22px auto 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.zone-legend-title { margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.zone-legend-title small { font-weight: 500; color: var(--muted); font-size: 13px; }
.zone-legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zone-legend li { display: grid; grid-template-columns: 14px auto 1fr; gap: 10px; align-items: baseline; font-size: 14px; }
.zone-legend li b { white-space: nowrap; }
.zone-legend .zone-areas { color: var(--muted); font-size: 13px; }
.zone-legend .zone-more { color: #999; font-size: 12px; }
.zone-swatch { width: 16px; height: 16px; border-radius: 3px; display: inline-block; vertical-align: -3px; box-sizing: border-box; border: 2.5px solid #999; }
.zone-legend li.zone-1 .zone-swatch { border-color: var(--zone-1-shade); background: var(--zone-1-shade); } .zone-legend li.zone-2 .zone-swatch { border-color: var(--zone-2-shade); background: var(--zone-2-shade); }
.zone-legend li.zone-3 .zone-swatch { border-color: var(--zone-3-shade); background: var(--zone-3-shade); } .zone-legend li.zone-4 .zone-swatch { border-color: var(--zone-4-shade); background: var(--zone-4-shade); }
.zone-legend li.zone-5 .zone-swatch { border-color: var(--zone-5-shade); background: var(--zone-5-shade); } .zone-legend li.zone-6 .zone-swatch { border-color: var(--zone-6-shade); background: var(--zone-6-shade); }
@media (max-width: 640px) { .zone-legend li { grid-template-columns: 14px 1fr; } .zone-legend .zone-areas { grid-column: 2; } }

/* ---------- FAQ (details/summary) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 2px 22px; background: var(--white); transition: border-color .15s; }
.faq-item[open] { border-left-color: var(--yellow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 4px; background: var(--navy); color: var(--yellow); font-weight: 900; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-right: 12px; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 26px; color: var(--navy); flex: none; transition: transform .2s; margin-left: auto; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 20px 40px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---------- Article / info page ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 24px; margin-top: 44px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.article h3 { font-size: 19px; margin-top: 28px; }
.article h3::before { content: "■ "; color: var(--yellow); font-size: 12px; vertical-align: 2px; }
.article p, .article li { color: #2f3747; font-size: 16.5px; line-height: 1.8; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 1em; }
.article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.article .table-wrap table { margin: 0; min-width: 460px; }
.article th, .article td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 15px; white-space: nowrap; }
.article th { background: var(--navy); color: var(--white); font-weight: 700; }
.article a:not(.btn) { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.article .post-figure { margin: 28px 0; }
.article .post-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.article .post-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.article .post-figure img[src*="/uploads/"] { width: auto; max-width: 100%; max-height: 640px; margin: 0 auto; }
.article .post-banner { max-width: 520px; margin: 0 auto 32px; }
.article .post-banner-bottom { margin: 36px auto 0; }
.post-banner .banner-call { display: block; border-radius: var(--radius); overflow: hidden; }
.post-banner img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) { .post-banner .banner-call { pointer-events: none; cursor: default; } }
.info-callout { background: var(--yellow-soft); border-left: 6px solid var(--yellow); border-radius: 4px; padding: 18px 22px; margin: 24px 0; font-size: 15px; color: #3b3200; }

/* ---------- 고정 카드 6장 (지역 글·지역 페이지 아래) ---------- */
.post-cards-wrap { background: var(--paper); }
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; }
.post-card-item { display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.post-card-item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,31,58,.14); }
.post-card-item img { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; }
.post-card-item span { display: block; padding: 10px 12px; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; }
@media (max-width: 760px) { .post-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; } .post-card-item span { font-size: 13px; padding: 8px 10px; } }

/* ---------- 페이지 대표 이미지 (본문 맨 위) ---------- */
.page-og { max-width: 780px; margin: 0 auto 28px; }
.page-og img, .article .page-og img { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* ---------- 글 끝 관련 글 링크 ---------- */
.post-related { margin: 36px 0 0; padding: 22px 24px; background: var(--paper); border-radius: var(--radius); border-left: 6px solid var(--yellow); }
.article .post-related h2 { font-size: 18px; margin: 0 0 12px; border: 0; padding: 0; }
.post-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.post-related li { font-size: 15px; padding-left: 18px; position: relative; margin: 0; }
.post-related li::before { content: "→"; position: absolute; left: 0; color: var(--navy-700); font-weight: 700; }
.article .post-related a { text-decoration: none; color: var(--ink); }
.article .post-related a:hover { text-decoration: underline; color: var(--navy-700); }

/* ---------- Application form ---------- */
.apply-form { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-weight: 700; font-size: 15px; }
.form-row input, .form-row textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 4px; padding: 13px 14px; font-family: inherit; font-size: 16px; color: var(--ink); background: var(--white); resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--navy); outline: 3px solid var(--yellow-soft); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.form-checkbox input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--navy); }
.form-checkbox a { color: var(--navy); text-decoration: underline; }

/* ---------- Dong / region detail ---------- */
.dong-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dong-card { border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.dong-card h3 { font-size: 17px; margin-bottom: 10px; }
.dong-card h3 a:hover { color: var(--navy-700); text-decoration: underline; }
.dong-links { display: flex; flex-wrap: wrap; gap: 6px; }
.dong-links a { font-size: 13px; border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px; font-weight: 600; }
.dong-links a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.region-hero { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; text-align: left; position: relative; overflow: hidden; }
.region-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border: 28px solid rgba(255,214,10,.12); border-radius: 50%; pointer-events: none; }
.region-hero h1 { font-size: clamp(26px, 3.6vw, 38px); }
.region-hero p { color: rgba(255,255,255,.78); max-width: 700px; }
.region-hero .region-tag { display: inline-block; background: var(--yellow); color: var(--navy); font-size: 13px; padding: 5px 12px; border-radius: 3px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.neighbor-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.neighbor-links a { font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--white); border-radius: 3px; padding: 7px 12px; }
.neighbor-links a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Blog / cases ---------- */
.blog-cta { border: 2px dashed #c9cfda; border-radius: var(--radius-lg); padding: 56px 30px; text-align: center; max-width: 680px; margin: 0 auto; }
.blog-cta h2 { font-size: 24px; }
.blog-cta p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.66); padding: 60px 0 60px; border-top: 6px solid var(--navy); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: var(--stripe); opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { font-weight: 900; font-size: 22px; color: var(--white); margin-bottom: 12px; letter-spacing: -0.02em; }
.footer-logo .dot { color: var(--yellow); }
.site-footer .ft-title { color: var(--yellow); font-weight: 700; font-size: 13px; letter-spacing: .08em; margin-bottom: 14px; text-transform: uppercase; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { font-size: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-weight: 900; font-size: 110px; line-height: 1; color: var(--yellow); -webkit-text-stroke: 2px var(--navy); margin-bottom: 16px; }

/* =========================================================
   홈 — 출동 상황판 느낌
   ========================================================= */
.s-hero { background: var(--navy); color: var(--white); padding: 72px 0 0; position: relative; overflow: hidden; }
.s-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255,214,10,.14), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(27,58,102,.9), transparent 55%);
}
.s-hero .container { position: relative; }
.s-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.s-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); margin: 0 0 22px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-dark); border-radius: 999px; }
.s-kicker .s-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,214,10,.25); animation: s-pulse 1.8s infinite; }
@keyframes s-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(255,214,10,.25); } 50% { box-shadow: 0 0 0 7px rgba(255,214,10,.08); } }
.s-kicker em { font-style: normal; color: var(--yellow); }
.s-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.18; margin: 0 0 20px; letter-spacing: -0.035em; font-weight: 900; }
.s-hero h1 mark { background: none; color: var(--yellow); position: relative; }
.s-lead { font-size: 18px; color: rgba(255,255,255,.78); margin: 0 0 32px; max-width: 560px; font-weight: 450; }
.s-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; }
.s-call { display: inline-flex; flex-direction: column; gap: 2px; padding: 16px 28px 18px; background: var(--yellow); color: var(--navy); border-radius: var(--radius); box-shadow: 0 4px 0 var(--yellow-dark); transition: transform .12s, box-shadow .12s; }
.s-call:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-dark); }
.s-call:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-dark); }
.s-call-top { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; opacity: .85; }
.s-call-top svg { width: 15px; height: 15px; }
.s-call strong { font-weight: 900; font-size: clamp(30px, 3.8vw, 42px); letter-spacing: -0.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.s-area-link { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 24px; border: 2px solid rgba(255,255,255,.4); border-radius: var(--radius); color: var(--white); transition: border-color .15s, background .15s; }
.s-area-link:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.s-area-link .s-call-top { opacity: .75; }
.s-area-link span:last-child { font-weight: 800; font-size: clamp(17px, 2vw, 20px); }

/* 자가진단 카드 */
.s-check { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 0 0 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.s-check-head { background: var(--yellow); padding: 22px 26px 18px; position: relative; }
.s-check-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(135deg, var(--navy) 0 10px, transparent 10px 20px); opacity: .9; }
.s-check-tag { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--navy); background: rgba(11,31,58,.1); padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; }
.s-check-head h2 { font-size: 19px; margin: 0; color: var(--navy); line-height: 1.35; }
.s-check ul { list-style: none; margin: 0; padding: 10px 26px 0; }
.s-check li { padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; font-weight: 500; }
.s-check li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border: 2px solid var(--navy); border-radius: 4px; background: var(--white); }
.s-check li::after { content: ""; position: absolute; left: 7px; top: 15px; width: 5px; height: 10px; border: solid var(--navy); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.s-check > p { margin: 14px 26px 0; font-size: 13.5px; color: var(--muted); }

/* 핵심 수치 */
.s-facts { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.s-facts li { padding: 24px 20px 26px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 4px; }
.s-facts li:last-child { border-right: 0; }
.s-facts strong { font-size: clamp(18px, 1.9vw, 24px); font-weight: 900; color: var(--yellow); letter-spacing: -0.02em; white-space: nowrap; }
.s-facts span { font-size: 13.5px; color: rgba(255,255,255,.7); }

/* 섹션 공통 머리 */
.s-head { margin: 0 0 36px; max-width: 760px; }
.s-head-tag { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .16em; color: var(--navy); background: var(--yellow); padding: 4px 9px; border-radius: 3px; margin-bottom: 14px; }
.s-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 10px; }
.s-head p { color: var(--muted); font-size: 16px; margin: 0; }
.s-head p b { color: var(--ink); }
.s-more { margin: 28px 0 0; font-size: 15px; font-weight: 600; display: flex; gap: 18px; flex-wrap: wrap; }
.s-more a { color: var(--navy); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.s-more a:hover { background: var(--yellow-soft); }

/* 이렇게 일합니다 */
.s-work { background: var(--paper); padding: 88px 0; }
.s-work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.s-work-grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 28px 30px; display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; transition: transform .15s, box-shadow .15s; }
.s-work-grid li:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,31,58,.1); }
.s-num { grid-row: 1 / span 2; font-size: 44px; font-weight: 900; line-height: 1; color: var(--yellow); -webkit-text-stroke: 1.5px var(--navy); letter-spacing: -0.04em; }
.s-work-grid b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.s-work-grid p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* 진행 단계 (타임라인) */
.s-steps-wrap { padding: 88px 0; background: var(--white); }
.s-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.s-steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; border-top: 2px dashed #c9cfda; }
.s-steps li { position: relative; padding-top: 68px; }
.s-step-no { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--navy); }
.s-steps li:last-child .s-step-no { background: var(--yellow); color: var(--navy); box-shadow: 0 0 0 2px var(--yellow); }
.s-steps b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.s-steps span:last-child { color: var(--muted); font-size: 14.5px; }

/* 현장 사진 */
.s-photos-wrap { padding: 0 0 80px; }
.s-photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.s-photo { display: block; border-radius: 4px; overflow: hidden; position: relative; }
.s-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.s-photo:hover img { transform: scale(1.06); }
.s-photo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 출장 가능 지역 */
.s-areas-wrap { padding: 88px 0; background: var(--navy); color: var(--white); }
.s-areas-wrap .s-head-tag { background: var(--yellow); }
.s-areas-wrap .s-head p { color: rgba(255,255,255,.72); }
.s-areas-wrap .s-head p b { color: var(--yellow); }
.s-legend { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 13px; white-space: nowrap; }
.s-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-left: 8px; }
.s-legend i.on { background: var(--yellow); }
.s-legend i.off { border: 1px dashed rgba(255,255,255,.4); }
.s-areas { border-top: 1px solid var(--line-dark); }
.s-area-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.s-area-hub { display: flex; flex-direction: column; gap: 2px; font-weight: 900; font-size: 22px; color: var(--white); letter-spacing: -0.02em; }
.s-area-hub small { font-size: 13px; font-weight: 600; color: var(--yellow); }
.s-area-hub:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--yellow); }
.s-area-row p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-area-row p a { font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 3px; transition: background .15s, color .15s; }
.s-area-row p a.is-on { background: var(--yellow); color: var(--navy); }
.s-area-row p a.is-on:hover { background: var(--white); }
.s-area-row p a.is-off { border: 1px dashed rgba(255,255,255,.3); color: rgba(255,255,255,.5); }
.s-area-row p a.is-off:hover { border-color: var(--white); color: var(--white); }
.s-areas-wrap .s-more a { color: var(--white); }
.s-areas-wrap .s-more a:hover { background: transparent; color: var(--yellow); }

/* 최근 글 */
.s-latest-wrap { padding: 88px 0; background: var(--paper); }
.s-latest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.s-latest li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.s-latest li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,31,58,.1); }
.s-latest .s-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); }
.s-latest .s-tag { font-weight: 700; color: var(--navy); background: var(--yellow-soft); padding: 2px 8px; border-radius: 3px; }
.s-latest a { font-weight: 700; font-size: 16px; line-height: 1.45; }
.s-latest a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ 섹션 */
.s-faq-wrap { padding: 88px 0; }
.s-faq-wrap .faq-list { max-width: none; }

/* 마지막 CTA (노란 바탕) */
.s-final { background: var(--yellow); color: var(--navy); padding: 80px 0; position: relative; overflow: hidden; text-align: center; }
.s-final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(135deg, var(--navy) 0 16px, transparent 16px 32px); }
.s-final h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 0 0 10px; font-weight: 900; }
.s-final p { color: rgba(11,31,58,.75); margin: 0 0 28px; font-size: 17px; }
.s-final .s-call { background: var(--navy); color: var(--white); box-shadow: 0 4px 0 var(--navy-900); }
.s-final .s-call:hover { box-shadow: 0 6px 0 var(--navy-900); }
.s-final .s-partner { margin: 34px 0 0; font-size: 14px; font-weight: 600; }
.s-final .s-partner a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .logo-img { height: 30px; }
  .header-cta .btn-outline { display: none; }
  .main-nav a { padding: 10px 11px; font-size: 14px; }
}
@media (max-width: 980px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .s-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .s-facts { grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line-dark); }
  .s-facts li { border-bottom: 1px solid var(--line-dark); padding: 18px 16px; }
  .s-facts li:nth-child(3n) { border-right: 0; }
  .s-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .s-steps::before { display: none; }
  .s-latest { grid-template-columns: 1fr 1fr; }
  .s-area-row { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
}
@media (max-width: 900px) {
  .logo-img { height: 26px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 8px; font-size: 13.5px; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-red { padding: 9px 12px; font-size: 13.5px; }
  .logo-img { height: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section.tight { padding: 40px 0; }
  .cta-banner { margin: 0 16px; padding: 44px 22px 40px; }
  .floating-call { display: block; }
  .site-footer { padding-bottom: 110px; }
  .region-cell { font-size: 13px; min-height: 52px; }
  .hub-cell { font-size: 18px; min-height: 96px; }
  .region-cell.hub-cell { font-size: 22px; min-height: 84px; }
  .region-map:not(.hub-map) { grid-template-columns: repeat(3, 1fr) !important; max-width: 420px; }
  .region-map:not(.hub-map) .region-cell { grid-column: auto !important; grid-row: auto !important; }
  .apply-form { padding: 26px 20px; }
  .dong-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .page-head { padding: 22px 24px 36px; }
  .region-hero { padding: 36px 24px; }
  .faq-item { padding: 2px 16px; }
  .faq-item summary { font-size: 15.5px; padding: 15px 0; }
  .faq-item .faq-a { padding-left: 0; }

  .s-hero { padding: 44px 0 0; }
  .s-hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .s-lead { font-size: 16px; }
  .s-cta { flex-direction: column; }
  .s-call, .s-area-link { width: 100%; align-items: center; text-align: center; }
  .s-facts { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .s-facts li { border-right: 1px solid var(--line-dark); }
  .s-facts li:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .s-facts li:nth-child(2n) { border-right: 0; }
  .s-facts li:last-child { grid-column: 1 / -1; border-right: 0; }
  .s-facts strong { white-space: normal; font-size: 19px; }
  .s-check-head h2 { font-size: 17px; }
  .s-check li { font-size: 14.5px; }
  .s-work, .s-steps-wrap, .s-areas-wrap, .s-latest-wrap, .s-faq-wrap, .s-final { padding: 60px 0; }
  .s-work-grid { grid-template-columns: 1fr; }
  .s-work-grid li { padding: 22px 20px; grid-template-columns: 52px 1fr; }
  .s-num { font-size: 36px; }
  .s-steps { grid-template-columns: 1fr; gap: 24px; }
  .s-steps li { padding-top: 0; padding-left: 64px; }
  .s-photos { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .s-latest { grid-template-columns: 1fr; }
  .s-legend { display: flex; margin: 8px 0 0; }
}
@media (max-width: 400px) {
  .logo-img { height: 21px; }
  .header-cta { gap: 4px; }
  .header-cta .btn-red { padding: 8px 10px; }
}
