/* =========================================================
   카페& (CAFE &) — 군자 24시 무인카페
   공통 스타일시트
   브랜드 컬러: 핫핑크 + 블랙 + 화이트 + 파스텔
   ========================================================= */

:root {
  --pink: #ff2d87;
  --pink-dark: #e01a72;
  --pink-soft: #ffd9ea;
  --blue-soft: #bfe6f2;
  --ink: #1a1a1a;
  --gray: #5a5a5a;
  --line: #ececec;
  --bg: #ffffff;
  --bg-soft: #fff5fa;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --max: 1080px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "맑은 고딕", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / GNB ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: baseline; gap: 6px; font-weight: 800; font-size: 22px; }
.brand .amp { color: var(--pink); font-size: 26px; }
.brand small { font-size: 11px; color: var(--gray); font-weight: 600; }
.gnb { display: flex; gap: 4px; }
.gnb a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600;
  color: var(--gray); transition: all .15s;
}
.gnb a:hover, .gnb a.active { color: var(--pink); background: var(--bg-soft); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #fff5fa 0%, #fdeafe 100%);
  padding: 56px 0 48px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero .tag {
  display: inline-block; background: var(--pink); color: #fff;
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: 38px; line-height: 1.25; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 .hl { color: var(--pink); }
.hero p.lead { margin-top: 16px; font-size: 18px; color: var(--gray); }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- 핵심 요약 박스 ---------- */
.summary {
  background: #fff; border: 2px solid var(--pink-soft); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow); margin-top: 28px;
}
.summary h2 { font-size: 16px; color: var(--pink); margin-bottom: 14px; }
.summary dl { display: grid; gap: 10px; }
.summary .row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 16px; }
.summary dt { font-weight: 700; color: var(--ink); }
.summary dd { color: var(--gray); }

/* ---------- CTA buttons ---------- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px rgba(255, 45, 135, .35); }
.btn-line { background: #fae100; color: #3c1e1e; }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--pink); font-weight: 700; font-size: 14px; letter-spacing: .5px; }
.section-head h2 { font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: -0.5px; }
.section-head p { color: var(--gray); margin-top: 12px; font-size: 17px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { font-size: 32px; }
.card h3 { font-size: 19px; margin: 14px 0 8px; font-weight: 700; }
.card p { color: var(--gray); font-size: 15px; }
.card .num { color: var(--pink); font-weight: 800; }

/* ---------- Menu table ---------- */
.menu-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.menu-table caption { text-align: left; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.menu-table th, .menu-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.menu-table th { color: var(--gray); font-size: 14px; font-weight: 600; }
.menu-table td.price { text-align: right; font-weight: 800; color: var(--pink); white-space: nowrap; }
.menu-table td .badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px;
}
.badge.hot { background: #ffe2e2; color: #d23; }
.badge.ice { background: #e2f1ff; color: #1572c4; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 17px; font-weight: 700; }
.step p { color: var(--gray); font-size: 14px; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--pink); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 0 22px; color: var(--gray); font-size: 16px; }

/* ---------- Info / location ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-list .item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; }
.info-list dd { color: var(--gray); }
.map-embed { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius); }
.map-ph { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: #f1f1f1; display: flex; align-items: center; justify-content: center; color: #999; font-size: 14px; text-align: center; padding: 20px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; }

/* ---------- placeholder mark ---------- */
.ph { background: #fff3cd; color: #856404; padding: 0 4px; border-radius: 4px; font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 48px 0 32px; margin-top: 0; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.site-footer .copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; color: #888; }

/* ---------- Mobile floating CTA ---------- */
.floating-cta { display: none; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 14px; color: var(--gray); padding: 18px 0; }
.crumb a:hover { color: var(--pink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .info-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gnb { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .gnb.open { display: flex; }
  .gnb a { padding: 12px; }
  .nav-toggle { display: block; }

  /* mobile floating CTA */
  .floating-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .floating-cta a {
    flex: 1; text-align: center; padding: 12px 4px; font-size: 13px; font-weight: 700; color: var(--gray);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
  }
  .floating-cta a .fi { font-size: 20px; }
  .floating-cta a.call { color: var(--pink); }
  body { padding-bottom: 64px; }
}

@media (max-width: 520px) {
  .cards, .steps, .gallery { grid-template-columns: 1fr; }
  .summary .row { grid-template-columns: 80px 1fr; }
  .hero h1 { font-size: 26px; }
}
