/* ==========================================================================
   WELCOME WASH - MODERN AI CAR CARE DESIGN SYSTEM
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Official Welcome Wash Light Modern Color Palette */
  --brand-gold: #F59E0B;
  --brand-gold-glow: rgba(245, 158, 11, 0.25);
  --brand-navy: #0F172A;
  --brand-navy-dark: #020617;

  --bg-primary: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-heavy: rgba(255, 255, 255, 0.98);
  
  --primary: #F59E0B;
  --primary-glow: rgba(245, 158, 11, 0.25);
  --primary-dark: #D97706;
  --accent: #0284C7;
  --accent-glow: rgba(2, 132, 199, 0.2);
  --accent-purple: #7C3AED;
  --accent-pink: #DB2777;
  --accent-green: #059669;
  --accent-yellow: #D97706;
  --accent-red: #DC2626;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --border-glass: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(2, 132, 199, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-display: 'Outfit', 'Pretendard', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 10px 30px -4px rgba(2, 132, 199, 0.12);
  --shadow-glow-strong: 0 12px 32px -4px rgba(245, 158, 11, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-base);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  will-change: transform;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.04) 100%);
  top: -100px;
  right: -100px;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(254, 215, 170, 0.3) 0%, rgba(245, 158, 11, 0.05) 100%);
  bottom: 20%;
  left: -150px;
  animation: pulseGlow 12s infinite alternate-reverse ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
  100% { transform: scale(1.15) translate(30px, 40px); opacity: 0.65; }
}

/* Typography Utilities */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #0F172A 15%, #0284C7 70%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-accent-text {
  background: linear-gradient(135deg, #D97706 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Common Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284C7;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  transition: var(--transition-fast);
}

.logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.08));
}

.footer-logo {
  height: 46px;
}

.logo-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284C7;
  border-radius: 6px;
  margin-left: 2px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-navy);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 6px var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #0F172A;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-glow-pulse {
  animation: glowPulse 2.5s infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(2, 132, 199, 0.2); }
  50% { box-shadow: 0 0 25px rgba(2, 132, 199, 0.4); }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  background: var(--bg-card);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card:hover .hero-img {
  transform: scale(1.03);
}

.hero-overlay-hud {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  pointer-events: none;
}

.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-badge {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: #FBBF24;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-bottom-info {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.hud-info-item {
  display: flex;
  flex-direction: column;
}

.hud-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hud-info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   AI PROCESS SECTION (3 STEPS)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: #38BDF8;
  box-shadow: 0 16px 36px -4px rgba(2, 132, 199, 0.12);
}

.process-card:hover::before {
  opacity: 1;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.05);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
}

.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.process-icon svg {
  width: 30px;
  height: 30px;
}

.process-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.process-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   BEFORE & AFTER INTERACTIVE SLIDER
   ========================================================================== */
.comparison-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.comparison-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.comparison-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.1);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.comparison-img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  will-change: clip-path;
}

.comparison-img-after img {
  width: 1000px;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* Slider Handle & Divider */
.comparison-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider-button svg {
  width: 22px;
  height: 22px;
}

.slider-label {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

.label-before {
  right: 20px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.label-after {
  left: 20px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.comparison-instruction {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   WHY WELCOME WASH (FEATURES GRID)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.feature-box:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: #BAE6FD;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   MEMBERSHIP & PRICING SECTION
   ========================================================================== */
.pricing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.switch-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.switch-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  border-color: transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card.popular {
  background: #FFFFFF;
  border: 2px solid var(--primary);
  box-shadow: 0 16px 40px -4px rgba(245, 158, 11, 0.18);
  transform: scale(1.04);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #0F172A;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.pricing-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
}

.currency {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   LOCATIONS & LIVE QUEUE FINDER
   ========================================================================== */
.branches-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}

.branch-list::-webkit-scrollbar {
  width: 6px;
}

.branch-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 3px;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.branch-card:hover, .branch-card.active {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
}

.branch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.branch-name {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-operating {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

.status-moderate {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-yellow);
}

.status-busy {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

.branch-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.branch-metrics {
  display: flex;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border-glass);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.metric-highlight {
  font-weight: 700;
  color: var(--primary);
}

/* Branch Detail View / Mock Map */
.branch-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.preview-map-box {
  height: 240px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-pin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pin-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
}

.pin-ripple {
  position: absolute;
  bottom: -6px;
  width: 20px;
  height: 8px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.25);
  filter: blur(2px);
}

/* ==========================================================================
   B2B & FRANCHISE CONTACT FORM
   ========================================================================== */
.contact-section {
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.06) 0%, transparent 80%);
}

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
}

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

.form-group.full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background: #FFFFFF;
}

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

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), var(--shadow-glow);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
  backdrop-filter: blur(12px);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 70px 0 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-brand p {
  margin-top: 16px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

/* Floating Quick Action Bar (Mobile & Desktop) */
.floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  z-index: 999;
  transition: var(--transition-normal);
  color: var(--text-primary);
}

/* Animation on Scroll Helper Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .process-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .comparison-container {
    height: 340px;
  }

  .contact-card {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}