/* 고엔 홈페이지 스타일 — 숯·창호지·화로 팔레트, 다크 이자카야 무드 */

:root {
  --sumi: #171210;        /* 배경: 따뜻한 숯색 */
  --sumi-2: #211a15;      /* 카드/면 */
  --sumi-3: #2b221b;      /* 경계면 */
  --washi: #f0e7d8;       /* 본문 밝은 글자: 창호지 */
  --ash: #a99884;         /* 보조 글자: 재 */
  --lamp: #e0aa5e;        /* 포인트: 조명 앰버 */
  --hanko: #b23c2c;       /* 낙관 붉은색 */
  --line: rgba(240, 231, 216, .13);
  --disp: "Song Myung", "Nanum Myeongjo", serif;
  --body: "Gowun Dodum", "Malgun Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--sumi);
  color: var(--washi);
  font-family: var(--body);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── 헤더 ─────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 18, 16, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand {
  font-family: var(--disp); font-size: 24px; letter-spacing: .35em;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.brand-stamp {
  width: 30px; height: 30px; background: var(--hanko); color: var(--washi);
  font-size: 17px; letter-spacing: 0; display: grid; place-items: center;
  border-radius: 5px; transform: rotate(-4deg);
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ash); font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--lamp); }
.head-tel {
  font-family: var(--disp); color: var(--lamp); text-decoration: none;
  font-size: 15px; letter-spacing: .05em;
  border: 1px solid rgba(224, 170, 94, .45); border-radius: 999px;
  padding: 7px 16px; transition: background .2s;
}
.head-tel:hover { background: rgba(224, 170, 94, .12); }

/* ── 공통 섹션 ────────────────────── */
main section { padding: 96px 0; position: relative; }
.sec-mark {
  font-family: var(--disp); color: var(--hanko); font-size: 15px;
  border: 1px solid rgba(178, 60, 44, .55); border-radius: 5px;
  width: 34px; height: 34px; display: grid; place-items: center;
  transform: rotate(-4deg); margin-bottom: 18px;
}
.sec-mark-2 { margin-top: 80px; }
h2 {
  font-family: var(--disp); font-weight: 400; font-size: clamp(28px, 4vw, 38px);
  letter-spacing: .06em; line-height: 1.35; margin-bottom: 10px;
}
.sec-sub { color: var(--ash); margin-bottom: 40px; }
.eyebrow {
  color: var(--lamp); letter-spacing: .45em; font-size: 13px; margin-bottom: 18px;
}

/* ── 히어로 ───────────────────────── */
.hero { padding: 84px 0 96px; overflow: hidden; }
.hero::before {
  /* 창호지 조명 같은 은은한 앰버 광원 */
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 170, 94, .13), transparent 65%);
  pointer-events: none;
}
.hero-rail {
  /* 시그니처: 세로쓰기 간판 */
  position: absolute; top: 100px; right: 26px;
  writing-mode: vertical-rl; font-family: var(--disp);
  color: var(--ash); letter-spacing: .6em; font-size: 14px;
  border-right: 1px solid var(--line); padding-right: 14px;
  opacity: .85;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(38px, 5.6vw, 58px); line-height: 1.32; letter-spacing: .04em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--lamp); }
