@import url('tokens.css');

/* ==========================================================================
   1. Reset & Global Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  letter-spacing: var(--letter-spacing);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 143, 0, 0.3);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   2. Layout & Typography Helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-bezier);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 143, 0, 0.3);
}

.btn-primary:hover {
  background-color: #e07f00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 143, 0, 0.4);
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Material Icons Integration */
.material-icons-round {
  font-family: 'Material Icons Round';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   3. Intersection Observer Animations (Hardware Accelerated)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.fade-in {
  transform: translateY(0);
}

.scroll-reveal.slide-up {
  transform: translateY(50px);
}

.scroll-reveal.scale-up {
  transform: scale(0.95);
}

.scroll-reveal.slide-left {
  transform: translateX(-50px);
}

.scroll-reveal.slide-right {
  transform: translateX(50px);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ==========================================================================
   4. Header & Navigation (Glassmorphism)
   ========================================================================== */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-bezier);
}

.glass-header.scrolled {
  height: 70px;
  background: rgba(247, 244, 235, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 143, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.glass-header.scrolled .logo {
  color: var(--text-dark);
  text-shadow: none;
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.glass-header.scrolled .nav-links a {
  color: var(--text-dark);
  text-shadow: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary) !important;
  text-shadow: none;
}

.glass-header:not(.scrolled) .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.glass-header:not(.scrolled) .btn-outline:hover {
  background-color: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
  text-shadow: none;
}

.header-action .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.glass-header.scrolled .mobile-nav-toggle {
  color: var(--text-dark);
  text-shadow: none;
}

/* ==========================================================================
   5. Hero Slider (3 sequences, auto transition)
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #121212;
  padding: 0;
}

.slide-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s ease-out;
}

.slide-item.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  display: none;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 760px;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px;
  border-radius: var(--radius-card); /* 12px */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1s var(--transition-bezier) 0.3s, opacity 1s var(--transition-bezier) 0.3s;
}

.slide-item.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 143, 0, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  word-break: keep-all;
}

.slide-title span {
  color: var(--primary);
}

.slide-description {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 35px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ==========================================================================
   6. Brand Story & Counterup Animation
   ========================================================================== */
.brand-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-story-text .story-highlight {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.brand-story-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.brand-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.counter-card {
  background: var(--white);
  padding: 24px 16px;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bezier);
}

.counter-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.counter-icon {
  color: var(--primary);
  margin-bottom: 12px;
}

.counter-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.counter-number span {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.brand-story-image {
  position: relative;
}

.brand-story-image img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.brand-story-image::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-card);
  z-index: -1;
  opacity: 0.3;
}

/* ==========================================================================
   7. Store Interior Gallery (3-column, hover overlay & zoom)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 183, 197, 0.85) 0%, rgba(255, 143, 0, 0.85) 100%);
  opacity: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--white);
}

.gallery-overlay-content {
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 10px;
}

.gallery-overlay-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.gallery-overlay-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Hover effects */
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay-content {
  transform: translateY(0);
}

/* ==========================================================================
   8. Franchise Benefits (4-card grid)
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border-top: 4px solid transparent;
  transition: var(--transition-bezier);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.benefit-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 143, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.benefit-card:hover .benefit-icon-wrapper {
  background: var(--primary);
  color: var(--white);
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   9. Signature Menu Tabs (Asynchronous Rendering)
   ========================================================================== */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.tab-pill {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid rgba(255, 143, 0, 0.2);
  color: var(--text-dark);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 143, 0, 0.2);
}

.menu-display-area {
  position: relative;
  min-height: 350px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity 0.3s ease;
}

.menu-grid.loading {
  opacity: 0.3;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bezier);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.menu-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #f0ede5;
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-price-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(30, 30, 30, 0.85);
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.menu-body {
  padding: 24px;
}

.menu-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.menu-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Empty State / Error State */
.menu-empty {
  text-align: center;
  padding: 60px 0;
  grid-column: 1 / -1;
  color: var(--text-muted);
}

/* ==========================================================================
   10. Success Interviews (3 cards, avatars & brix revenue metrics)
   ========================================================================== */
.interviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.interview-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bezier);
  border: 1px solid rgba(255, 143, 0, 0.08);
}

.interview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.interview-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.interview-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.interview-meta-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.interview-meta-store {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 4px;
}

.interview-revenue-badge {
  background: rgba(255, 143, 0, 0.1);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-card);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.interview-revenue-label {
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 600;
}

.interview-revenue-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.interview-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.interview-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  opacity: 0.6;
}

/* ==========================================================================
   11. Franchise Steps (6 horizontal/vertical steps timeline)
   ========================================================================== */
.steps-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 60px;
}

/* Connection line */
.steps-timeline::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(255, 143, 0, 0.2);
  z-index: 1;
}

.step-node {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

.step-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid rgba(255, 143, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bezier);
}

.step-node:hover .step-badge {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--primary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  position: absolute;
  top: 0;
  right: calc(50% - 40px);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   12. Cost Simulator & SVG Ring Chart (#section-cost)
   ========================================================================== */
.cost-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.sim-tab-wrapper {
  display: flex;
  background: rgba(255, 143, 0, 0.08);
  padding: 6px;
  border-radius: var(--radius-pill);
  margin-bottom: 30px;
  max-width: 450px;
}

.sim-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  /* Mobile prevention */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  color: var(--text-dark);
}

.sim-tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(255, 143, 0, 0.2);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cost-table th, .cost-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 143, 0, 0.1);
}

