/**
 * Chicago Pizza - Official Franchise Page Styles
 * Aesthetic: Luxury Warm Beach Sand / Sandy Beige Editorial QSR
 * Fonts: 'Playfair Display' for Headings, 'Montserrat' for Body
 */

:root {
  /* Warm Luxury Beach Sand & Beige Palette */
  --fr-bg: #F5EFEB;
  --fr-bg-alt: #EFE7DE;
  --fr-card-bg: rgba(255, 255, 255, 0.92);
  --fr-card-hover: rgba(255, 255, 255, 0.98);
  --fr-card-border: rgba(180, 160, 140, 0.28);
  --fr-card-border-active: rgba(211, 47, 47, 0.65);
  --fr-red: #d32f2f;
  --fr-red-hover: #b71c1c;
  --fr-red-glow: rgba(211, 47, 47, 0.22);
  --fr-gold: #b45309;
  --fr-gold-glow: rgba(180, 83, 9, 0.18);
  --fr-text: #1a1615;
  --fr-text-muted: #57524e;
  --fr-text-dim: #78716c;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Body Styling for Franchise Page */
body.franchise-page {
  background-color: var(--fr-bg) !important;
  color: var(--fr-text) !important;
  font-family: var(--font-sans) !important;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmospheric Canvas with Soft Warm Sand Gradients */
.franchise-page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 50% 0%, rgba(211, 47, 47, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 15% 45%, rgba(217, 119, 6, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(211, 47, 47, 0.04) 0%, transparent 45%),
    var(--fr-bg);
}

/* Fixed Header Spacing */
.franchise-main-content {
  padding-top: clamp(84px, 12vh, 110px);
}

/* Generic Section Container */
.fr-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Section Header Typography */
.fr-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.fr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fr-red);
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 700;
}

.fr-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fr-red);
  box-shadow: 0 0 8px var(--fr-red-glow);
}

.fr-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.0rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--fr-text);
  letter-spacing: -0.01em;
}

.fr-title .text-italic {
  font-style: italic;
  font-weight: 600;
  color: var(--fr-text);
}

.fr-title .text-accent {
  color: var(--fr-red);
}

.fr-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  color: var(--fr-text-muted);
  margin: 0 auto;
  font-weight: 400;
}

/* Gold / Amber Warm Gradient Accent */
.gold-gradient-text {
  background: linear-gradient(135deg, #d97706 0%, #b45309 60%, #92400e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

/* ============================================================================
   TOP PROGRESS BAR
   ============================================================================ */
.top-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1000;
  pointer-events: none;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d32f2f, #ff6b6b);
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.4);
  transition: width 0.08s ease-out;
}

/* ============================================================================
   THEMED HEADER NAVIGATION BAR FOR BEACH BACKGROUND
   ============================================================================ */
body.franchise-page .brand-logo-link .logo-light {
  opacity: 0 !important;
  display: none !important;
}

body.franchise-page .brand-logo-link .logo-dark {
  opacity: 1 !important;
  position: relative !important;
  display: block !important;
}

body.franchise-page .nav-links-list {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(180, 160, 140, 0.35) !important;
  box-shadow: 0 10px 30px rgba(90, 70, 50, 0.08), 0 0 16px rgba(211, 47, 47, 0.06) !important;
}

body.franchise-page .nav-link {
  color: #1a1615 !important;
}

body.franchise-page .nav-link:hover {
  color: #d32f2f !important;
  background: rgba(211, 47, 47, 0.08) !important;
}

body.franchise-page .dropdown-trigger-btn,
body.franchise-page .dropdown-trigger-btn span {
  color: #1a1615 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(180, 160, 140, 0.45) !important;
  white-space: nowrap !important;
  padding: 8px 16px !important;
}

body.franchise-page .dropdown-trigger-btn span {
  white-space: nowrap !important;
  color: #1a1615 !important;
}

body.franchise-page .dropdown-trigger-btn .dropdown-caret path {
  stroke: #1a1615 !important;
}

body.franchise-page .dropdown-trigger-btn:hover,
body.franchise-page .dropdown-trigger-btn.is-active,
body.franchise-page .has-dropdown.is-open .dropdown-trigger-btn {
  color: #ffffff !important;
  background: radial-gradient(circle, #e50914 0%, #a8060f 100%) !important;
  border-color: rgba(255, 120, 130, 0.5) !important;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.75), 0 0 40px rgba(229, 9, 20, 0.35) !important;
}

