/* ============================================================
   명진푸드시스템 - 스타일시트
   ============================================================ */

/* ── Reset & Variables ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #3d6652;
  --brand-dark:   #2a4a3a;
  --brand-mid:    #4d7d64;
  --brand-light:  #f0eae0;
  --brand-pale:   #eaf2ee;
  --accent:       #a8d5b5;

  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-900:  #111827;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.12);
  --shadow-brand: 0 8px 32px rgba(61,102,82,.20);

  --trans: all .3s cubic-bezier(.4,0,.2,1);
  --nav-h: 68px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--gray-900); background: var(--white);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a      { color: inherit; text-decoration: none; }
img    { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

.section     { padding: 80px 0; }
.bg-gray     { background: var(--gray-50); }

/* 3개 주요 섹션 — 여백 넓게 */
.dist-network-section,
.bg-gray,
.process-section { padding: 130px 0; }
.text-center { text-align: center; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ── Typography ──────────────────────────────────────────────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: var(--brand-pale); color: var(--brand);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 100px; margin-bottom: 14px;
}
.section-tag::before { content:''; width:6px; height:6px; background:var(--brand); border-radius:50%; }
.section-tag.light { background: rgba(168,213,181,.2); color: var(--accent); }
.section-tag.light::before { background: var(--accent); }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -.02em; color: var(--gray-900);
}
.section-title em { font-style: normal; color: var(--brand); }
.section-desc { font-size: clamp(.875rem, 2vw, 1rem); color: var(--gray-600); line-height: 1.8; margin-top: 14px; }
.divider { width: 36px; height: 3px; background: var(--brand); border-radius: 2px; margin: 18px 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 100px;
  font-size: .875rem; font-weight: 600; transition: var(--trans); white-space: nowrap; cursor: pointer;
}
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: .95rem; }

.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(61,102,82,.30); }

.btn-accent { background: var(--brand); color: var(--white); box-shadow: var(--shadow-brand); }
.btn-accent:hover { background: #E8763A; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(232,118,58,.45); }

.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,.15); color: var(--white); border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--white); color: var(--brand); border-color: var(--white); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--brand); font-weight: 700; }
.btn-white:hover { background: var(--brand-pale); transform: translateY(-2px); }

/* ── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(0,0,0,.05);
  transition: background .4s, box-shadow .4s;
}
body.page-home #nav           { background: transparent; box-shadow: none; }
body.page-home #nav.scrolled  { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(0,0,0,.05); }

.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { .nav-inner { padding: 0 32px; } }

.nav-logo { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.nav-logo .logo-en { font-size: .6rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .6; transition: color .3s; }
.nav-logo .logo-kr { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); transition: color .3s; }
body.page-home #nav:not(.scrolled) .logo-kr { color: var(--white); }
body.page-home #nav:not(.scrolled) .logo-en { color: rgba(255,255,255,.6); }

.nav-links { display: none; align-items: center; gap: 2px; }
@media (min-width: 640px) { .nav-links { display: flex; } }

.nav-links a {
  padding: 8px 16px; font-size: .875rem; font-weight: 500;
  color: var(--gray-700); border-radius: 8px; transition: var(--trans); position: relative;
}
.nav-links a:hover  { color: var(--brand); background: var(--brand-pale); }
.nav-links a.active { color: var(--brand); font-weight: 700; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
body.page-home #nav:not(.scrolled) .nav-links a         { color: rgba(255,255,255,.85); }
body.page-home #nav:not(.scrolled) .nav-links a:hover   { color: var(--white); background: rgba(255,255,255,.15); }
body.page-home #nav:not(.scrolled) .nav-links a.active  { color: var(--white); }
body.page-home #nav:not(.scrolled) .nav-links a.active::after { background: var(--white); }

.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.nav-brand-mall-link {
  padding: 8px 16px; font-size: .875rem; font-weight: 500;
  color: var(--brand) !important; border-radius: 8px; transition: var(--trans);
}
.nav-brand-mall-link:hover { background: var(--brand-pale); }
body.page-home #nav:not(.scrolled) .nav-brand-mall-link { color: rgba(255,255,255,.85) !important; }
body.page-home #nav:not(.scrolled) .nav-brand-mall-link:hover { color: var(--white) !important; background: rgba(255,255,255,.15); }
body.page-home #nav:not(.scrolled) .nav-cta { background: rgba(255,255,255,.18); box-shadow: none; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px; border-radius: 10px; transition: var(--trans);
}
@media (min-width: 640px) { .hamburger { display: none; } }
.hamburger span { display: block; height: 2px; background: var(--gray-700); border-radius: 2px; transition: var(--trans); }
body.page-home #nav:not(.scrolled) .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
#mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--white); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu a { display: block; padding: 15px 20px; font-size: 1rem; font-weight: 500; color: var(--gray-700); border-radius: var(--radius); transition: var(--trans); }
#mobile-menu a:hover  { color: var(--brand); background: var(--brand-pale); }
#mobile-menu a.active { color: var(--brand); background: var(--brand-pale); font-weight: 700; }
#mobile-menu .mobile-cta { margin-top: 12px; text-align: center; background: var(--brand); color: var(--white); border-radius: 100px; font-weight: 600; }

/* ── Page System ─────────────────────────────────────────────── */
.page { padding-top: var(--nav-h); }
body.page-home #page-home { padding-top: 0; }
#page-company, #page-products, #page-support { padding-top: 0; }

