/* =========================================================
   FOODTRUCK1 — 고객경험 (Experience)
   Page-specific layout. Reuses tokens/classes from styles.css.
   Corners are square (0) everywhere except pills (999px).
   ========================================================= */

/* ---------- Page hero ---------- */
.exp-hero { border-bottom: 1px solid var(--ink); }
.exp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
}
.exp-hero-copy {
  padding: 88px 56px 84px 0;
  border-right: 1px solid var(--line);
}
.exp-hero-kick { font-size: 11px; color: var(--terra); }
.exp-hero-h1 {
  font: 200 64px/1.14 'Pretendard', sans-serif;
  color: var(--ink);
  letter-spacing: -0.045em;
  margin-top: 28px;
}
.exp-hero-h1 span { font-weight: 500; }
.exp-hero-lead {
  font: 400 18px/1.75 'Pretendard', sans-serif;
  color: var(--body);
  margin-top: 28px;
  max-width: 480px;
}
.exp-hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 40px;
}
.exp-hero-stat { padding: 26px 0; border-bottom: 1px solid var(--line); }
.exp-hero-stat--last { border-bottom: 0; }
.exp-hero-stat .num { font: 300 30px 'Inter', sans-serif; }
.exp-hero-stat .num.terra { color: var(--terra); }
.exp-hero-stat .lbl { font: 500 14px 'Pretendard', sans-serif; color: var(--muted); margin-top: 6px; }

/* ---------- Section rhythm ---------- */
.exp-section { padding: 96px 0; }
.exp-section--alt { background: var(--section-soft); border-top: 1px solid var(--ink); padding: 104px 0; }
.exp-section--ruled-top { border-top: 1px solid var(--ink); padding: 104px 0; }
.exp-eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 44px; }
.exp-h2 { margin-bottom: 44px; }

/* ---------- 핵심 지표 ---------- */
.exp-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.exp-metric { padding: 44px 28px 48px; border-right: 1px solid var(--line); }
.exp-metric:first-child { padding-left: 0; }
.exp-metric:last-child { padding-right: 0; border-right: 0; }
.exp-metric .big { font: 200 60px 'Inter', sans-serif; letter-spacing: -0.03em; color: var(--ink); }
.exp-metric .big.terra { color: var(--terra); }
.exp-metric .big .plus { font-size: 26px; }
.exp-metric-lbl { font: 500 15px 'Pretendard', sans-serif; color: var(--muted); margin-top: 12px; }
/* placeholders for 재의뢰율·만족도 — replace with real data */
.exp-placeholder { position: relative; }

/* ---------- 고객 후기 ---------- */
.exp-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exp-quote {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 36px;
}
.exp-quote .mark { font: 300 38px 'Inter', sans-serif; line-height: 0.6; }
.exp-quote .mark.terra { color: var(--terra); }
.exp-quote .mark.teal { color: var(--teal); }
.exp-quote p { font: 400 16px/1.75 'Pretendard', sans-serif; color: var(--ink-2); margin-top: 18px; }
.exp-who {
  margin-top: 24px;
  border-top: 1px solid var(--line-card);
  padding-top: 18px;
  font: 600 14px 'Pretendard', sans-serif;
  color: var(--ink);
}
.exp-who span { display: block; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* ---------- 레퍼런스 갤러리 ---------- */
.exp-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.exp-gallery-head .exp-h2 { margin-bottom: 0; }

.exp-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.exp-chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--nav);
  padding: 8px 16px;
  font: 600 13px 'Pretendard', sans-serif;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.exp-chip:hover { border-color: var(--ink); }
.exp-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.exp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.exp-gallery-item { display: block; }
.exp-gallery-item.is-hidden { display: none; }
.exp-gallery-item .shot { height: 200px; }

/* ---------- 서비스 표준 (QSC & MOT) ---------- */
.exp-std-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.exp-std-h2 {
  font: 200 42px/1.2 'Pretendard', sans-serif;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-top: 16px;
}
.exp-std-lead {
  font: 400 16px/1.8 'Pretendard', sans-serif;
  color: var(--body);
  margin-top: 18px;
}

.exp-qsc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.exp-qsc-cell { padding: 28px 20px 30px; border-right: 1px solid var(--line); }
.exp-qsc-cell:first-child { padding-left: 0; }
.exp-qsc-cell:last-child { padding-right: 0; border-right: 0; }
.exp-qsc-letter { font: 700 14px 'Pretendard', sans-serif; color: var(--terra); }
.exp-qsc-cell h4 { font: 600 17px 'Pretendard', sans-serif; color: var(--ink); margin-top: 8px; }
.exp-qsc-cell p { font: 400 14px/1.6 'Pretendard', sans-serif; color: var(--muted); margin-top: 6px; }

/* QSC icons */
.exp-qsc-cell .icon-box { margin-bottom: 14px; }
.exp-qsc-cell .exp-qsc-letter { margin-top: 0; }

.exp-mot { margin-top: 36px; }
.exp-mot-eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 28px; }
.exp-mot-flow { gap: 0; }

/* ---------- 서비스 4대 원칙 (.feature 카드 4열) ---------- */
.exp-std-intro--full { max-width: 720px; margin-bottom: 48px; }
.exp-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- flow--4 (styles.css 엔 3/5/6/7 만 정의) ---------- */
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.exp-last { margin-top: 8px; }
.exp-last .flow-node { font: 700 18px 'Inter', sans-serif; }
.exp-last .flow-step p { max-width: 220px; margin: 0 auto; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .exp-hero-h1 { font-size: 54px; }
  /* gallery 4-col → 2-col */
  .exp-gallery { grid-template-columns: repeat(2, 1fr); }
  /* 4대 원칙 4 → 2 */
  .exp-principles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .exp-section { padding: 64px 0; }
  .exp-section--alt, .exp-section--ruled-top { padding: 72px 0; }

  /* hero stacks */
  .exp-hero-grid { grid-template-columns: 1fr; }
  .exp-hero-copy { padding: 56px 0 40px; border-right: 0; }
  .exp-hero-aside { padding-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: nowrap; gap: 0; }
  .exp-hero-stat { flex: 1 1 0; min-width: 0; padding: 26px 16px; }
  .exp-hero-stat:first-child { padding-left: 0; }
  .exp-hero-stat--last { padding-right: 0; }
  .exp-hero-stat + .exp-hero-stat { border-left: 1px solid var(--line); }
  .exp-hero-h1 { font-size: 46px; }

  /* 지표 3-col stack */
  .exp-metrics { grid-template-columns: 1fr; }
  .exp-metric { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .exp-metric:last-child { border-bottom: 0; }

  /* 후기 stack */
  .exp-quotes { grid-template-columns: 1fr; }

  /* QSC 3-col stack + std grid stack */
  .exp-std-grid { grid-template-columns: 1fr; gap: 36px; }
  .exp-qsc { grid-template-columns: 1fr; }
  .exp-qsc-cell { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .exp-qsc-cell:last-child { border-bottom: 0; }

  /* flow--4 (LAST) 4 → 2; styles.css 가 --7 만 처리하므로 --4 직접 */
  .flow--4 { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .flow--4 .flow-step::before { display: none; }
}

@media (max-width: 560px) {
  .exp-hero-h1 { font-size: 38px; }
  /* gallery 2-col → 1-col */
  .exp-gallery { grid-template-columns: 1fr; }
  /* 4대 원칙 · LAST 1열 */
  .exp-principles { grid-template-columns: 1fr; }
  .flow--4 { grid-template-columns: 1fr; }
}