body.franchise-page .dropdown-trigger-btn:hover span,
body.franchise-page .dropdown-trigger-btn.is-active span,
body.franchise-page .has-dropdown.is-open .dropdown-trigger-btn span {
  color: #ffffff !important;
}

body.franchise-page .dropdown-trigger-btn:hover .dropdown-caret path,
body.franchise-page .dropdown-trigger-btn.is-active .dropdown-caret path,
body.franchise-page .has-dropdown.is-open .dropdown-trigger-btn .dropdown-caret path {
  stroke: #ffffff !important;
}

body.franchise-page .nav-link.is-active,
body.franchise-page .nav-link.is-active:hover {
  color: #ffffff !important;
  background: radial-gradient(circle, #e50914 0%, #a8060f 100%) !important;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.75), 0 0 36px rgba(229, 9, 20, 0.35) !important;
  border-bottom: none !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

body.franchise-page .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(180, 160, 140, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

body.franchise-page .hamburger-bar {
  background-color: #1a1615 !important;
}

body.franchise-page .btn-header-franchise {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1a1615 !important;
  border: 1px solid rgba(180, 160, 140, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

body.franchise-page .btn-header-franchise:hover {
  border-color: #d32f2f !important;
  color: #d32f2f !important;
}

body.franchise-page .btn-header-order {
  background: #d32f2f !important;
  color: #ffffff !important;
  border-color: #d32f2f !important;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.35) !important;
}

/* ============================================================================
   SECTION 1: THE AUTHENTIC HOOK (HERO)
   ============================================================================ */
.franchise-hero-section {
  padding: clamp(30px, 6vh, 60px) 0 clamp(60px, 9vh, 90px);
  position: relative;
}

/* Top Urgency Wrapper (Above Hero Video Stage) */
.hero-top-urgency-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto clamp(14px, 2.5vw, 24px) !important;
  width: 100% !important;
  position: relative !important;
  z-index: 10 !important;
}

.hero-top-slots-pill {
  margin-bottom: 0 !important;
}

/* Top Hero Cinematic Video Stage */
.hero-video-stage {
  max-width: 1060px;
  margin: 0 auto clamp(28px, 4.5vw, 44px);
  position: relative;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(70, 50, 30, 0.16), 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(180, 160, 140, 0.38);
  background: #0f0d0c;
  overflow: hidden;
}

.video-container-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 65%, rgba(0, 0, 0, 0.35) 100%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.video-stage-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 14, 12, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 10;
  pointer-events: none;
}

.video-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d32f2f;
  box-shadow: 0 0 8px #d32f2f;
  animation: frPulse 1.8s infinite ease-in-out;
}

.video-audio-btn {
  position: absolute;
  bottom: 16px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 14, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 16px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.video-audio-btn:hover {
  background: rgba(211, 47, 47, 0.9);
  border-color: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.45);
}

.video-audio-btn span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .hero-video-stage {
    margin-bottom: 24px;
    border-radius: 16px;
  }
  .video-stage-badge {
    top: 10px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.64rem;
  }
  .video-audio-btn {
    bottom: 10px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.68rem;
  }
}

.hero-banner-inner {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.70rem, 0.85vw, 0.80rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b91c1c;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.3);
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(90, 70, 50, 0.05);
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d32f2f;
  box-shadow: 0 0 8px rgba(211, 47, 47, 0.6);
  animation: frPulse 2s infinite ease-in-out;
}

@keyframes frPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--fr-text);
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.hero-headline .highlight-slice {
  color: var(--fr-red);
  font-style: italic;
  font-weight: 700;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.68;
  color: var(--fr-text-muted);
  max-width: 820px;
  margin: 0 auto 40px;
  font-weight: 400;
}

/* Clean 3-Stat Bar (Real Verified Facts) - Warm Luxury Beach Glass */
.hero-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fr-card-border);
  border-radius: 20px;
  padding: clamp(20px, 3vh, 32px) clamp(16px, 3vw, 36px);
  max-width: 980px;
  margin: 0 auto 38px;
  box-shadow: 0 16px 40px rgba(90, 70, 50, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(180, 160, 140, 0.35), transparent);
}

