/* ==========================================================================
   Taller Serviexpress Baez - Premium Dark Mode Stylesheet
   ========================================================================== */

/* ==========================================================================
   1. Imports & Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

/* ==========================================================================
   2. CSS Variables
   ========================================================================== */
:root {
  /* Colors */
  --primary-blue: #1A6FEF;
  --primary-blue-light: #4A90E2;
  --primary-blue-dark: #0D47A1;
  --primary-blue-glow: rgba(26, 111, 239, 0.4);
  
  --primary-red: #E53935;
  --primary-red-light: #EF5350;
  --primary-red-dark: #B71C1C;
  --primary-red-glow: rgba(229, 57, 53, 0.4);
  
  --bg-primary: #0A1628;
  --bg-secondary: #0F1D32;
  --bg-tertiary: #14243C;
  
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-medium: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(10, 22, 40, 0.7);
  
  /* Text */
  --text-primary: #F0F4F8;
  --text-secondary: #8899AA;
  --text-tertiary: #5C6D80;
  --text-accent: #1A6FEF;
  
  /* Status Colors */
  --success: #00C853;
  --warning: #FFAB00;
  --error: #E53935;
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --section-padding: 100px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --border-radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow-blue: 0 0 20px rgba(26, 111, 239, 0.3);
  --shadow-glow-red: 0 0 20px rgba(229, 57, 53, 0.3);
}

/* ==========================================================================
   3. CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(26, 111, 239, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(229, 57, 53, 0.05), transparent 25%);
  background-attachment: fixed;
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 10% 20%, rgba(26, 111, 239, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(229, 57, 53, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(13, 71, 161, 0.1) 0%, transparent 60%),
    var(--bg-dark);
  background-attachment: fixed;
  background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-blue-light);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(26, 111, 239, 0.1);
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* ==========================================================================
   4. Typography Utilities
   ========================================================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gradient-red {
  background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* ==========================================================================
   5. Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-normal);
  text-decoration: none;
  font-size: 1rem;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: opacity var(--transition-normal);
  opacity: 0;
}

.btn-primary {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
  background: var(--primary-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 111, 239, 0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  color: #fff;
}

.btn-accent {
  background: var(--primary-red);
  color: #fff;
  box-shadow: var(--shadow-glow-red);
}

.btn-accent:hover {
  background: var(--primary-red-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(229, 57, 53, 0.4);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   6. Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* ==========================================================================
   7. Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(10, 22, 40, 0.95);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
}

.nav-logo span:first-child {
  color: var(--primary-blue);
}

.nav-logo span:last-child {
  color: var(--primary-red);
}

.nav-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 5s infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(ellipse at top right, rgba(26, 111, 239, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(229, 57, 53, 0.1) 0%, transparent 60%);
}

.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.decor-gear, .decor-wrench {
  position: absolute;
  color: rgba(255, 255, 255, 0.05);
  animation: float 10s ease-in-out infinite;
}

.decor-gear {
  top: 20%;
  right: 10%;
  width: 150px;
  height: 150px;
  animation: spin 30s linear infinite;
}

.decor-wrench {
  bottom: 20%;
  left: 10%;
  width: 120px;
  height: 120px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 2rem;
  border-radius: var(--border-radius-md);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.status-badge.open {
  color: var(--success);
  border-color: rgba(0, 200, 83, 0.3);
}

.status-badge.open::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
}

.status-badge.closed {
  color: var(--error);
  border-color: rgba(229, 57, 53, 0.3);
}

.status-badge.closed::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--error);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  z-index: 5;
  opacity: 0.8;
  filter: drop-shadow(0 0 30px rgba(26, 111, 239, 0.2));
  animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   9. Services Section
   ========================================================================== */
.services {
  background-color: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0,0,0,0.5);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background: rgba(26, 111, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: var(--shadow-glow-blue);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* ==========================================================================
   10. Diagnostic Tool (Most Important)
   ========================================================================== */
.diagnostic {
  position: relative;
  overflow: hidden;
}

.diagnostic::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26, 111, 239, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.diagnostic-wizard {
  background: rgba(20, 36, 60, 0.6);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3rem;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  z-index: 0;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  border-radius: 2px;
  z-index: 0;
  transition: width var(--transition-slow);
  width: 33%; /* Example progress */
}

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.progress-step.active {
  background: var(--bg-primary);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(26, 111, 239, 0.3);
}

.progress-step.completed {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

.wizard-content {
  min-height: 400px;
}

.wizard-step {
  display: none;
  animation: fadeInRight var(--transition-normal);
}

.wizard-step.active {
  display: block;
}

.step-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.step-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* Car Diagram Area */
.car-diagram-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 10px 20px 10px;
  margin: 2rem 0;
}

.interactive-car-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.premium-car-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  display: block;
}

