/* =========================================================
   FOODTRUCK1 — 공공 · 단체급식 (Public & Group)
   Page-specific styles. Reuses tokens + shared classes from styles.css.
   ========================================================= */

/* ---------- Page hero ---------- */
.pub-hero { border-bottom: 1px solid var(--ink); }
.pub-hero .container { padding-top: 0; padding-bottom: 0; }
.pub-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}
.pub-hero-copy { padding: 76px 48px 76px 0; border-right: 1px solid var(--line); }
.pub-hero-copy .kick { color: var(--teal); }
.pub-hero-h1 {
  font: 200 58px/1.12 'Pretendard', sans-serif;
  color: var(--ink);
  letter-spacing: -0.045em;
  margin-top: 22px;
}
.pub-hero-h1 span { font-weight: 500; }
.pub-hero-lead {
  font: 400 17px/1.85 'Pretendard', sans-serif;
  color: var(--body);
  margin-top: 24px;
  max-width: 560px;
}
.pub-hero-lead b { color: var(--ink); font-weight: 600; }
.pub-hero-cta { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.pub-hero-metrics { padding-left: 44px; display: flex; flex-direction: column; }
.pub-metric { padding: 26px 0; border-bottom: 1px solid var(--line); }
.pub-metric:last-child { border-bottom: 0; }
.pub-metric .num { font: 300 34px 'Inter', sans-serif; letter-spacing: -0.02em; color: var(--ink); }
.pub-metric .num.teal { color: var(--teal); }
.pub-metric .num span { font-size: 22px; }
.pub-metric .lbl { font: 500 13px 'Pretendard', sans-serif; color: var(--muted); margin-top: 6px; }

.pub-hero-shot { height: 420px; margin-top: 0; }
/* 히어로 원본을 이 박스 비율(약 3.43:1)에 맞춰 잘라 두었다.
   더 넓은 화면에서 세로가 잘릴 때 상단 배너가 남도록 위 기준 정렬. */
.pub-hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- 공통 인트로 ---------- */
.pub-intro { max-width: 720px; }
.pub-intro .kick { font-size: 13px; color: var(--terra); }
.pub-intro .kick.teal { color: var(--teal); }
.pub-intro .h2 { margin-top: 16px; }
.pub-intro p { font: 400 16px/1.85 'Pretendard', sans-serif; color: var(--body); margin-top: 18px; }
.pub-intro p b { color: var(--ink); font-weight: 600; }

/* ---------- 두 가지 운영 방식 ---------- */
.pub-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.pub-mode { margin: 0; background: var(--card); border: 1px solid var(--line-card); }
.pub-mode .shot { height: 260px; }
.pub-mode .shot img { width: 100%; height: 100%; object-fit: cover; }
.pub-mode-body { padding: 30px 32px 34px; }
.pub-mode-body .kick { font-size: 13px; }
.pub-mode-body h3 {
  font: 500 24px 'Pretendard', sans-serif; color: var(--ink);
  letter-spacing: -0.025em; margin: 12px 0 0;
}
.pub-mode-body > p { font: 400 15px/1.8 'Pretendard', sans-serif; color: var(--body); margin: 14px 0 22px; }
.pub-mode-body > p b { color: var(--ink); font-weight: 600; }

/* ---------- 처리 규모 (dark) ---------- */
.pub-capacity {
  background: var(--teal-deep); color: var(--paper);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 96px 0; scroll-margin-top: 80px;
}
.pub-cap-head { max-width: 720px; }
.pub-cap-head .kick { font-size: 13px; color: var(--teal-light); }
.pub-cap-head .h2 { color: var(--paper); margin-top: 16px; }
.pub-cap-head p { font: 400 16px/1.85 'Pretendard', sans-serif; color: #A9C7BD; margin-top: 18px; }

.pub-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid rgba(245,242,236,0.25); }
.pub-cap-cell { padding: 34px 28px 34px 0; border-right: 1px solid rgba(245,242,236,0.25); }
.pub-cap-cell:last-child { border-right: 0; }
.pub-cap-cell:not(:first-child) { padding-left: 28px; }
.pub-cap-num { font: 300 52px 'Inter', sans-serif; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.pub-cap-num span { font-size: 28px; color: var(--teal-light); }
.pub-cap-unit { font: 600 15px 'Pretendard', sans-serif; color: var(--paper); margin-top: 14px; }
.pub-cap-note { font: 400 13px 'Pretendard', sans-serif; color: #A9C7BD; margin-top: 6px; }
.pub-cap-caption { font: 400 14px/1.8 'Pretendard', sans-serif; color: #A9C7BD; margin-top: 26px; max-width: 760px; }

.pub-cap-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.pub-cap-shots .shot { height: 200px; }
.pub-cap-shots img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 위생 ---------- */
.pub-hyg { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; margin-top: 48px; align-items: start; }
.pub-hyg-shot { height: 420px; }
.pub-hyg-shot img { width: 100%; height: 100%; object-fit: cover; }
.pub-hyg-body { display: grid; gap: 26px; }
.pub-hyg-item { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.pub-hyg-item:last-child { border-bottom: 0; padding-bottom: 0; }
.pub-hyg-item h4 { font: 600 17px 'Pretendard', sans-serif; color: var(--ink); margin: 0; }
.pub-hyg-item p { font: 400 15px/1.8 'Pretendard', sans-serif; color: var(--body); margin: 8px 0 0; }
.pub-hyg-item .ul { margin-top: 12px; display: inline-block; }

/* ---------- 사례 ---------- */
.pub-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pub-case { margin: 0; }
.pub-case .shot { height: 220px; }
.pub-case .shot img { width: 100%; height: 100%; object-fit: cover; }
.pub-case figcaption { padding-top: 18px; }
.pub-case-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.badge-pill {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 11px;
  font: 600 13px 'Pretendard', sans-serif; color: var(--muted);
}
.pub-case h4 { font: 600 17px 'Pretendard', sans-serif; color: var(--ink); margin: 0; }
.pub-case p { font: 400 14px/1.7 'Pretendard', sans-serif; color: var(--body); margin: 8px 0 0; }
.pub-more { display: inline-block; margin-top: 32px; }

/* ---------- 절차 ---------- */
.pub-flow-title { margin-bottom: 48px; }
.pub-flow-note { font: 400 14px/1.8 'Pretendard', sans-serif; color: var(--muted); margin-top: 40px; max-width: 720px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .pub-hero-h1 { font-size: 48px; }
  .pub-cap-num { font-size: 44px; }
}

@media (max-width: 860px) {
  .pub-hero-grid { grid-template-columns: 1fr; }
  .pub-hero-copy { padding: 56px 0 36px; border-right: 0; }
  .pub-hero-metrics {
    padding-left: 0; border-top: 1px solid var(--line);
    flex-direction: row; flex-wrap: nowrap; padding-bottom: 8px;
  }
  .pub-metric { flex: 1 1 0; min-width: 0; border-bottom: 0; padding: 22px 16px; }
  .pub-metric:first-child { padding-left: 0; }
  .pub-metric + .pub-metric { border-left: 1px solid var(--line); }
  .pub-hero-shot { height: 300px; }

  .pub-modes { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 36px; }
  .pub-mode .shot { height: 220px; }
  .pub-mode-body { padding: 26px 24px 30px; }

  .pub-capacity { padding: 64px 0; }
  .pub-cap-grid { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 36px; }
  .pub-cap-cell {
    padding: 24px 0; border-right: 0;
    border-top: 1px solid rgba(245,242,236,0.25);
  }
  .pub-cap-cell:not(:first-child) { padding-left: 0; }
  .pub-cap-shots { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pub-cap-shots .shot { height: 200px; }

  .pub-hyg { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pub-hyg-shot { height: 260px; }

  .pub-cases { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pub-case .shot { height: 220px; }
}

@media (max-width: 460px) {
  .pub-hero-h1 { font-size: 36px; }
  .pub-cap-num { font-size: 36px; }
  .pub-cap-num span { font-size: 20px; }
  .pub-hero-cta { gap: 16px; }
}
