/* ==========================================================================
   멍마르트 — 공개 사이트 스타일
   몽마르트 언덕의 화방을 떠올리는 크림 종이색 + 잉크 + 와인 팔레트
   ========================================================================== */

:root {
  --paper:      #FAF6EF;
  --paper-2:    #F3EBDE;
  --paper-3:    #EDE3D2;
  --card:       #FFFDF9;
  --ink:        #23252B;
  --ink-2:      #4A4E58;
  --ink-3:      #7C818C;
  --line:       #E4DACA;
  --line-2:     #D3C6B0;
  --wine:       #8E3B4E;
  --wine-dark:  #6E2B3B;
  --rose:       #C08497;
  --gold:       #B08A3E;
  --white:      #fff;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(35,37,43,.05), 0 8px 24px -12px rgba(35,37,43,.18);
  --shadow-lg:  0 2px 6px rgba(35,37,43,.06), 0 24px 60px -28px rgba(35,37,43,.35);

  --serif: 'Playfair Display', 'Gowun Batang', serif;
  --sans:  'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
           system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --wrap: 1120px;
}

/* hidden 을 붙였는데 안 숨는 일을 막는다.
   .btn { display: inline-flex } 처럼 display 를 정한 규칙이
   [hidden] 의 기본 display:none 을 이기기 때문이다. */
[hidden] { display: none !important; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
/* 브라우저 기본으로 figure 에 좌우 40px 여백이 붙어 사진이 줄어든다 */
figure, figcaption { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.dim { color: var(--ink-3); }
.serif { font-family: var(--serif); }

/* ── 상단 띠배너 ─────────────────────────────────── */
.topbanner {
  background: var(--wine);
  color: #FBEFE2;
  text-align: center;
  font-size: 14px;
  padding: 9px 16px;
  letter-spacing: 0;
}

/* ── 헤더 ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--wine); flex: none; }
.brand-mark { display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-3);
  margin-top: 2px;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav > a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.site-nav > a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav > a.on { color: var(--wine); font-weight: 700; }
.nav-cta { margin-left: 10px; }

.navtoggle { display: none; }
.navbtn { display: none; }

/* ── 버튼 ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--wine); color: #FFF6EC; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); }
.btn-line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--wine); color: var(--wine); }
.btn-sm { padding: 9px 17px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ── 섹션 공통 ───────────────────────────────────── */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-2); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--wine);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(27px, 4.2vw, 38px);
  margin-bottom: 14px;
}
.section-lead { color: var(--ink-2); font-size: 17px; max-width: 62ch; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* ── 페이지 헤더 (하위 페이지) ───────────────────── */
.page-head {
  padding: 68px 0 52px;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 44px);
}
.page-head p { margin-top: 12px; color: var(--ink-2); }

/* ── 히어로 ──────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 24px 104px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.22;
  margin-bottom: 22px;
  white-space: pre-line;
}
.hero-copy .hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.hero-meta strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 3px; letter-spacing: .04em; }

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-3);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .frame-note {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(35,37,43,.72));
  color: #FBF3E8;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}
/* 사진이 없을 때 보여줄 자리 */
.hero-art.placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--paper-3) 0 14px, var(--paper-2) 14px 28px);
  color: var(--ink-3);
}
.hero-art.placeholder .ph-inner { text-align: center; font-size: 14px; }
.hero-art.placeholder svg { margin: 0 auto 10px; opacity: .5; }

/* ── 강점 3칸 ────────────────────────────────────── */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.point {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.point-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.point h3 { font-size: 19px; margin-bottom: 9px; }
.point p { color: var(--ink-2); font-size: 15px; }

/* ── 소개 ────────────────────────────────────────── */
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.intro-body { font-size: 17px; color: var(--ink-2); }
.intro-body p { margin-bottom: 1.2em; }

/* ── 갤러리 그리드 ───────────────────────────────── */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.gal-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.gal-item:hover img { transform: scale(1.045); }
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(35,37,43,.78));
  color: #FCF6EE;
  font-size: 13.5px;
  line-height: 1.45;
}
.gal-cap strong { font-weight: 700; }
.gal-cap span { opacity: .82; }

.tagbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; justify-content: center; }
.tagbar a {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--ink-2);
  background: var(--card);
}
.tagbar a.on { background: var(--wine); border-color: var(--wine); color: #FFF6EC; }

/* ── 가격표 ──────────────────────────────────────── */
.price-cat { margin-bottom: 46px; }
.price-cat h3 {
  font-family: var(--serif);
  font-size: 23px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 6px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
}
.price-row .pn { font-weight: 600; flex: none; }
.price-row .pd { color: var(--ink-3); font-size: 14.5px; flex: 1; }
.price-row .pp { font-weight: 700; color: var(--wine); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── 가격표 (무게·크기 × 시술 표) ────────────────── */
.ptable { margin-bottom: 42px; }
.ptable-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ptable-head h3 { font-family: var(--serif); font-size: 23px; }
.ptable-sub { font-size: 14.5px; color: var(--ink-3); }
.ptable-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.ptable-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 420px;
}
.ptable-grid thead th {
  background: var(--ink);
  color: #F6EFE4;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
}
.ptable-grid thead th.ptable-corner { background: var(--ink); }
.ptable-grid tbody th {
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  background: var(--paper-2);
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.ptable-grid tbody td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.ptable-grid tbody tr:last-child th,
.ptable-grid tbody tr:last-child td { border-bottom: 0; }
.ptable-grid tbody tr:nth-child(even) td { background: #FDFBF7; }
.ptable-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-3);
}

.price-note {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* ── 정보 카드 ───────────────────────────────────── */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.info-card h3 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.info-card h3::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--wine); flex: none;
}
.info-card p, .info-card li { color: var(--ink-2); font-size: 15px; }

