/* ==========================================================================
   CAFFEINE DIGITAL MARKETING AGENCY — WOORX MINIMALIST DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Epilogue:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --bg-canvas: #ffffff;
  --bg-surface: #fbfbfb;
  --bg-surface-elevated: #f4f4f5;
  --bg-dark-obsidian: #08080a;
  --bg-dark-card: #121216;
  --text-main: #141414; /* Deep Charcoal / Loop Brutalist Black */
  --text-secondary: #5a5a62;
  --text-muted: #8e8e98;
  --accent-espresso: #ff5e1e; /* Caffeine Electric Orange */
  --accent-espresso-soft: rgba(255, 94, 30, 0.08);
  --border-subtle: #eeeeee;
  --border-strong: #141414;
  --font-anton: 'Anton', 'Bebas Neue', sans-serif;
  --font-bebas: 'Bebas Neue', 'Anton', sans-serif;
  --font-geist: 'Geist Mono', 'JetBrains Mono', monospace;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-editorial: 'Epilogue', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background-color: var(--bg-canvas);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  cursor: default;
}

/* ==========================================================================
   SITE PRELOADER & IGNITING FLAME ANIMATION
   ========================================================================== */
#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: #08080a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease-out, 
              visibility 0.45s ease-out;
}

#site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

.flame-ignite-wrapper {
  animation: flameIgnite 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.flame-image {
  animation: flameFlicker 2.2s ease-in-out infinite alternate 1.4s;
}

@keyframes flameIgnite {
  0% {
    transform: scale(0.2) translateY(25px);
    filter: brightness(0.1) drop-shadow(0 0 0 rgba(255, 94, 30, 0));
    opacity: 0;
  }
  45% {
    transform: scale(1.18) translateY(-8px);
    filter: brightness(1.7) drop-shadow(0 0 45px rgba(255, 94, 30, 1));
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    filter: brightness(1.25) drop-shadow(0 0 25px rgba(255, 94, 30, 0.8));
    opacity: 1;
  }
}

@keyframes flameFlicker {
  0% {
    transform: scale(1) rotate(-1deg);
    filter: brightness(1.15) drop-shadow(0 0 22px rgba(255, 94, 30, 0.7));
  }
  50% {
    transform: scale(1.04) rotate(1.2deg);
    filter: brightness(1.4) drop-shadow(0 0 35px rgba(255, 94, 30, 0.95));
  }
  100% {
    transform: scale(0.98) rotate(-0.8deg);
    filter: brightness(1.2) drop-shadow(0 0 24px rgba(255, 94, 30, 0.75));
  }
}

/* Custom Cursor on Desktop (Woorx Style with Difference Blending) */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input {
    cursor: none;
  }
}

/* Custom Cursor Elements */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent-espresso);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--text-main);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s, 
              border-color 0.3s,
              transform 0.1s ease-out;
}

/* Woorx Large Text Expansion Mode */
.cursor-follower.hovering {
  width: 68px;
  height: 68px;
  background: rgba(255, 94, 30, 0.18);
  border-color: var(--accent-espresso);
  backdrop-filter: blur(1px);
}

.cursor-follower.text-hover {
  width: 80px;
  height: 80px;
  background: rgba(28, 28, 28, 0.9);
  border-color: transparent;
  mix-blend-mode: difference;
}

.cursor-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-espresso);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.cursor-follower.hovering .cursor-label {
  opacity: 1;
}

/* Woorx Minimalist Panels & Containers */
.woorx-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.woorx-card:hover {
  border-color: var(--text-main);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08);
}

.woorx-card-dark {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.woorx-card-dark:hover {
  border-color: var(--accent-espresso);
}

/* Typography Utilities */
.font-display { font-family: var(--font-display); }
.font-editorial { font-family: var(--font-editorial); }
.font-main { font-family: var(--font-main); }
.font-mono { font-family: var(--font-mono); }

/* Woorx Clean Number Label (e.g. 01, 02) */
.num-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-espresso);
  font-weight: 700;
}

