/* 천안노래방 — Obsidian Amber */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --surface: rgba(18, 17, 16, .78);
  --surface-2: rgba(26, 23, 20, .9);
  --line: rgba(176, 122, 46, .22);
  --line-soft: rgba(255, 255, 255, .07);
  --amber: #b07a2e;
  --amber-hi: #e3ad5c;
  --amber-glow: rgba(176, 122, 46, .35);
  --text: #f2ece2;
  --muted: #b3ab9d;
  --dim: #80786b;
  --tg: #2a6f97;
  --radius: 18px;
  --serif: "Noto Serif KR", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { color: var(--amber-hi); font-weight: 700; }

/* 어두운 연기 배경 */
.smoke { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.smoke i {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: .32;
  animation: drift 38s ease-in-out infinite alternate;
}
.smoke i:nth-child(1) { background: radial-gradient(circle, #3a2510 0%, transparent 65%); top: -25vmax; left: -20vmax; }
.smoke i:nth-child(2) { background: radial-gradient(circle, #1b1a22 0%, transparent 65%); bottom: -30vmax; right: -25vmax; animation-duration: 46s; opacity: .55; }
.smoke i:nth-child(3) { background: radial-gradient(circle, #2a1a0c 0%, transparent 60%); top: 30%; left: 35%; width: 50vmax; height: 50vmax; animation-duration: 54s; opacity: .22; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.96); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* 상단 바 */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 8, 11, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--amber); display: grid; place-items: center; font-size: .78rem; color: var(--amber-hi); }
.top-right { display: flex; align-items: center; gap: 12px; }
.badge-19 { font-size: .8rem; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.top-call { text-decoration: none; font-weight: 700; color: var(--amber-hi); white-space: nowrap; }

/* 브레드크럼 */
.crumb { padding-top: 22px; font-size: .88rem; color: var(--dim); }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.crumb a { text-decoration: none; color: var(--muted); }

/* 히어로 */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 56px; text-align: center; }
.hero-stage {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-stage img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 18%;
  filter: saturate(1.08) contrast(1.06);
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,11,.58) 0%, rgba(7,8,11,.32) 26%, rgba(7,8,11,.62) 52%, rgba(7,8,11,.94) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(40,22,8,.12), rgba(7,8,11,.55) 62%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; font-size: .9rem; letter-spacing: .18em; color: var(--amber-hi); margin-bottom: 18px; text-shadow: 0 1px 16px rgba(0,0,0,.55); }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.25; margin: 0 0 18px;
  text-shadow: 0 2px 28px rgba(0,0,0,.72), 0 0 40px rgba(176, 122, 46, .18);
}
.hero h1 .accent { color: var(--amber-hi); }
.hero-lead { color: #d4ccc0; font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 720px; margin: 0 auto 30px; text-shadow: 0 1px 14px rgba(0,0,0,.65); }

.eq { display: flex; justify-content: center; align-items: flex-end; gap: 5px; height: 28px; margin: 0 auto 28px; }
.eq span { width: 5px; border-radius: 3px; background: linear-gradient(to top, #5a3f1a, var(--amber)); opacity: .55; animation: eq 1.6s ease-in-out infinite; }
.eq span:nth-child(odd) { animation-duration: 2.1s; }
.eq span:nth-child(3n) { animation-duration: 1.3s; }
.eq span:nth-child(4n) { animation-delay: -.6s; }
.eq span:nth-child(5n) { animation-delay: -1.1s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }

/* 가격 카드 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.price-card {
  position: relative; border-radius: 22px; padding: 2px;
  background: var(--line-soft);
  transform-style: preserve-3d; transition: transform .25s ease-out;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--ang), transparent 0 60%, rgba(176,122,46,.15) 70%, var(--amber-hi) 82%, rgba(176,122,46,.15) 92%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.price-inner {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 20px; padding: 0;
  background: #0d0d10;
  display: flex; flex-direction: column; align-items: center;
}
.price-photo {
  position: relative; width: 100%; margin: 0; aspect-ratio: 4 / 5;
  overflow: hidden; background: #120e0b;
}
.price-photo picture,
.price-photo img {
  display: block; width: 100%; height: 100%;
}
.price-photo img {
  object-fit: cover; object-position: center 10%;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.price-card:hover .price-photo img { transform: scale(1.06); }
.price-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0 48%, rgba(8,6,4,.42) 68%, rgba(8,6,4,.92) 100%);
  pointer-events: none;
}
.price-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 16px 18px; width: 100%;
}
.price-type { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.price-sub { font-size: .95rem; color: var(--muted); }
.price-num { font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 3.2rem); font-weight: 700; line-height: 1.1; color: var(--amber-hi); margin: 4px 0 0; text-shadow: 0 2px 18px rgba(0,0,0,.65), 0 0 28px rgba(227, 173, 92, .25); }
.price-num small { font-size: .42em; margin-left: 4px; color: var(--text); }
.price-unit { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.price-free {
  margin-top: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(176, 122, 46, .28); border: 1px solid rgba(227, 173, 92, .5);
  color: #f6d9a8; font-weight: 800; font-size: .95rem; letter-spacing: .01em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.price-type, .price-sub, .price-unit { text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.price-card.is-featured { background: rgba(176, 122, 46, .25); box-shadow: 0 0 60px rgba(176, 122, 46, .18); }
.price-card.is-featured .price-inner { background: #0f0d0b; }
.price-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #120c04; font-weight: 800; font-size: .85rem;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap; z-index: 2;
}
.price-note { margin-top: 18px; color: var(--dim); font-size: .9rem; }

/* 연락 버튼 */
.cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 64px; padding: 12px 18px; border-radius: 14px;
  font-weight: 800; font-size: 1.1rem; text-decoration: none;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-weight: 600; font-size: .85rem; opacity: .85; }
.btn-call { background: linear-gradient(180deg, #c48a38, #8f5f1f); color: #120c04; }
.btn-tg { background: linear-gradient(180deg, #2f7aa6, #1d4f6e); color: #fff; }
.btn-kakao { background: #2b2717; color: #d8cfa4; border-color: rgba(216, 207, 164, .25); cursor: default; }
.btn-call:hover, .btn-tg:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.btn-kakao[aria-disabled="true"] { pointer-events: none; user-select: text; }
.btn-label { text-align: left; line-height: 1.3; }

/* 섹션 공통 */
main { position: relative; }
.sec { scroll-margin-top: 64px; padding: 92px 0; border-top: 1px solid var(--line-soft); }
.sec-alt { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0)); }
.sec-head { max-width: 820px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .2em; color: var(--amber); margin-bottom: 12px; text-transform: uppercase; }
.sec h2 { font-family: var(--serif); font-size: clamp(1.65rem, 3.6vw, 2.5rem); line-height: 1.35; margin: 0 0 16px; }
.sec h3 { font-size: 1.22rem; line-height: 1.45; margin: 0 0 10px; }
.sec h4 { font-size: 1.05rem; margin: 0 0 8px; color: var(--amber-hi); }
.lead { color: var(--muted); font-size: 1.06rem; }
.muted { color: var(--muted); }

.panel {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .3s, transform .3s;
}
.panel:hover { border-color: var(--line); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* 접수 채널 */
.channel { display: flex; flex-direction: column; gap: 6px; }
.channel .tag { align-self: flex-start; font-size: .8rem; color: var(--amber-hi); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; margin-bottom: 8px; }

/* 단계 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.step { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-soft); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2rem; color: var(--amber); opacity: .7; display: block; margin-bottom: 6px; }

/* 표 */
.tbl { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .98rem; }
caption { text-align: left; padding: 16px 20px 0; color: var(--dim); font-size: .88rem; caption-side: bottom; padding-bottom: 14px; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: rgba(176, 122, 46, .1); color: var(--amber-hi); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
td.num { font-weight: 800; color: var(--amber-hi); white-space: nowrap; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(255, 255, 255, .025); }

/* 서비스 카드 */
.svc { position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.svc::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(176,122,46,.16), transparent 70%); transition: transform .5s; }
.svc:hover::after { transform: scale(1.5); }
.svc .price-line { font-weight: 800; color: var(--amber-hi); font-size: 1.1rem; margin-bottom: 8px; }
.svc .more { margin-top: auto; padding-top: 10px; color: var(--amber-hi); font-weight: 700; font-size: .95rem; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
ul.ticks li { position: relative; padding-left: 20px; margin-bottom: 6px; color: var(--muted); }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); opacity: .8; }

/* 원칙 */
.principles { display: grid; gap: 14px; }
.principle { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.principle .no { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--amber); }

/* 실적 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.stat-num { font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 3rem); color: var(--amber-hi); line-height: 1.15; font-weight: 700; }
.stat-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* 연혁 */
.timeline { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--amber), rgba(176,122,46,.05)); }
.timeline li { position: relative; padding: 0 0 30px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--amber-hi); box-shadow: 0 0 14px var(--amber-glow); }
.timeline .yr { font-family: var(--serif); font-size: 1.35rem; color: var(--amber-hi); font-weight: 700; }

/* 상권 */
.area { position: relative; }
.area .area-key { font-size: .82rem; color: var(--amber-hi); letter-spacing: .1em; margin-bottom: 8px; display: block; }
.source { margin-top: 22px; font-size: .86rem; color: var(--dim); }
.source a { color: var(--muted); }

/* 용어 */
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0; }
.term { padding: 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.term dt { font-weight: 800; font-size: 1.15rem; color: var(--amber-hi); margin-bottom: 6px; }
.term dd { margin: 0; color: var(--muted); }

/* 강조 박스 */
.callout { padding: 26px 28px; border-left: 3px solid var(--amber); background: rgba(176, 122, 46, .07); border-radius: 0 var(--radius) var(--radius) 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }

/* 관련 페이지 */
.related { padding: 70px 0; border-top: 1px solid var(--line-soft); }
.related h2 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; transition: all .2s; }
.chips a:hover, .chips a[aria-current="page"] { color: #120c04; background: var(--amber-hi); border-color: var(--amber-hi); }

/* 푸터 */
.footer { padding: 40px 0 120px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: .92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; color: var(--muted); }
.footer a:hover { color: var(--amber-hi); }

/* 정책 문서 */
.doc { padding: 40px 0 90px; }
.doc h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 2.7rem); margin: 10px 0 12px; }
.doc h2 { font-size: 1.3rem; margin: 40px 0 12px; color: var(--amber-hi); }
.doc .body { max-width: 820px; color: var(--muted); }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }

/* 플로팅 예약 버튼 */
.float-cta { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; gap: 10px; transition: opacity .35s, transform .35s; }
.float-cta.is-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.float-cta a {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
  transition: transform .2s;
}
.float-cta a:hover { transform: translateY(-2px); }
.float-cta svg { width: 20px; height: 20px; }
.float-cta .f-call { background: linear-gradient(180deg, #c48a38, #8f5f1f); color: #120c04; animation: pulse 3.2s ease-in-out infinite; }
.float-cta .f-tg { background: #1f5677; color: #fff; }
@keyframes pulse { 0%, 100% { box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 0 0 rgba(196,138,56,.45); } 50% { box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 0 12px rgba(196,138,56,0); } }

/* 스크롤 등장 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* 반응형 */
@media (max-width: 980px) {
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .badge-19 { display: none; }
  .hero { padding: 40px 0 52px; }
  .hero-stage img { object-position: 72% 16%; }
  .price-grid { grid-template-columns: 1fr; gap: 24px; }
  .price-photo { aspect-ratio: 4 / 5; max-height: 520px; }
  .price-copy { padding: 16px 16px 22px; }
  .cta-row { grid-template-columns: 1fr; gap: 12px; }
  .grid-2, .grid-3, .terms { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .panel, .principle, .term { padding: 22px 20px; }
  .principle { grid-template-columns: 44px 1fr; gap: 12px; }
  .principle .no { font-size: 1.7rem; }
  .float-cta { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
  .float-cta a { flex: 1; justify-content: center; border-radius: 0; padding: 16px 10px; box-shadow: none; }
  .float-cta .f-call { animation: none; }
}
@media (max-width: 420px) {
  .grid-4, .stats, .steps { grid-template-columns: 1fr; }
  .top-call { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .price-card:hover .price-photo img { transform: none; }
}