.car-zone {
  position: absolute;
  background: rgba(26, 111, 239, 0.1);
  border: 2px dashed rgba(26, 111, 239, 0.5);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.car-zone:hover {
  background: rgba(26, 111, 239, 0.4);
  border-style: solid;
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(26, 111, 239, 0.6);
  transform: scale(1.05);
}

.car-zone.active {
  background: rgba(229, 57, 53, 0.5);
  border-color: var(--primary-red);
  border-style: solid;
  box-shadow: 0 0 20px rgba(229, 57, 53, 0.8);
  animation: pulse-red 2s infinite;
}

.zone-label {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  pointer-events: none;
  text-align: center;
}

/* Approximate positions for a side-profile sedan image */
.overlay-zone-motor { top: 40%; left: 10%; width: 22%; height: 25%; }
.overlay-zone-llantas-del { top: 65%; left: 12%; width: 16%; height: 25%; border-radius: 50%; }
.overlay-zone-frenos-del { top: 70%; left: 18%; width: 10%; height: 15%; border-radius: 50%; }
.overlay-zone-suspension { top: 52%; left: 28%; width: 20%; height: 35%; }
.overlay-zone-electrico { top: 35%; left: 40%; width: 25%; height: 18%; }
.overlay-zone-transmision { top: 60%; left: 45%; width: 20%; height: 20%; }
.overlay-zone-llantas-tras { top: 65%; left: 70%; width: 16%; height: 25%; border-radius: 50%; }
.overlay-zone-frenos-tras { top: 70%; left: 74%; width: 10%; height: 15%; border-radius: 50%; }
.overlay-zone-escape { top: 70%; left: 88%; width: 10%; height: 15%; }

/* Example positions */
.zone-engine { top: 20%; left: 45%; width: 10%; height: 20%; border-radius: 20%; }
.zone-brakes-front { top: 70%; left: 25%; width: 12%; height: 12%; }
.zone-brakes-rear { top: 70%; left: 75%; width: 12%; height: 12%; }
.zone-transmission { top: 45%; left: 45%; width: 10%; height: 15%; }
.zone-suspension { top: 50%; left: 20%; width: 60%; height: 40%; border-radius: 10px; background:transparent;}

/* Symptom Grid */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(26, 111, 239, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(26, 111, 239, 0.1);
}

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

.symptom-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.symptom-card i {
  font-size: 2rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.symptom-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.symptom-card.selected {
  background: rgba(26, 111, 239, 0.1);
  border-color: var(--primary-blue);
  box-shadow: inset 0 0 0 1px var(--primary-blue), var(--shadow-glow-blue);
}

.symptom-card.selected i {
  color: var(--primary-blue);
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-medium);
}

.btn-prev {
  visibility: hidden; /* Manage via JS based on step */
}

/* Diagnostic Summary */
.diagnostic-summary {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
}

.summary-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 1rem;
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.summary-list {
  text-align: left;
  margin: 2rem auto;
  max-width: 400px;
  background: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
}

.summary-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
}
.summary-list li:last-child {
  border-bottom: none;
}

/* ==========================================================================
   11. Why Choose Us
   ========================================================================== */
.why-us {
  background-color: var(--bg-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal);
}

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

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(26, 111, 239, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}

.benefit-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   12. FAQ Section
   ========================================================================== */
