/* 가히애견 제안 시안 — 네 시안(시안1·2 × 기본형·고급형) 공통 바탕.
   색·모양·배치는 시안별 c1.css / c2.css 가 변수로 덮는다. 외부 요청 0(글꼴 동봉). */
@font-face { font-family: "Pretendard Variable"; src: url("../fonts/PretendardVariable.woff2") format("woff2-variations"); font-weight: 45 920; font-style: normal; font-display: swap; }
:root {
  --ink: #1b1f1c; --ink-2: #4a514b; --paper: #f7f6f1; --paper-2: #eceee6; --white: #fff; --line: #d6d8cf;
  --brand: #2f4f1f; --brand-2: #24401a; --on-brand: #fff; --soft: #dfe7c9; --soft-ink: #1b1f1c;
  --danger: #a3261c; --note-bg: #fbf0c8; --note-ink: #463a12;
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 22px;
  --hdr: 64px; --container: 1120px;
  --shadow: 0 1px 2px rgb(20 30 20 / .06), 0 8px 24px rgb(20 30 20 / .08);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; scroll-padding-bottom: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 1.0625rem; word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.draft-banner { background: var(--note-bg); color: var(--note-ink); font-size: .875rem; padding: 10px 20px; text-align: center; line-height: 1.5; }
.tag { display: inline-block; font-size: .75rem; font-weight: 750; background: var(--note-bg); color: var(--note-ink); border-radius: var(--r-sm); padding: 1px 6px; vertical-align: 2px; line-height: 1.5; }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--hdr); }
.brand { color: var(--ink); text-decoration: none; font-weight: 850; font-size: 1.25rem; letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { font-weight: 600; font-size: .8125rem; color: var(--ink-2); letter-spacing: 0; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .9375rem; padding: 8px 12px; border-radius: var(--r-sm); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--paper-2); }
@media (max-width: 719px) {
  .hdr { flex-wrap: wrap; gap: 0; padding-top: 4px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 6px 4px; font-size: .875rem; }
  .brand small { display: none; }
  html { scroll-padding-top: 124px; }
}

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-2); }
.btn--line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }
.icon { width: 20px; height: 20px; flex: none; }

/* 공통 띠 */
.band { padding: 80px 0; }
@media (max-width: 719px) { .band { padding: 56px 0; } }
.sec-head { max-width: 40em; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem); font-weight: 820; }
.sec-head p { color: var(--ink-2); margin: 12px 0 0; }
.fine { font-size: .875rem; color: var(--ink-2); margin: 16px 0 0; }

/* 사진 캡션 칩 — 불투명 바탕(대비 보장) */
.photo-cap { position: absolute; left: 10px; bottom: 10px; background: rgb(27 31 28); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: var(--r-sm); line-height: 1.45; margin: 0; }

/* 요금표 (행 형태) */
.prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prices caption { text-align: left; font-weight: 800; font-size: 1.125rem; padding-bottom: 10px; }
.prices th, .prices td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { font-size: .875rem; color: var(--ink-2); font-weight: 700; border-bottom: 2px solid var(--ink); }
.prices tbody th { font-weight: 750; }
.prices td { font-variant-numeric: tabular-nums; }
.prices small { display: block; color: var(--ink-2); font-size: .8125rem; font-weight: 500; }
@media (max-width: 719px) {
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prices tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prices th, .prices td { border: 0; padding: 0; }
  .prices tbody th { grid-column: 1 / -1; font-size: 1.0625rem; }
  .prices td::before { content: attr(data-label); display: block; font-size: .8125rem; color: var(--ink-2); font-weight: 650; }
}

/* 폼 */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend, .field .lbl { font-weight: 700; font-size: .9375rem; padding: 0; }
.field em { color: var(--danger); font-style: normal; }
.field small { font-weight: 500; color: var(--ink-2); }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea { font: inherit; font-size: 1.0625rem; min-height: 52px; padding: 0 14px; border: 1.5px solid #8f978c; border-radius: var(--r); background: #fff; color: var(--ink); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #5f665d; }
.field [aria-invalid=true] { border-color: var(--danger) !important; }
.row { display: grid; gap: 16px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } .row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px solid #8f978c; border-radius: 999px; background: #fff; font-weight: 650; font-size: .9375rem; cursor: pointer; }
.choice span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.choice input[type=checkbox] + span::before { border-radius: 4px; }
.choice input:checked + span { background: var(--soft); border-color: var(--brand); color: var(--soft-ink); }
.choice input:checked + span::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 2px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice input[aria-invalid=true] + span { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.err { color: var(--danger); font-size: .875rem; font-weight: 650; margin: 0; }
.form-error { color: var(--danger); font-weight: 700; margin: 0; }

/* 확인 창 */
.modal { position: fixed; inset: 0; z-index: 60; background: rgb(20 24 20 / .62); display: grid; place-items: center; padding: 16px; }
.modal-box { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px; width: min(540px, 100%); max-height: 92vh; overflow: auto; }
.modal-box h2 { font-size: 1.375rem; }
.draft-stamp { background: var(--note-bg); color: var(--note-ink); border-radius: var(--r); padding: 10px 12px; font-size: .875rem; margin: 12px 0 0; }
.summary { display: grid; grid-template-columns: 7em 1fr; gap: 6px 12px; margin: 16px 0 20px; }
.summary dt { font-weight: 800; }
.summary dd { margin: 0; color: var(--ink-2); }
.modal-actions { display: grid; gap: 10px; }

/* 약도 */
.route { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.mapart { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.route figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 10px; }
.info { display: grid; grid-template-columns: 5em 1fr; gap: 10px 14px; margin: 0; }
.info dt { font-weight: 800; }
.info dd { margin: 0; color: var(--ink-2); }
.info dd a { font-weight: 700; }
.info small { color: var(--ink-2); }

/* 바닥글 */
.site-footer { background: var(--ink); color: #e4e6e0; padding: 36px 0 44px; font-size: .875rem; }
.site-footer p { margin: 0 0 8px; }
.site-footer b { color: #fff; }
.site-footer a { color: #fff; }

/* 모바일 하단 고정 바 */
.cta-bar { display: none; }
@media (max-width: 899px) {
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .cta-bar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 72px; }
  body.is-typing .cta-bar { display: none; }
}

/* 가벼운 등장(투명도만). JS 없거나 움직임 줄이기면 처음부터 보임 */
.js [data-reveal] { opacity: 0; transition: opacity .45s ease; }
.js [data-reveal].is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transition: none; }
  .btn { transition: none; }
  *, *::before, *::after { animation: none !important; }
}