/* ── Hero (Home) ─────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--brand-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(61,102,82,.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(42,74,58,.8) 0%, transparent 55%),
    linear-gradient(135deg, #1a3028 0%, #2a4a3a 40%, #3d6652 100%);
}
.hero-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-deco-1 {
  width: clamp(300px,50vw,700px); height: clamp(300px,50vw,700px);
  top: -15%; right: -10%;
  background: radial-gradient(circle, rgba(61,102,82,.35) 0%, transparent 70%);
}
.hero-deco-2 {
  width: clamp(200px,30vw,400px); height: clamp(200px,30vw,400px);
  bottom: 5%; left: -5%;
  background: radial-gradient(circle, rgba(240,234,224,.08) 0%, transparent 70%);
}
/* 워터마크 로고 */
.hero-watermark {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(400px, 55vw, 820px);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 767px) {
  .hero-watermark { right: -8%; }
}
.hero-watermark img {
  display: block; width: 100%; height: auto;
  filter: brightness(0) invert(1);
  opacity: .07;
  user-select: none;
}

.hero-content {
  position: relative; z-index: 1;
  padding: 100px 20px 100px; max-width: 1200px; margin: 0 auto; width: 100%;
}
@media (min-width: 768px) { .hero-content { padding: 120px 32px 120px; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  background: rgba(240,234,224,.12); border: 1px solid rgba(240,234,224,.25);
  color: rgba(240,234,224,.9); border-radius: 100px;
  font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px; backdrop-filter: blur(8px);
}
.hero-tag::before { content:''; width:6px; height:6px; background:var(--accent); border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.4);} }

.hero-title {
  font-size: clamp(2rem, 6.5vw, 4.5rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -.03em; color: var(--white); margin-bottom: 24px;
}
.hero-title .accent { color: var(--accent); }
.hero-title .break  { display: block; }
.hero-desc { font-size: clamp(.875rem, 2vw, 1.05rem); color: rgba(255,255,255,.72); line-height: 1.85; max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 60px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; max-width: 640px;
}
@media (min-width: 480px) { .hero-stats { grid-template-columns: repeat(4,1fr); } }
.hero-stat { padding: 20px 16px; text-align: center; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); transition: background .3s; }
.hero-stat:hover { background: rgba(255,255,255,.12); }
.hero-stat-num { font-size: clamp(1.3rem,3vw,1.9rem); font-weight: 900; color: var(--white); line-height: 1; }
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 4px; }

.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.35); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-indicator-line { width:1px; height:36px; background:linear-gradient(to bottom,rgba(255,255,255,.4),transparent); animation:scroll-line 2s ease-in-out infinite; }
@keyframes scroll-line { 0%,100%{transform:scaleY(1);opacity:1;} 50%{transform:scaleY(.5);opacity:.3;} }

/* ── Marquee ─────────────────────────────────────────────────── */
.marquee-section { background: var(--brand); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.marquee-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 500; letter-spacing: .05em; white-space: nowrap; }
.marquee-dot  { width: 4px; height: 4px; background: rgba(255,255,255,.35); border-radius: 50%; }

