/* 강남 도파민 — 파란 네온 간판을 기준으로 한 어두운 테마 */
:root {
  --bg: #070a14;
  --bg-2: #0a0f1f;
  --surface: #10162b;
  --surface-2: #151c36;
  --line: rgba(130, 160, 255, 0.14);
  --line-strong: rgba(130, 170, 255, 0.3);
  --text: #e9edf7;
  --text-2: #c6cee3;
  --muted: #8f9ab7;
  --blue: #2f7bff;
  --neon: #4aa3ff;
  --blue-text: #8cc4ff;
  --pink: #ff4f9a;
  --pink-text: #ff9cc5;
  --green-text: #74e3ae;
  --radius: 18px;
  --display: 'Do Hyeon', 'Noto Sans KR', system-ui, sans-serif;
  --body: 'Noto Sans KR', system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  --header-h: 64px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-text);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.25;
}

p {
  margin: 0;
}

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

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

.nb {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  flex: none;
}

/* ---------- 상단 띠 배너 ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: linear-gradient(90deg, #0b2463, #1f56d8 50%, #0b2463);
  color: #eaf2ff;
  font-size: 13.5px;
  line-height: 1.3;
  text-align: center;
}

.topbar:hover {
  color: #fff;
}

.topbar strong {
  font-weight: 700;
}

.topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dffa9;
  box-shadow: 0 0 0 0 rgba(109, 255, 169, 0.6);
  animation: pulse 2s infinite;
}

.topbar-sep {
  opacity: 0.6;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(109, 255, 169, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 255, 169, 0);
  }
}

@media (max-width: 479px) {
  .topbar-extra {
    display: none;
  }
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 20, 0.84);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--neon), var(--pink));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  margin-right: auto;
}

.logo-sign {
  display: inline-block;
  padding: 1px 10px 0;
  border: 2px solid var(--neon);
  border-radius: 8px;
  color: #d9ecff;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(74, 163, 255, 0.9), 0 0 16px rgba(47, 123, 255, 0.7);
  box-shadow: 0 0 8px rgba(74, 163, 255, 0.55), inset 0 0 8px rgba(74, 163, 255, 0.35);
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px 16px 16px;
  background: rgba(7, 10, 20, 0.97);
  border-bottom: 1px solid var(--line);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: #fff;
}

.site-header .header-call {
  display: none;
}

@media (min-width: 720px) {
  .site-header .header-call {
    display: inline-flex;
  }
}

@media (min-width: 1120px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: flex;
    position: static;
    padding: 0;
    gap: 2px;
    background: none;
    border: 0;
  }
  .site-nav a {
    position: relative;
    padding: 8px 10px;
    border: 0;
    font-size: 14px;
    color: var(--muted);
  }
  .site-nav a.is-active {
    color: #fff;
  }
  .site-nav a.is-active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
  }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #2f7bff, #4aa3ff);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 26px rgba(47, 123, 255, 0.42);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 34px rgba(74, 163, 255, 0.6);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: #fff;
  background: rgba(74, 163, 255, 0.08);
}

.btn-outline {
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(74, 163, 255, 0.6);
  color: #d4e9ff;
  font-size: 14px;
}

.btn-outline:hover {
  border-color: var(--neon);
  box-shadow: 0 0 14px rgba(74, 163, 255, 0.45);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn-row-tight {
  gap: 8px;
  margin-top: 16px;
}

/* ---------- 공통 텍스트 ---------- */
.track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.track::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.lead {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.8;
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  position: relative;
  padding: 64px 0;
}

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

.section h2 {
  margin: 10px 0 14px;
  font-family: var(--display);
  font-size: clamp(30px, 5.4vw, 46px);
  letter-spacing: 0.01em;
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }
}

