:root {
  --bg: #f4f0e8;
  --surface: #fbf8f1;
  --surface-strong: #efe8dc;
  --text: #1b2430;
  --muted: #5e6773;
  --border: #d9d2c7;
  --accent: #264f77;
  --accent-strong: #163750;
  --max: 1120px;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(27, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Pretendard, Roboto, "Noto Sans KR", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f3ec 0%, #f4f0e8 100%);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent-strong);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.36);
  border-top: 1px solid rgba(217, 210, 199, 0.7);
  border-bottom: 1px solid rgba(217, 210, 199, 0.7);
}

.flow > * + * {
  margin-top: 20px;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p,
ul {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(244, 240, 232, 0.88);
  border-bottom: 1px solid rgba(217, 210, 199, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
}

.hero {
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: center;
}

.lead {
  font-size: 1.06rem;
  color: #28313c;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

.button.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.button-primary:hover,
.button.button-primary:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.hero-points,
.check-list {
  padding-left: 18px;
  color: var(--muted);
}

.hero-figure {
  margin: 0;
  padding: 24px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.hero-figure figcaption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.note {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: rgba(38, 79, 119, 0.08);
  border-radius: 12px;
}

.card-grid,
.map-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card,
.contact-card,
.vendor-panel,
.map-canvas {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 12px;
  color: #2f3742;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nearby-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  padding: 10px 16px;
}

.nearby-btn:hover,
.nearby-btn:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.nearby-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.nearby-btn.is-active {
  background: #2e7d32;
  border-color: #2e7d32;
}

.map-toolbar label {
  font-weight: 600;
}

.map-toolbar select {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
}

.map-status,
.vendor-summary {
  color: var(--muted);
}

.map-canvas {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.map-canvas.is-hidden {
  display: none;
}

.vendor-panel {
  display: grid;
  gap: 16px;
}

.fallback-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
  border: 1px solid var(--border);
}

.fallback-card strong {
  font-size: 1.05rem;
  line-height: 1.5;
}

.fallback-card p {
  color: var(--muted);
}

.fallback-card .button {
  width: fit-content;
}

.fallback-card-noscript {
  margin-top: 18px;
}

.vendor-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.vendor-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(217, 210, 199, 0.9);
}

.vendor-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.vendor-name {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vendor-distance {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(38, 79, 119, 0.1);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  vertical-align: middle;
}

.vendor-address {
  margin: 0;
}

.vendor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.vendor-kakao-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #FEE500;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.vendor-kakao-icon:hover {
  opacity: 0.75;
}

.vendor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.vendor-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.vendor-link:hover,
.vendor-link:focus-visible {
  text-decoration: underline;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid rgba(217, 210, 199, 0.8);
}

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

.footer-brand {
  font-weight: 700;
  margin-bottom: 8px;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .two-col,
  .footer-grid,
  .card-grid,
  .map-layout {
    grid-template-columns: 1fr;
  }
}

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

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .map-canvas {
    min-height: 320px;
  }
}
