/* ============================================================
   더홍푸드 — Design System
   Base: starbucks (4단계 그린 + 웜 크림 캔버스 + 펄 버튼)
   Brand green: 로고 추출 #1B8239 / deep #117932 / soft #89BD97
   ============================================================ */

:root {
  /* Surface — 차가운 순백 대신 웜 크림 캔버스 */
  --bg:           #f5f3ee;      /* 웜 크림 — 페이지 캔버스 */
  --bg-tint:      #f0f5ef;      /* 파스텔 그린 틴트 — 섹션 교차 */
  --surface:      #ffffff;      /* 카드 표면 */
  --surface-warm: #ebe9e3;      /* 세퍼레이터 */

  /* Brand green (로고 기반) */
  --green:        #1b8239;      /* Primary — CTA·강조 */
  --green-deep:   #117932;      /* 헤드라인·신뢰 텍스트 */
  --green-dark:   #0d5a25;      /* hover */
  --green-soft:   #89bd97;      /* 라이트 악센트 */
  --green-pastel: #d8ead9;      /* 파스텔 배지·태그 배경 */

  /* Foreground — 웜 캔버스에 맞춰 순흑 대신 87% 블랙 */
  --fg:    rgba(20, 28, 22, 0.92);
  --muted: rgba(20, 28, 22, 0.60);
  --line:  rgba(20, 28, 22, 0.10);

  /* Type */
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Malgun Gothic", system-ui, sans-serif;

  /* Radius / shadow (whisper-soft dual shadow) */
  --r-card: 16px;
  --r-pill: 9999px;
  --shadow: 0 1px 2px rgba(20,28,22,.06), 0 8px 24px rgba(20,28,22,.06);
  --shadow-lg: 0 2px 4px rgba(20,28,22,.08), 0 18px 40px rgba(20,28,22,.10);

  --ease: cubic-bezier(.25,.46,.45,.94);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.01em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; }
@media (max-width: 720px){ section { padding: 56px 0; } }
.tint { background: var(--bg-tint); }
.warm { background: var(--surface-warm); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
h1,h2,h3 { color: var(--green-deep); letter-spacing: -0.02em; line-height: 1.18; font-weight: 800; }
h1 { font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.4vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
.lead { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 60ch; }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto 48px; }
.section-head .lead { margin: 14px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s var(--ease);
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-pastel); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,243,238,.86); backdrop-filter: saturate(180%) blur(12px);
  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: 10px; font-weight: 800; color: var(--green-deep); font-size: 19px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--fg); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-deep); margin: 5px 0; transition: .25s; }