/* ==========================================================================
   HERO 1/3 EDITORIAL CARD & EXPANSION PHYSICS
   ========================================================================== */
.hero-scroll-wrapper {
  position: relative;
  height: 250vh;
  width: 100%;
  background-color: var(--bg-canvas);
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-canvas);
  will-change: background-color;
}

/* 1/3 Video Card Portal */
.hero-card-portal {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: min(520px, 58vh);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background-color: #08080a;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform-origin: center center;
  will-change: transform, border-radius, box-shadow;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .hero-card-portal {
    max-width: 250px;
    height: min(280px, 32vh);
    border-radius: 20px;
  }
}

#hero-model-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform-origin: 57% 36%;
  will-change: transform;
  z-index: 1;
  pointer-events: none;
}

.eye-portal-overlay {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background: radial-gradient(circle at 57% 36%, rgba(8, 8, 10, 0.0) 0%, rgba(8, 8, 10, 0.5) 35%, #08080a 65%, #08080a 100%);
  will-change: opacity;
}

.black-void-pause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

/* Dark Matrix Section - Fused seamlessly with the eye void (#08080a) */
.dark-matrix-section {
  position: relative;
  background-color: #08080a;
  color: #ffffff;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Editorial Transition Section - From Dark Matrix to White Canvas */
.transition-separator-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #08080a 0%, #101014 40%, #ffffff 100%);
}

/* Footer with Ambient Chemical Video Loop */
.footer-ambient-container {
  position: relative;
  overflow: hidden;
  background-color: #08080a;
  color: #ffffff;
}

.footer-chemical-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.3) contrast(1.1);
  pointer-events: none;
  z-index: 1;
}

.footer-ambient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 8, 10, 0.5) 0%, rgba(8, 8, 10, 0.85) 60%, #08080a 100%),
              linear-gradient(180deg, #08080a 0%, transparent 25%, transparent 75%, #08080a 100%);
  pointer-events: none;
  z-index: 2;
}

.footer-content-stage {
  position: relative;
  z-index: 3;
}

/* Linear Chemical Vector Patterns (Reactive with Gradient) */
.linear-pattern-interactive {
  position: absolute;
  pointer-events: auto;
  opacity: 0.3;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.linear-pattern-interactive svg {
  width: 100%;
  height: 100%;
}

.linear-pattern-interactive:hover {
  opacity: 0.95;
  transform: scale(1.04);
}

.linear-pattern-interactive path,
.linear-pattern-interactive circle,
.linear-pattern-interactive polygon,
.linear-pattern-interactive line {
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.linear-pattern-interactive:hover path,
.linear-pattern-interactive:hover circle,
.linear-pattern-interactive:hover polygon,
.linear-pattern-interactive:hover line {
  stroke: url(#caffeineOrangeGrad);
}

/* Woorx Style Work/Project Cards with Zoom Hover */
.woorx-project-card {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.woorx-project-card:hover {
  border-color: var(--text-main);
}

.woorx-project-card img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.woorx-project-card:hover img {
  transform: scale(1.05);
}

/* Pulse Live Indicators */
.pulse-live {
  width: 7px;
  height: 7px;
  background-color: var(--accent-espresso);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-espresso);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 30, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 94, 30, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 30, 0); }
}

/* Floating Urgency Loss Ticker Dock */
.loss-ticker-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Woorx Infinite Ribbon */
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Range Input */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #e4e4e7;
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-espresso);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 94, 30, 0.4);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ==========================================================================
   AWWWARDS & LOOP AGENCY DESIGN SYSTEM ADDITIONS
   ========================================================================== */

/* 1. Typography Utility Classes */
.font-anton {
  font-family: var(--font-anton);
  letter-spacing: -0.01em;
}

.font-bebas {
  font-family: var(--font-bebas);
  letter-spacing: 0.04em;
}

.font-geist {
  font-family: var(--font-geist);
}

.font-inter {
  font-family: var(--font-inter);
}