/* ── CTA 배너 ────────────────────────────────────── */
.cta {
  background: var(--ink);
  color: #F6EFE4;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: -40% -10% auto auto;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,132,151,.22), transparent 70%);
}
.cta h2 { font-family: var(--serif); font-size: clamp(25px, 3.6vw, 34px); margin-bottom: 14px; position: relative; }
.cta p { color: #CFC6B8; margin-bottom: 28px; position: relative; white-space: pre-line; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta .btn-ghost { border-color: rgba(246,239,228,.32); color: #F6EFE4; }
.cta .btn-ghost:hover { background: rgba(246,239,228,.1); border-color: #F6EFE4; }

/* ── 공지 목록 ───────────────────────────────────── */
.notice-list { border-top: 1px solid var(--line); }
.notice-item {
  display: block;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.notice-item:hover { background: var(--paper-2); }
.notice-item .nt { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.notice-item .nd { font-size: 13.5px; color: var(--ink-3); }
.notice-item .nx { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.pin {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: var(--wine); color: #FFF3E8;
  padding: 3px 9px; border-radius: 999px; flex: none;
}

.article { max-width: 760px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); margin-bottom: 12px; }
.article-body { font-size: 17px; color: var(--ink-2); }
.article-body p { margin-bottom: 1.3em; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }

/* ── 오시는 길 ───────────────────────────────────── */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}
.addr-big { font-family: var(--serif); font-size: clamp(20px, 3vw, 26px); margin-bottom: 10px; }

/* 카카오맵 임베드 — 지도가 실제로 뜬 뒤에만 보인다 */
.map-wrap { position: relative; }
.map-live {
  display: none;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.map-live.is-ready { display: block; }
.map-embed[hidden] { display: none; }
/* 지도 위에 띄우는 가게 이름표 */
.map-label {
  background: var(--wine);
  color: #FFF6EC;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(35,37,43,.28);
  transform: translateX(-50%);
}
.map-hint {
  margin: 9px 2px 0;
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  justify-content: center;
}

/* ── 보호자 미용 기록 카드 ───────────────────────── */
.record-hero {
  background: linear-gradient(160deg, var(--paper-2), var(--paper));
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--line);
}
.record-dog { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.record-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--white);
  box-shadow: var(--shadow); flex: none; background: var(--paper-3);
}
.record-avatar.ph { display: grid; place-items: center; color: var(--ink-3); font-family: var(--serif); font-size: 30px; }
.record-dog h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); }
.record-dog .rd-meta { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.record-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--ink-2);
}
.chip b { color: var(--ink); font-weight: 600; }
.chip.warn { border-color: var(--rose); background: #FDF1F3; color: var(--wine-dark); }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px;
  width: 2px; background: var(--line-2);
}
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 12px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--wine);
}
.visit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visit-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.visit-head .vd { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.visit-head .vs { color: var(--wine); font-size: 14px; font-weight: 600; }
.visit-body { padding: 22px 24px; }
.visit-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 0 24px 22px;
}
.vp { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--paper-3); }
.vp img { width: 100%; height: 100%; object-fit: cover; }
.vp .vp-tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(35,37,43,.78); color: #FBF3E8;
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.note-block { margin-bottom: 16px; }
.note-block:last-child { margin-bottom: 0; }
.note-block h4 {
  font-size: 12.5px; letter-spacing: .06em; color: var(--ink-3);
  margin-bottom: 5px; font-weight: 700;
}
.note-block p { font-size: 15.5px; color: var(--ink-2); }
.note-block.alert { background: #FDF1F3; border-left: 3px solid var(--rose); padding: 14px 16px; border-radius: 0 8px 8px 0; }
.note-block.alert h4 { color: var(--wine); }
.note-block.msg { background: var(--paper-2); border-radius: 10px; padding: 16px 18px; font-family: var(--serif); }

.empty {
  text-align: center;
  padding: 72px 24px;
  color: var(--ink-3);
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
}
.empty strong { display: block; color: var(--ink-2); font-size: 17px; margin-bottom: 8px; font-family: var(--serif); }

/* ── 푸터 ────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: #C6BDB0;
  padding: 62px 0 26px;
  margin-top: 0;
  font-size: 14.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-name { font-family: var(--serif); font-size: 22px; color: #F6EFE4; margin-bottom: 10px; }
.footer-name span { font-size: 11px; letter-spacing: .2em; color: #8D8578; margin-left: 8px; }
.footer-note { white-space: pre-line; max-width: 34ch; }
.footer-col h4 { font-size: 13px; color: #F6EFE4; letter-spacing: .06em; margin-bottom: 12px; }
.footer-col p { margin-bottom: .5em; }
.footer-col .dim { color: #8D8578; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { border-bottom: 1px solid rgba(198,189,176,.3); padding-bottom: 1px; }
.footer-links a:hover { color: #F6EFE4; border-color: #F6EFE4; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(198,189,176,.16);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #8D8578; gap: 16px; flex-wrap: wrap;
}
.admin-link { color: #6F695F; }
.admin-link:hover { color: #C6BDB0; }

/* ── 오류 페이지 ─────────────────────────────────── */
.errorpage { text-align: center; padding: 120px 24px; }
.errorpage .code { font-family: var(--serif); font-size: 72px; color: var(--line-2); line-height: 1; }
.errorpage h1 { font-family: var(--serif); font-size: 28px; margin: 18px 0 10px; }
.errorpage p { color: var(--ink-2); margin-bottom: 28px; }

/* ── 전화번호 팝업 (통화가 안 되는 PC 에서) ─────── */
.callbox {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(24,25,29,.62);
  display: none; place-items: center; padding: 24px;
}
.callbox.on { display: grid; }
.callbox-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 34px 32px 28px;
  text-align: center;
  min-width: min(340px, 88vw);
  box-shadow: var(--shadow-lg);
}
.callbox-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; font-size: 28px; line-height: 1;
  color: var(--ink-3); cursor: pointer;
}
.callbox-label { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; letter-spacing: .04em; }
.callbox-num {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
  user-select: all;
}
.callbox-acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ── 라이트박스 ──────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24,25,29,.92);
  display: none; place-items: center; padding: 24px;
}
.lightbox.on { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; color: #F6EFE4; font-size: 34px; cursor: pointer; line-height: 1;
}

/* ── 휴대폰 하단 연락 바 ─────────────────────────── */
.mobile-bar { display: none; }

@media (max-width: 720px) {
  .mobile-bar {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(255, 253, 249, .95);
    backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 2px 9px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-2);
    letter-spacing: -0.02em;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bar a.on { color: var(--wine); }
  .mobile-bar a:active { background: var(--paper-2); }
  .mobile-bar svg { display: block; }

  /* 하단 바에 내용이 가리지 않도록 여백 확보 */
  .site-footer { padding-bottom: calc(26px + 62px + env(safe-area-inset-bottom)); }
}

