/* ================================================================
   삼대김치집 공식 웹사이트 — 공통 스타일
   assets/css/styles.css
   ================================================================ */

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ── CSS 변수 ── */
:root {
  --red:       #B11212;
  --red-dark:  #8c0e0e;
  --red-light: #e04040;
  --black:     #111111;
  --offwhite:  #F9F5F0;
  --gray:      #666;
  --gray-lt:   #bbb;
  --green:     #1a7a40;
  --yellow:    #F5C518;
  --gold:      #c9a227;
  --border:    #e8e0d8;
  --shadow:    0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius:    12px;
  --radius-sm: 6px;
  --gnb-h:     68px;
}

/* ── 공통 유틸 ── */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--wide { max-width: 1360px; margin: 0 auto; padding: 0 20px; }
.accent      { color: var(--red); }
.section     { padding: 90px 0; }
.section--dark     { background: #111; }
.section--offwhite { background: var(--offwhite); }
.section--noise {
  background-color: var(--offwhite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--red);
  text-transform: uppercase; margin-bottom: 10px;
}
.section-label--light { color: #e04040; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; line-height: 1.22; margin-bottom: 14px;
}
.section-title--light { color: #fff; }
.section-title--center { text-align: center; }
.section-desc { font-size: 1.05rem; color: var(--gray); margin-bottom: 44px; }
.section-desc--light { color: #aaa; }
.section-desc--center { text-align: center; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 700; font-size: 0.95rem; padding: 13px 28px;
  border-radius: var(--radius-sm); transition: all 0.2s; cursor: pointer; }
.btn--red   { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--black { background: #111; color: #fff; }
.btn--black:hover { background: #333; }
.btn--outline { border: 2px solid #111; color: #111; background: transparent; }
.btn--outline:hover { background: #111; color: #fff; }
.btn--outline-white { border: 2px solid rgba(255,255,255,0.75); color: #fff; background: transparent; }
.btn--outline-white:hover { background: rgba(255,255,255,0.12); }
.btn--lg { font-size: 1.05rem; padding: 16px 36px; }

/* ── 스크롤 리빌 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   GNB (공통 헤더)
   ================================================================ */
.site-gnb {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: var(--gnb-h);
}
.gnb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 0;
}
.gnb-left, .gnb-right { display: flex; align-items: center; gap: 32px; }
.gnb-right { justify-content: flex-end; }
.gnb-link {
  font-size: 0.88rem; font-weight: 600; color: #333;
  letter-spacing: 0.02em; white-space: nowrap;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.gnb-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--red); transition: width 0.25s;
}
.gnb-link:hover { color: var(--red); }
.gnb-link:hover::after { width: 100%; }
.gnb-link.active { color: var(--red); }
.gnb-link.active::after { width: 100%; }

.gnb-logo {
  text-align: center; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.gnb-logo-ko {
  font-size: 1.35rem; font-weight: 900; color: var(--black);
  letter-spacing: -0.03em; line-height: 1;
}
.gnb-logo-ko span { color: var(--red); }
.gnb-logo-en {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--gray); text-transform: uppercase;
}
.gnb-cta {
  background: var(--red); color: #fff !important;
  font-size: 0.83rem; font-weight: 700;
  padding: 8px 18px; border-radius: var(--radius-sm);
  white-space: nowrap;
}
.gnb-cta::after { display: none !important; }
.gnb-cta:hover { background: var(--red-dark) !important; color: #fff !important; transform: none; }

/* 햄버거 */
.gnb-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; margin-left: 12px;
}
.gnb-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #111; border-radius: 2px; transition: all 0.3s;
}
/* 모바일 드로어 */
.gnb-drawer {
  display: none; position: fixed; top: var(--gnb-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px; z-index: 599;
  flex-direction: column; gap: 0;
}
.gnb-drawer.open { display: flex; }
.gnb-drawer .gnb-link {
  padding: 12px 0; font-size: 1rem;
  border-bottom: 1px solid #f0ece8;
}

/* ================================================================
   페이지 히어로 (내부 페이지 공통)
   ================================================================ */
.page-hero {
  position: relative; min-height: 340px;
  display: flex; align-items: flex-end;
  padding-bottom: 48px;
  margin-top: var(--gnb-h);
  overflow: hidden;
  background: #1a0505;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-bg img { opacity: 0.35; object-position: center top; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(17,2,2,0.75) 100%);
}
.page-hero-content { position: relative; z-index: 1; color: #fff; }
.page-hero-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6); text-transform: uppercase; margin-bottom: 8px;
}
.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.15;
}
.page-hero-title span { color: #ff7070; }

/* ================================================================
   홈 히어로
   ================================================================ */
.home-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-top: var(--gnb-h);
  background: #1a0505;
}
.home-hero-bg { position: absolute; inset: 0; z-index: 0; }
.home-hero-bg img { opacity: 0.42; }
.home-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(17,2,2,0.7) 60%, rgba(17,2,2,0.88) 100%);
}
.home-hero-content {
  position: relative; z-index: 1; text-align: center;
  color: #fff; padding: 60px 20px 80px; max-width: 820px;
}
.home-hero-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 18px; border-radius: 100px; margin-bottom: 22px;
  animation: fadeInDown 0.6s ease both;
}
.home-hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  animation: fadeInDown 0.6s 0.1s ease both;
}
.home-hero-title .line2 { color: #ff7070; }
.home-hero-sub {
  font-size: clamp(1rem, 2.3vw, 1.25rem);
  color: rgba(255,255,255,0.82); margin-bottom: 36px;
  animation: fadeInDown 0.6s 0.2s ease both;
}
.home-hero-sub strong { color: #ffaaaa; }

.hero-stat-row {
  display: flex; justify-content: center; gap: 52px;
  margin-bottom: 36px;
  animation: fadeInDown 0.6s 0.3s ease both;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  width: 116px; height: 116px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(4px);
  justify-content: center; gap: 3px;
}
.hero-stat-val {
  font-size: 1.85rem; font-weight: 900; color: #fff; line-height: 1;
}
.hero-stat-val span { font-size: 1rem; font-weight: 700; }
.hero-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.65); text-align: center; }

.hero-cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeInDown 0.6s 0.4s ease both;
}

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 1.2rem;
  animation: bounce 2s infinite; z-index: 1;
}