/* ---------- 첫 화면 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(520px 380px at var(--hx, 78%) var(--hy, 30%), rgba(47, 123, 255, 0.3), transparent 70%),
    radial-gradient(480px 360px at 8% 88%, rgba(255, 79, 154, 0.14), transparent 70%),
    linear-gradient(180deg, #070a14, #0a1022);
  transition: background-position 0.3s;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero-banner,
.hero-photo {
  order: -1;
  margin: 0;
  width: min(100%, 460px);
  justify-self: center;
}

/* 첫 화면 대표 사진 (매장 외관) */
.hero-photo img {
  width: 100%;
  /* 휴대폰에서는 정사각형으로 잘라 제목이 첫 화면에 들어오게 합니다. 간판과 입구는 그대로 보입니다. */
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 22px;
  border: 1px solid rgba(74, 163, 255, 0.35);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(74, 163, 255, 0.12), 0 0 30px rgba(47, 123, 255, 0.22), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.hero-photo .note {
  text-align: center;
}

.banner-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 22px;
  border: 1px solid rgba(255, 156, 197, 0.35);
  background: #1a1020 url('/assets/img/gangnam-dopamine-banner.webp') center / cover;
  box-shadow: 0 0 0 1px rgba(255, 79, 154, 0.15), 0 0 28px rgba(255, 79, 154, 0.22), 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(255, 79, 154, 0.3), 0 0 40px rgba(255, 79, 154, 0.35), 0 28px 70px rgba(0, 0, 0, 0.55);
}

.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner .note {
  text-align: center;
}