/* ── 반응형 ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 24px 68px; gap: 40px; }
  .hero-art { aspect-ratio: 4/3; max-height: 380px; }
  .points { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section { padding: 62px 0; }
  .cta { padding: 44px 26px; }
}

@media (max-width: 720px) {
  .navbtn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 42px; height: 42px; padding: 0 9px;
    border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; background: var(--card);
  }
  .navbtn span { display: block; height: 1.8px; background: var(--ink); border-radius: 2px; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
    box-shadow: var(--shadow-lg);
  }
  .navtoggle:checked ~ .site-nav { display: flex; }
  .site-nav > a { padding: 13px 8px; border-radius: 8px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; }
  .header-inner { position: relative; min-height: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .visit-photos { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); padding: 0 16px 18px; }
  .visit-head, .visit-body { padding-left: 18px; padding-right: 18px; }
  .timeline { padding-left: 22px; }
  .tl-item::before { left: -22px; width: 13px; height: 13px; }
  .price-row { flex-wrap: wrap; gap: 4px 12px; }
  .price-row .pd { flex-basis: 100%; order: 3; }
  .price-row .pp { margin-left: auto; }
}

/* ── 휴대폰 세부 조정 ────────────────────────────── */
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 40px 0; }
  .page-head { padding: 44px 0 34px; }
  .section-head { margin-bottom: 30px; }
  .section-lead { font-size: 15.5px; }

  /* 히어로: 글자를 조금 줄이고 버튼은 가로 꽉 채워 누르기 쉽게 */
  .hero-inner { padding: 44px 18px 52px; gap: 30px; }
  .hero-copy .hero-sub { font-size: 15.5px; margin-bottom: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; padding: 15px 20px; }
  .hero-meta { gap: 16px 24px; margin-top: 26px; padding-top: 20px; }
  .hero-meta > div { flex: 1 1 42%; }
  .hero-art { aspect-ratio: 3/2; max-height: 300px; }

  .point { padding: 24px 20px; }
  .intro-body { font-size: 15.5px; }

  .cta { padding: 36px 20px; border-radius: 16px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .info-card { padding: 22px 20px; }
  .price-note { padding: 18px 18px; }

  /* 가격표: 4열까지는 휴대폰 화면에 들어오도록 촘촘하게 */
  .ptable { margin-bottom: 32px; }
  .ptable-head h3 { font-size: 20px; }
  .ptable-sub { font-size: 13px; }
  .ptable-grid { min-width: 0; font-size: 13.5px; }
  .ptable-grid thead th { padding: 10px 6px; font-size: 12px; }
  .ptable-grid tbody th { padding: 10px 8px; font-size: 13px; }
  .ptable-grid tbody td { padding: 10px 4px; }
  .map-live { height: 300px; }
  .map-actions .btn { flex: 1 1 auto; }

  /* 기록 카드: 손님이 폰으로 보는 화면이라 가장 신경 씀 */
  .record-hero { padding: 36px 0 30px; }
  .record-avatar { width: 74px; height: 74px; }
  .record-dog { gap: 16px; }
  .record-chips { gap: 6px; margin-top: 18px; }
  .chip { font-size: 12.5px; padding: 5px 12px; }
  .visit-head { padding: 16px 18px; gap: 8px; }
  .visit-head .vd { font-size: 17px; }
  .visit-head .vs { font-size: 13.5px; }
  .note-block p { font-size: 15px; }
  .article-body { font-size: 15.5px; }
  .notice-item { padding: 20px 2px; }
  .notice-item .nt { font-size: 16.5px; }

  /* 터치 목표를 넉넉하게 */
  .btn-sm { padding: 11px 18px; font-size: 14.5px; }
  .tagbar a { padding: 9px 16px; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 15px; }
  .hero-copy h1 { font-size: 30px; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar a { font-size: 10.5px; }
}

@media print {
  .site-header, .site-footer, .topbanner, .btn, .mobile-bar { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   손님이 직접 채우는 정보 화면 (/i/토큰)
   ========================================================================== */

.intake-wrap { max-width: 560px; padding-top: 34px; padding-bottom: 70px; }

.intake-head { margin-bottom: 26px; }
.intake-eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--wine); margin: 0 0 8px; }
.intake-head h1 { font-family: var(--serif); font-size: 27px; margin: 0 0 10px; }
.intake-lead { font-size: 15.5px; color: var(--ink-2); line-height: 1.75; margin: 0; }

.intake-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 16px;
}
.intake-card h2 { font-size: 17px; margin: 0 0 16px; }
.intake-card h2 em { font-style: normal; font-size: 13.5px; color: var(--ink-3); font-weight: 400; }

.ifield { margin-bottom: 18px; }
.ifield:last-child { margin-bottom: 0; }
.ifield label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }

