:root {
  --cream: #fbf3e4;
  --cream-deep: #f3e4c8;
  --brown: #4a2f1f;
  --brown-soft: #6b4631;
  --accent: #b9692f;
  --accent-dark: #8f4c1d;
  --sun: #f0a955;
  --line: #e2cfa9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  font-family: system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--brown);
  background: var(--cream);
  word-break: keep-all;
}

h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 243, 228, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  color: var(--brown);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}
.main-nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 22px;
}
.main-nav a:hover { background: var(--cream-deep); }

/* 버튼 */
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 28px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--brown); color: var(--brown); }
.btn-ghost:hover { background: var(--cream-deep); }
.btn-light { background: var(--cream); color: var(--brown); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: var(--cream); color: var(--cream); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* 첫 화면 */
.hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 214, 138, 0.85), rgba(255, 214, 138, 0) 55%),
    linear-gradient(180deg, #fde9c3 0%, var(--cream) 100%);
  padding: 40px 0 48px;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 32px;
  line-height: 1.35;
  margin-top: 8px;
  font-weight: 800;
}
.lead { margin-top: 16px; font-size: 18px; color: var(--brown-soft); }
.hero-art { max-width: 280px; width: 100%; margin: 0 auto; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* 섹션 공통 */
.section { padding: 56px 0; }
.section-warm { background: var(--cream-deep); }
h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 24px;
}
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: var(--sun);
  margin-top: 10px;
}
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.big-text { font-size: 18px; }

/* 소개 */
.about-grid { display: flex; flex-direction: column; gap: 28px; }
.point-list { display: flex; flex-direction: column; gap: 12px; }
.point-list li {
  background: #fff8ea;
  border-left: 6px solid var(--sun);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}
.point-list strong { font-size: 18px; }

/* 원두 */
.beans-grid { display: flex; flex-direction: column; gap: 24px; }
.beans-art svg { width: 100%; height: auto; display: block; border-radius: 20px; }
.beans-art { max-width: 360px; }
.beans-text p + p { margin-top: 14px; }
.note-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fff8ea;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 18px;
}
.note-line span { font-weight: 800; color: var(--accent-dark); white-space: nowrap; }

/* 메뉴 */
.signature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fde1ae, #f6c982);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 32px;
}
.signature-art { width: 96px; flex: none; }
.signature-art svg { width: 100%; height: auto; display: block; }
.signature-text h3 { font-size: 24px; margin: 2px 0 8px; }
.signature-text .price { margin-top: 10px; font-size: 22px; font-weight: 800; color: var(--accent-dark); }

.menu-grid { display: flex; flex-direction: column; gap: 32px; }
.menu-group h3 {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brown);
}
.menu-group .second-title { margin-top: 32px; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.menu-list .item { font-size: 18px; }
.menu-list .price { font-weight: 800; white-space: nowrap; color: var(--accent-dark); }

/* 작업 좌석 */
.card-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.card {
  background: var(--cream);
  border-radius: 16px;
  padding: 22px 20px;
  border-top: 5px solid var(--sun);
}
.card p { margin-top: 8px; }

/* 오시는 길 */
.visit-grid { display: flex; flex-direction: column; gap: 16px; }
.visit-box {
  background: #fff8ea;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
}
.address { font-size: 18px; margin: 8px 0 20px; }
.hours { margin-top: 8px; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; }

/* 문의 */
.cta { background: var(--brown); color: var(--cream); }
.cta h2::after { background: var(--sun); }
.cta-inner { text-align: left; }
.btn-row.center { align-items: stretch; }

/* 푸터 */
.site-footer { background: #33200f; color: #f1e3c8; padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-name { font-size: 18px; font-weight: 800; color: #fff; }

/* PC */
@media (min-width: 900px) {
  body { font-size: 18px; }
  html { scroll-padding-top: 90px; }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 32px;
  }
  .main-nav a { padding: 0 18px; }

  .container { padding: 0 32px; }

  .btn-row { flex-direction: row; }
  .btn { min-width: 220px; }

  .hero { padding: 88px 0 96px; }
  .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; padding: 0 32px; }
  .hero-text { flex: 1 1 56%; }
  .hero-art { flex: 0 1 380px; max-width: 380px; margin: 0; }
  h1 { font-size: 48px; }
  .lead { font-size: 20px; max-width: 560px; }

  .section { padding: 96px 0; }
  h2 { font-size: 34px; margin-bottom: 36px; }

  .about-grid { flex-direction: row; gap: 56px; align-items: flex-start; }
  .about-grid .big-text { flex: 1 1 50%; font-size: 20px; }
  .point-list { flex: 1 1 50%; }

  .beans-grid { flex-direction: row; align-items: center; gap: 64px; }
  .beans-art { flex: 0 0 400px; max-width: none; }
  .beans-text { flex: 1; font-size: 19px; }

  .signature { flex-direction: row; align-items: center; gap: 32px; padding: 32px 40px; }
  .signature-art { width: 130px; }
  .signature-text h3 { font-size: 28px; }

  .menu-grid { flex-direction: row; gap: 64px; }
  .menu-group { flex: 1; }

  .card-grid { flex-direction: row; gap: 24px; }
  .card { flex: 1; padding: 28px 26px; }

  .visit-grid { flex-direction: row; gap: 24px; }
  .visit-box { flex: 1; padding: 32px 32px; }

  .cta-inner { text-align: center; }
  .cta-inner .btn-row { justify-content: center; }
  .cta .big-text { max-width: 640px; margin: 0 auto; }
  .cta h2::after { margin-left: auto; margin-right: auto; }

  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (min-width: 1300px) {
  .container, .header-inner, .hero-inner { max-width: 1240px; }
}