.hero-title {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: clamp(50px, 12vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.neon {
  display: inline-block;
  color: #e3f1ff;
  text-shadow: 0 0 4px #9ccfff, 0 0 12px #4aa3ff, 0 0 28px #2f7bff, 0 0 56px rgba(47, 123, 255, 0.55);
}

.hero-title-sub {
  display: block;
  margin-top: 6px;
  color: var(--blue-text);
  font-size: 0.5em;
  letter-spacing: 0.06em;
}

.slogan {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(22px, 3.6vw, 28px);
  line-height: 1.35;
  background: linear-gradient(90deg, #9fd0ff, #ff9cc5, #9fd0ff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 0;
}

@media (min-width: 480px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats div {
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 22, 43, 0.6);
}

.stats dt {
  color: var(--muted);
  font-size: 13px;
}

.stats dd {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.1;
  color: #e3f1ff;
  text-shadow: 0 0 14px rgba(74, 163, 255, 0.55);
}

.stats small {
  margin-left: 2px;
  font-size: 16px;
  color: var(--blue-text);
  text-shadow: none;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 88px;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .hero-banner,
  .hero-photo {
    order: 0;
    justify-self: end;
  }
  .hero-photo img {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .neon {
    /* 켜질 때 깜빡인 뒤, 네온관이 웅웅거리듯 빛이 천천히 숨 쉽니다 */
    animation: flicker 1.6s linear 0.3s, hum 4s ease-in-out 2s infinite;
  }
}

@keyframes hum {
  50% {
    text-shadow: 0 0 5px #b5dbff, 0 0 16px #4aa3ff, 0 0 38px #2f7bff, 0 0 76px rgba(47, 123, 255, 0.75);
  }
}

/* 처음과 끝은 완전히 보이는 상태라, 애니메이션이 멈춘 환경에서도 제목이 흐려지지 않습니다 */
@keyframes flicker {
  0%,
  6%,
  14%,
  40%,
  100% {
    opacity: 1;
  }
  3% {
    opacity: 0.25;
  }
  10% {
    opacity: 0.4;
  }
  37% {
    opacity: 0.6;
  }
}

/* ---------- 전광판 ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #060913;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-track::before {
  content: attr(data-text);
  padding: 13px 0;
  white-space: pre;
  color: var(--blue-text);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(74, 163, 255, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: tick 48s linear infinite;
  }
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 도파민 소개 ---------- */
.about {
  display: grid;
  gap: 40px;
}

.sub-block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sub-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 23px;
}

.sub-block h3 .icon {
  color: var(--neon);
  filter: drop-shadow(0 0 6px rgba(74, 163, 255, 0.6));
}

.sub-block p {
  color: var(--text-2);
}

.gallery {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 10px;
}

.photo-link {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.photo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.photo-link:hover img {
  transform: scale(1.04);
}

.g-main {
  grid-row: span 2;
}

.g-main img {
  aspect-ratio: 3 / 4;
}

/* 작은 사진은 큰 사진 높이에 맞춰 채웁니다 */
.gallery-grid .photo-link:not(.g-main) {
  position: relative;
  min-height: 120px;
}

.gallery-grid .photo-link:not(.g-main) img {
  position: absolute;
  inset: 0;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
  }
  .gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* 룸 분위기 참고 이미지 */
.rooms-ref {
  margin-top: 56px;
}

.rooms-ref-title {
  font-family: var(--display);
  font-size: 23px;
  color: #fff;
}

.rooms-ref-desc {
  max-width: 760px;
  margin-top: 8px;
  color: var(--text-2);
}

.rooms-ref-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rooms-ref-grid li {
  scroll-snap-align: start;
}

.rooms-ref-grid figure {
  margin: 0;
}

.rooms-ref-grid .photo-link {
  position: relative;
}

.rooms-ref-grid img {
  aspect-ratio: 1;
}

.rooms-ref-grid figcaption {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 14px;
}

.ref-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(7, 10, 20, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 720px) {
  .rooms-ref-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
}

/* ---------- 가격 ---------- */
.price-grid {
  display: grid;
  gap: 28px;
}

.table-wrap {
  overflow-x: auto;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare caption {
  margin-bottom: 8px;
  text-align: left;
  font-family: var(--display);
  font-size: 20px;
}

.compare th,
.compare td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  padding-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.compare tbody th {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

.compare td {
  color: var(--text-2);
}

.price-value {
  color: var(--blue-text) !important;
  font-weight: 700;
}

.compare tbody tr:last-child > * {
  border-bottom: 0;
}

.price-note {
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.parts {
  display: grid;
  gap: 14px;
  align-content: start;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 4px;
  margin-bottom: 4px;
}

.tl-part {
  padding: 8px 0;
  border-radius: 10px;
  text-align: center;
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
}

.tl-1 {
  grid-column: 1 / 3;
  background: linear-gradient(90deg, rgba(47, 123, 255, 0.25), rgba(47, 123, 255, 0.55));
  box-shadow: 0 0 18px rgba(47, 123, 255, 0.25);
}

.tl-2 {
  grid-column: 3 / 5;
  background: linear-gradient(90deg, rgba(255, 79, 154, 0.5), rgba(255, 79, 154, 0.2));
  box-shadow: 0 0 18px rgba(255, 79, 154, 0.2);
}

.tl-label {
  grid-row: 2;
  color: var(--muted);
  font-size: 12.5px;
}

.tl-label:nth-of-type(3) {
  grid-column: 1;
}

.tl-label:nth-of-type(4) {
  grid-column: 2 / 4;
  justify-self: center;
}

.tl-label:nth-of-type(5) {
  grid-column: 4;
  justify-self: end;
}

.part-card {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.part-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 21px;
}

.part-card p {
  color: var(--text-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px 0;
  border-radius: 999px;
  background: rgba(47, 123, 255, 0.2);
  color: var(--blue-text);
  font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(74, 163, 255, 0.4);
}

.chip-pink {
  background: rgba(255, 79, 154, 0.16);
  color: var(--pink-text);
  box-shadow: inset 0 0 0 1px rgba(255, 79, 154, 0.4);
}

@media (min-width: 980px) {
  .price-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
  }
}

/* 주류 목록 */
.liquor {
  margin-top: 28px;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.liquor-head {
  max-width: 820px;
}

.liquor-head h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 24px;
}

.liquor-head p {
  color: var(--text-2);
}

.basic-mark {
  display: inline-block;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(47, 123, 255, 0.22);
  color: var(--blue-text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(74, 163, 255, 0.45);
}

.liquor-list {
  display: grid;
  gap: 0 32px;
  margin: 20px 0 0;
}

.liquor-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.liquor-row dt {
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
}

.liquor-row dd {
  margin: 0;
}

.liquor-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liquor-row li {
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.liquor-row li.is-basic {
  border-color: rgba(74, 163, 255, 0.6);
  background: rgba(47, 123, 255, 0.16);
  color: #dcecff;
}

@media (min-width: 720px) {
  .liquor {
    padding: 30px 28px 24px;
  }
  .liquor-row {
    grid-template-columns: 150px 1fr;
    align-items: start;
  }
  .liquor-row dt {
    padding-top: 3px;
  }
}

@media (min-width: 1100px) {
  .liquor-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 카드 ---------- */
.cards {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(16, 22, 43, 0.4));
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card-num {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(74, 163, 255, 0.6);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: 22px;
}

.card h3 .icon {
  color: var(--neon);
}

.card p {
  color: var(--text-2);
}

@media (min-width: 720px) {
  .cards-2,
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1160px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 실수 카드 */
.mistake p + p {
  margin-top: 12px;
}

.mistake .bad,
.mistake .good {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}

.mistake .icon {
  margin-top: 4px;
}

.mistake .bad {
  background: rgba(255, 79, 154, 0.08);
  color: var(--pink-text);
}

.mistake .good {
  background: rgba(116, 227, 174, 0.08);
  color: var(--green-text);
}

/* ---------- 재방문 띠 ---------- */
.band {
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(47, 123, 255, 0.18), transparent 70%),
    radial-gradient(500px 360px at 100% 100%, rgba(255, 79, 154, 0.12), transparent 70%),
    #090e1e;
  border-block: 1px solid var(--line);
}

.band-grid {
  display: grid;
  gap: 32px;
}

.reasons {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.reasons li:first-child {
  padding-top: 0;
}

.reasons li:last-child {
  border-bottom: 0;
}

.reasons .icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 1px solid rgba(74, 163, 255, 0.5);
  border-radius: 50%;
  color: var(--blue-text);
  box-shadow: 0 0 14px rgba(74, 163, 255, 0.25), inset 0 0 10px rgba(74, 163, 255, 0.2);
}

.reasons strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: #fff;
}

.reasons p {
  color: var(--text-2);
}

@media (min-width: 900px) {
  .band-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
  }
}

/* ---------- 좌우 나눔 ---------- */
.split {
  display: grid;
  gap: 32px;
}

.sub-stack .sub-block:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 980px) {
  .split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
  }
  .is-sticky {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ---------- FAQ와 위치 ---------- */
#faq .split {
  grid-template-columns: none;
}

.faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 18px 44px 18px 0;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--neon);
  border-bottom: 2px solid var(--neon);
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-item summary:hover h3 {
  color: #fff;
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--text-2);
}

.loc-card {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.loc-photo img {
  aspect-ratio: 16 / 10;
  object-position: center 32%;
}

.facts {
  margin: 14px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 13.5px;
  padding-top: 2px;
}

.facts dd {
  margin: 0;
  font-size: 15px;
}

.cta {
  margin-top: 18px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.2), rgba(255, 79, 154, 0.12));
  box-shadow: inset 0 0 0 1px rgba(130, 170, 255, 0.2);
}

.cta-label {
  color: var(--text-2);
  font-size: 14px;
}

.cta-phone {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: clamp(32px, 8vw, 40px);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 14px rgba(74, 163, 255, 0.8);
}

.cta .btn-row {
  margin-top: 16px;
  gap: 8px;
}

@media (min-width: 980px) {
  #faq .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .loc-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- 404 ---------- */
.article {
  max-width: 720px;
}

.page-title {
  margin: 12px 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 52px);
}

/* ---------- 푸터 ---------- */
.site-footer {
  padding: 56px 0 120px;
  border-top: 1px solid var(--line);
  background: #05070f;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-logo {
  font-size: 20px;
}

.footer-name {
  margin: 12px 0 8px;
  color: var(--text);
  font-weight: 700;
}

.site-footer address {
  font-style: normal;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-notice p + p {
  margin-top: 6px;
}

.footer-notice strong {
  color: var(--text-2);
}

/* 사업장 정보 */
.footer-biz {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-biz dl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0;
  font-size: 13px;
}

.footer-biz div {
  display: flex;
  gap: 8px;
}

.footer-biz dt {
  color: var(--muted);
}

.footer-biz dt::after {
  content: ' :';
}

.footer-biz dd {
  margin: 0;
  color: var(--text-2);
}

.footer-biz dd a {
  color: var(--blue-text);
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 56px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
}

/* ---------- 모바일 퀵바 ---------- */
.quick-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(7, 10, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.quick-btn {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 10px;
  border-radius: 14px;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s, filter 0.15s;
}

.quick-btn:active {
  transform: scale(0.97);
  filter: brightness(1.1);
}

.quick-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.quick-btn strong {
  font-size: 16px;
  font-weight: 700;
}

.quick-btn small {
  margin-top: 2px;
  font-size: 11.5px;
  opacity: 0.85;
  white-space: nowrap;
}

.quick-call {
  background: linear-gradient(135deg, #2f7bff, #4aa3ff);
  box-shadow: 0 0 18px rgba(47, 123, 255, 0.45);
}

.quick-sms {
  background: linear-gradient(135deg, rgba(255, 79, 154, 0.9), rgba(214, 60, 140, 0.9));
  box-shadow: 0 0 18px rgba(255, 79, 154, 0.3);
}

.quick-bar a:hover {
  color: #fff;
}

/* 아주 좁은 화면에서는 보조 문구를 숨깁니다 */
@media (max-width: 339px) {
  .quick-btn small {
    display: none;
  }
}

@media (min-width: 900px) {
  .quick-bar {
    display: none;
  }
}

/* ---------- 사진 크게 보기 ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 5, 12, 0.94);
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(3, 5, 12, 0.7);
}

.lightbox figure {
  display: grid;
  place-items: center;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 56px 16px 32px;
}

.lightbox img {
  max-height: calc(100vh - 140px);
  width: auto;
  border-radius: 12px;
}

.lightbox figcaption {
  max-width: 640px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(16, 22, 43, 0.8);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close {
  top: 12px;
  right: 12px;
}

.lightbox-prev {
  left: 12px;
  top: 50%;
}

.lightbox-next {
  right: 12px;
  top: 50%;
}

/* ---------- 화면에 들어올 때 나타나는 효과 (스크립트가 클래스를 붙입니다) ---------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0ms);
}

.rv.in {
  opacity: 1;
  transform: none;
}

h2.kw {
  opacity: 0.2;
  transition: opacity 0.5s;
}

h2.kw.in {
  opacity: 1;
  animation: neon-on 1.1s ease-out both;
}

@keyframes neon-on {
  0% {
    text-shadow: none;
  }
  20% {
    text-shadow: 0 0 18px rgba(74, 163, 255, 0.9);
  }
  26% {
    text-shadow: none;
  }
  40% {
    text-shadow: 0 0 22px rgba(74, 163, 255, 0.85);
  }
  100% {
    text-shadow: 0 0 0 rgba(74, 163, 255, 0);
  }
}

/* ==========================================================================
   동적 효과
   움직임을 줄이도록 설정한 기기에서는 모두 꺼집니다. 스크립트가 붙이는 클래스(rv-*)가
   없으면 처음부터 모두 보이므로, 스크립트가 없어도 내용은 그대로 읽힙니다.
   ========================================================================== */

/* 첫 화면 대표 사진 틀: 마우스를 따라 살짝 기울고, 테두리 네온이 돌아갑니다 */
@property --spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.hero-photo-frame {
  position: relative;
  display: block;
  border-radius: 22px;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 24px;
  background: conic-gradient(from var(--spin), #2f7bff, #ff4f9a, #4aa3ff, #2f7bff);
  filter: blur(6px);
  opacity: 0.75;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.26) 50%, transparent 65%) 150% 0 / 250% 100% no-repeat;
  pointer-events: none;
}

/* 버튼 반짝임 */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}

/* 카드 위 마우스 조명 */
.card,
.part-card {
  position: relative;
}

.card > *,
.part-card > * {
  position: relative;
}

.card::before,
.part-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, -30%), rgba(74, 163, 255, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.card:hover::before,
.part-card:hover::before {
  opacity: 1;
}

/* 스크롤하면 진해지는 헤더 */
.site-header {
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* 숫자가 다 오르면 한 번 번쩍입니다 */
.stats dd {
  font-variant-numeric: tabular-nums;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: no-preference) {
  /* 첫 화면 배경에서 천천히 떠다니는 네온 빛 */
  .hero-glow::before,
  .hero-glow::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(70px);
    will-change: transform;
  }

  .hero-glow::before {
    top: 6%;
    left: 52%;
    background: rgba(47, 123, 255, 0.45);
    animation: drift-a 16s ease-in-out infinite alternate;
  }

  .hero-glow::after {
    bottom: 0;
    left: 0;
    background: rgba(255, 79, 154, 0.28);
    animation: drift-b 21s ease-in-out infinite alternate;
  }

  .slogan {
    animation: shimmer 6s linear infinite;
  }

  .hero-photo-frame::before {
    animation: spin 8s linear infinite;
  }

  .hero-photo-frame::after {
    animation: sweep 7s ease-in-out 1s infinite;
  }

  .btn-primary::after {
    animation: shine 5s ease-in-out 1.5s infinite;
  }

  .quick-call::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: ring 2.4s ease-out infinite;
    pointer-events: none;
  }

  .quick-call {
    position: relative;
  }

  .stats dd.is-counted {
    animation: count-flash 0.8s ease-out;
  }

  /* 사진은 위에서 아래로 열리듯 나타납니다 */
  .rv-img {
    clip-path: inset(0 0 100% 0 round 14px);
    transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
  }

  .rv-img.in {
    clip-path: inset(0 0 0 0 round 14px);
  }

  /* 주류 이름이 하나씩 켜집니다 */
  .rv-chips li {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
    transition: opacity 0.4s ease var(--d, 0ms), transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) var(--d, 0ms);
  }

  .rv-chips.in li {
    opacity: 1;
    transform: none;
  }

  .rv-chips.in li.is-basic {
    animation: chip-glow 1.4s ease-out calc(var(--d, 0ms) + 0.3s);
  }

  /* 1부·2부 막대가 차오릅니다 */
  .rv-bars .tl-part {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .rv-bars .tl-2 {
    transition-delay: 0.45s;
  }

  .rv-bars.in .tl-part {
    transform: none;
  }

  /* 섹션 표시 줄이 그어집니다 */
  .track.rv::before {
    width: 0;
    transition: width 0.6s ease 0.25s;
  }

  .track.rv.in::before {
    width: 22px;
  }

  .lightbox[open] img {
    animation: pop-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

/* 질문을 열고 닫을 때 부드럽게 펼쳐집니다 (지원하는 브라우저에서만) */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root {
      interpolate-size: allow-keywords;
    }
    .faq-item::details-content {
      height: 0;
      overflow: clip;
      transition: height 0.35s ease, content-visibility 0.35s allow-discrete;
    }
    .faq-item[open]::details-content {
      height: auto;
    }
  }
}

/* 스크롤에 맞춰 사진이 천천히 움직입니다 (지원하는 브라우저에서만) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .g-main img {
      scale: 1.12;
      animation: parallax linear both;
      animation-timeline: view();
    }
  }
  @media (prefers-reduced-motion: no-preference) and (min-width: 720px) {
    .rooms-ref-grid img {
      scale: 1.1;
      animation: parallax linear both;
      animation-timeline: view();
    }
  }
}

@keyframes drift-a {
  to {
    transform: translate(-140px, 90px) scale(1.15);
  }
}

@keyframes drift-b {
  to {
    transform: translate(160px, -70px) scale(0.9);
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    --spin: 360deg;
  }
}

@keyframes sweep {
  0%,
  65% {
    background-position: 150% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes shine {
  0%,
  70% {
    transform: translateX(-160%) skewX(-20deg);
  }
  100% {
    transform: translateX(360%) skewX(-20deg);
  }
}

@keyframes ring {
  from {
    box-shadow: 0 0 0 0 rgba(74, 163, 255, 0.65);
  }
  to {
    box-shadow: 0 0 0 12px rgba(74, 163, 255, 0);
  }
}

@keyframes count-flash {
  30% {
    color: #fff;
    text-shadow: 0 0 22px rgba(140, 196, 255, 1);
  }
}

@keyframes chip-glow {
  30% {
    box-shadow: 0 0 16px rgba(74, 163, 255, 0.85);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

@keyframes parallax {
  from {
    translate: 0 -5%;
  }
  to {
    translate: 0 5%;
  }
}