/* ── Why Cards ───────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 480px)  { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1024px) { .why-grid--3 { grid-template-columns: repeat(3,1fr); } }

.why-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 24px;
  border: 1px solid var(--gray-200); transition: var(--trans); position: relative; overflow: hidden;
}
.why-card::before {
  content:''; position: absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-mid));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { width:52px; height:52px; background:var(--brand-pale); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--brand); flex-shrink:0; }
.why-card h3 { font-size:1rem; font-weight:700; color:var(--gray-900); margin-bottom:10px; }
.why-card p  { font-size:.835rem; color:var(--gray-600); line-height:1.7; }

.why-card--center { display:flex; flex-direction:column; align-items:center; text-align:center; }
.why-card--center .why-icon { margin-left:auto; margin-right:auto; }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner { background: var(--brand); padding: 64px 0; }
.cta-banner-inner { display:flex; flex-direction:column; gap:28px; align-items:flex-start; }
@media (min-width: 768px) { .cta-banner-inner { flex-direction:row; align-items:center; justify-content:space-between; } }
.cta-banner h2 { font-size:clamp(1.3rem,3vw,2rem); font-weight:700; color:var(--white); margin-bottom:8px; }
.cta-banner p  { font-size:.9rem; color:rgba(255,255,255,.75); }

/* ── Page Hero (Sub-pages) ──────────────────────────────────── */
.page-hero { position:relative; background:var(--brand-dark); padding:calc(var(--nav-h) + 60px) 0 72px; }
.page-hero-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(61,102,82,.5) 0%, transparent 60%),
    linear-gradient(135deg, #1a3028 0%, #2a4a3a 60%, #3d6652 100%);
}
.page-hero-content { position:relative; z-index:1; max-width:680px; }
.page-hero-title { font-size:clamp(1.8rem,5vw,3.2rem); font-weight:900; line-height:1.15; letter-spacing:-.025em; color:var(--white); margin:12px 0 18px; }
.page-hero-title em { color:var(--accent); font-style:normal; }
.page-hero-desc { font-size:clamp(.875rem,2vw,1rem); color:rgba(255,255,255,.68); line-height:1.8; }

/* ── Company Stats Bar ───────────────────────────────────────── */
.company-stats-bar { background: var(--brand); }
.company-stats-grid { display:grid; grid-template-columns:repeat(2,1fr); }
@media (min-width: 640px) { .company-stats-grid { grid-template-columns:repeat(4,1fr); } }
.company-stat { padding:28px 20px; text-align:center; border-right:1px solid rgba(255,255,255,.15); }
.company-stat:last-child { border-right:none; }
.company-stat-num { font-size:clamp(1.6rem,4vw,2.4rem); font-weight:900; color:var(--white); line-height:1; }
.company-stat-num span { color:var(--accent); }
.company-stat-label { font-size:.72rem; color:rgba(255,255,255,.6); margin-top:6px; font-weight:500; letter-spacing:.04em; }

/* ── CEO Layout ──────────────────────────────────────────────── */
.ceo-layout { display:grid; grid-template-columns:1fr; gap:48px; align-items:start; }
@media (min-width: 768px) { .ceo-layout { grid-template-columns:2fr 3fr; } }

/* CEO 사진 */
.ceo-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  aspect-ratio: 3/4;
}
.ceo-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
/* 하단 그라데이션 오버레이 */
.ceo-photo-wrap::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(to top, rgba(10,30,20,.75) 0%, transparent 100%);
  pointer-events: none;
}
.ceo-photo-caption {
  position: absolute; bottom: 20px; left: 24px; z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.ceo-photo-title {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  color: rgba(255,255,255,.75); text-transform: uppercase;
}
.ceo-photo-name {
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  letter-spacing: .02em;
}
.ceo-title-label { font-size:.8rem; color:var(--brand); font-weight:500; margin:4px 0 24px; }
.ceo-overview-table { border-top:1px solid rgba(61,102,82,.15); padding-top:20px; text-align:left; }
.ceo-row { display:flex; gap:12px; padding:8px 0; border-bottom:1px solid rgba(0,0,0,.05); font-size:.82rem; }
.ceo-key { color:var(--brand); font-weight:600; min-width:52px; flex-shrink:0; }
.ceo-val { color:var(--gray-700); }

.ceo-text { font-size:.9rem; color:var(--gray-600); line-height:1.85; margin-bottom:16px; }
.ceo-text strong { color:var(--brand); }
.ceo-sign {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  font-size: .875rem; color: var(--gray-600); line-height: 2;
}
.ceo-sign-label { display: block; font-size: .8rem; color: var(--gray-500); }
.ceo-sign-name {
  font-family: 'Nanum Pen Script', cursive;
  font-size: 2.2rem; font-weight: 400;
  color: var(--gray-900); line-height: 1.2;
  letter-spacing: .02em; vertical-align: middle;
}

/* ── History Timeline (세로형) ───────────────────────────────── */
.history-timeline {
  max-width: 680px;
  margin-top: 48px;
  position: relative;
}

/* 세로 연결선 */
.history-timeline::before {
  content: '';
  position: absolute;
  left: 76px;           /* 연도 너비(60px) + gap(16px) */
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--gray-200);
}

