/* ============================================================
   카페& — 군자 24시 무인 카페 · 공통 스타일
   따뜻한 크림/오렌지 커피 톤 · 모바일 우선 · 반응형
   ============================================================ */

:root {
  --cream:      #f4e9d8;   /* 배경 크림 */
  --cream-deep: #ecdcc4;   /* 섹션 크림 */
  --coffee:     #3b2a1e;   /* 진한 커피색 텍스트/버튼 */
  --coffee-2:   #5a4636;   /* 보조 텍스트 */
  --orange:     #f0941d;   /* 포인트 오렌지 */
  --orange-2:   #f7b733;   /* 밝은 오렌지/옐로 */
  --yellow:     #ffe082;   /* 인기 메뉴 배경 옐로 */
  --white:      #ffffff;
  --line:       #e3d4bd;
  --shadow:     0 10px 30px rgba(59, 42, 30, .12);
  --radius:     18px;
  --maxw:       1140px;
  --font: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--coffee);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.3; letter-spacing: -.02em; }
.section { padding: 64px 0; }
.section--cream { background: var(--cream-deep); }
.section--white { background: var(--white); }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.section-lead  { color: var(--coffee-2); font-size: 1.02rem; max-width: 640px; }
.text-accent   { color: var(--orange); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coffee); color: var(--white); }
.btn--primary:hover { box-shadow: var(--shadow); }
.btn--orange  { background: var(--orange); color: var(--white); }
.btn--ghost   { background: transparent; color: var(--coffee); border-color: var(--coffee); }
.btn--light   { background: var(--white); color: var(--coffee); }

/* ============================================================
   헤더 / GNB
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 233, 216, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.25rem; }
.brand .amp { color: var(--orange); font-size: 1.5rem; line-height: 1; }
.brand small { display: block; font-size: .62rem; font-weight: 600; color: var(--coffee-2); letter-spacing: .02em; }

.gnb { display: flex; align-items: center; gap: 4px; }
.gnb a {
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem;
  color: var(--coffee-2); transition: background .15s, color .15s;
}
.gnb a:hover, .gnb a.is-active { background: var(--white); color: var(--coffee); }
.gnb .btn { margin-left: 8px; padding: 10px 18px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--coffee); border-radius: 2px; transition: .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .gnb {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .gnb.is-open { transform: translateY(0); }
  .gnb a { padding: 13px 12px; font-size: 1.05rem; }
  .gnb .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--coffee); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* 영상 우측 하단 워터마크(별표시 ✦) 가림용 카페& 로고 플레이트 */
.hero__logo-cover {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 170px; min-height: 110px;
  padding: 18px 30px; border-radius: 18px;
  background: rgba(40, 28, 18, .92);
  color: #fff; font-weight: 800; font-size: 2.1rem; letter-spacing: -.02em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .18);
}
.hero__logo-cover .amp { color: var(--orange-2); margin-left: 3px; }
@media (max-width: 600px) {
  .hero__logo-cover { right: 10px; bottom: 10px; min-width: 130px; min-height: 86px; padding: 14px 22px; font-size: 1.6rem; border-radius: 14px; }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(40,28,18,.86) 0%, rgba(40,28,18,.62) 45%, rgba(40,28,18,.30) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0 84px; color: var(--white); }
