/* 몽실 펫살롱 — 공용 스타일 */
:root {
  --bg: #fff8e8;
  --cream: #fdf0d0;
  --butter: #f9e08a;
  --butter-soft: #fff1b8;
  --mint: #cfeedd;
  --mint-soft: #e6f7ee;
  --mint-deep: #2b7f62;
  --mint-dark: #1f6049;
  --ink: #4a3d32;
  --muted: #84735f;
  --line: #ecdcb4;
  --white: #fffdf6;
  --dark: #3a2f27;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: "Noto Sans KR", sans-serif; line-height: 1.75; padding-bottom: 64px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.round { font-family: "Gowun Dodum", "Noto Sans KR", sans-serif; }

/* 샘플 배너 */
.sample { background: var(--dark); color: #dcccb6; text-align: center; font-size: 12px; padding: 7px 16px; line-height: 1.6; }
.sample b { color: #fff; font-weight: 500; }
.sample a { color: #fff; text-decoration: underline; }

/* 헤더 */
header { background: rgba(255, 248, 232, .94); backdrop-filter: blur(6px); border-bottom: 2px dashed var(--line); position: sticky; top: 0; z-index: 20; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1.2; flex-shrink: 0; }
.logo i { width: 38px; height: 38px; border-radius: 50%; background: var(--butter); position: relative; flex-shrink: 0; }
.logo i::before, .logo i::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); top: 14px; }
.logo i::before { left: 10px; }
.logo i::after { right: 10px; }
.logo strong { display: block; font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 20px; color: var(--ink); }
.logo > span { display: block; }
.logo > span > span { display: block; font-size: 9px; letter-spacing: .3em; color: var(--mint-deep); }
.gnb { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.gnb::-webkit-scrollbar { display: none; }
.gnb a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.gnb a:hover { color: var(--ink); background: var(--butter-soft); }
.gnb a[aria-current="page"] { color: var(--ink); font-weight: 500; background: var(--butter); }
.gnb a.cta { background: var(--mint-deep); color: #fff; margin-left: 6px; padding: 8px 16px; }
.gnb a.cta:hover, .gnb a.cta[aria-current="page"] { background: var(--mint-dark); color: #fff; }

/* 버튼 */
.btn { display: inline-block; padding: 14px 26px; font-size: 15px; border-radius: 999px; text-align: center; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-weight: 500; transition: background .2s, color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.mint { background: var(--mint-deep); color: #fff; }
.btn.mint:hover { background: var(--mint-dark); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.butter { background: var(--butter); color: var(--ink); }
.btn.line-dark { border-color: rgba(58, 47, 39, .6); color: var(--dark); }
.btn.naver { background: #03c75a; color: #fff; display: block; margin-bottom: 8px; }
.btn.kakao { background: #fee500; color: #3b1e1e; display: block; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 섹션 공통 */
section { padding: 80px 0; }
section.tint { background: var(--cream); }
section.mintbg { background: var(--mint-soft); }
.head { margin-bottom: 40px; }
.head.center { text-align: center; }
.eyebrow { display: inline-block; background: var(--mint); color: var(--mint-dark); font-size: 11px; letter-spacing: .22em; font-weight: 500; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.head h2, .intro h2 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(26px, 4vw, 34px); line-height: 1.4; }
.head p { color: var(--muted); margin-top: 10px; }
.note { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* 서브페이지 타이틀 */
.page-top { padding: 60px 0 48px; text-align: center; background: var(--butter-soft); border-radius: 0 0 48px 48px; }
.page-top h1 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(30px, 5vw, 42px); margin: 6px 0 8px; }
.page-top p { color: var(--muted); }

/* 홈 히어로 */
.hero { background: var(--butter-soft); padding: 56px 0 72px; border-radius: 0 0 56px 56px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: var(--butter); opacity: .55; }
.hero::before { width: 220px; height: 220px; left: -70px; top: -60px; }
.hero::after { width: 140px; height: 140px; right: 38%; bottom: -50px; background: var(--mint); opacity: .7; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(34px, 5.4vw, 52px); line-height: 1.3; margin: 6px 0 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--butter) 62%); }
.hero p { color: #6c5c4b; margin-bottom: 26px; max-width: 30em; }
.hero .pic { border-radius: 40px 120px 40px 120px; overflow: hidden; border: 8px solid var(--white); box-shadow: 0 14px 34px rgba(74, 61, 50, .16); aspect-ratio: 4 / 4.2; }
.hero .pic img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts span { background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); }
.facts b { color: var(--mint-deep); font-weight: 700; margin-right: 6px; }

/* 소개 */
.intro { text-align: center; max-width: 640px; margin: 0 auto; }
.intro h2 { margin-bottom: 16px; }
.intro p { color: var(--muted); }
.intro .sign { margin-top: 18px; font-family: "Gowun Dodum", sans-serif; color: var(--mint-deep); }

/* 진입 카드 */
.entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entry a { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.entry a:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(74, 61, 50, .12); }
.entry img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.entry .txt { padding: 18px 20px 22px; }
.entry h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 21px; }
.entry p { color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.entry .more { color: var(--mint-deep); font-size: 14px; font-weight: 500; }

/* 이유 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reasons > div { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 2px solid var(--line); }
.reasons .num { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--butter); font-weight: 700; margin-bottom: 12px; }
.reasons h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 20px; margin-bottom: 6px; }
.reasons p { color: var(--muted); font-size: 15px; }

/* 후기 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border-radius: var(--radius); padding: 24px; border: 2px solid var(--line); }
.review .stars { color: #e8a91a; letter-spacing: 2px; margin-bottom: 8px; }
.review p { font-size: 15px; }
.review .meta { margin-top: 12px; color: var(--muted); font-size: 13px; }
.review .tag { background: var(--mint); color: var(--mint-dark); border-radius: 999px; padding: 1px 10px; margin-right: 6px; font-size: 12px; }
.more-link { text-align: center; margin-top: 28px; }

/* CTA 박스 */
.cta-box { background: var(--mint); border-radius: 56px 56px 0 0; text-align: center; }
.cta-box h2 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(26px, 4vw, 34px); margin-bottom: 10px; }
.cta-box p { margin-bottom: 24px; color: #3f5f52; }
.cta-box .btns { justify-content: center; }

/* 가격표 */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 2px solid var(--line); }
table.price { width: 100%; border-collapse: collapse; min-width: 560px; }
table.price th, table.price td { padding: 15px 16px; text-align: center; border-bottom: 1px dashed var(--line); font-size: 15px; }
table.price thead th { background: var(--butter); font-weight: 500; font-size: 14px; }
table.price thead th small { display: block; font-weight: 400; color: #6c5c4b; font-size: 12px; }
table.price tbody th { text-align: left; font-weight: 500; }
table.price tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.5; }
table.price tbody tr:last-child th, table.price tbody tr:last-child td { border-bottom: 0; }
.scroll-hint { display: none; font-size: 13px; color: var(--mint-dark); margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { background: var(--white); border-radius: var(--radius); border: 2px solid var(--line); padding: 24px; }
.box h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 20px; margin-bottom: 10px; }
.box li { padding: 8px 0 8px 18px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15px; }
.box li:last-child { border-bottom: 0; }
.box li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--butter); }
.box li b { font-weight: 500; }
.box li span { color: var(--muted); display: block; font-size: 13px; line-height: 1.55; }
.box.mint { background: var(--mint-soft); border-color: #bfe3d0; }
.box.mint li::before { background: var(--mint-deep); }

/* 스타일 갤러리 */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.filter-row b { font-size: 13px; color: var(--muted); font-weight: 500; margin-right: 6px; min-width: 56px; }
.filter-row button { font-family: inherit; font-size: 14px; border: 2px solid var(--line); background: var(--white); color: var(--muted); padding: 6px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-row button:hover { border-color: var(--butter); color: var(--ink); }
.filter-row button[aria-pressed="true"] { background: var(--butter); border-color: var(--butter); color: var(--ink); font-weight: 500; }
.count { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.style-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); }
.style-card[hidden] { display: none; }
.style-card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.style-card img { width: 100%; height: 100%; object-fit: cover; }
.style-card .txt { padding: 16px 18px 20px; }
.style-card h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 19px; }
.style-card p { color: var(--muted); font-size: 14px; margin: 4px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--mint); color: var(--mint-dark); font-size: 12px; padding: 1px 10px; border-radius: 999px; }
.chips span.y { background: var(--butter-soft); color: #7a5a14; }
.empty { display: none; text-align: center; padding: 40px 0; color: var(--muted); }
.empty.show { display: block; }

/* 이용 안내 */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.steps li::before { content: counter(s); display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: var(--butter); border-radius: 50%; font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; font-weight: 500; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 14px; display: block; line-height: 1.6; }
details { background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 12px 0; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--mint-deep); font-size: 20px; line-height: 1.2; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 14px; color: var(--muted); font-size: 15px; }

/* 예약 */
.reserve-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.form { background: var(--white); border-radius: var(--radius); border: 2px solid var(--line); padding: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field .lab { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field label em, .field .lab em { color: #d2543e; font-style: normal; margin-left: 2px; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea { width: 100%; font-family: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-deep); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 400; margin: 0; cursor: pointer; background: #fff; }
.radios input { accent-color: var(--mint-deep); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.agree input { margin-top: 5px; accent-color: var(--mint-deep); }
.form .btn { width: 100%; }
.success { display: none; margin-top: 20px; background: var(--mint-soft); border: 2px solid var(--mint-deep); border-radius: 16px; padding: 16px 18px; font-size: 15px; }
.success.show { display: block; }
.success strong { display: block; color: var(--mint-dark); margin-bottom: 4px; }
.side { display: grid; gap: 20px; }
.side > div { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.side h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.side p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.rules li { font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.rules li:last-child { border-bottom: 0; }
.rules b { color: var(--ink); font-weight: 500; margin-right: 6px; }

/* 푸터 */
footer { background: var(--dark); color: #d9c9b2; padding: 44px 0 36px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px 48px; }
footer .logo strong { color: #fff; }
footer .logo > span > span { color: var(--butter); }
footer p { margin-top: 10px; }
footer dl { display: grid; grid-template-columns: 76px 1fr; gap: 6px 10px; }
footer dt { color: #a8967e; }
footer a { text-decoration: underline; }
footer .copy { grid-column: 1 / -1; color: #a8967e; font-size: 12px; border-top: 1px solid #5a4b3f; padding-top: 18px; margin-top: 6px; }

/* 하단 고정 바 */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--white); border-top: 2px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0); }
.bar a { text-align: center; padding: 16px 0; font-weight: 500; font-size: 15px; }
.bar a:last-child { background: var(--mint-deep); color: #fff; }

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .hero .wrap, .reserve-grid, footer .wrap { grid-template-columns: 1fr; }
  .hero .pic { aspect-ratio: 16 / 11; border-radius: 32px 80px 32px 80px; }
  .entry, .reasons, .reviews, .style-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .scroll-hint { display: block; }
  header .wrap { flex-direction: column; align-items: stretch; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .logo { justify-content: center; }
  .gnb { justify-content: safe center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
}
@media (min-width: 861px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
