/* 오렌지배관클리닉 랜딩 초안(2026-11-05). 모바일 전용 480px 한 장, PC 는 가운데 정렬.
   색: 광고주 공식 홈페이지 주황(#FB7809) 기준. 주황은 버튼·핵심어에만, 나머지는 먹색·옅은 주황 틴트. */
:root {
  --orange: #FB7809;
  --orange-d: #D95F00;
  --orange-t: #FFF3E8;
  --orange-l: #FFE2C7;
  --ink: #1A1D21;
  --ink-2: #4A5058;
  --ink-3: #868C94;
  --line: #ECE7E2;
  --bg: #FFFFFF;
  --bg-2: #F8F6F3;
  --green: #12B76A;
  --red: #E5484D;
  --r: 14px;
  --bar-h: 76px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: #EFEDEA; line-height: 1.55; letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent; word-break: keep-all; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
em { font-style: normal; color: var(--orange-d); }

.container { padding: 0 20px; }
main, .site-header, .site-footer { max-width: 480px; margin: 0 auto; background: var(--bg); }
main { padding-bottom: 8px; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 26px; width: auto; }
.header-cta { font-size: 14px; font-weight: 700; color: #fff; background: var(--ink); padding: 8px 14px; border-radius: 999px; }

/* 히어로 */
.hero { padding: 22px 0 8px; background: linear-gradient(180deg, var(--orange-t) 0%, #fff 62%); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--orange-l); padding: 5px 11px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18,183,106,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,183,106,.45); } 70% { box-shadow: 0 0 0 7px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }
.hero h1 { margin-top: 12px; font-size: 30px; line-height: 1.28; font-weight: 800; letter-spacing: -0.035em; }
.hero-sub { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.hero-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.hero-points li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 6px; text-align: center; }
.hero-points b { display: block; font-size: 15px; font-weight: 800; color: var(--orange-d); }
.hero-points span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* 증상 빠른 선택 */
.sym-quick { margin-top: 16px; }
.sq-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.sq-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sym-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; transition: border-color .15s, background .15s, transform .1s; }
.sym-chip svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sym-chip:active { transform: scale(.97); }
.sym-chip.is-on { border-color: var(--orange); background: var(--orange-t); }

/* 폼 카드 */
.form-card { margin-top: 16px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; padding: 18px 16px 14px; box-shadow: 0 10px 28px -18px rgba(26,29,33,.45); }
.form-title { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.form-desc { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.lead-form { margin-top: 12px; display: grid; gap: 10px; border-radius: 12px; }
.lead-form.is-flash { animation: flash .9s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(251,120,9,.55); } 100% { box-shadow: 0 0 0 14px rgba(251,120,9,0); } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }
.field input, .field select { width: 100%; height: 48px; padding: 0 12px; font-size: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; outline: none; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23868C94' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 34px; }
.field input:focus, .field select:focus { border-color: var(--orange); background-color: #fff; box-shadow: 0 0 0 3px rgba(251,120,9,.15); }
.field.is-error input, .field.is-error select { border-color: var(--red); background-color: #FFF5F5; }
.consent { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.consent-check { display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.consent-check input { width: 18px; height: 18px; accent-color: var(--orange); }
.consent-check.is-error span { color: var(--red); }
.consent-more { font-size: 12px; color: var(--ink-3); text-decoration: underline; padding: 4px 0; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; border-radius: 12px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px -8px rgba(251,120,9,.8); }
.btn-orange:active { background: var(--orange-d); }
.btn-orange:disabled { opacity: .7; }
.btn-dark { background: var(--ink); color: #fff; }
.form-note { font-size: 12px; color: var(--ink-3); text-align: center; }
.form-msg { font-size: 13px; color: var(--red); text-align: center; min-height: 0; }
.form-msg:empty { display: none; }
.form-done { text-align: center; padding: 22px 6px 10px; outline: none; }
.done-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; align-items: center; justify-content: center; }
.done-ico svg { width: 26px; height: 26px; }
.done-title { margin-top: 10px; font-size: 19px; font-weight: 800; }
.done-desc { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* 공통 섹션 */
.section { padding: 40px 0; }
.sec-kicker { font-size: 13px; font-weight: 700; color: var(--orange-d); }
.sec-title { margin-top: 4px; font-size: 24px; line-height: 1.33; font-weight: 800; letter-spacing: -0.03em; }

/* 약속 */
.promise-list { list-style: none; margin-top: 18px; display: grid; gap: 14px; }
.promise-list li { display: flex; gap: 12px; align-items: flex-start; }
.p-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-t); display: flex; align-items: center; justify-content: center; }
.p-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promise-list b { font-size: 16px; font-weight: 700; }
.promise-list p { font-size: 14px; color: var(--ink-2); margin-top: 1px; }
.zero-box { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; border-radius: var(--r); overflow: hidden; }
.zero-box div { padding: 14px 10px; text-align: center; }
.zero-box div + div { border-left: 1px solid rgba(255,255,255,.14); }
.zero-box b { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72); }
.zero-box strong { display: block; font-size: 26px; font-weight: 800; color: #FFB066; line-height: 1.2; }

/* 상황별 안내 */
.sec-situation { background: var(--bg-2); }
.sit-list { margin-top: 16px; display: grid; gap: 10px; }
.sit { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 12px; }
.sit-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--orange-d); background: var(--orange-t); padding: 2px 8px; border-radius: 6px; }
.sit h3 { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.sit p { margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.sit-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--orange-d); }
.sit-go::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.sit-night { margin-top: 14px; font-size: 14px; color: var(--ink-2); text-align: center; }
.sit-night b { color: var(--ink); }

/* 작업 분야 */
.svc-grid { list-style: none; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-grid li { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.svc-grid b { display: block; font-size: 15px; font-weight: 700; }
.svc-grid span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 1px; }

/* 진행 순서: 가로 4칸(스크롤 압축) */
.sec-process { background: var(--orange-t); }
.steps { list-style: none; margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps li { background: #fff; border-radius: 12px; padding: 10px 6px; text-align: center; }
.steps span { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; align-items: center; justify-content: center; }
.steps b { display: block; margin-top: 5px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.steps p { margin-top: 2px; font-size: 12px; color: var(--ink-3); line-height: 1.35; }

/* FAQ */
.faq-list { margin-top: 14px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 15px 28px 15px 0; font-size: 15px; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 15px; font-size: 14px; color: var(--ink-2); }

/* 하단 폼 */
.sec-final { padding-top: 8px; }
.form-card-final { margin-top: 0; }

/* 푸터 */
.site-footer { padding: 28px 0 calc(var(--bar-h) + 28px + env(safe-area-inset-bottom)); background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-logo img { height: 22px; width: auto; opacity: .85; }
.footer-info { margin-top: 12px; display: grid; gap: 3px; font-size: 12px; color: var(--ink-3); }
.footer-info div { display: flex; gap: 8px; }
.footer-info dt { flex: none; min-width: 84px; color: var(--ink-2); }
.footer-privacy { margin-top: 10px; font-size: 12px; color: var(--ink-2); text-decoration: underline; padding: 4px 0; }
.footer-copy { margin-top: 6px; font-size: 11px; color: var(--ink-3); }

/* 하단 고정 바(폼 이동 버튼 하나) */
.sticky-bar { position: fixed; left: 50%; bottom: 0; z-index: 40; width: 100%; max-width: 480px; transform: translateX(-50%); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 30%); transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.sticky-bar.is-pre, .sticky-bar.is-hidden { transform: translate(-50%, 110%); opacity: 0; pointer-events: none; }
.sticky-form { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: 14px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 8px 20px -10px rgba(251,120,9,.9); }
.sticky-form .dot { background: #fff; animation: none; }

/* 모달 */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(15,17,20,.55); display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 480px; max-height: 86vh; overflow: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); }
.modal-box h2 { font-size: 18px; font-weight: 800; }
.privacy-list { margin: 12px 0 16px; display: grid; gap: 10px; font-size: 13px; }
.privacy-list dt { font-weight: 700; }
.privacy-list dd { color: var(--ink-2); }

/* 떠오르기 */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--d, 0s), transform .5s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.reveal.is-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (min-width: 481px) {
  main, .site-header, .site-footer { box-shadow: 0 0 0 1px var(--line); }
}
