/* Wegle 샘플 — 한그릇 설렁탕 (가상의 가게) — warm cream + deep brown, bowl-of-broth mood */
:root {
  --cream: #f8f1e4;
  --cream-2: #f1e5cf;
  --milk: #fffaf1;
  --brown: #3b2416;
  --brown-2: #5a3a25;
  --brown-soft: #7a5236;
  --amber: #b5762e;
  --amber-dark: #8f5a1f;
  --scallion: #2f6b3a;
  --chili: #b23a1f;
  --ink: #2a190f;
  --muted: #6b5443;
  --line: #e2d3b9;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(59, 36, 22, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.25; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-size: 18px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn small { font-weight: 500; opacity: .85; font-size: 15px; }
@media (max-width: 359px) { .btn { white-space: normal; } }
.btn-primary { background: var(--brown); color: var(--milk); }
.btn-primary:hover { background: var(--brown-2); }
.btn-secondary { background: var(--amber); color: #fff; }
.btn-secondary:hover { background: var(--amber-dark); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px;
  background: rgba(248, 241, 228, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand-ko { font-weight: 900; font-size: 22px; color: var(--brown); letter-spacing: -.02em; }
.brand-en { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.btn-call-sm { min-height: 46px; padding: 8px 18px; font-size: 17px; background: var(--brown); color: var(--milk); }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 8px;
  padding: 28px 20px 36px;
  background:
    radial-gradient(120% 70% at 85% 0%, #fff7ea 0%, rgba(255,247,234,0) 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 6px; display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-dark);
}
.hero h1 { display: flex; flex-direction: column; }
.h1-ko { font-size: 48px; font-weight: 900; color: var(--brown); letter-spacing: -.03em; }
.h1-en { font-size: 18px; font-weight: 500; color: var(--brown-soft); letter-spacing: .03em; margin-top: 4px; }
.lede { margin: 16px 0 4px; font-size: 21px; font-weight: 700; color: var(--brown); }
.lede-en { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.hero-actions { display: grid; gap: 12px; }
.open-now { margin: 14px 0 0; font-weight: 700; font-size: 17px; min-height: 1.6em; }
.open-now .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--scallion); vertical-align: middle; }
.open-now.closed .dot { background: var(--chili); }

.hero-art { display: flex; justify-content: center; order: -1; margin: -6px 0 -10px; }
.bowl-svg { width: min(200px, 52vw); height: auto; }
.steam path {
  fill: none; stroke: var(--brown-soft); stroke-width: 6; stroke-linecap: round; opacity: .35;
  animation: steam 3.6s ease-in-out infinite;
}
.steam path:nth-child(2) { animation-delay: .8s; }
.steam path:nth-child(3) { animation-delay: 1.6s; }
@keyframes steam {
  0%, 100% { transform: translateY(6px); opacity: .1; }
  50% { transform: translateY(-6px); opacity: .45; }
}
@media (prefers-reduced-motion: reduce) { .steam path { animation: none; } }

/* ---------- sections ---------- */
.section { padding: 48px 20px; max-width: 1120px; margin: 0 auto; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: 28px; font-weight: 900; color: var(--brown); letter-spacing: -.02em; }
.section-head h2 span { display: block; font-size: 15px; font-weight: 500; color: var(--amber-dark); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* ---------- signature ---------- */
.sig-grid { display: grid; gap: 16px; }
.sig-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
}
.sig-art {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  border: 7px solid var(--brown);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.06);
}
.sig-art span { font-size: 30px; font-weight: 900; color: rgba(59,36,22,.55); }
.art-milky  { background: radial-gradient(circle at 40% 35%, #fffdf8 0%, #f3e8d4 70%); }
.art-clear  { background: radial-gradient(circle at 40% 35%, #f6e2b8 0%, #d9b277 75%); }
.art-spicy  { background: radial-gradient(circle at 40% 35%, #e9793f 0%, #a8361b 80%); }
.art-spicy span, .art-sundae span { color: rgba(255,250,241,.85); }
.art-sundae { background: radial-gradient(circle at 40% 35%, #8a5a4a 0%, #4a2a22 80%); }
.art-chicken { background: radial-gradient(circle at 40% 35%, #fff6e2 0%, #e8d3a6 75%); }
.sig-body h3 { font-size: 22px; font-weight: 900; color: var(--brown); }
.sig-body h3 span { font-size: 15px; font-weight: 500; color: var(--brown-soft); margin-left: 4px; }
.sig-en { margin: 0 0 4px; font-size: 14px; color: var(--amber-dark); font-weight: 700; }
.sig-body p { margin: 0; font-size: 16px; color: var(--muted); }
.spicy { font-style: normal; font-size: .9em; }

/* ---------- praise ---------- */
.praise { max-width: none; background: var(--brown); color: var(--cream); }
.praise > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.praise .section-head h2 { color: var(--milk); }
.praise .section-head h2 span { color: #e6b874; }
.praise-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 14px; }
.praise-list li {
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255,250,241,.07); border: 1px solid rgba(255,250,241,.14);
}
.praise-list strong { display: block; font-size: 20px; color: #f3cf96; margin-bottom: 4px; }
.praise-list span { font-size: 16px; color: #efe3cf; }
.praise-list em { color: #c8b49a; font-style: normal; font-size: 15px; }

/* ---------- menu ---------- */
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 48px; padding: 8px 18px;
  border-radius: 999px; border: 2px solid var(--brown);
  background: transparent; color: var(--brown);
  font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.tab small { font-weight: 500; font-size: 13px; opacity: .8; margin-left: 2px; }
.tab.is-active { background: var(--brown); color: var(--milk); }
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }
.menu-list {
  list-style: none; margin: 0; padding: 6px 18px;
  background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius);
}
.menu-list li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 10px;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list b { font-size: 19px; font-weight: 700; color: var(--brown); grid-column: 1; }
.menu-list i { font-style: normal; font-size: 15px; color: var(--muted); grid-column: 1; }
.menu-list u {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  text-decoration: none; font-size: 11px; color: var(--amber-dark);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; opacity: .7;
}
.menu-note { margin: 14px 4px 0; font-size: 15px; color: var(--muted); }

/* ---------- order ---------- */
.order-grid, .contact-grid { display: grid; gap: 12px; }
.order-card, .contact-card {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 84px; padding: 16px 20px;
  background: var(--milk); border: 2px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s ease;
}
.order-card:hover, .contact-card:hover { border-color: var(--amber); }
.order-card strong { font-size: 20px; color: var(--brown); }
.order-card span { color: var(--muted); font-size: 16px; }

/* ---------- hours ---------- */
.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table th, .hours-table td { padding: 14px 18px; text-align: left; font-size: 18px; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 700; color: var(--brown); width: 40%; }
.hours-table th small { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 4px; }
.hours-table td { font-variant-numeric: tabular-nums; }
.hours-table tr.today { background: var(--brown); }
.hours-table tr.today th, .hours-table tr.today td, .hours-table tr.today th small { color: var(--milk); }
.hours-table tr.today th::after {
  content: "오늘"; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--amber); color: #fff; font-size: 12px; vertical-align: middle;
}
.hours-note { margin: 12px 4px 0; color: var(--muted); font-size: 16px; }

/* ---------- location ---------- */
.loc-grid { display: grid; gap: 18px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-info p { margin: 0 0 10px; }
.loc-info .addr { font-size: 21px; font-weight: 700; color: var(--brown); }
.loc-info .en { color: var(--muted); font-size: 16px; }
.loc-info .btn { margin-top: 8px; }

/* ---------- contact ---------- */
.contact-card { align-items: flex-start; }
.contact-card .ci { font-size: 24px; }
.contact-card strong { font-size: 19px; color: var(--brown); word-break: break-all; }
.contact-card small { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #d9c8ae; padding: 34px 20px 40px; text-align: center; font-size: 15px; }
.footer p { margin: 4px 0; }
.footer a { color: #f3cf96; }
.f-name { font-size: 20px; font-weight: 900; color: var(--milk); }
.f-name span { font-weight: 500; font-size: 14px; color: #bfa98a; margin-left: 6px; }
.credit { margin-top: 14px !important; opacity: .8; }

/* ---------- demo banner ---------- */
.demo-banner {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 14px; border-radius: 12px;
  background: rgba(42, 25, 15, .92); color: #f4e9d8;
  font-size: 13px; line-height: 1.45; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.demo-banner p { margin: 0; flex: 1; }
.demo-banner a { color: #f3cf96; }
.demo-close {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.demo-banner.is-hidden { display: none; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 720px) {
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .sig-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid, .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .praise-list { grid-template-columns: repeat(3, 1fr); }
  .menu-list { columns: 2; column-gap: 36px; padding: 10px 24px; }
  .menu-list li { break-inside: avoid; }
}
@media (min-width: 1000px) {
  body { font-size: 19px; }
  .topbar { padding: 12px 40px; }
  .hero {
    grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 24px;
    padding: 64px max(40px, calc((100vw - 1040px) / 2)) 72px;
  }
  .hero-art { order: 0; margin: 0; }
  .hero-actions .btn { padding: 12px 18px; }
  .hero-actions { gap: 10px; }
  .bowl-svg { width: 100%; max-width: 380px; }
  .h1-ko { font-size: 72px; }
  .h1-en { font-size: 22px; }
  .lede { font-size: 24px; }
  .section { padding: 72px 40px; }
  .section-head h2 { font-size: 36px; }
  .sig-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .sig-grid .sig-card { flex: 0 1 calc((100% - 32px) / 3); }
  .sig-card { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; justify-items: center; }
  .sig-art { width: 120px; height: 120px; }
  .loc-grid { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .hours-table { max-width: 640px; }
  .demo-banner { left: 50%; right: auto; transform: translateX(-50%); max-width: 720px; }
}

/* ---------- Wegle 샘플 추가 ---------- */
.menu-list .price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-weight: 900; font-size: 18px; color: var(--brown); font-variant-numeric: tabular-nums;
}
.sample-tag { font-size: 14px; font-weight: 500; color: var(--muted); }
.demo-banner a { font-weight: 700; }