@media (max-width: 940px){
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px; transform: translateY(-120%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 92px 0 76px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: var(--green-pastel); color: var(--green-deep);
  padding: 7px 15px; border-radius: var(--r-pill); font-weight: 700; font-size: 13.5px;
}
.hero-figure {
  background: var(--surface); border-radius: 24px; padding: 40px;
  box-shadow: var(--shadow-lg); display: grid; place-items: center; aspect-ratio: 1/1;
}
.hero-figure img { width: 72%; }
@media (max-width: 880px){
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure { aspect-ratio: 16/10; padding: 28px; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 14px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }
.stat .num { font-size: clamp(30px,4vw,44px); font-weight: 800; color: var(--green); line-height: 1; letter-spacing: -.03em; }
.stat .lab { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }

/* ---------- Cards / categories ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 880px){ .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border-radius: var(--r-card); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-pastel); color: var(--green-deep); margin-bottom: 16px; font-size: 24px;
}
.card h3 { margin-bottom: 8px; color: var(--green-deep); }
.card p { color: var(--muted); font-size: 15px; }
.tag { display:inline-block; background: var(--green-pastel); color: var(--green-deep); font-size:12.5px; font-weight:700; padding:4px 11px; border-radius: var(--r-pill); }

/* feature list */
.features { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px 28px; }
.feature { display:flex; gap: 13px; align-items:flex-start; }
.feature .ck { flex:0 0 auto; width:26px; height:26px; border-radius:50%; background:var(--green); color:#fff; display:grid; place-items:center; font-size:14px; font-weight:800; margin-top:2px; }
.feature b { color: var(--green-deep); }
.feature p { color: var(--muted); font-size: 14.5px; }
@media (max-width:680px){ .features { grid-template-columns: 1fr; } }

/* ---------- Catalog table ---------- */
.cat-filter { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom: 34px; }
.chip { padding:9px 18px; border-radius:var(--r-pill); border:1.5px solid var(--line); background:var(--surface); font-weight:700; font-size:14px; cursor:pointer; transition:.15s; color:var(--fg); }
.chip:hover { border-color: var(--green-soft); }
.chip.active { background: var(--green); color:#fff; border-color: var(--green); }
.cat-block { margin-bottom: 40px; }
.cat-block h3 { margin-bottom: 16px; display:flex; align-items:center; gap:10px; }
table.catalog { width:100%; border-collapse:collapse; background:var(--surface); border-radius:var(--r-card); overflow:hidden; box-shadow:var(--shadow); }
table.catalog th, table.catalog td { padding: 14px 16px; text-align:left; font-size:14.5px; border-bottom:1px solid var(--line); }
table.catalog th { background: var(--green-deep); color:#fff; font-weight:700; letter-spacing:-.01em; }
table.catalog tr:last-child td { border-bottom:0; }
table.catalog tbody tr:hover { background: var(--bg-tint); }
.price-ask { color: var(--green); font-weight:700; }
@media (max-width:680px){
  table.catalog thead { display:none; }
  table.catalog tr { display:block; padding:12px 4px; border-bottom:1px solid var(--line); }
  table.catalog td { display:flex; justify-content:space-between; border:0; padding:6px 14px; }
  table.catalog td::before { content: attr(data-label); font-weight:700; color:var(--green-deep); }
}

/* ---------- FAQ ---------- */
.faq-item { background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); margin-bottom:14px; overflow:hidden; border:1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:0; padding:20px 24px; font-size:16px; font-weight:700; color:var(--green-deep); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-q .pm { color:var(--green); font-size:22px; transition:transform .2s; flex:0 0 auto; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s var(--ease); }
.faq-a div { padding:0 24px 22px; color:var(--muted); font-size:15px; }

/* ---------- Reviews ---------- */
.review { background:var(--surface); border-radius:var(--r-card); padding:26px; box-shadow:var(--shadow); border:1px solid var(--line); }
.review .stars { color:#f0a830; font-size:15px; margin-bottom:10px; letter-spacing:2px; }
.review p { font-size:15px; color:var(--fg); margin-bottom:14px; }
.review .who { font-size:14px; color:var(--muted); font-weight:700; }

/* ---------- Notice ---------- */
.notice-item { display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.notice-item .date { flex:0 0 auto; color:var(--green); font-weight:700; font-size:14px; min-width:96px; }
.notice-item h3 { font-size:17px; margin-bottom:5px; }
.notice-item p { color:var(--muted); font-size:14.5px; }
.notice-item .pin { background:var(--green); color:#fff; font-size:11px; padding:2px 8px; border-radius:var(--r-pill); font-weight:700; margin-left:8px; vertical-align:middle; }

/* ---------- Info / location ---------- */
.info-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.info-row { display:flex; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.info-row .ic { color:var(--green); font-size:20px; flex:0 0 26px; }
.info-row b { display:block; color:var(--green-deep); font-size:14px; margin-bottom:2px; }
.info-row span { color:var(--muted); font-size:15px; }
.map-embed { width:100%; aspect-ratio:16/10; border:0; border-radius:var(--r-card); box-shadow:var(--shadow); }
.map-card { display:block; width:100%; aspect-ratio:16/11; border-radius:var(--r-card); box-shadow:var(--shadow);
  background:
    radial-gradient(circle at 30% 30%, rgba(137,189,151,.35), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(137,189,151,.30), transparent 45%),
    repeating-linear-gradient(0deg, var(--bg-tint) 0 38px, #eaf2ea 38px 39px),
    repeating-linear-gradient(90deg, var(--bg-tint) 0 38px, #eaf2ea 38px 39px);
  background-color: var(--bg-tint); position:relative; overflow:hidden; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.map-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.map-card-inner { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; padding:24px; }
.map-card-inner .map-pin { font-size:46px; filter: drop-shadow(0 4px 6px rgba(20,28,22,.2)); }
.map-card-inner b { color:var(--green-deep); font-size:20px; }
.map-card-inner span { color:var(--muted); font-size:15px; line-height:1.5; }
.map-card-inner .map-go { margin-top:8px; color:var(--green); font-weight:700; font-size:15px; }
@media (max-width:780px){ .info-grid { grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-deep); color:#fff; border-radius:28px; padding:56px 40px; text-align:center; }
.cta-band h2 { color:#fff; margin-bottom:12px; }
.cta-band p { color:rgba(255,255,255,.82); margin-bottom:26px; font-size:17px; }
.cta-band .btn-primary { background:#fff; color:var(--green-deep); }
.cta-band .btn-primary:hover { background:var(--green-pastel); }
.cta-band .btn-ghost { color:#fff; border-color:rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background:rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.site-footer { background:#10331c; color:rgba(255,255,255,.72); padding:54px 0 30px; font-size:14px; }
.site-footer .foot-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:34px; }
.site-footer h4 { color:#fff; font-size:15px; margin-bottom:14px; font-weight:700; }
.site-footer a { color:rgba(255,255,255,.72); display:block; padding:4px 0; }
.site-footer a:hover { color:var(--green-soft); }
.foot-brand { display:flex; align-items:center; gap:10px; margin-bottom:14px; font-weight:800; color:#fff; font-size:18px; }
.foot-brand img { height:34px; }
.foot-bottom { border-top:1px solid rgba(255,255,255,.14); padding-top:20px; font-size:13px; color:rgba(255,255,255,.5); line-height:1.8; }
@media (max-width:780px){ .site-footer .foot-grid { grid-template-columns:1fr; gap:24px; } }

/* ---------- Floating call (mobile) ---------- */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  background: var(--green); color:#fff; border-radius: var(--r-pill);
  padding: 14px 20px; font-weight:800; box-shadow: var(--shadow-lg);
  display:none; align-items:center; gap:8px;
}
@media (max-width:940px){ .fab-call { display:inline-flex; } }

/* page hero (sub pages) */
.page-hero { background: var(--bg-tint); padding: 64px 0 48px; text-align:center; border-bottom:1px solid var(--line); }
.page-hero .lead { margin: 14px auto 0; }
.breadcrumb { font-size:13px; color:var(--muted); margin-bottom:14px; }

/* utilities */
.center { text-align:center; }
.mt-40 { margin-top:40px; } .mt-24 { margin-top:24px; }
/* 기본은 항상 보임(노-JS/SEO 안전). JS가 있을 때만 등장 애니메이션 적용 */
.js .reveal { opacity:0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity:1; transform:none; }