.stat-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.stat-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.stat-num {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--fr-text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-num.accent-red {
  color: var(--fr-red);
}

.stat-num.accent-gold {
  color: #b45309;
}

.stat-title {
  font-size: clamp(0.85rem, 1.0vw, 0.95rem);
  font-weight: 700;
  color: var(--fr-text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-desc {
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  color: var(--fr-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Hero Action Button Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-fr-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff !important;
  font-size: clamp(0.88rem, 1.0vw, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn-fr-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(211, 47, 47, 0.5);
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

.btn-fr-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--fr-text) !important;
  font-size: clamp(0.88rem, 1.0vw, 0.96rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid rgba(180, 160, 140, 0.35);
  box-shadow: 0 4px 14px rgba(90, 70, 50, 0.05);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.btn-fr-secondary:hover {
  background: #ffffff;
  border-color: var(--fr-red);
  color: var(--fr-red) !important;
  transform: translateY(-2px);
}

/* ============================================================================
   SECTION 2: "WHY PARTNER WITH US?" (REAL BRAND STRENGTHS)
   ============================================================================ */
.franchise-why-section {
  padding: clamp(60px, 9vh, 100px) 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(239, 231, 222, 0.45) 50%, transparent 100%);
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--fr-card-border);
  border-top: 3px solid var(--fr-red);
  border-radius: 20px;
  padding: clamp(28px, 4vh, 38px) clamp(22px, 2.5vw, 30px);
  box-shadow: 0 14px 40px rgba(90, 70, 50, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.why-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(90, 70, 50, 0.12);
  border-color: rgba(211, 47, 47, 0.45);
}

.card-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fr-red);
  margin-bottom: 22px;
}

.card-step-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #b45309;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.why-card-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.4rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fr-text);
  margin: 0 0 14px;
}

.why-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fr-text-muted);
  margin: 0 0 24px;
  flex-grow: 1;
}

.card-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pillar-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #57524e;
  background: #f3ede2;
  border: 1px solid rgba(180, 160, 140, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ============================================================================
   SECTION 3: TRANSPARENT 3-STEP JOURNEY
   ============================================================================ */
.franchise-journey-section {
  padding: clamp(60px, 9vh, 90px) 0;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(239, 231, 222, 0.5) 50%, transparent 100%);
}

.journey-timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  margin-top: 30px;
}

.journey-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(211, 47, 47, 0.3), transparent);
  z-index: 1;
}

.journey-step-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fr-card-border);
  border-radius: 20px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(90, 70, 50, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.journey-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211, 47, 47, 0.4);
}

.journey-node-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--fr-red);
  color: #ffffff;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.35);
}

.journey-node-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.15rem;
  font-weight: 800;
}

.journey-step-title {
  font-family: var(--font-serif) !important;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fr-text);
  margin: 0 0 12px;
}

.journey-step-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fr-text-muted);
  margin: 0;
}

/* ============================================================================
   SECTION 4: DIRECT CONTACT & OFFICIAL ENQUIRY FORM
   ============================================================================ */
.franchise-contact-section {
  padding: clamp(60px, 9vh, 100px) 0 clamp(80px, 12vh, 120px);
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(239, 231, 222, 0.6) 100%);
}

.contact-layout-split {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 36px;
  align-items: start;
}

/* Left Column: Direct Access Details */
.contact-info-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--fr-card-border);
  border-radius: 24px;
  padding: clamp(32px, 4.5vh, 44px) clamp(24px, 3.2vw, 36px);
  box-shadow: 0 16px 48px rgba(90, 70, 50, 0.07);
}

.info-card-header {
  margin-bottom: 28px;
}

.info-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #b45309;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.info-card-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--fr-text);
  margin: 0 0 14px;
}

.info-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--fr-text-muted);
  margin: 0;
}

.contact-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.btn-franchise-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1a1615;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-franchise-call:hover {
  background: #2d2624;
  transform: translateY(-2px);
}

.btn-franchise-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-franchise-wa:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.direct-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(180, 160, 140, 0.25);
  padding-top: 26px;
}

.detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fr-red);
  flex-shrink: 0;
}

.detail-content {
  flex-grow: 1;
}

.detail-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fr-text-dim);
  margin-bottom: 4px;
  display: block;
}

.detail-value {
  font-size: 0.92rem;
  color: var(--fr-text);
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
}

