/* =============================================================================
 *  Payvit — 도입 상담 페이지 (/contact) 전용
 *  색은 tokens.css 토큰만 사용
 * ============================================================================= */
.pv-contact-hero { padding-bottom: var(--space-24); }
.pv-contact { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; text-align: left; }
@media (max-width: 900px) { .pv-contact { grid-template-columns: 1fr; } }
.pv-contact__side .page-hero__title { text-align: left; }
.pv-contact__lead { color: var(--ink-500); font-size: var(--text-h4); line-height: var(--lh-base); margin-bottom: var(--space-8); }
.pv-contact__points { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; gap: var(--space-4); }
.pv-contact__points li { display: grid; gap: 2px; padding-left: 20px; position: relative; color: var(--ink-500); font-size: var(--text-small); }
.pv-contact__points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pv-contact__points b { color: var(--ink-900); font-weight: var(--fw-bold); font-size: var(--text-base); }
.pv-contact__direct { display: grid; gap: var(--space-3); justify-items: start; padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.pv-contact__direct span { font-size: var(--text-small); color: var(--ink-500); }

.pv-form { background: var(--surface-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-2xl); padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow-lg); }
.pv-form__body { display: grid; gap: var(--space-5); }
.pv-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pv-form legend, .pv-field > label { display: block; font-size: var(--text-small); font-weight: var(--fw-bold); color: var(--ink-900); margin-bottom: 8px; padding: 0; }
.pv-form em { font-style: normal; color: var(--brand); }
.pv-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-radios label { cursor: pointer; }
.pv-radios input { position: absolute; opacity: 0; pointer-events: none; }
.pv-radios span { display: inline-block; font-size: 14px; font-weight: var(--fw-semibold); padding: 9px 14px; border-radius: var(--radius-full); border: 1px solid var(--border-color); color: var(--ink-700); background: var(--surface-0); transition: all .15s; }
.pv-radios label:hover span { border-color: var(--brand); }
.pv-radios input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pv-radios input:focus-visible + span { outline: 3px solid var(--brand-tint); outline-offset: 2px; }
.pv-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 560px) { .pv-form__row { grid-template-columns: 1fr; } }
.pv-field { display: grid; min-width: 0; }
.pv-field input, .pv-field select, .pv-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink-900); background: var(--surface-1); border: 1px solid transparent; border-radius: var(--radius-md); padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.pv-field textarea { resize: vertical; min-height: 130px; }
.pv-field input:focus, .pv-field select:focus, .pv-field textarea:focus { outline: none; background: var(--surface-0); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.pv-field [aria-invalid="true"] { border-color: var(--danger) !important; }
.pv-err { color: var(--danger); font-size: 13px; font-weight: var(--fw-semibold); margin-top: 6px; }
.pv-err:empty { display: none; }
.pv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.pv-agree { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface-1); }
.pv-agree label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; font-weight: var(--fw-semibold); color: var(--ink-900); }
.pv-agree input { width: 18px; height: 18px; accent-color: var(--brand); }
.pv-agree summary { cursor: pointer; font-size: 13px; color: var(--ink-500); padding-left: 28px; }
.pv-agree details p { font-size: 13px; color: var(--ink-500); line-height: 1.7; padding: 8px 0 0 28px; }
.pv-form__submit { width: 100%; justify-content: center; }
.pv-form__submit:disabled { opacity: .7; cursor: wait; }
.pv-form__done { display: grid; justify-items: center; text-align: center; gap: 10px; padding-block: 48px; }
.pv-form__done h2 { font-size: var(--text-h3); font-weight: var(--fw-extrabold); color: var(--ink-900); }
.pv-form__done p { color: var(--ink-500); max-width: 26em; }
.pv-form__ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; font-size: 30px; font-weight: var(--fw-black); }

/* hidden 속성이 display:grid 에 덮이지 않게 (완료 화면이 처음부터 보이던 문제) */
.pv-form [hidden] { display: none !important; }