.cost-table th {
  font-weight: 700;
  color: var(--text-dark);
}

.cost-table td.cost-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-align: right;
  color: var(--text-dark);
}

.cost-table tr.total-row {
  background: rgba(255, 143, 0, 0.05);
}

.cost-table tr.total-row td {
  font-weight: 800;
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.cost-table tr.total-row td.cost-val {
  font-size: 1.3rem;
  color: var(--primary);
}

/* Native SVG Donut Chart */
.chart-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.donut-segment {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1), stroke-dasharray 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Correct Centering Alignment Override */
.chart-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.chart-overlay-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.chart-overlay-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.chart-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* ==========================================================================
   13. Kakao Map Integration
   ========================================================================== */
.map-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  height: 550px;
}

.store-list-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding-right: 8px;
}

.store-search-header {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 143, 0, 0.1);
  margin-bottom: 12px;
}

.store-count {
  font-size: 0.9rem;
  font-weight: 700;
}

.store-count span {
  color: var(--primary);
}

.store-item {
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--bg-warm);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.store-item:hover, .store-item.active {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 143, 0, 0.1);
}

.store-name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.store-addr {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.store-tel {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

#kakao-map-container {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}

/* CustomOverlay rounded 12px, orange top tab line */
.map-custom-overlay {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--primary);
  padding: 16px;
  width: 260px;
  z-index: 10;
  font-family: var(--font-family);
}

.map-custom-overlay::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.overlay-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.overlay-addr {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.overlay-tel {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   14. FAQ Accordion (slideToggle + arrow rotation)
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.faq-icon-arrow {
  color: var(--primary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 24px;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 30px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 143, 0, 0.05);
}

/* ==========================================================================
   15. Inquiry Form (Orange focus border)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 143, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.info-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 143, 0, 0.2);
  background: var(--bg-warm);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

/* Orange border focus */
.form-control:focus {
  border-color: var(--primary) !important;
  outline: none;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.privacy-check-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.privacy-check-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 2px;
}

.privacy-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.privacy-label a {
  color: var(--primary);
  text-decoration: underline;
}

.contact-card .btn-submit {
  width: 100%;
}

/* ==========================================================================
   16. Floating Quick Actions (Collapsing Stack)
   ========================================================================== */
.floating-quick-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-float {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 143, 0, 0.25);
  color: var(--primary);
}

.btn-float.btn-float-phone {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
}

.btn-float.btn-float-phone:hover {
  background: #e07f00;
  color: var(--white);
}

.btn-float.btn-float-insta {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285aeb 90%);
  color: var(--white);
}

.btn-float.btn-float-insta:hover {
  filter: brightness(1.1);
}

/* Scroll Top with Micro Interaction collapse */
.btn-float.btn-scroll-top {
  background: var(--text-dark);
  color: var(--white);
  /* Hidden by default */
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.btn-float.btn-scroll-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   17. Footer Section
   ========================================================================== */
footer {
  background-color: #121212;
  color: #a0a0a0;
  padding: 80px 0 40px;
  border-top: 4px solid var(--primary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-desc {
  max-width: 320px;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
}

/* ==========================================================================
   18. Responsive Web Design
   ========================================================================== */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .brand-story-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .interviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-timeline {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding-left: 20px;
  }
  
  .steps-timeline::after {
    top: 0;
    left: 40px;
    width: 2px;
    height: 90%;
  }
  
  .step-node {
    display: flex;
    text-align: left;
    width: 100%;
    align-items: center;
    gap: 20px;
    padding: 0;
  }
  
  .step-badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .step-number {
    position: static;
    margin-bottom: 10px;
  }
  
  .cost-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-layout {
    grid-template-columns: 1fr;
    height: 750px;
  }
  
  .store-list-panel {
    height: 250px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .glass-header {
    height: 70px;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-warm);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-links.open {
    transform: translateX(0);
  }
  
  .slide-content {
    padding: 24px 20px;
    margin: 0 15px;
    max-width: calc(100% - 30px);
  }

  .slide-title {
    font-size: 2.25rem;
  }
  
  .slide-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .interviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Custom Checkbox and Select Styling */
.privacy-check-wrapper input[type="checkbox"].custom-checkbox,
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  background-color: var(--white);
  cursor: pointer;
  margin-top: 2px;
  display: inline-block;
  position: relative;
  transition: var(--transition-fast);
  flex-shrink: 0;
  vertical-align: middle;
}

.privacy-check-wrapper input[type="checkbox"].custom-checkbox:hover,
.custom-checkbox:hover {
  border-color: var(--primary);
}

.privacy-check-wrapper input[type="checkbox"].custom-checkbox:checked,
.custom-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.privacy-check-wrapper input[type="checkbox"].custom-checkbox:focus,
.custom-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 143, 0, 0.15);
  border-color: var(--primary);
}

select.form-control,
form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF8F00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 46px;
}