.hero .badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(1.9rem, 5.4vw, 3.2rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 .text-accent { color: var(--orange-2); }
.hero p.lead { font-size: clamp(1rem, 2.4vw, 1.18rem); color: rgba(255,255,255,.9); max-width: 600px; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 핵심 요약 박스 (AI 인용 최적 포맷) */
.summary {
  margin-top: 38px; background: rgba(255,255,255,.97); color: var(--coffee);
  border-radius: var(--radius); padding: 22px 24px; max-width: 560px; box-shadow: var(--shadow);
}
.summary h2 { font-size: 1rem; color: var(--orange); margin-bottom: 12px; font-weight: 800; }
.summary ul { list-style: none; display: grid; gap: 10px; }
.summary li { display: flex; gap: 10px; font-size: .98rem; align-items: flex-start; }
.summary li b { color: var(--coffee); }
.summary li .ic { flex: 0 0 22px; color: var(--orange); font-weight: 800; }

/* ============================================================
   카드 / 그리드
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card__img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.card__body { padding: 18px 20px 20px; }
.card__body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.card__body p { color: var(--coffee-2); font-size: .95rem; }

/* 인기 메뉴 옐로 띠 */
.popular { background: var(--yellow); border-radius: 26px; padding: 30px; }
.menu-card { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.menu-card img { aspect-ratio: 4/3; object-fit: cover; }
.menu-card__body { padding: 14px 16px 16px; }
.menu-card__row { display: flex; justify-content: space-between; align-items: baseline; }
.menu-card__name { font-weight: 700; }
.menu-card__price { font-weight: 800; color: var(--coffee); }
.menu-card__tags { display: flex; gap: 8px; margin-top: 10px; }
.tag {
  font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--line);
}
.tag--hot  { color: #c0392b; border-color: #e7b7af; }
.tag--ice  { color: #2a79c0; border-color: #aecbe7; }

/* ============================================================
   이용방법 / 스텝
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 14px; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--coffee); color: var(--white); display: grid; place-items: center;
  font-weight: 800; font-size: 1.3rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--coffee-2); font-size: .96rem; }

/* ============================================================
   About / split
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split__img { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.split__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-list { list-style: none; display: grid; gap: 12px; margin: 18px 0 26px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.feature-list li::before { content: "✓"; color: var(--orange); font-weight: 800; }

/* 강점 통계 */
.stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 22px; }
.stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--orange); }
.stat span { color: var(--coffee-2); font-size: .92rem; }

/* ============================================================
   메뉴 페이지 표
   ============================================================ */
.menu-group { margin-bottom: 40px; }
.menu-group h3 {
  font-size: 1.3rem; margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px;
}
.menu-group .desc { color: var(--coffee-2); margin-bottom: 18px; font-size: .96rem; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--cream-deep); font-weight: 800; font-size: .92rem; }
.price-table td.price { text-align: right; font-weight: 800; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .opt { color: var(--coffee-2); font-size: .85rem; font-weight: 600; }

/* ============================================================
   FAQ 아코디언
   ============================================================ */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-size: 1.05rem; font-weight: 700; color: var(--coffee);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { flex: 0 0 auto; transition: transform .25s; color: var(--orange); font-size: 1.2rem; }
.faq-item.is-open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a__inner { padding: 0 22px 20px; color: var(--coffee-2); font-size: .99rem; }

/* ============================================================
   오시는 길
   ============================================================ */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe, .map-embed img { width: 100%; height: 380px; border: 0; object-fit: cover; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 13px 4px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 110px; color: var(--coffee-2); font-weight: 700; }

/* ============================================================
   CTA 띠 / 후기
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; margin: 0 auto;
  background: var(--coffee); color: var(--white); padding: 48px 36px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.cta-band .hero__cta { justify-content: center; }

.review-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.review-card .stars { color: var(--orange); margin-bottom: 8px; letter-spacing: 2px; }
.review-card p { color: var(--coffee-2); }
.review-card .who { margin-top: 12px; font-weight: 700; font-size: .9rem; }

/* 알림/플레이스홀더 안내 */
.note {
  background: #fff5e1; border: 1px dashed var(--orange); border-radius: 12px;
  padding: 12px 16px; font-size: .88rem; color: var(--coffee-2); margin-top: 16px;
}
.note b { color: var(--coffee); }

/* ============================================================
   푸터
   ============================================================ */
.site-footer { background: var(--coffee); color: rgba(255,255,255,.82); padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer .brand { color: var(--white); margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--orange-2); }
.footer-links { list-style: none; display: grid; gap: 9px; font-size: .94rem; }
.footer-nap { font-size: .94rem; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; font-size: .82rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }

/* ============================================================
   모바일 floating CTA
   ============================================================ */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--coffee); box-shadow: 0 -6px 20px rgba(0,0,0,.18);
}
.floating-cta a {
  padding: 12px 6px; text-align: center; color: var(--white);
  font-size: .82rem; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 3px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.floating-cta a:last-child { border-right: 0; }
.floating-cta a .ic { font-size: 1.15rem; }
.floating-cta a.is-accent { background: var(--orange); }
@media (max-width: 860px) {
  .floating-cta { display: grid; }
  body { padding-bottom: 64px; }
}

/* ---------- 페이지 헤더(서브) ---------- */
.page-head { background: var(--cream-deep); padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .85rem; color: var(--coffee-2); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--orange); }
.page-head h1 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.page-head p { color: var(--coffee-2); max-width: 680px; }

/* ---------- 유틸 ---------- */
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--coffee-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .88rem; font-weight: 600; }