/* 2. Kinetic Letter-Rolling ("Slot Machine Effect") */
.letter-roller {
  display: inline-flex;
  overflow: hidden;
  vertical-align: middle;
  line-height: 1.15;
}

.letter-roller.hidden,
.hidden.letter-roller {
  display: none !important;
}

.letter-slot {
  display: inline-flex;
  flex-direction: column;
  height: 1.15em;
  overflow: hidden;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.letter-slot .char-top,
.letter-slot .char-bottom {
  display: block;
  height: 1.15em;
  line-height: 1.15em;
}

.letter-slot .char-bottom {
  color: var(--accent-espresso);
}

/* Trigger on parent hover */
.group:hover .letter-slot,
button:hover .letter-slot,
a:hover .letter-slot,
.letter-roller:hover .letter-slot {
  transform: translateY(-50%);
}

/* 3. Activation Power Switch Button */
.brief-activation-btn {
  position: relative;
  overflow: hidden;
}

.activation-switch-track {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.brief-activation-btn:hover .activation-switch-track {
  background-color: var(--accent-espresso);
  box-shadow: 0 0 14px rgba(255, 94, 30, 0.6);
}

.brief-activation-btn:hover .activation-switch-thumb {
  transform: translateX(1.25rem);
  background-color: #08080a;
  color: #ff5e1e;
}

/* Activated state animation */
.brief-activation-btn.is-activated .activation-switch-track {
  background-color: #00e575;
  box-shadow: 0 0 16px rgba(0, 229, 117, 0.8);
}

.brief-activation-btn.is-activated .activation-switch-thumb {
  transform: translateX(1.25rem);
  background-color: #08080a;
  color: #00e575;
}

/* 4. Crosshairs & Brutalist Technical Framing */
.crosshair-box {
  position: relative;
}

.crosshair-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 20;
}

.crosshair-corner::before,
.crosshair-corner::after {
  content: '';
  position: absolute;
  background-color: currentColor;
}

.crosshair-corner::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.crosshair-corner::after {
  height: 100%;
  width: 1.5px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.crosshair-tl { top: -5px; left: -5px; }
.crosshair-tr { top: -5px; right: -5px; }
.crosshair-bl { bottom: -5px; left: -5px; }
.crosshair-br { bottom: -5px; right: -5px; }

/* Technical Grid Lines */
.tech-frame {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  position: relative;
}

/* 5. Continuous Kinetic Loop Marquee */
.caffeine-marquee-section {
  background: #08080a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-continuous-track {
  display: flex;
  width: max-content;
  animation: marqueeContinuous 28s linear infinite;
  will-change: transform;
}

.marquee-continuous-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeContinuous {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 6. Multi-Mode Showcase for Services */
.service-view-switcher .view-tab-btn.active {
  background-color: var(--text-main);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* LIST MODE */
.service-list-item {
  border-bottom: 1px solid #e4e4e7;
  padding: 2.2rem 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.service-list-item:hover {
  border-color: var(--text-main);
  padding-left: 1.25rem;
}

.service-list-title {
  transition: color 0.3s ease;
}

.service-list-item:hover .service-list-title {
  color: var(--accent-espresso);
}

/* Floating Magnetic Preview Card for List Mode */
.floating-media-preview {
  position: fixed;
  width: 320px;
  height: 420px;
  pointer-events: none;
  z-index: 8000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  background-color: #08080a;
}

.floating-media-preview.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

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

.floating-media-preview.is-active img {
  transform: scale(1.04);
}

/* Strictly disable floating preview on mobile and touch devices */
@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  .floating-media-preview,
  #floating-service-preview {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* GALLERY MODE */
.gallery-strip {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-espresso) #e4e4e7;
}

.gallery-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: var(--accent-espresso);
  border-radius: 9999px;
}

.gallery-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 3D LOOP MODE (Cylindrical Carousel) */
.cylinder-scene {
  perspective: 1200px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cylinder-carousel {
  width: 280px;
  height: 420px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cylinder-card {
  position: absolute;
  width: 280px;
  height: 420px;
  left: 0;
  top: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  backface-visibility: hidden;
  transition: filter 0.4s ease;
}

/* 7. 3D Stage Tilt Navigation & Side Drawer */
.stage-wrapper {
  min-height: 100vh;
  position: relative;
}

.stage-content {
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s ease;
  will-change: transform, filter;
}

.stage-content.stage-tilted {
  transform: perspective(1400px) rotateY(-7deg) scale(0.93) translateX(-4vw);
  filter: brightness(0.6) blur(0.5px);
  pointer-events: none;
}

.stage-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.stage-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.stage-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #08080a;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.9);
}

.stage-drawer.is-open {
  transform: translateX(0);
}

/* ==========================================================================
   8. COFFEE SCROLL INTERACTIVE LOOP SECTION (AWWWARDS MOTION ENGINE)
   ========================================================================== */
.coffee-scroll-section {
  position: relative;
  height: 250vh;
  width: 100%;
  background-color: #08080a;
}

.coffee-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #08080a;
  overflow: hidden;
}

.coffee-rotator-card {
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
  transition: transform 0.08s linear;
}

#coffee-callout-left.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

#coffee-callout-right.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* ==========================================================================
   9. INTERACTIVE MEXICO MAP & SEDE CENTRAL (HQ) VISUAL STYLES
   ========================================================================== */
.mexico-state-path {
  fill: #14141a;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.75;
  transition: fill 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.mexico-state-path:hover {
  fill: #242432;
  stroke: rgba(255, 255, 255, 0.35);
}

.mexico-state-path.is-active-state {
  fill: #1e1d28;
  stroke: rgba(255, 94, 30, 0.5);
  stroke-width: 1.1;
}

.mexico-state-path.is-hq-state {
  fill: rgba(255, 94, 30, 0.22);
  stroke: #ff5e1e;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(255, 94, 30, 0.45));
}

.mexico-state-path.is-selected {
  fill: rgba(255, 94, 30, 0.35) !important;
  stroke: #ff7a45 !important;
  stroke-width: 1.8 !important;
  filter: drop-shadow(0 0 10px rgba(255, 94, 30, 0.65));
}

.network-pulse-line {
  stroke-dasharray: 4 4;
  animation: networkDash 1.8s linear infinite;
}

@keyframes networkDash {
  to {
    stroke-dashoffset: -16;
  }
}

.map-pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulseRing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes mapPulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  70%, 100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.map-city-pin {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.map-city-pin:hover,
.map-city-pin.active {
  transform: scale(1.18);
}

.map-city-pin.is-hq .map-pin-badge-group {
  animation: hqBadgeFloat 3s ease-in-out infinite;
}

@keyframes hqBadgeFloat {
  0%, 100% {
    transform: translate(465px, 308px);
  }
  50% {
    transform: translate(465px, 305px);
  }
}

.map-city-chip.active {
  background-color: #ff5e1e !important;
  color: #ffffff !important;
  border-color: #ff5e1e !important;
  box-shadow: 0 0 12px rgba(255, 94, 30, 0.4);
}

/* =========================================================================
   VELOCITY TERMINAL SLIDER HIGH CONTRAST THEME
   ========================================================================= */
#spend-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease, border-color 0.2s ease;
}

#spend-slider:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 94, 30, 0.4);
}

#spend-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff5e1e;
  border: 3px solid #ffffff;
  box-shadow: 0 0 18px rgba(255, 94, 30, 0.85), 0 2px 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#spend-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 26px rgba(255, 94, 30, 1), 0 2px 10px rgba(0, 0, 0, 0.8);
}

#spend-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff5e1e;
  border: 3px solid #ffffff;
  box-shadow: 0 0 18px rgba(255, 94, 30, 0.85), 0 2px 8px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.text-emeraldAccent {
  color: #10b981 !important;
}

.bg-emeraldAccent {
  background-color: #10b981 !important;
}

.border-emeraldAccent {
  border-color: #10b981 !important;
}