.ht-item {
  display: grid;
  grid-template-columns: 60px 16px 1fr;
  align-items: flex-start;
  gap: 0 16px;
  padding: 0 0 44px;
  position: relative;
}
.ht-item:last-child { padding-bottom: 0; }

/* 연도 */
.ht-year {
  font-size: .88rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .02em;
  padding-top: 2px;
  text-align: right;
}

/* 점 */
.ht-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand);
  margin-top: 4px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  justify-self: center;
}
.ht-dot--current {
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(61,102,82,.25);
  animation: pulse-green 2s ease infinite;
}

/* 내용 */
.ht-body   { padding-top: 0; }
.ht-title  { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; }
.ht-desc   { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }

/* ── CI / BI 섹션 ────────────────────────────────────────────── */
.ci-bi-section { background: var(--gray-50); }

.ci-bi-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .ci-bi-grid { grid-template-columns: 1fr 1fr; } }

.ci-bi-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden; transition: var(--trans);
  display: flex; flex-direction: column;
}
.ci-bi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.ci-bi-label {
  padding: 14px 24px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brand); background: var(--brand-pale);
  border-bottom: 1px solid rgba(61,102,82,.1);
}

.ci-bi-preview {
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px; min-height: 200px;
  border-bottom: 1px solid var(--gray-100);
}
.ci-bi-img { max-width: 100%; max-height: 160px; object-fit: contain; }

.ci-bi-desc {
  padding: 20px 24px 0;
}
.ci-bi-desc strong { font-size: .95rem; font-weight: 700; color: var(--gray-900); display: block; margin-bottom: 6px; }
.ci-bi-desc p { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }

.ci-bi-actions {
  padding: 20px 24px 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
}

.ci-dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 100px;
  font-size: .78rem; font-weight: 700;
  text-decoration: none; transition: var(--trans); cursor: pointer;
  background: var(--brand); color: var(--white); border: 1.5px solid var(--brand);
}
.ci-dl-btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.ci-dl-btn--outline {
  background: var(--white); color: var(--gray-700); border-color: var(--gray-300);
}
.ci-dl-btn--outline:hover { border-color: var(--brand); color: var(--brand); background: var(--white); }

.ci-dl-btn--brand {
  background: var(--white); color: var(--brand); border-color: var(--brand);
}
.ci-dl-btn--brand:hover { background: var(--brand); color: var(--white); }

/* ── Products ─────────────────────────────────────────────────── */

/* 제조사 섹션 */
.mfr-section {
  background: var(--white);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--gray-100);
}
.mfr-section-header {
  margin-bottom: 32px;
}
.mfr-section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.mfr-section-title em { color: var(--brand); font-style: normal; }

/* 제조사 스크롤 래퍼 */
.mfr-scroll-wrap {
  position: relative;
}
/* 좌우 페이드 마스크 */
.mfr-scroll-wrap::before,
.mfr-scroll-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 16px; width: 48px;
  pointer-events: none; z-index: 2;
}
.mfr-scroll-wrap::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.mfr-scroll-wrap::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }

/* 화살표 버튼 */
.mfr-arrow {
  position: absolute; top: 50%; transform: translateY(-60%);
  z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--trans); color: var(--gray-700);
}
.mfr-arrow:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.mfr-arrow--left  { left: -10px; }
.mfr-arrow--right { right: -10px; }
.mfr-arrow[disabled] { opacity: 0; pointer-events: none; }

/* 제조사 로고 버튼 행 */
.mfr-logo-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 8px 16px;
  scrollbar-width: none;           /* Firefox — 스크롤바 숨김 */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.mfr-logo-row:active { cursor: grabbing; }
.mfr-logo-row::-webkit-scrollbar { display: none; }

/* 개별 로고 버튼 */
.mfr-logo-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 80px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
  transition: var(--trans);
  position: relative;
}
.mfr-logo-btn:hover { transform: translateY(-4px); }
.mfr-logo-btn.active .mfr-logo-circle { box-shadow: 0 0 0 3px var(--brand), 0 0 0 6px rgba(61,102,82,.2); }