/* ================================================================
   숫자 스트립
   ================================================================ */
.numbers-strip { background: var(--red); padding: 26px 20px; }
.numbers-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.num-item { display: flex; flex-direction: column; align-items: center; padding: 6px 40px; }
.num-val  { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; }
.num-unit { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.82); }
.num-label{ font-size: 0.77rem; color: rgba(255,255,255,0.65); margin-top: 3px; }
.num-divider { width:1px; height:38px; background: rgba(255,255,255,0.28); }

/* ================================================================
   리뷰 슬라이더 (공통 컴포넌트)
   ================================================================ */
.review-section { overflow: hidden; }
.review-section .container { margin-bottom: 28px; }
.review-slider-wrap {
  position: relative; display: flex; align-items: center;
  padding: 0 20px; max-width: 1300px; margin: 0 auto; gap: 8px;
}
.review-track-outer {
  flex: 1; overflow: hidden; border-radius: 4px;
  cursor: grab; user-select: none;
}
.review-track-outer:active { cursor: grabbing; }
.review-track {
  display: flex; gap: 16px;
  transition: transform 0.42s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}
.review-card {
  flex-shrink: 0; width: 220px;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.09); border: 1px solid #eee;
}
.review-card-img { height: 290px; overflow: hidden; position: relative; }
.review-card-img img { transition: transform 0.4s; }
.review-card:hover .review-card-img img { transform: scale(1.05); }
.review-footer { padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; }
.review-handle { font-size: 0.8rem; font-weight: 700; }
.review-likes { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--gray); }
.review-likes .ic-heart { color: var(--red); font-size: 0.85rem; }

.slider-btn {
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow); color: #111; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s; z-index: 2;
}
.slider-btn:hover { background: var(--red); color: #fff; }
.slider-dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-lt); cursor: pointer; transition: all 0.2s; }
.dot.active { background: var(--red); width: 22px; border-radius: 4px; }

/* ================================================================
   매장 슬라이더 (store slider — 1열 가로 스크롤)
   ================================================================ */
.store-slider-section { overflow: hidden; }
.store-slider-wrap {
  position: relative; max-width: 100%; padding: 0 56px;
}
.store-track-outer {
  overflow: hidden; cursor: grab;
}
.store-track-outer:active { cursor: grabbing; }
.store-track {
  display: flex; gap: 20px; padding: 12px 4px 20px;
  transition: transform 0.45s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}
