/* 인천폐차사업소 랜딩(2026-12-03 초안) — 모바일 전용 한 장.
   색은 노션 요청서의 색상 톤 그대로: 메인 #291084, 서브 #1D0B5E, 포인트 #FF2438, 보조 배경 #F5F6F8, 글 #222/#666. */
:root {
  --main: #291084;
  --dark: #1D0B5E;
  --point: #FF2438;
  --bg: #ffffff;
  --bg2: #F5F6F8;
  --t1: #222222;
  --t2: #666666;
  --line: #e3e5ea;
  --radius: 14px;
  --tint: #f1eefb;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--t1);
  background: var(--bg2);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-tap-highlight-color: rgba(41, 16, 132, .12);
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* 모바일 전용: 넓은 화면에서도 480px 한 장을 가운데 둔다 */
.site-header, main, .site-footer, .sticky-bar { max-width: 480px; margin-left: auto; margin-right: auto; }
main, .site-footer { background: var(--bg); }
.container { padding: 0 20px; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; min-width: 0; }
.logo-mark {
  flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: var(--main); border-radius: 6px; padding: 4px 6px;
}
.logo-text { font-size: 15px; font-weight: 700; line-height: 1.15; }
.logo-text em { display: block; font-style: normal; font-size: 10px; font-weight: 500; color: var(--t2); margin-top: 2px; }
.header-cta {
  flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #fff; background: var(--main);
  padding: 8px 13px; border-radius: 999px;
}

/* 첫 화면 */
.hero {
  background: linear-gradient(170deg, var(--main) 0%, var(--dark) 100%);
  color: #fff; padding: 18px 0 22px;
}
.hero-eyebrow {
  display: inline-block; margin: 0 0 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: 5px 11px; border-radius: 999px;
}
.hero h1 { margin: 0 0 8px; font-size: 25px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.hero-desc { margin: 0 0 12px; font-size: 13.5px; color: rgba(255, 255, 255, .86); }
.hero-points { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hero-points svg { width: 18px; height: 18px; flex: 0 0 18px; fill: #fff; opacity: .9; }
.hero-note { margin: 10px 0 0; font-size: 11px; color: rgba(255, 255, 255, .6); text-align: center; }

/* 버튼 */
.btn {
  display: block; width: 100%; text-align: center; border: 0; cursor: pointer;
  border-radius: 12px; font-weight: 800; font-size: 17px; padding: 15px 16px;
}
.btn-cta { background: var(--point); color: #fff; box-shadow: 0 6px 16px rgba(255, 36, 56, .28); }
.btn-cta:active { transform: translateY(1px); }
.btn-navy { background: var(--main); color: #fff; }
.btn-line {
  background: #fff; color: var(--main); border: 1.5px solid var(--main);
  font-size: 15px; padding: 13px 16px; margin-top: 16px;
}
.hero-btn { margin-top: 2px; }

/* 상담폼 */
.sec-form { background: var(--bg2); padding: 16px 0 20px; }
.sec-form-bottom { background: linear-gradient(180deg, var(--bg2) 0%, #ece9f7 100%); padding: 28px 0 34px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 18px; box-shadow: 0 4px 18px rgba(29, 11, 94, .07); }
.form-badge { display: inline-block; margin: 0 0 7px; font-size: 12px; font-weight: 800; color: var(--main); background: var(--tint); padding: 5px 10px; border-radius: 999px; }
.form-title { margin: 0 0 5px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.form-desc { margin: 0 0 12px; font-size: 13px; color: var(--t2); }
.lead-form { display: grid; gap: 12px; }
.field { display: block; }
.lbl { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.lbl em { font-style: normal; font-weight: 500; color: var(--t2); font-size: 12px; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 13px; font-size: 16px; color: var(--t1);
  background: #fff; border: 1.5px solid var(--line); border-radius: 11px; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 34px;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--main); box-shadow: 0 0 0 3px rgba(41, 16, 132, .12); }
.field.is-error input, .field.is-error select, .consent-check.is-error { border-color: var(--point); }
.consent-check.is-error { border: 1.5px solid var(--point); border-radius: 10px; padding: 6px 8px; }
.notice-box {
  display: flex; align-items: center; gap: 7px; margin: 0;
  font-size: 12px; color: var(--main); background: var(--tint); border-radius: 10px; padding: 9px 11px;
}
.notice-box svg { width: 16px; height: 16px; flex: 0 0 16px; fill: var(--main); }
.consent { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.consent-check { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.consent-check input { width: 20px; height: 20px; accent-color: var(--main); }
.consent-check b { color: var(--point); font-weight: 700; }
.consent-more { background: none; border: 0; padding: 4px; font-size: 12px; color: var(--t2); text-decoration: underline; cursor: pointer; }
.form-msg { margin: 0; font-size: 13px; font-weight: 600; color: var(--point); min-height: 0; }
.form-msg:empty { display: none; }
.form-warn { margin: 0; font-size: 11px; line-height: 1.5; color: #8a8f99; }
.form-done { text-align: center; padding: 18px 4px; }
.done-ic {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--tint); color: var(--main); font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.done-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.done-desc { margin: 0; font-size: 13px; color: var(--t2); }

/* 공통 섹션 */
.sec { padding: 34px 0; border-top: 1px solid var(--line); }
.sec-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: var(--main); }
.sec-title { margin: 0 0 8px; font-size: 21px; font-weight: 800; line-height: 1.36; letter-spacing: -.02em; }
.sec-desc { margin: 0 0 16px; font-size: 13px; color: var(--t2); }
.sec-foot { margin: 14px 0 0; font-size: 11px; color: #8a8f99; }

/* 이런 차량이라면 */
.worry-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.worry-list li { background: var(--bg2); border-radius: var(--radius); padding: 13px 12px; }
.worry-list b { display: block; font-size: 14px; margin-bottom: 3px; }
.worry-list span { display: block; font-size: 12px; color: var(--t2); line-height: 1.45; }

/* 아코디언(핵심 정보 요약 · FAQ) */
.acc { display: grid; gap: 8px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc-item summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; cursor: pointer; list-style: none;
  padding: 14px 38px 14px 14px; position: relative;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary b { font-size: 15px; font-weight: 700; }
.acc-item summary span { font-size: 12px; color: var(--t2); }
.acc-item summary::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--main); border-bottom: 2px solid var(--main);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.acc-item[open] summary { background: var(--tint); }
.acc-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc-body { padding: 13px 14px 16px; border-top: 1px solid var(--line); }
.acc-body p { margin: 0 0 10px; font-size: 13px; color: #444; line-height: 1.6; }
.acc-body p.small { margin: 10px 0 0; font-size: 11px; color: #8a8f99; }
.docs { margin: 0; display: grid; gap: 8px; }
.docs dt { font-size: 12px; font-weight: 800; color: var(--main); }
.docs dd { margin: 2px 0 0; font-size: 12px; color: var(--t2); line-height: 1.5; }

/* 강점 */
.sec-strength { background: var(--bg2); }
.strength-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.strength-list li { background: #fff; border-radius: var(--radius); padding: 14px 14px 14px 52px; position: relative; }
.strength-list i {
  position: absolute; left: 14px; top: 14px; font-style: normal;
  font-size: 12px; font-weight: 800; color: var(--main); background: var(--tint);
  width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.strength-list b { display: block; font-size: 15px; margin-bottom: 3px; }
.strength-list span { display: block; font-size: 12.5px; color: var(--t2); line-height: 1.5; }

/* 진행 순서 */
.process-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.process-list li { position: relative; padding: 0 0 18px 42px; }
.process-list li:last-child { padding-bottom: 0; }
.process-list li::before {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line);
}
.process-list li:last-child::before { display: none; }
.process-list i {
  position: absolute; left: 0; top: 0; font-style: normal; width: 28px; height: 28px;
  border-radius: 50%; background: var(--main); color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.process-list b { display: block; font-size: 15px; padding-top: 3px; }
.process-list span { display: block; font-size: 12.5px; color: var(--t2); }

/* 후기 */
.sec-review { background: var(--bg2); }
.review-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.review-list li { background: #fff; border-radius: var(--radius); padding: 14px; border-left: 3px solid var(--main); }
.review-list p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; color: #333; }
.review-list span { font-size: 12px; color: var(--t2); font-weight: 600; }

/* 푸터 */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 24px 0 92px; }
.site-footer p { margin: 0 0 4px; font-size: 11.5px; line-height: 1.55; }
.f-name { font-size: 14px !important; font-weight: 700; color: #fff; margin-bottom: 8px !important; }
.f-link { background: none; border: 0; padding: 4px 0; color: rgba(255, 255, 255, .8); font-size: 11.5px; text-decoration: underline; cursor: pointer; }
.copy { margin-top: 10px !important; color: rgba(255, 255, 255, .45); }

/* 하단 고정 바 */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  max-width: 480px; margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  transition: transform .22s ease, opacity .22s ease;
}
.sticky-bar.is-pre, .sticky-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* 팝업 */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(17, 12, 40, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 16px; padding: 20px 18px; width: 100%; max-width: 420px; max-height: 80vh; overflow: auto; }
.modal-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.modal-card dl { margin: 0 0 12px; display: grid; gap: 8px; }
.modal-card dt { font-size: 12px; font-weight: 800; color: var(--main); }
.modal-card dd { margin: 2px 0 0; font-size: 13px; color: var(--t2); }
.modal-card p { font-size: 12.5px; color: #444; line-height: 1.6; margin: 0 0 10px; }
.modal-card p.muted { color: #8a8f99; font-size: 11.5px; }
.modal-card .btn { margin-top: 6px; }

/* 등장 효과(움직임 최소 설정은 존중) */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-bar { transition: none; }
}