.ifield input[type=text], .ifield input[type=tel], .ifield input[type=date], .ifield textarea {
  width: 100%;
  font-family: inherit; font-size: 16px;   /* 16px 미만이면 아이폰에서 화면이 확대된다 */
  padding: 11px 13px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  -webkit-appearance: none;
  resize: vertical;
}
.ifield input:focus, .ifield textarea:focus {
  outline: none; border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(142, 59, 78, .12);
}

.ihint { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 0; line-height: 1.55; }

.ichoice { display: flex; flex-wrap: wrap; gap: 7px; }
.ichoice label {
  margin: 0; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 999px;
  padding: 8px 16px; font-size: 14.5px; font-weight: 500;
  background: var(--paper); color: var(--ink-2);
}
.ichoice label.on { border-color: var(--wine); background: var(--card); color: var(--wine); font-weight: 600; }
.ichoice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ichoice label:focus-within { box-shadow: 0 0 0 3px rgba(142, 59, 78, .12); }

.intake-privacy {
  font-size: 13px; color: var(--ink-3); line-height: 1.7;
  background: var(--paper-2); border-radius: var(--radius);
  padding: 14px 16px; margin: 4px 0 20px;
}

.intake-submit { width: 100%; justify-content: center; }

.intake-done { text-align: center; padding: 50px 0 30px; }
.intake-check {
  width: 66px; height: 66px; margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--paper-2); color: var(--wine);
}
.intake-done h1 { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; }
.intake-done p { font-size: 15px; color: var(--ink-2); line-height: 1.8; margin: 0 0 8px; }
.intake-call a { color: var(--wine); font-weight: 600; }

@media (max-width: 480px) {
  .intake-wrap { padding-top: 24px; }
  .intake-card { padding: 18px 16px; border-radius: var(--radius); }
}

/* 처음 오시는 손님 — 여러 마리 적기 */
.intake-error {
  background: #FDF0EE;
  border: 1px solid #C0392B;
  color: #C0392B;
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: 14.5px;
  margin: 0 0 18px;
}

.ifield label .req {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--wine);
  background: var(--paper-2);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 4px;
}

.dogcard h2 { display: flex; align-items: center; gap: 9px; }
.dogdel {
  margin-left: auto;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px 11px;
  cursor: pointer;
}
.dogdel:hover { color: var(--wine); border-color: var(--wine); }

.intake-more {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.intake-more .hint { font-size: 13px; color: var(--ink-3); margin: 0; }

@media (max-width: 480px) {
  .intake-more .btn { width: 100%; justify-content: center; }
  .intake-more .hint { width: 100%; text-align: center; }
}

/* ═════════ 홈 화면에 앱 깔기 안내 ═════════ */

.installbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  animation: ib-up .28s ease;
}
@keyframes ib-up { from { transform: translateY(14px); opacity: 0; } }

.ib-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
  padding: 13px 15px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08), 0 18px 40px -14px rgba(0,0,0,.32);
}

.ib-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
}

.ib-text { flex: 1; min-width: 0; }
.ib-text p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.ib-text b { font-weight: 700; }

/* 어떤 안내를 보일지는 install.js 가 data-mode 로 정한다 */
.ib-prompt, .ib-ios, .ib-inapp { display: none; }
.installbar[data-mode="prompt"] .ib-prompt,
.installbar[data-mode="ios"] .ib-ios,
.installbar[data-mode="inapp"] .ib-inapp { display: block; }

.ib-ios strong, .ib-inapp strong { display: block; margin-bottom: 2px; }

.ib-acts { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.ib-only-prompt, .ib-only-inapp { display: none; }
.installbar[data-mode="prompt"] .ib-only-prompt,
.installbar[data-mode="inapp"] .ib-only-inapp { display: inline-flex; }

.ib-close {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .ib-inner { flex-wrap: wrap; gap: 10px; }
  .ib-icon { display: none; }
  .ib-text { flex: 1 1 100%; }
  .ib-acts { width: 100%; }
  .ib-acts .btn { flex: 1; justify-content: center; }
}

.ib-inner { background: var(--card); border: 1px solid var(--line-2); color: var(--ink); }
.ib-icon { background: var(--paper-2); color: var(--wine); }
.ib-text p { color: var(--ink-2); }
.ib-text strong { color: var(--ink); }
.ib-close { color: var(--ink-3); }
.ib-close:hover { background: var(--paper-2); color: var(--ink); }

/* 아래 연락 바가 있으면 그 위로 올린다 */
@media (max-width: 780px) {
  body:has(.mobile-bar) .installbar { bottom: calc(64px + env(safe-area-inset-bottom)); }
}
