/* =========================================================
   성인피시방 랜딩페이지
   팔레트: 앱 아이콘(다크 브라운 + 골드) 기준
   ========================================================= */

:root {
  --bg:        #14110d;
  --bg-alt:    #1a1612;
  --surface:   #201b16;
  --surface-2: #272118;
  --line:      #352c22;

  --gold:      #d8ac55;
  --gold-soft: #eac77f;
  --gold-dim:  rgba(216, 172, 85, .14);

  --text:      #f3ece0;
  --text-mid:  #c3b7a5;
  --text-dim:  #8d8273;

  --naver:     #03c75a;
  --kakao:     #fee500;

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1120px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #1b1408; padding: 10px 16px; z-index: 999;
  border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 14px; }
.section-sub { color: var(--text-mid); font-size: 17px; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.accent { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1b1408;
  box-shadow: 0 8px 24px rgba(216, 172, 85, .22);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(216, 172, 85, .32); }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; margin-top: 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 17, 13, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(20, 17, 13, .94); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand img { border-radius: 8px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-size: 15px; color: var(--text-mid); transition: color .18s var(--ease); }
.nav > a:hover { color: var(--gold); }
.nav-cta { color: #1b1408 !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero-glow {
  position: absolute; inset: -30% 0 auto -10%;
  height: 620px;
  background:
    radial-gradient(620px 360px at 22% 42%, rgba(216, 172, 85, .18), transparent 70%),
    radial-gradient(520px 320px at 82% 18%, rgba(216, 172, 85, .10), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 5.6vw, 56px); font-weight: 800; margin-bottom: 20px; }
.lede { color: var(--text-mid); font-size: 18px; max-width: 520px; }
.lede strong { color: var(--text); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; color: var(--text-dim); font-size: 14px; }
.hero-badges li { display: flex; align-items: center; gap: 7px; }
.hero-badges li::before {
  content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%;
  background: var(--gold-dim);
  box-shadow: inset 0 0 0 1px rgba(216, 172, 85, .45);
}

/* ---------- phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 300px; height: 612px;
  background: #0c0a08;
  border: 10px solid #26211b;
  border-radius: 42px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(216, 172, 85, .14);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 118px; height: 22px; background: #26211b;
  border-radius: 0 0 14px 14px; z-index: 5;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #e8e4dc; }

/* 지도 배경 */
.map-bg { position: absolute; inset: 0; background: #e9e5dd; }
.road { position: absolute; background: #fff; box-shadow: 0 0 0 1px #dcd6cb; }
.road-1  { left: 0; right: 0; top: 18%;  height: 10px; }
.road-2  { left: 0; right: 0; top: 44%;  height: 14px; }
.road-3  { left: 0; right: 0; top: 68%;  height: 8px; }
.road-4  { left: 0; right: 0; top: 86%;  height: 10px; }
.road-v1 { top: 0; bottom: 0; left: 30%; width: 12px; }
.road-v2 { top: 0; bottom: 0; left: 72%; width: 8px; }
.block { position: absolute; background: #dfe8da; border-radius: 4px; }
.b1 { left: 6%;  top: 22%; width: 20%; height: 18%; }
.b2 { left: 36%; top: 50%; width: 30%; height: 14%; background: #d9e4ec; }
.b3 { left: 76%; top: 24%; width: 18%; height: 16%; }
.b4 { left: 8%;  top: 72%; width: 18%; height: 12%; }

/* 마커 */
.pin { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #ff4444; box-shadow: 0 0 0 4px rgba(255, 68, 68, .18); }
.pin::after { content: ""; position: absolute; inset: 4.5px; border-radius: 50%; background: #fff; }
.pin-1 { left: 18%; top: 26%; }
.pin-2 { left: 62%; top: 20%; }
.pin-3 { left: 78%; top: 52%; }
.pin-4 { left: 22%; top: 58%; }
.pin-sel { position: absolute; left: 44%; top: 30%; width: auto; height: auto; background: none; box-shadow: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.pin-sel::after { display: none; }

.me-dot {
  position: absolute; left: 47%; top: 62%; width: 14px; height: 14px; border-radius: 50%;
  background: #2f6bff; box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(47, 107, 255, .2);
}

.map-chip {
  position: absolute; top: 16px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #222; font-size: 12px; font-weight: 700;
  border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.chip-loc { left: 14px; width: 34px; height: 34px; font-size: 15px; }
.chip-ask { right: 14px; height: 34px; padding: 0 14px; border: 1px solid #111; background: #e0e0e0; }

/* 바텀시트 */
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; color: #111;
  border-radius: 16px 16px 0 0;
  padding: 14px 16px 20px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
}
.sheet-grab { display: block; width: 32px; height: 4px; border-radius: 2px; background: #ddd; margin: 0 auto 14px; }
.sheet-title { font-size: 17px; font-weight: 800; line-height: 1.4; }
.sheet-addr { font-size: 13px; color: #444; margin-top: 6px; line-height: 1.5; }
.sheet-dist { font-size: 12px; color: #888; margin-top: 6px; }
.sheet-buttons { display: flex; gap: 10px; margin-top: 14px; }
.sheet-btn { flex: 1; text-align: center; padding: 10px 0; border-radius: 8px; font-size: 13px; font-weight: 700; color: #000; }
.sheet-btn.naver { background: var(--naver); }
.sheet-btn.kakao { background: var(--kakao); }

/* ---------- stats ---------- */
.stats { padding: 28px 0 8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.stat strong { display: block; font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; color: var(--gold); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 6px; color: var(--text-dim); font-size: 14px; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(216, 172, 85, .45); background: var(--surface-2); }
.card-ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim); font-size: 22px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-mid); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
}
.step-no {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #1b1408;
  font-weight: 800; font-size: 17px;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-mid); font-size: 15px; }

/* ---------- coverage ---------- */
.coverage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.region-list { display: grid; gap: 14px; }
.region {
  display: grid; grid-template-columns: 124px 1fr 68px; align-items: center; gap: 14px;
}
.region.is-hidden { display: none; }
.region-name { font-size: 15px; color: var(--text-mid); }
.region-bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.region-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(216, 172, 85, .55), var(--gold));
  border-radius: 999px;
  transition: width 1s var(--ease);
}
.region-count { text-align: right; font-size: 14px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 20px 52px 20px 22px;
  font-size: 16px; font-weight: 700;
  position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--text-mid); font-size: 15px; }
.faq-a a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta ---------- */
.cta {
  padding: 96px 0;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(216, 172, 85, .14), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.cta-inner { text-align: center; display: grid; justify-items: center; gap: 14px; }
.cta-inner img { border-radius: 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.cta-inner h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 8px; }
.cta-inner > p { color: var(--text-mid); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 48px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-name { font-weight: 800; }
.footer-note { color: var(--text-dim); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--text-mid); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 13px; }
.footer-bottom .copy { margin-top: 10px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; border-bottom: 0 !important; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr; }
  .coverage { padding: 20px 16px; }
  .region { grid-template-columns: 96px 1fr 56px; gap: 10px; }
  .region-name { font-size: 14px; }
  .phone { width: 262px; height: 534px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