.store-card {
  flex-shrink: 0; width: 280px;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--border);
}
.store-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.store-card-img {
  height: 200px; overflow: hidden; position: relative;
}
.store-card-img img { transition: transform 0.4s; }
.store-card:hover .store-card-img img { transform: scale(1.06); }
.store-card-body { padding: 16px 18px 18px; }
.store-card-region {
  font-size: 0.73rem; font-weight: 700; color: var(--red);
  letter-spacing: 0.08em; margin-bottom: 4px;
}
.store-card-name { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.store-card-addr { font-size: 0.82rem; color: var(--gray); }

.store-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow); color: #111; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; z-index: 2;
}
.store-slider-btn:hover { background: var(--red); color: #fff; }
.store-slider-btn--prev { left: 8px; }
.store-slider-btn--next { right: 8px; }

/* ================================================================
   고정 가맹문의 위젯
   ================================================================ */
.inquiry-widget {
  position: fixed; bottom: 24px; right: 24px;
  width: 320px; border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  z-index: 8000; overflow: hidden;
  transition: transform 0.3s ease;
}
.inquiry-widget.minimized {
  transform: translateY(calc(100% - 52px));
}
.widget-header {
  background: var(--green); color: #fff;
  padding: 13px 16px; display: flex; align-items: center;
  justify-content: space-between; cursor: pointer; user-select: none;
}
.widget-header-left { display: flex; align-items: center; gap: 9px; font-size: 0.87rem; }
.widget-header-left strong { font-size: 0.98rem; }
.widget-toggle-btn {
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.2); color: #fff; font-size: 0.78rem;
  transition: transform 0.3s;
}
.inquiry-widget.minimized .widget-toggle-btn { transform: rotate(180deg); }
.widget-body { background: var(--yellow); padding: 16px 16px 14px; }
.widget-tagline { font-size: 0.8rem; font-weight: 700; color: #333; margin-bottom: 12px; text-align: center; }
.widget-form { display: flex; flex-direction: column; gap: 9px; }
.widget-form input {
  padding: 11px 13px; border: 1.5px solid rgba(0,0,0,0.13);
  border-radius: var(--radius-sm); background: #fff; font-size: 0.9rem;
  transition: border-color 0.2s;
}
.widget-form input:focus { outline: none; border-color: var(--green); }
.widget-privacy {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 0.77rem; color: #444; cursor: pointer; line-height: 1.5;
}
.widget-privacy input { margin-top: 2px; cursor: pointer; flex-shrink: 0; }
.widget-submit {
  background: var(--red); color: #fff; font-size: 0.98rem; font-weight: 700;
  padding: 13px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background 0.2s, transform 0.1s;
}
.widget-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.widget-note { font-size: 0.68rem; color: #666; margin-top: 8px; line-height: 1.5; }

/* ================================================================
   팝업 모달
   ================================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 9000;
  align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.3s ease; }
.modal-box {
  background: #fff; border-radius: 16px;
  padding: 38px 34px 30px; max-width: 440px; width: 100%;
  box-shadow: var(--shadow-lg); animation: slideUp 0.35s ease;
  border-top: 5px solid var(--red);
}
.modal-box--b { border-top-color: var(--green); }
.modal-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 3px 12px; border-radius: 100px; margin-bottom: 14px;
}
.modal-badge--green { background: var(--green); }
.modal-title { font-size: 1.5rem; font-weight: 900; line-height: 1.28; margin-bottom: 12px; }
.modal-desc { font-size: 0.93rem; color: var(--gray); margin-bottom: 18px; }
.modal-checklist { margin-bottom: 22px; }
.modal-checklist li {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 0; font-size: 0.92rem;
  border-bottom: 1px solid #f0f0f0;
}
.modal-checklist li .ic-check { color: var(--red); flex-shrink: 0; }
.modal-quiz-list { margin-bottom: 22px; }
.modal-quiz-list li {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 0; font-size: 0.92rem; border-bottom: 1px solid #f0f0f0;
}
.quiz-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--green);
  color: #fff; font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.btn-modal {
  display: block; width: 100%; padding: 15px; border-radius: var(--radius-sm);
  font-size: 1.02rem; font-weight: 700; text-align: center; margin-bottom: 14px;
  transition: all 0.2s;
}
.btn-modal--red   { background: var(--red);   color: #fff; }
.btn-modal--red:hover   { background: var(--red-dark); }
.btn-modal--green { background: var(--green); color: #fff; }
.btn-modal--green:hover { background: #145e30; }
.modal-actions {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--gray);
}
.modal-noshow { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.modal-noshow input { cursor: pointer; }
.modal-close { color: var(--gray-lt); padding: 4px 6px; transition: color 0.2s; }
.modal-close:hover { color: #111; }

/* ================================================================
   토스트
   ================================================================ */
.toast {
  position: fixed; bottom: 80px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #111; color: #fff; padding: 13px 26px;
  border-radius: 100px; font-size: 0.88rem; font-weight: 500;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: all 0.3s ease; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================================================================
   모바일 하단 고정 CTA
   ================================================================ */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 700; height: 54px; background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}
.mbar-btn {
  flex: 1; height: 100%;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 0.93rem; font-weight: 700;
}
.mbar-btn--call { border-right: 1px solid var(--border); color: #111; }
.mbar-btn--consult { background: var(--red); color: #fff; }

/* ================================================================
   푸터
   ================================================================ */
.site-footer {
  background: #0a0a0a; padding: 56px 0 100px;
  color: rgba(255,255,255,0.5);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  margin-bottom: 36px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--red); }
.footer-brand p { font-size: 0.86rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 0.86rem; font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.84rem; padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--red-light); }
.footer-phone { font-size: 1.2rem; font-weight: 900; color: #fff !important; margin-bottom: 4px; }
.footer-biz { font-size: 0.78rem; line-height: 1.95; }
.footer-policy { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-policy:hover { color: var(--red-light); }
.footer-copy { margin-top: 8px; color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* ================================================================
   브랜드 페이지
   ================================================================ */
.brand-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px;
}
.brand-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border-top: 4px solid var(--red); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand-card-icon {
  width: 46px; height: 46px; background: var(--red); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; margin-bottom: 14px;
}
.brand-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 9px; }
.brand-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

.highlight-box {
  background: #111; border-radius: var(--radius); padding: 30px 34px;
  display: flex; flex-direction: column; gap: 18px;
}
.hl-item { display: flex; align-items: flex-start; gap: 18px; color: #fff; }
.hl-item .ic { font-size: 1.3rem; color: var(--red); margin-top: 2px; flex-shrink: 0; width: 22px; }
.hl-item strong { font-size: 0.97rem; font-weight: 700; display: block; margin-bottom: 3px; }
.hl-item span { font-size: 0.86rem; color: rgba(255,255,255,0.6); }

/* ================================================================
   메뉴 페이지
   ================================================================ */
.menu-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 36px; }
.menu-tab {
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700;
  color: var(--gray); border-bottom: 3px solid transparent;
  margin-bottom: -2px; cursor: pointer; transition: all 0.2s;
}
.menu-tab.active { color: var(--red); border-bottom-color: var(--red); }
.menu-tab-panel { display: none; }
.menu-tab-panel.active { display: block; }
.menu-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.menu-item {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); cursor: pointer; transition: transform 0.25s;
  border: 1px solid var(--border);
}
.menu-item:hover { transform: translateY(-4px); }
.menu-item-img { height: 200px; overflow: hidden; position: relative; }
.menu-item-img img { transition: transform 0.4s; }
.menu-item:hover .menu-item-img img { transform: scale(1.06); }
.menu-item-body { padding: 14px 16px 16px; }
.menu-item-cat {
  font-size: 0.7rem; font-weight: 700; color: var(--red);
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.menu-item-name { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.menu-item-price { font-size: 0.9rem; color: var(--gray); }
/* 메뉴 모달 */
.menu-modal { border-top-color: var(--red); }
.menu-modal-img { height: 240px; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.menu-modal-name { font-size: 1.4rem; font-weight: 900; margin-bottom: 6px; }
.menu-modal-price { font-size: 1rem; color: var(--red); font-weight: 700; margin-bottom: 12px; }
.menu-modal-desc { font-size: 0.92rem; color: var(--gray); line-height: 1.75; }

/* ================================================================
   매장 페이지
   ================================================================ */
.store-page-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px;
  align-items: start;
}
.store-search-panel {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden; position: sticky; top: 88px;
}
.store-panel-header {
  background: var(--red); color: #fff; padding: 16px 18px;
  font-size: 0.95rem; font-weight: 700;
}
.store-panel-input-wrap { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.store-panel-input-wrap input {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.9rem;
}
.store-panel-input-wrap input:focus { outline: none; border-color: var(--red); }
.store-region-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.store-region-tab {
  padding: 5px 13px; font-size: 0.8rem; font-weight: 600;
  border-radius: 100px; border: 1.5px solid var(--border);
  color: var(--gray); cursor: pointer; transition: all 0.2s;
}
.store-region-tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.store-list { max-height: 420px; overflow-y: auto; }
.store-list-item {
  padding: 13px 16px; border-bottom: 1px solid #f5f0eb; cursor: pointer;
  transition: background 0.2s;
}
.store-list-item:hover, .store-list-item.active { background: #fff5f5; }
.sli-region { font-size: 0.73rem; color: var(--red); font-weight: 700; margin-bottom: 2px; }
.sli-name { font-size: 0.93rem; font-weight: 700; margin-bottom: 2px; }
.sli-addr { font-size: 0.8rem; color: var(--gray); }

.store-map-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.store-map-placeholder {
  height: 480px; background: #e8e0d6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--gray);
}
.store-map-placeholder .ic-map { font-size: 3rem; color: var(--red-light); }
.store-map-placeholder p { font-size: 0.9rem; }

/* ================================================================
   고객 페이지 / 탭
   ================================================================ */
.content-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.content-tab {
  padding: 13px 24px; font-size: 0.92rem; font-weight: 700;
  color: var(--gray); border-bottom: 3px solid transparent;
  margin-bottom: -2px; cursor: pointer; transition: all 0.2s;
}
.content-tab.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.board-table { width: 100%; border-collapse: collapse; }
.board-table th {
  background: var(--offwhite); padding: 12px 16px; text-align: left;
  font-size: 0.82rem; font-weight: 700; border-bottom: 2px solid var(--border);
}
.board-table td {
  padding: 13px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border);
}
.board-table tr:hover td { background: #fff9f7; }
.board-table .td-num { color: var(--gray); width: 60px; text-align: center; }
.board-table .td-title a { font-weight: 600; color: #111; transition: color 0.2s; }
.board-table .td-title a:hover { color: var(--red); }
.board-table .td-date { color: var(--gray); width: 120px; text-align: right; }
.board-badge {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 2px 7px;
  border-radius: 3px; margin-right: 6px;
}

/* ================================================================
   시스템 페이지
   ================================================================ */
.system-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.system-card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); position: relative;
  border-bottom: 3px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-bottom-color 0.25s;
}
.system-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-bottom-color: var(--red); }
.sys-num {
  font-size: 2.6rem; font-weight: 900; color: rgba(177,18,18,0.06);
  position: absolute; top: 14px; right: 18px; line-height: 1;
}
.sys-ic { font-size: 1.55rem; color: var(--red); margin-bottom: 12px; }
.system-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 9px; }
.system-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.72; }

.checklist-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 14px;
}
.checklist-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  border-left: 3px solid var(--red);
}
.ci-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--red);
  color: #fff; font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.ci-text strong { font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 3px; }