/* 원형 로고 */
.mfr-logo-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mc, #3d6652), var(--mc2, #2a4a3a));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: box-shadow .25s;
  overflow: hidden;
}
.mfr-logo-initial {
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255,255,255,.95);
  letter-spacing: -.02em;
  line-height: 1;
}
.mfr-logo-badge {
  position: absolute;
  bottom: 4px; right: -2px;
  background: #fff;
  color: var(--mc, #3d6652);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 1px 5px;
  border-radius: 100px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* 전체보기 원 */
.mfr-logo-circle.mfr-all {
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
}
.mfr-logo-all-icon { font-size: 1.5rem; color: var(--gray-400); }
.mfr-logo-btn.active .mfr-logo-circle.mfr-all {
  background: var(--brand-pale);
  border-color: var(--brand);
}
.mfr-logo-btn.active .mfr-logo-circle.mfr-all .mfr-logo-all-icon { color: var(--brand); }

.mfr-logo-name {
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.3;
  word-break: keep-all;
  transition: color .2s;
}
.mfr-logo-btn.active .mfr-logo-name { color: var(--brand); }
.mfr-logo-btn:hover .mfr-logo-name  { color: var(--gray-900); }

/* 선택된 제조사 info bar */
.mfr-info-bar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--brand-pale);
  border: 1px solid rgba(61,102,82,.15);
  border-radius: var(--radius);
  padding: 14px 18px;
  animation: fadeIn .3s ease;
}
.mfr-info-logo {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.mfr-info-name { font-size: .95rem; font-weight: 700; color: var(--gray-900); }
.mfr-info-clear {
  margin-left: auto; flex-shrink: 0;
  padding: 7px 16px;
  background: var(--white); color: var(--brand);
  border: 1px solid rgba(61,102,82,.25);
  border-radius: 100px; font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: var(--trans);
}
.mfr-info-clear:hover { background: var(--brand); color: var(--white); }

/* 제품 섹션 카테고리 필터 + 카운트 */
.products-section { padding-top: 32px; }
.cat-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tab-bar { display:flex; flex-wrap:wrap; gap:6px; }
.tab-btn {
  padding: 7px 16px; border-radius: 100px;
  font-size: .8rem; font-weight: 500;
  color: var(--gray-600); background: var(--gray-100);
  transition: var(--trans); border: 1.5px solid transparent;
}
.tab-btn:hover  { color: var(--brand); background: var(--brand-pale); }
.tab-btn.active { background: var(--brand); color: var(--white); border-color: var(--brand); }
.tab-btn[hidden] { display: none; }

/* 결과 카운트 */
.product-count {
  font-size: .82rem; color: var(--gray-500);
  white-space: nowrap;
}
.product-count #product-count-num {
  font-size: 1.1rem; font-weight: 700; color: var(--brand);
}