.detail-value a {
  color: var(--fr-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.detail-value a:hover {
  color: var(--fr-red);
}

/* Right Column: Official Form Container */
.contact-form-card {
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--fr-card-border);
  border-radius: 24px;
  padding: clamp(32px, 4.5vh, 44px) clamp(24px, 3.2vw, 36px);
  box-shadow: 0 20px 60px rgba(90, 70, 50, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-card-header {
  margin-bottom: 28px;
}

.form-card-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 700;
  color: var(--fr-text);
  margin: 0 0 10px;
}

.form-card-desc {
  font-size: 0.92rem;
  color: var(--fr-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Form Controls & Layout */
.official-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fr-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fr-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fr-text);
  text-transform: uppercase;
}

.fr-label .required-star {
  color: var(--fr-red);
}

.fr-input,
.fr-select,
.fr-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #FAF8F5;
  border: 1px solid rgba(180, 160, 140, 0.45);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--fr-text);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.fr-input:focus,
.fr-select:focus,
.fr-textarea:focus {
  border-color: var(--fr-red);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

.fr-input::placeholder,
.fr-textarea::placeholder {
  color: #a8a29e;
}

.fr-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' 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 14px center;
  background-size: 16px;
  cursor: pointer;
}

.fr-select option {
  background: #ffffff;
  color: var(--fr-text);
}

.fr-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-franchise-submit {
  width: 100%;
  background: #d32f2f;
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  padding: 17px 28px;
  font-family: var(--font-sans);
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 6px;
}

.btn-franchise-submit:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(211, 47, 47, 0.5);
}

.btn-franchise-submit:active {
  transform: translateY(0);
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--fr-text-dim);
  text-align: center;
  line-height: 1.5;
  margin: 10px 0 0;
}

/* Success Card State after Form Submission */
.form-success-card {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success-card.is-visible {
  display: block;
  animation: frFadeUp 0.5s ease forwards;
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 2px solid #25d366;
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.25);
}

.success-card-title {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--fr-text);
  margin: 0 0 14px;
}

.success-card-msg {
  font-size: 1.0rem;
  color: var(--fr-text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 28px;
}

.success-card-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes frFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   RESPONSIVE POLISH & MOBILE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1024px) {
  .why-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .journey-timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .journey-timeline-wrapper::before {
    display: none;
  }

  .contact-layout-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .franchise-main-content {
    padding-top: 76px;
  }

  .hero-banner-inner {
    padding: 0 4px;
  }

  .hero-headline {
    font-size: clamp(2.0rem, 7vw, 2.6rem);
  }

  .hero-subheadline {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 26px;
  }

  .hero-stat-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 28px;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--fr-card-border);
    border-top: 2px solid var(--fr-red);
    border-radius: 16px;
    padding: 18px 20px;
    text-align: left;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(90, 70, 50, 0.06);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item:not(:last-child) {
    border-bottom: none;
    padding-bottom: 18px;
  }

  .stat-header-row {
    justify-content: space-between;
    margin-bottom: 4px;
  }

  .stat-num {
    font-size: 2.0rem;
    margin-bottom: 0;
  }

  .stat-title {
    color: #b45309;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .stat-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--fr-text-muted);
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn-fr-primary,
  .btn-fr-brochure,
  .btn-fr-secondary {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 26px 20px;
  }
}