.ci-text span { font-size: 0.82rem; color: var(--gray); }

/* ================================================================
   창업 페이지
   ================================================================ */
.startup-steps {
  display: flex; flex-direction: column; gap: 0; position: relative;
  padding-left: 40px;
}
.startup-steps::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--red), transparent);
}
.step-item { display: flex; gap: 20px; margin-bottom: 36px; position: relative; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0; position: absolute; left: -40px; top: 0;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red);
}
.step-content { background: var(--offwhite); border-radius: var(--radius); padding: 20px 22px; flex: 1; }
.step-content h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 7px; }
.step-content p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

.cost-table-wrap { overflow-x: auto; }
.cost-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.cost-table th { background: #f0ece8; padding: 13px 16px; text-align: left; font-size: 0.85rem; font-weight: 700; border-bottom: 2px solid var(--border); }
.cost-table td { padding: 13px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.cost-table tr:hover td { background: #fffaf8; }
.cost-table .total td { font-weight: 700; color: var(--red); background: #fff5f5 !important; border-top: 1px solid var(--border); }

/* 시뮬레이터 */
.sim-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.sim-inputs { background: var(--offwhite); border-radius: var(--radius); padding: 32px 28px; }
.sim-field { margin-bottom: 26px; }
.sim-field label { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; }
.sim-val { color: var(--red); font-weight: 900; }
input[type=range] {
  -webkit-appearance: none; width: 100%; height: 5px;
  background: #ddd; border-radius: 3px; outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 19px; height: 19px; border-radius: 50%;
  background: var(--red); cursor: pointer; box-shadow: 0 2px 6px rgba(177,18,18,0.3);
}
.range-mm { display: flex; justify-content: space-between; font-size: 0.73rem; color: var(--gray-lt); margin-top: 5px; }
.sim-note { font-size: 0.78rem; color: var(--gray); background: #fff; border-radius: var(--radius-sm); padding: 11px 14px; display: flex; gap: 7px; align-items: flex-start; line-height: 1.5; }

.sim-results { display: flex; flex-direction: column; gap: 14px; }
.sim-result { background: var(--offwhite); border-radius: var(--radius); padding: 18px 22px; }
.sim-result--main { background: #111; color: #fff; }
.sim-result--profit { background: var(--red); color: #fff; }
.res-label { font-size: 0.78rem; font-weight: 500; opacity: 0.7; margin-bottom: 5px; }
.res-val { font-size: 1.75rem; font-weight: 900; line-height: 1.1; }
.res-sub { font-size: 0.73rem; opacity: 0.65; margin-top: 3px; }

/* 가맹문의 폼 */
.inquiry-form-wrap { background: var(--offwhite); border-radius: var(--radius); padding: 40px 36px; }
.inquiry-form-wrap h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: #333; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.9rem; background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red);
}
.form-privacy { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--gray); cursor: pointer; margin: 14px 0; line-height: 1.5; }
.form-privacy input { margin-top: 2px; cursor: pointer; }

/* ================================================================
   랜딩페이지 공통
   ================================================================ */
.landing-hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #1a0505;
}
.landing-hero-bg { position: absolute; inset: 0; z-index: 0; }
.landing-hero-bg img { opacity: 0.4; }
.landing-gnb {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 14px 24px; display: flex; align-items: center;
  justify-content: space-between; z-index: 600;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
}
.landing-gnb-logo { font-size: 1.2rem; font-weight: 900; color: #fff; }
.landing-gnb-logo span { color: #ff7070; }
.landing-gnb-cta {
  background: var(--red); color: #fff; font-size: 0.85rem; font-weight: 700;
  padding: 9px 20px; border-radius: var(--radius-sm); transition: background 0.2s;
}
.landing-gnb-cta:hover { background: var(--red-dark); }

/* 카운트다운 (landing-c) */
.countdown-wrap { display: flex; gap: 16px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.countdown-item {
  display: flex; flex-direction: column; align-items: center;
  min-width: 80px; background: rgba(255,255,255,0.1);
  border-radius: 10px; padding: 14px 12px; border: 1px solid rgba(255,255,255,0.2);
}
.cd-num { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; }
.cd-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ================================================================
   애니메이션
   ================================================================ */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes bounce {
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(8px)}
}

/* ================================================================
   반응형 — 태블릿 (≤ 960px)
   ================================================================ */
@media(max-width:960px){
  .gnb-left .gnb-link:not(.gnb-cta),
  .gnb-right .gnb-link:not(.gnb-cta) { display: none; }
  .gnb-hamburger { display: flex; }

  .brand-cards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2,1fr); }
  .system-grid { grid-template-columns: repeat(2,1fr); }
  .store-page-grid { grid-template-columns: 1fr; }
  .store-search-panel { position: static; }
  .sim-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 76px; }
  .inquiry-widget { right: 12px; bottom: 68px; width: calc(100vw - 24px); max-width: 380px; }

  .hero-stat-row { gap: 28px; }
  .hero-stat { width: 98px; height: 98px; }
}

/* ================================================================
   반응형 — 모바일 (≤ 600px)
   ================================================================ */
@media(max-width:600px){
  .section { padding: 60px 0; }
  .menu-grid { grid-template-columns: repeat(2,1fr); }
  .system-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .hero-stat-row { gap: 16px; }
  .hero-stat { width: 88px; height: 88px; }
  .hero-stat-val { font-size: 1.6rem; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row .btn { width: 100%; max-width: 280px; }
  .num-item { padding: 6px 14px; }
  .gnb-inner { grid-template-columns: 1fr auto; }
  .gnb-left { display: none; }
  .modal-box { padding: 26px 18px 22px; }
  .store-card { width: 240px; }
  .store-card-img { height: 160px; }
  .inquiry-form-wrap { padding: 24px 18px; }
}