/* 그리드 */
.product-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (min-width: 480px)  { .product-grid { grid-template-columns:repeat(3,1fr); gap:16px; } }
@media (min-width: 768px)  { .product-grid { grid-template-columns:repeat(4,1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns:repeat(5,1fr); } }

.product-card { position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--gray-100); aspect-ratio:1; display:flex; flex-direction:column; justify-content:flex-end; transition:transform .3s, box-shadow .3s, opacity .3s; }
.product-card:hover { transform:scale(1.03); box-shadow:var(--shadow-lg); }
.product-thumb { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:2.2rem; }
.product-thumb.tang   { background:linear-gradient(135deg,#1a3028,#3d6652); } /* 국탕류 — 녹색 */
.product-thumb.mandu  { background:linear-gradient(135deg,#2d1a1a,#7c3a3a); } /* 만두류 — 적갈 */
.product-thumb.myeon  { background:linear-gradient(135deg,#1a2040,#3d5280); } /* 면류   — 남색 */
.product-thumb.twigim { background:linear-gradient(135deg,#2a1a10,#805020); } /* 튀김류 — 갈색 */
.product-thumb.bunsik { background:linear-gradient(135deg,#20200a,#6b5010); } /* 분식류 — 황갈 */
.product-thumb.sauce  { background:linear-gradient(135deg,#300a20,#803050); } /* 소스류 — 자주 */
.product-thumb.meat   { background:linear-gradient(135deg,#2d1010,#8b2020); } /* 가공육 — 진적 */
.product-thumb.etc    { background:linear-gradient(135deg,#102020,#204040); } /* 기타   — 청록 */
.product-info { position:relative; padding:8px 10px 12px; background:linear-gradient(to top,rgba(0,0,0,.8) 0%,transparent 100%); }
.product-name  { font-size:.78rem; font-weight:600; color:var(--white); line-height:1.3; }
.product-mfr   { font-size:.65rem; color:rgba(255,255,255,.5); margin-top:2px; }
.product-badge { display:inline-block; padding:2px 8px; background:rgba(168,213,181,.25); color:var(--accent); border-radius:100px; font-size:.6rem; font-weight:500; margin-bottom:2px; }
.product-badge.premium-badge { background:rgba(255,215,0,.2); color:#ffd700; }

/* 결과 없음 */
.product-empty { padding: 64px 24px; text-align: center; }
.product-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.product-empty p { font-size: .9rem; color: var(--gray-500); margin-bottom: 20px; }

.product-cta-box { margin-top:48px; padding:32px 36px; background:var(--white); border-radius:var(--radius-xl); border:1.5px solid var(--gray-200); display:flex; flex-direction:column; gap:20px; align-items:flex-start; }
@media (min-width: 640px) { .product-cta-box { flex-direction:row; align-items:center; justify-content:space-between; } }
.product-cta-box h3 { font-size:1.1rem; font-weight:700; color:var(--gray-900); margin-bottom:4px; }
.product-cta-box p  { font-size:.84rem; color:var(--gray-500); }

/* ── 제조사 선택 심플바 */
.mfr-selected-bar {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 10px 16px;
  background: var(--brand-pale); border: 1px solid rgba(61,102,82,.2);
  border-radius: 100px; font-size: .82rem;
}
.mfr-selected-name { font-weight: 700; color: var(--brand); }
.mfr-selected-sep  { color: var(--gray-400); font-size:.75rem; }
.mfr-selected-clear {
  margin-left: auto; padding: 4px 12px;
  border: 1px solid var(--gray-300); border-radius: 100px;
  font-size: .75rem; font-weight: 600; color: var(--gray-600);
  cursor: pointer; transition: var(--trans);
}
.mfr-selected-clear:hover { background: var(--gray-100); }

/* ── 유통 네트워크 ─────────────────────────────────────────────── */
.dist-network-section {
  background: url('../images/background.png') center center / cover no-repeat;
  position: relative;
}
.dist-network-section::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.60);
  pointer-events: none; z-index: 0;
}
.dist-network-section .container { position: relative; z-index: 1; }
.dist-network-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 900px) {
  .dist-network-layout { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
}
.dist-network-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px;
}
.dns-card {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 20px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.dns-card--wide { grid-column: 1 / -1; }
.dns-num {
  font-size: clamp(1.4rem,3vw,2rem); font-weight: 900; color: var(--brand);
  line-height: 1; font-feature-settings: 'tnum';
}
.dns-num span { font-size: .7em; }
.dns-label { font-size: .78rem; color: var(--gray-500); font-weight: 500; }
/* 사진 래퍼 — 배경 그라데이션으로 이질감 제거 */
.dist-network-right { position: relative; }

.dist-photo-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(61,102,82,.18), 0 4px 16px rgba(0,0,0,.08);
  /* 섹션 배경(흰색)과 자연스럽게 연결되는 테두리 */
  outline: 6px solid rgba(61,102,82,.07);
  outline-offset: 0;
}

.dist-network-img {
  width: 100%; display: block; aspect-ratio: 4/3;
  object-fit: cover; object-position: center 60%;
  /* 살짝 채도 올려 생동감 추가 */
  filter: saturate(1.08) brightness(1.02);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.dist-photo-wrap:hover .dist-network-img { transform: scale(1.03); }

/* 사진 위 반투명 하단 그라데이션 */
.dist-photo-wrap::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(20,45,30,.45) 0%, transparent 100%);
  pointer-events: none;
}

/* 하단 뱃지 */
.dist-photo-badge {
  position: absolute; bottom: 18px; left: 20px; z-index: 1;
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 7px 16px 7px 10px;
  font-size: .78rem; font-weight: 700; color: var(--gray-800);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.dist-photo-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
  animation: pulse-green 2s ease infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,.08); }
}

/* ── 주문 프로세스 ─────────────────────────────────────────────── */
.process-section { background: var(--white); }
.process-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: start;
}
@media (min-width: 900px) { .process-layout { grid-template-columns: 1fr 400px; gap: 64px; } }

.process-title { margin-top: 16px; }

.process-steps { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.process-step  { display: flex; align-items: flex-start; gap: 18px; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800;
}
.step-body { padding-top: 4px; }
.step-title { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.step-desc  { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }

/* 상담 카드 */
.consult-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-200);
  padding: 36px 32px; box-shadow: var(--shadow);
}
.consult-icon  { font-size: 2.2rem; margin-bottom: 16px; }
.consult-title { font-size: 1.2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.consult-desc  { font-size: .855rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 28px; }
.consult-btns  { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }

.btn-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 100px;
  background: var(--brand); color: var(--white);
  font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: var(--trans); border: 2px solid var(--brand);
}
.btn-phone:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-phone.revealed { background: var(--white); color: var(--brand); border-color: var(--brand); }
.btn-phone-icon { font-size: 1rem; }

.btn-online {
  display: inline-flex; align-items: center;
  padding: 13px 22px; border-radius: 100px;
  background: var(--white); color: var(--gray-700);
  border: 2px solid var(--gray-300);
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: var(--trans);
}
.btn-online:hover { border-color: var(--brand); color: var(--brand); }

.consult-cats { border-top: 1px solid var(--gray-100); padding-top: 20px; }
.consult-cats-label { display: block; font-size: .72rem; color: var(--gray-400); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.consult-cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tag { padding: 4px 12px; background: var(--gray-100); color: var(--gray-600); border-radius: 100px; font-size: .75rem; font-weight: 500; }

/* ── 온라인 문의 팝업 ────────────────────────────────────────── */
.inquiry-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; }
.inquiry-modal[hidden] { display: none !important; }
.inquiry-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.inquiry-modal-box {
  position: relative; z-index: 1;
  background: var(--white); border-radius: var(--radius-xl);
  width: 90%; max-width: 480px; max-height: 90vh;
  overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,.25);
  animation: modalIn .3s cubic-bezier(.16,1,.3,1);
}
@keyframes modalIn { from{opacity:0;transform:translateY(24px) scale(.97);} to{opacity:1;transform:none;} }
.inquiry-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 24px 28px 0;
}
.inquiry-modal-header h3 { font-size: 1.15rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.inquiry-modal-sub { font-size: .78rem; color: var(--gray-500); }
.inquiry-modal-close {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100);
  font-size: .85rem; cursor: pointer; transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.inquiry-modal-close:hover { background: var(--gray-200); }
.inquiry-modal-body { padding: 20px 28px 28px; }

/* ── Support ──────────────────────────────────────────────────── */
.support-layout { display:grid; grid-template-columns:1fr; gap:40px; }
@media (min-width: 768px) { .support-layout { grid-template-columns:5fr 7fr; } }

.support-info { display:flex; flex-direction:column; gap:14px; }
.contact-info-card { display:flex; align-items:flex-start; gap:14px; padding:18px; background:var(--white); border-radius:var(--radius); border:1px solid var(--gray-200); }
.contact-icon { width:40px; height:40px; flex-shrink:0; background:var(--brand-pale); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-size:1rem; }
.contact-label { font-size:.72rem; color:var(--gray-400); font-weight:500; }
.contact-value { font-size:.875rem; color:var(--gray-900); font-weight:600; margin-top:2px; }
.contact-sub   { font-size:.75rem; color:var(--gray-500); margin-top:2px; }

.quick-links       { margin-top:8px; }
.quick-links-label { font-size:.72rem; color:var(--gray-400); font-weight:600; letter-spacing:.06em; text-transform:uppercase; margin-bottom:10px; }
.quick-link-btn    { display:inline-block; padding:7px 16px; margin-right:8px; margin-bottom:8px; background:var(--brand-pale); color:var(--brand); border-radius:100px; font-size:.8rem; font-weight:600; transition:var(--trans); }
.quick-link-btn:hover { background:var(--brand); color:var(--white); }

.contact-form { background:var(--white); border-radius:var(--radius-xl); padding:36px 32px; border:1px solid var(--gray-200); box-shadow:var(--shadow); }
.contact-form h3 { font-size:1.15rem; font-weight:700; color:var(--gray-900); margin-bottom:6px; }
.form-sub   { font-size:.82rem; color:var(--gray-500); margin-bottom:28px; }
.form-group { margin-bottom:14px; }
.form-label { display:block; font-size:.78rem; font-weight:600; color:var(--gray-700); margin-bottom:5px; }
.form-label span { color:var(--brand); }
.form-control { width:100%; padding:11px 14px; border:1.5px solid var(--gray-200); border-radius:var(--radius-sm); font-family:inherit; font-size:.875rem; color:var(--gray-900); background:var(--white); transition:border-color .2s,box-shadow .2s; outline:none; -webkit-appearance:none; }
.form-control:focus { border-color:var(--brand); box-shadow:0 0 0 3px rgba(61,102,82,.1); }
.form-control::placeholder { color:var(--gray-400); }
textarea.form-control { resize:vertical; min-height:120px; }
select.form-control   { cursor:pointer; }
.form-row { display:grid; gap:14px; }
@media (min-width: 480px) { .form-row { grid-template-columns:1fr 1fr; } }
.form-check { display:flex; align-items:flex-start; gap:10px; margin:14px 0; }
.form-check input[type=checkbox] { width:17px; height:17px; flex-shrink:0; accent-color:var(--brand); margin-top:2px; cursor:pointer; }
.form-check-label { font-size:.78rem; color:var(--gray-600); line-height:1.5; }
.form-check-label a { color:var(--brand); text-decoration:underline; }
.form-submit  { width:100%; padding:14px; font-size:.875rem; font-weight:700; }
.form-notice  { text-align:center; font-size:.75rem; color:var(--gray-400); margin-top:12px; }
.form-success { display:none; text-align:center; padding:48px 20px; }
.success-icon { font-size:2.8rem; margin-bottom:16px; }
.form-success h4 { font-size:1.15rem; font-weight:700; color:var(--gray-900); margin-bottom:8px; }
.form-success p  { font-size:.875rem; color:var(--gray-600); margin-bottom:24px; }

.map-section  { margin-top: 56px; }
.map-header   { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.map-title    { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); }
.map-coords   { display: flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--gray-500); background: var(--gray-100); padding: 5px 12px; border-radius: 100px; }
.map-coords-icon { font-size: .9rem; }

.map-wrap     { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); height: 340px; }
@media (min-width: 768px) { .map-wrap { height: 420px; } }
.map-iframe   { width: 100%; height: 100%; border: none; display: block; }

.map-address-bar {
  margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .83rem; color: var(--gray-700);
}
.map-address-icon { font-size: 1rem; flex-shrink: 0; }
.map-open-btn {
  margin-left: auto; flex-shrink: 0;
  font-size: .78rem; font-weight: 700; color: var(--brand);
  text-decoration: none; white-space: nowrap;
}
.map-open-btn:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────────── */
footer { background:var(--gray-900); color:rgba(255,255,255,.5); padding:52px 0 28px; }
.footer-inner { max-width:1200px; margin:0 auto; padding:0 20px; }
@media (min-width: 768px) { .footer-inner { padding:0 32px; } }
.footer-top { display:grid; grid-template-columns:1fr; gap:36px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.07); }
@media (min-width: 768px) { .footer-top { grid-template-columns:2fr 3fr; } }
.footer-brand .logo-kr { color:var(--white); font-size:1.1rem; font-weight:700; }
.footer-brand .logo-en { color:rgba(255,255,255,.3); font-size:.6rem; letter-spacing:.12em; text-transform:uppercase; margin-top:2px; }
.footer-brand p { font-size:.8rem; margin-top:14px; line-height:1.7; max-width:240px; }
.footer-links { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.footer-col h4 { font-size:.72rem; font-weight:700; color:rgba(255,255,255,.75); letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.footer-col a  { display:block; font-size:.8rem; color:rgba(255,255,255,.4); margin-bottom:8px; transition:color .2s; }
.footer-col a:hover { color:rgba(255,255,255,.9); }
.footer-bottom { padding-top:24px; display:flex; flex-direction:column; gap:8px; }
@media (min-width: 640px) { .footer-bottom { flex-direction:row; justify-content:space-between; align-items:center; } }
.footer-meta { font-size:.72rem; line-height:1.9; }
.footer-meta span { margin-right:12px; }
.footer-copy { font-size:.72rem; color:rgba(255,255,255,.25); }

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* 섹션 단위 페이드인 */
.section { animation: none; }
.page[hidden] { display: none !important; }
.page:not([hidden]) > .section,
.page:not([hidden]) > .mfr-section,
.page:not([hidden]) > .page-hero,
.page:not([hidden]) > .products-section {
  animation: sectionFadeIn .55s cubic-bezier(.16,1,.3,1) both;
}
.page:not([hidden]) > .section:nth-child(2)  { animation-delay: .05s; }
.page:not([hidden]) > .section:nth-child(3)  { animation-delay: .1s;  }
.page:not([hidden]) > .section:nth-child(4)  { animation-delay: .15s; }
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }
.mo-only { display:none; }
@media (max-width: 599px) { .mo-only { display:inline; } }