.lede { color: var(--ash); max-width: 44ch; margin-bottom: 26px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 34px; font-size: 15px; color: var(--ash); }
.hero-facts strong { color: var(--washi); font-weight: 400; }
.hero-facts li:first-child strong { color: var(--lamp); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font-family: var(--body); font-size: 16px; text-decoration: none;
  padding: 13px 30px; border-radius: 3px; letter-spacing: .04em; transition: .2s;
}
.btn-fill { background: var(--hanko); color: #fff; }
.btn-fill:hover { background: #c74a38; }
.btn-line { border: 1px solid rgba(240, 231, 216, .35); color: var(--washi); }
.btn-line:hover { border-color: var(--lamp); color: var(--lamp); }

.hero-photo { position: relative; }
.hero-photo img { border-radius: 4px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.hanko {
  position: absolute; right: -14px; bottom: -14px;
  width: 58px; height: 58px; background: var(--hanko); color: var(--washi);
  font-family: var(--disp); font-size: 30px;
  display: grid; place-items: center; border-radius: 8px;
  transform: rotate(-5deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
}

/* ── 좋았던 점 ────────────────────── */
.likes { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--sumi-2); }
.likes-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 34px;
  justify-content: center; font-size: 15px; color: var(--ash);
}
.likes-row strong { color: var(--lamp); font-family: var(--disp); font-weight: 400; margin-left: 6px; }
.likes-note { text-align: center; font-size: 12.5px; color: rgba(169, 152, 132, .6); margin-top: 10px; }

/* ── 소개 ─────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story-copy p:not(.sec-mark) { color: var(--ash); margin-bottom: 16px; max-width: 52ch; }
.story-photo img { border-radius: 4px; }
.story-photo figcaption { font-size: 13px; color: rgba(169, 152, 132, .7); margin-top: 10px; text-align: right; }

/* ── 메뉴 ─────────────────────────── */
.menu { background: var(--sumi-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.set-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 12px; }
.set-card {
  border: 1px solid rgba(224, 170, 94, .3); border-radius: 6px;
  padding: 26px 28px; background: rgba(224, 170, 94, .05);
}
.set-card h3 { font-family: var(--disp); font-weight: 400; font-size: 19px; letter-spacing: .08em; margin-bottom: 6px; }
.set-price { font-family: var(--disp); color: var(--lamp); font-size: 30px; margin-bottom: 6px; }
.set-price span { font-size: 15px; color: var(--ash); margin-left: 6px; }
.set-card p:last-child { color: var(--ash); font-size: 14.5px; }

.menu-fine { font-size: 13.5px; color: rgba(169, 152, 132, .75); margin: 14px 0 0; }
.menu-fine a { color: var(--lamp); }

.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 44px; }
.menu-cols-2 { grid-template-columns: 1fr 1fr; }
.menu-group h3 {
  font-family: var(--disp); font-weight: 400; font-size: 18px; letter-spacing: .1em;
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid rgba(224, 170, 94, .35);
}
.menu-group h3 span { font-size: 12.5px; color: var(--hanko); border: 1px solid rgba(178,60,44,.5); border-radius: 3px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; letter-spacing: .05em; }

.price-list { list-style: none; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.price-list .nm { color: var(--washi); font-size: 16px; }
.price-list .nm small { color: var(--ash); font-size: 12.5px; margin-left: 4px; }
.price-list .dots { flex: 1; border-bottom: 2px dotted rgba(240, 231, 216, .22); transform: translateY(-4px); }
.price-list .pr { font-family: var(--disp); color: var(--lamp); font-size: 16px; letter-spacing: .03em; }
.new {
  font-family: var(--body); font-weight: 400; font-size: 10.5px; color: #fff;
  background: var(--hanko); border-radius: 3px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px;
}

/* ── 사진 ─────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 36px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 4px; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery figure:hover img { transform: none; } }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  font-size: 13px; color: var(--washi);
  background: linear-gradient(transparent, rgba(10, 7, 5, .78));
}

/* ── 리뷰 ─────────────────────────── */
.reviews { background: var(--sumi-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.review-grid blockquote {
  border: 1px solid var(--line); border-radius: 6px; padding: 28px;
  background: var(--sumi); display: flex; flex-direction: column; gap: 16px;
}
.review-grid p { font-family: var(--disp); font-size: 18px; line-height: 1.6; letter-spacing: .02em; }
.review-grid cite { font-style: normal; font-size: 13px; color: var(--ash); margin-top: auto; }
.review-foot { margin-top: 28px; color: var(--ash); font-size: 15px; }
.review-foot strong { color: var(--lamp); font-family: var(--disp); font-weight: 400; }
.review-foot a { color: var(--lamp); margin-left: 14px; }

/* ── FAQ ─────────────────────────── */
.faq-list { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-list > div { border: 1px solid var(--line); border-radius: 6px; padding: 24px 28px; background: var(--sumi-2); }
.faq-list dt { font-family: var(--disp); font-size: 17px; letter-spacing: .04em; margin-bottom: 8px; color: var(--lamp); }
.faq-list dd { color: var(--ash); font-size: 15.5px; }

/* ── 오시는길 ─────────────────────── */
.visit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
address { font-style: normal; margin-bottom: 28px; }
.addr { font-size: 19px; margin-bottom: 14px; }
.addr span { font-size: 14px; color: var(--ash); }
.way { color: var(--ash); margin-bottom: 18px; }
.tel a { font-family: var(--disp); font-size: 26px; color: var(--lamp); text-decoration: none; letter-spacing: .04em; }

.visit-hours { border: 1px solid var(--line); border-radius: 6px; padding: 30px 32px; background: var(--sumi-2); margin-top: 52px; }
.visit-hours h3 { font-family: var(--disp); font-weight: 400; font-size: 18px; letter-spacing: .1em; margin-bottom: 16px; }
.hours-list { list-style: none; }
.hours-list li { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px dashed rgba(240, 231, 216, .1); font-size: 15.5px; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list span { color: var(--ash); min-width: 74px; }
.hours-note { font-size: 13px; color: rgba(169, 152, 132, .7); margin-top: 12px; }

/* ── 푸터 ─────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding: 44px 0 52px; }
.foot-in { text-align: center; color: var(--ash); font-size: 14.5px; }
.foot-brand { font-family: var(--disp); font-size: 17px; color: var(--washi); letter-spacing: .12em; margin-bottom: 10px; }
.foot-brand span { color: var(--hanko); margin-right: 4px; }
.foot-in a { color: var(--lamp); text-decoration: none; }
.foot-copy { margin-top: 14px; font-size: 12.5px; color: rgba(169, 152, 132, .55); }

/* ── 데스크톱 전화 버튼 안내 토스트 ── */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px);
  background: #120e0b; color: var(--washi);
  border: 1px solid rgba(224, 170, 94, .6); border-radius: 6px;
  padding: 12px 22px; font-size: 15px; letter-spacing: .02em;
  opacity: 0; pointer-events: none; z-index: 100;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 반응형 ───────────────────────── */
@media (max-width: 900px) {
  main section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .story-grid, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-rail { display: none; }
  .menu-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .review-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .visit-hours { margin-top: 0; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .head-in { gap: 14px; }
  .set-cards, .menu-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery .g-tall { grid-row: span 1; }
  .gallery .g-wide { grid-column: span 1; }
  .btn { flex: 1; text-align: center; }
}
