/* Paperlogy (SIL OFL 1.1, free for commercial use) — headings */
@font-face { font-family: "Paperlogy"; font-weight: 500; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2"); }

:root {
  --ink: #1b2a24;
  --ink-2: #44534c;
  --ink-3: #7a857f;
  --green: #1f3d33;
  --green-2: #2f5a4b;
  --green-soft: #e6eee9;
  --cream: #f7f2ea;
  --cream-2: #efe6d8;
  --gold: #b98a4e;
  --gold-soft: #f3e6d2;
  --line: #e4ded4;
  --white: #fff;
  --danger: #b4483b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(31, 61, 51, .22);
  --shadow-lg: 0 24px 60px -24px rgba(31, 61, 51, .35);
  --head: "Paperlogy", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1200px;
  --hdr: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.3; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.boot { min-height: 70vh; display: grid; place-items: center; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--green-soft); border-top-color: var(--green); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; border: 1px solid transparent; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-2); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--green); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-kakao { background: #fee500; color: #191600; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
/* Fixed header: transparent over the first section, soft cream once the page scrolls */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(247,242,234,0); border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.site-header.scrolled, .site-header.menu-open { background: rgba(247,242,234,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: rgba(185,138,78,.18); box-shadow: 0 8px 24px -18px rgba(31,61,51,.35); }
.hero { padding-top: var(--hdr); }
#view > :first-child:not(.hero):not(.phead) { margin-top: var(--hdr); }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }
.hdr { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 21px; color: var(--green); }
.logo svg { width: 34px; height: 34px; }
.logo small { display: block; font-family: var(--body); font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .12em; line-height: 1; margin-top: 2px; }
.gnb { display: flex; gap: 6px; margin-left: auto; }
.gnb a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.gnb a:hover, .gnb a.on { color: var(--green); background: var(--green-soft); }
.hdr-cta { display: flex; gap: 8px; align-items: center; }
.hdr-tel { font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 6px; font-size: 15px; }
.hdr-tel svg { width: 18px; height: 18px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.drawer { display: none; }

/* ---------- Section commons ---------- */
.sec { padding: 110px 0; }
.sec-cream { background: var(--cream); }
.sec-green { background: var(--green); color: #f4efe6; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.sec-head { margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.sec-green .sec-head p { color: #cdd9d2; }
.sec-head.center { text-align: center; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--cream) 0%, #fbf8f3 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #e7efe9 0%, rgba(231,239,233,0) 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 72px 0 88px; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa39e; }
.dot.live { background: #2aa56a; box-shadow: 0 0 0 0 rgba(42,165,106,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(42,165,106,0); } 100% { box-shadow: 0 0 0 0 rgba(42,165,106,0); } }
.hero h1 { font-size: clamp(36px, 5vw, 62px); margin: 22px 0 20px; color: var(--green); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.trust { display: flex; gap: 18px 26px; flex-wrap: wrap; margin-top: 38px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust svg { width: 20px; height: 20px; color: var(--green-2); flex: none; }

.hero-visual { position: relative; }
.hero-art { position: relative; aspect-ratio: 4/4.4; border-radius: 200px 200px 28px 28px; background: linear-gradient(160deg, #2f5a4b 0%, #1f3d33 70%); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-art svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .cap { position: absolute; left: 24px; bottom: 22px; color: #e8dfcf; font-size: 13px; opacity: .8; }
.qbook { position: absolute; left: -64px; bottom: -36px; width: 300px; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.qbook h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.qbook h3 svg { width: 20px; height: 20px; color: var(--gold); }
.qbook p.s { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.qbook label { font-size: 12px; font-weight: 700; color: var(--ink-3); display: block; margin: 10px 0 6px; }
.qbook select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.qdays { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.qdays button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 0; font-size: 12px; line-height: 1.3; }
.qdays button b { display: block; font-size: 15px; }
.qdays button.on { background: var(--green); border-color: var(--green); color: #fff; }
.qbook .btn { margin-top: 16px; }

/* ---------- Stats ---------- */
.stats { background: var(--green); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; border-left: 1px solid rgba(255,255,255,.15); }
.stat b { font-family: var(--head); font-size: clamp(30px, 3.6vw, 44px); display: block; color: #f3e6d2; font-variant-numeric: tabular-nums; opacity: .25; transform: translateY(14px) scale(.96); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.stat b small { font-size: .55em; margin-left: 2px; color: #e5c99f; }
.stat b.counting, .stat b.counted { opacity: 1; transform: none; }
.stat b.counted { animation: pop .45s ease; }
@keyframes pop { 50% { transform: scale(1.06); } }
.stat span { display: block; }
.stat::after { content: ""; display: block; width: 0; height: 2px; margin: 12px auto 0; background: var(--gold); border-radius: 2px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.stat.on::after { width: 36px; }
.stat span { font-size: 14px; color: #c5d3cb; }
.stats-note { text-align: center; font-size: 12px; color: #9fb3a8; padding-bottom: 18px; }

/* ---------- Intro (clinic) ---------- */
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.intro-art { aspect-ratio: 5/6; border-radius: 28px; background: var(--cream-2); position: relative; overflow: hidden; }
.intro-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-callout { position: absolute; right: 22px; bottom: 22px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); }
.intro-callout b { font-family: var(--head); font-size: 28px; color: var(--green); display: block; line-height: 1.1; }
.intro-callout span { font-size: 13px; color: var(--ink-3); }
.intro h2 { font-size: clamp(28px, 3.2vw, 40px); }
.intro .lead { margin-top: 20px; color: var(--ink-2); font-size: 17px; white-space: pre-line; }
.phil { margin-top: 34px; display: grid; gap: 14px; }
.phil li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--cream); }
.phil .n { font-family: var(--head); color: var(--gold); font-size: 15px; font-weight: 700; flex: none; padding-top: 2px; }
.phil h3 { font-size: 17px; margin-bottom: 4px; }
.phil p { font-size: 15px; color: var(--ink-2); }

/* ---------- Treatments ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 240px; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ticon { width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.ticon svg { width: 28px; height: 28px; }
.tcard h3 { font-size: 21px; }
.tcard p { color: var(--ink-2); font-size: 15px; flex: 1; }
.tcard .more { font-size: 14px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .35s, border-color .35s, box-shadow .35s; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, #e5c99f, var(--gold)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.step svg { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.step:hover { transform: translateY(-8px); background: rgba(255,255,255,.12); border-color: rgba(229,201,159,.45); box-shadow: 0 22px 40px -22px rgba(0,0,0,.55); }
.step:hover::before { width: 100%; }
.step:hover svg { transform: scale(1.15) rotate(-6deg); }
.step:hover h3 { color: #f3e6d2; }
.step .k { font-family: var(--head); color: #e5c99f; font-size: 14px; letter-spacing: .1em; }
.step h3 { font-size: 20px; margin: 12px 0 8px; color: #fff; }
.step p { color: #c5d3cb; font-size: 15px; }
.step svg { width: 30px; height: 30px; color: #e5c99f; margin-bottom: 14px; }

/* ---------- Doctors ---------- */
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.doc-photo { aspect-ratio: 4/4.2; background: linear-gradient(170deg, var(--cream-2), var(--cream)); position: relative; display: grid; place-items: center; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo .ph { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 44px; color: var(--green); box-shadow: var(--shadow); }
.doc-photo .sched { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--green); }
.doc-body { padding: 24px 26px 28px; }
.doc-body .pos { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.doc-body h3 { font-size: 23px; margin: 4px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; }
.doc-body .msg { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.career { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.career li { font-size: 14px; color: var(--ink-2); padding-left: 14px; position: relative; }
.career li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Equipment ---------- */
.ecats { display: grid; gap: 64px; }
.ecat-head { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.ecat-head h3 { font-size: 26px; }
.ecat-head .no { font-family: var(--head); color: var(--gold); font-size: 14px; letter-spacing: .14em; display: block; margin-bottom: 8px; }
.ecat-head p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.egrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eq { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.eq-img { aspect-ratio: 4/3; background: linear-gradient(150deg, #eef3ef, #f7f2ea); display: grid; place-items: center; color: var(--green-2); }
.eq-img img { width: 100%; height: 100%; object-fit: cover; }
.eq-img svg { width: 54px; height: 54px; opacity: .55; }
.eq-body { padding: 18px 20px 22px; }
.eq-body h4 { font-size: 17px; font-family: var(--head); }
.eq-body .pur { font-size: 13px; font-weight: 600; color: var(--gold); margin-top: 2px; }
.eq-body p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.etabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.etabs button, .chip { border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.etabs button.on, .chip.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Reviews marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.track { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.marquee.rev .track { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(var(--shift, -50%)); } }
.rv { width: 340px; flex: none; background: #fff; border-radius: var(--radius); padding: 24px 24px 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.stars { display: flex; gap: 2px; color: #e2a33b; }
.stars svg { width: 16px; height: 16px; }
.rv p { font-size: 15px; color: var(--ink); flex: 1; }
.rv .who { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.rv .who b { color: var(--green); font-weight: 600; }
.rv-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ + CTA ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--head); color: var(--gold); }
.faq summary .pm { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s; flex: none; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--green); color: #fff; border-color: var(--green); }
.faq .a { padding: 0 4px 22px 34px; color: var(--ink-2); }
.cta-card { position: sticky; top: calc(var(--hdr) + 20px); background: var(--green); color: #fff; border-radius: var(--radius); padding: 32px 28px; }
.cta-card h3 { font-size: 24px; color: #fff; }
.cta-card p { color: #c5d3cb; margin: 10px 0 22px; font-size: 15px; }
.cta-card .tel { font-family: var(--head); font-size: 30px; color: #f3e6d2; display: block; margin-bottom: 18px; }
.cta-card .btns { display: grid; gap: 8px; }

/* ---------- Location ---------- */
.loc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 22px; align-content: start; }
.info-card h3 { font-size: 18px; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .note { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); margin-left: 6px; font-weight: 700; }
.hours tr.today td { color: var(--green); }
.trans li { display: flex; gap: 12px; font-size: 15px; padding: 6px 0; }
.trans b { flex: none; width: 52px; color: var(--green); }
.addr { font-size: 15px; color: var(--ink-2); }

/* ---------- Page header (sub pages) ---------- */
.phead { background: var(--cream); padding: calc(72px + var(--hdr)) 0 60px; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, #e6eee9, rgba(230,238,233,0) 70%); }
.phead h1 { font-size: clamp(32px, 4vw, 48px); color: var(--green); position: relative; }
.phead p { color: var(--ink-2); margin-top: 12px; font-size: 17px; position: relative; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; position: relative; }

/* ---------- Treatments page ---------- */
.ttabs { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: var(--hdr); z-index: 5; background: #fff; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0 20px; }
.tdetail h2 { font-size: clamp(28px, 3vw, 38px); margin: 16px 0; }
.tdetail .desc { color: var(--ink-2); font-size: 17px; }
.box { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.box + .box { margin-top: 16px; }
.box h3 { font-size: 18px; margin-bottom: 14px; }
.checks li { display: flex; gap: 10px; padding: 7px 0; font-size: 15px; }
.checks svg { width: 20px; height: 20px; color: var(--green-2); flex: none; margin-top: 2px; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; }
.flow span { background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--green); border: 1px solid var(--line); }

/* ---------- Reservation ---------- */
.rsv { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; padding: 56px 0 100px; }
.rstep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.rstep + .rstep { margin-top: 16px; }
.rstep h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rstep h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 14px; font-family: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 700; }
.cal-head button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.cal-head button svg { width: 16px; height: 16px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .w { font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 4px 0; }
.cal .w.sun { color: var(--danger); }
.cal button { aspect-ratio: 1; border: 1px solid transparent; border-radius: 12px; background: var(--cream); font-weight: 600; font-size: 15px; }
.cal button:disabled { background: transparent; color: #c9c5bd; cursor: not-allowed; }
.cal button.on { background: var(--green); color: #fff; }
.cal button.today:not(.on) { border-color: var(--gold); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slots button { padding: 10px 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; }
.slots button.on { background: var(--green); color: #fff; border-color: var(--green); }
.slot-group { font-size: 13px; color: var(--ink-3); font-weight: 700; margin: 14px 0 8px; }
.slot-group:first-child { margin-top: 0; }
.muted { color: var(--ink-3); font-size: 14px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.field .err { color: var(--danger); font-size: 13px; margin-top: 4px; display: none; }
.field.bad input { border-color: var(--danger); }
.field.bad .err { display: block; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 12px 22px; font-weight: 600; }
.seg button.on { background: var(--green); color: #fff; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.agree input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 2px; }
.agree details { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.summary { position: sticky; top: calc(var(--hdr) + 20px); background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px; }
.summary h3 { font-size: 20px; color: #fff; margin-bottom: 18px; }
.summary dl { display: grid; grid-template-columns: 80px 1fr; gap: 10px; margin: 0 0 22px; font-size: 15px; }
.summary dt { color: #a9bdb2; }
.summary dd { margin: 0; font-weight: 600; }
.summary .btn { width: 100%; }
.summary .tip { font-size: 13px; color: #a9bdb2; margin-top: 14px; }
.form-err { background: #fbeceb; color: var(--danger); padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-top: 14px; display: none; }
.done { text-align: center; padding: 90px 0 120px; }
.done .ok { width: 80px; height: 80px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.done .ok svg { width: 40px; height: 40px; }
.done h1 { font-size: 34px; color: var(--green); }
.done p { color: var(--ink-2); margin-top: 12px; }
.done .card { max-width: 440px; margin: 30px auto; background: var(--cream); border-radius: var(--radius); padding: 24px; text-align: left; }
.done .card dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px; margin: 0; }
.done .card dt { color: var(--ink-3); }
.done .card dd { margin: 0; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #15241f; color: #a8b6af; padding: 60px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.ft { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.ft .logo { color: #f3e6d2; }
.ft h4 { color: #fff; font-size: 15px; margin-bottom: 12px; font-family: var(--body); }
.ft p { line-height: 1.8; }
.ft .tel { font-family: var(--head); font-size: 26px; color: #f3e6d2; }
.ft-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.ft-bottom a { color: #7d8d85; }

/* ---------- Quick menu (right) ---------- */
.quick { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; width: 84px; }
.quick a, .quick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px 4px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); border: 0; background: none; border-bottom: 1px solid var(--line); }
.quick a:last-child, .quick button:last-child { border-bottom: 0; }
.quick svg { width: 22px; height: 22px; color: var(--green); }
.quick .q-main { background: var(--green); color: #fff; }
.quick .q-main svg { color: #f3e6d2; }
.quick a:hover:not(.q-main), .quick button:hover { background: var(--cream); }
.quick .q-kakao svg { color: #3a2f00; }
.quick .q-kakao { background: #fee500; color: #3a2f00; }
.mbar { display: none; }

/* ---------- Admin ---------- */
.admin { padding: 48px 0 100px; }
.admin-login { max-width: 460px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; text-align: center; }
.admin-login h1 { font-size: 26px; color: var(--green); }
.admin-login p { color: var(--ink-2); margin: 12px 0 24px; font-size: 15px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.kpi { background: var(--cream); border-radius: var(--radius-sm); padding: 20px 22px; }
.kpi span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.kpi b { display: block; font-family: var(--head); font-size: 32px; color: var(--green); }
.atable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.atable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 880px; }
.atable th { background: var(--cream); text-align: left; padding: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.atable td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; }
.atable select, .atable input { padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; }
.atable .msg { max-width: 220px; color: var(--ink-2); white-space: pre-line; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.b-접수 { background: #fff1d6; color: #9a6510; }
.b-확정 { background: var(--green-soft); color: var(--green); }
.b-완료 { background: #e9ecef; color: #555; }
.b-취소 { background: #fbeceb; color: var(--danger); }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-bar h1 { font-size: 28px; color: var(--green); }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .3s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .quick { right: 12px; width: 76px; }
}
@media (max-width: 1100px) {
  .gnb, .hdr-cta .hdr-tel { display: none; }
  .menu-btn { display: grid; }
  .hdr-cta { display: none; }
  .drawer { display: block; position: fixed; inset: var(--hdr) 0 0 0; background: #fff; z-index: 39; padding: 20px; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; overflow-y: auto; }
  .drawer.open { transform: none; visibility: visible; }
  .drawer a { display: block; padding: 16px 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .drawer .btn { margin-top: 20px; width: 100%; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .qbook { left: auto; right: -10px; }
  .intro, .tdetail, .faq-wrap, .loc, .rsv { grid-template-columns: 1fr; gap: 36px; }
  .cta-card, .summary { position: static; }
  .tgrid, .dgrid, .egrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ecat-head { grid-template-columns: 1fr; gap: 20px; }
  .ft { grid-template-columns: 1fr 1fr; }
  .quick { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.15); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
  .mbar svg { width: 22px; height: 22px; color: var(--green); }
  .mbar a.main { background: var(--green); color: #fff; }
  .mbar a.main svg { color: #f3e6d2; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .kpis { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --hdr: 64px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .sec { padding: 76px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero-in { padding: 44px 0 120px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .qbook { position: relative; left: 0; right: 0; bottom: 0; width: auto; margin: -70px 14px 0; }
  .hero-art { aspect-ratio: 4/3.4; border-radius: 140px 140px 24px 24px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .tgrid, .dgrid, .egrid, .steps, .fgrid { grid-template-columns: 1fr; }
  .tcard { min-height: 0; }
  .rv { width: 280px; }
  .ft { grid-template-columns: 1fr; }
  .logo { font-size: 18px; }
  .logo svg { width: 30px; height: 30px; }
  .rstep { padding: 22px 18px; }
  .map, .map iframe { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; flex-wrap: wrap; width: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