/* Download Brochure Buttons */
.btn-fr-brochure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1615;
  color: #ffffff !important;
  font-size: clamp(0.88rem, 1.0vw, 0.96rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid rgba(26, 22, 21, 0.25);
  box-shadow: 0 4px 16px rgba(26, 22, 21, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn-fr-brochure:hover {
  background: #2d2624;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 22, 21, 0.22);
}

.btn-header-brochure {
  background: #1a1615 !important;
  color: #ffffff !important;
  border: 1px solid rgba(26, 22, 21, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

body.franchise-page .btn-header-brochure:hover {
  background: #2d2624 !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.btn-franchise-brochure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(211, 47, 47, 0.08);
  color: var(--fr-red) !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 12px;
  border: 1px solid rgba(211, 47, 47, 0.3);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.08);
}

.btn-franchise-brochure:hover {
  background: rgba(211, 47, 47, 0.15);
  border-color: var(--fr-red);
  transform: translateY(-2px);
}

/* ============================================================================
   MOBILE & TABLET BOTTOM FLOATING QUICK-ACTION DOCK
   ============================================================================ */
.fr-floating-dock {
  display: none;
}

@media (max-width: 768px) {
  .fr-floating-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: fixed;
    bottom: 16px;
    left: 14px;
    right: 14px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(180, 160, 140, 0.4);
    border-radius: 999px;
    padding: 7px 10px;
    box-shadow: 0 12px 36px rgba(40, 25, 15, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .fr-floating-dock .dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    border-radius: 999px;
    padding: 11px 16px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-sizing: border-box;
  }

  .fr-floating-dock .dock-btn:active {
    transform: scale(0.96);
  }

  .dock-btn-brochure {
    background: #1a1615;
    color: #ffffff !important;
    flex: 1.2;
    box-shadow: 0 4px 14px rgba(26, 22, 21, 0.2);
  }

  .dock-btn-apply {
    background: #d32f2f;
    color: #ffffff !important;
    flex: 1;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
  }

  .dock-btn-wa {
    background: #25d366;
    color: #ffffff !important;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  }
}

/* ============================================================================
   HERO QUICK FRANCHISE ENQUIRY FORM (BELOW VIDEO)
   ============================================================================ */
.hero-quick-form-wrapper {
  width: 100%;
  max-width: 860px;
  margin: clamp(24px, 3.5vw, 36px) auto clamp(36px, 5vw, 48px);
  position: relative;
  box-sizing: border-box;
}

.hero-quick-form-card {
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--fr-card-border);
  border-radius: 24px;
  padding: clamp(28px, 4vh, 42px) clamp(20px, 3.2vw, 36px);
  box-shadow: 0 20px 60px rgba(90, 70, 50, 0.09), 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-align: left;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-quick-form-card .form-card-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-quick-form-card .form-card-desc {
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.quick-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.68rem, 0.8vw, 0.76rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b91c1c;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 12px;
}

.quick-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d32f2f;
  box-shadow: 0 0 6px rgba(211, 47, 47, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

@media (max-width: 768px) {
  .hero-quick-form-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

/* ============================================================================
   MID-PAGE FRANCHISE ENQUIRY SECTION (ABOVE STRUCTURED ROADMAP)
   ============================================================================ */
.franchise-mid-enquiry-section {
  padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 36px);
  position: relative;
  box-sizing: border-box;
}

.mid-form-card {
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--fr-card-border);
  border-radius: 24px;
  padding: clamp(30px, 4.2vh, 44px) clamp(22px, 3.2vw, 38px);
  box-shadow: 0 20px 60px rgba(90, 70, 50, 0.09), 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.mid-form-card .form-card-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.mid-form-card .form-card-desc {
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .franchise-mid-enquiry-section {
    padding: 24px 0 16px;
  }
  .mid-form-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

/* ============================================================================
   SECTION-LEVEL "LIMITED SLOTS LEFT" URGENCIES
   ============================================================================ */
.section-slots-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto 10px !important;
}

.section-slots-pill,
.hero-top-slots-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9f1239;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
  border: 1.5px solid #e11d48;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 2px 14px rgba(225, 29, 72, 0.22), 0 0 10px rgba(225, 29, 72, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-slots-pill:hover,
.hero-top-slots-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.3), 0 0 14px rgba(225, 29, 72, 0.18);
}

.slots-pill-dot,
.hero-top-slots-pill .hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.9), 0 0 14px rgba(225, 29, 72, 0.5);
  animation: pulseDot 1.8s infinite ease-in-out;
}

@media (max-width: 768px) {
  .section-slots-wrapper {
    margin-bottom: 8px !important;
  }
  .section-slots-pill,
  .hero-top-slots-pill {
    font-size: 0.66rem;
    padding: 5px 14px;
    gap: 7px;
    letter-spacing: 0.2em;
  }
}

/* ============================================================================
   Inline Form Validation & Dynamic WhatsApp/Email Submission Feedback
   ============================================================================ */
.fr-field-group {
  position: relative;
}

.fr-field-group.has-error .fr-input,
.fr-field-group.has-error .fr-select,
.fr-field-group.has-error .fr-textarea {
  border-color: #dc2626 !important;
  background-color: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.fr-field-error-msg {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc2626;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: frFadeIn 0.2s ease;
}

@keyframes frFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating Submission Success Toast */
.fr-submit-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(37, 211, 102, 0.35);
  font-family: var(--font-sans, sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  z-index: 9999999;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fr-submit-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fr-submit-toast svg {
  color: #25d366;
  flex-shrink: 0;
}