.faq {
  background-color: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 20px rgba(26, 111, 239, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(0,0,0,0.1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   13. Testimonials
   ========================================================================== */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 3rem;
  scrollbar-width: none; /* Firefox */
}
.testimonial-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonial-card {
  min-width: 350px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

.testimonial-stars {
  color: var(--warning);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  position: absolute;
  top: -10px;
  left: -15px;
  font-family: serif;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--primary-blue);
  width: 25px;
  border-radius: 5px;
}

/* ==========================================================================
   14. Location & Contact
   ========================================================================== */
.location {
  background-color: var(--bg-secondary);
}

.location-grid {
  display: grid;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-top: 0.25rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table tr {
  border-bottom: 1px solid var(--border-medium);
}
.schedule-table tr:last-child {
  border-bottom: none;
}

.schedule-table td {
  padding: 1rem 0;
  color: var(--text-secondary);
}

.schedule-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
}

.map-container {
  height: 500px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(100%); /* Quick dark mode map hack if not using styled maps API */
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.footer {
  background-color: #050b14;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-logo span:first-child { color: var(--primary-blue); }
.footer-logo span:last-child { color: var(--primary-red); }

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a::before {
  content: '›';
  color: var(--primary-blue);
  font-weight: bold;
}
.footer-links a:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-medium);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* ==========================================================================
   16. WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse-wa 2s infinite;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ==========================================================================
   17. Modal Styles
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(-50px);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0,0,0,0.5);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--primary-red);
}

/* ==========================================================================
   18. Animations (@keyframes)
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 200, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

@keyframes float {
  0% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-55%) translateX(-10px); }
  100% { transform: translateY(-50%) translateX(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  visibility: hidden;
}

.animate-on-scroll.animated {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* ==========================================================================
   19. Responsive Design (Media Queries)
   ========================================================================== */

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
  .hero-image {
    width: 60%;
    right: -10%;
  }
}

/* Desktop to Tablet (1024px and below) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .diagnostic-wizard {
    padding: 2rem;
  }
}

/* Tablet to Mobile (768px and below) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: left var(--transition-normal);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  .nav-cta {
    display: none; /* Can be handled inside mobile menu if needed */
  }
  
  .hero {
    padding-top: 100px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .hero-image {
    display: none; /* Hide complex image on small screens or make it a background */
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .wizard-progress {
    display: none; /* Simplify on mobile */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .diagnostic-wizard {
    padding: 1.5rem;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .wizard-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .testimonial-card {
    min-width: 280px;
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Global Theme Overrides (Mesh Gradient & Glassmorphism)
   ========================================================================== */
body {
    background: 
      radial-gradient(circle at 10% 20%, rgba(26, 111, 239, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 90% 80%, rgba(229, 57, 53, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(13, 71, 161, 0.1) 0%, transparent 60%),
      var(--bg-dark) !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

.service-card, .symptom-card, .benefit-card, .testimonial-card, .diagnostic-wizard, .contact-card {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    border-radius: 16px !important;
}

/* Fix text overlapping on car diagram */
.overlay-zone-motor { top: 35% !important; left: 5% !important; width: 22% !important; height: 20% !important; }
.overlay-zone-llantas-del { top: 60% !important; left: 8% !important; width: 16% !important; height: 20% !important; border-radius: 50% !important; }
.overlay-zone-frenos-del { top: 80% !important; left: 22% !important; width: 14% !important; height: 15% !important; border-radius: 50% !important; }
.overlay-zone-suspension { top: 38% !important; left: 30% !important; width: 18% !important; height: 15% !important; }
.overlay-zone-electrico { top: 15% !important; left: 35% !important; width: 25% !important; height: 18% !important; }
.overlay-zone-transmision { top: 52% !important; left: 45% !important; width: 20% !important; height: 15% !important; }
.overlay-zone-llantas-tras { top: 60% !important; left: 72% !important; width: 16% !important; height: 20% !important; border-radius: 50% !important; }
.overlay-zone-frenos-tras { top: 80% !important; left: 58% !important; width: 14% !important; height: 15% !important; border-radius: 50% !important; }
.overlay-zone-escape { top: 65% !important; left: 88% !important; width: 12% !important; height: 15% !important; }

@media (max-width: 480px) {
    .zone-label {
        font-size: 0.7rem !important;
        line-height: 1.1;
        text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    }
}

/* Modern Social Icons Style */
.social-link.modern-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.social-link.modern-icon:hover {
    background: rgba(26, 111, 239, 0.2);
    border-color: rgba(26, 111, 239, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 111, 239, 0.3);
}

/* Symptom Selection Highlight Fix */
.symptom-card.selected {
    background: rgba(229, 57, 53, 0.4) !important;
    border: 2px solid var(--primary-red-light) !important;
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.6) !important;
    transform: scale(1.05) !important;
}
.symptom-card.selected span {
    font-weight: 700;
    color: #fff;
}
