/* Modern CSS Reset and Variables */
:root {
  /* NEW IMPROVED COLOR PALETTE - More Professional & Attractive */
  --primary-navy: #1e3a8a; /* Professional Navy Blue */
  --primary-navy-dark: #1e40af;
  --primary-navy-light: #3b82f6;
  --secondary-gold: #f59e0b; /* Warm Gold */
  --secondary-gold-dark: #d97706;
  --secondary-gold-light: #fbbf24;
  --accent-red: #dc2626; /* Strong Red for urgency */
  --accent-red-dark: #b91c1c;
  --accent-green: #059669; /* Trust Green */
  --accent-green-dark: #047857;

  /* Gradients - More Professional */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-red) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-gold) 0%, var(--secondary-gold-light) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);

  /* Neutrals */
  --white: #ffffff;
  --black: #111827;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-padding: 0 20px;
  --header-height: 160px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: hidden;
  background-color: var(--gray-50);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-padding {
  padding: var(--section-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

.section-subtitle {
  display: inline-block;
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 2px;
  background: var(--gradient-primary);
  width: 0;
  transition: none;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-title .highlight {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--secondary-gold);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  background: var(--secondary-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-accent {
  background: var(--gradient-secondary);
  color: var(--gray-900);
  box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
  background: var(--secondary-gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

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

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

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  color: var(--white);
}

.loader-container {
  position: relative;
  margin-bottom: 2rem;
}

.loader {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.25rem;
}

.loader-letter {
  font-size: 1.5rem;
  font-weight: 800;
  animation: bounce 1.5s ease-in-out infinite;
}

.loader-letter:nth-child(1) { animation-delay: 0s; }
.loader-letter:nth-child(2) { animation-delay: 0.1s; }
.loader-letter:nth-child(3) { animation-delay: 0.2s; }
.loader-letter:nth-child(4) { animation-delay: 0.3s; }
.loader-letter:nth-child(5) { animation-delay: 0.4s; }

.preloader-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.9;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary-navy);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(10px);
}

.header-top {
  background: var(--gray-900);
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.875rem;
  white-space: nowrap;
}

.contact-item-header i {
  color: var(--secondary-gold);
  flex-shrink: 0;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--secondary-gold);
  color: var(--gray-900);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--secondary-gold-light);
  transform: scale(1.1);
}

.header-main {
  padding: 1rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  height: 3.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-normal);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--secondary-gold-light);
}

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

/* ==========================================================================
   IMPROVED SUBMENU DESIGN
   ========================================================================== */

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 280px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  padding: 1.5rem 0;
  border: 1px solid var(--gray-100);
  z-index: 1001;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Elegant top border accent */
.submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

/* Subtle background pattern */
.submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.has-submenu:hover .submenu::before {
  transform: scaleX(1);
}

.submenu li {
  margin: 0;
  position: relative;
}

.submenu a {
  padding: 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  border-left: 3px solid transparent;
}

/* Icon for each service */
.submenu a::before {
  content: "🚛";
  margin-right: 0.75rem;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

/* Different icons for different services */
.submenu li:nth-child(1) a::before { content: "🚛"; } /* Servicio de Grúa */
.submenu li:nth-child(2) a::before { content: "🚗"; } /* Remolque de Autos */
.submenu li:nth-child(3) a::before { content: "🛣️"; } /* Servicio de Carretera */
.submenu li:nth-child(4) a::before { content: "🛞"; } /* Cambio de Neumáticos */
.submenu li:nth-child(5) a::before { content: "🔋"; } /* Servicios de Baterías */
.submenu li:nth-child(6) a::before { content: "🚙"; } /* Autos Chatarras */
.submenu li:nth-child(7) a::before { content: "💰"; } /* Dinero por Autos Chatarras */

.submenu a:hover {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.08) 0%, rgba(245, 158, 11, 0.05) 100%);
  color: var(--primary-navy);
  border-left-color: var(--secondary-gold);
  transform: translateX(5px);
}

.submenu a:hover::before {
  transform: scale(1.2) rotate(5deg);
}

/* Hover effect with subtle animation */
.submenu a::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--secondary-gold);
  transition: width 0.3s ease;
}

.submenu a:hover::after {
  width: 20px;
}

/* Enhanced dropdown arrow animation */
.has-submenu > .nav-link i {
  transition: transform 0.3s ease;
}

.has-submenu:hover > .nav-link i {
  transform: rotate(180deg);
}

/* Staggered animation for submenu items */
.submenu li:nth-child(1) { animation-delay: 0.05s; }
.submenu li:nth-child(2) { animation-delay: 0.1s; }
.submenu li:nth-child(3) { animation-delay: 0.15s; }
.submenu li:nth-child(4) { animation-delay: 0.2s; }
.submenu li:nth-child(5) { animation-delay: 0.25s; }
.submenu li:nth-child(6) { animation-delay: 0.3s; }
.submenu li:nth-child(7) { animation-delay: 0.35s; }

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has-submenu:hover .submenu li {
  animation: slideInFromTop 0.4s ease forwards;
}

/* Enhanced focus states for accessibility */
.submenu a:focus {
  outline: 2px solid var(--secondary-gold);
  outline-offset: -2px;
  background: rgba(30, 58, 138, 0.1);
}

/* Smooth entrance animation */
.has-submenu:hover .submenu {
  animation: menuFadeIn 0.4s ease forwards;
}

@keyframes menuFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile submenu improvements */
.mobile-nav .submenu {
  position: static;
  background: var(--gray-50);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  margin: 0.5rem 0;
  padding: 0;
  border: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  min-width: auto;
}

.mobile-nav .submenu::before,
.mobile-nav .submenu::after {
  display: none;
}

.mobile-nav .submenu a {
  padding: 0.75rem 1.5rem;
  border-left: none;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.mobile-nav .submenu a:last-child {
  border-bottom: none;
}

.mobile-nav .submenu a:hover {
  background: var(--white);
  transform: none;
  border-left: none;
}

/* ==========================================================================
   END IMPROVED SUBMENU DESIGN
   ========================================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-normal);
}

/* IMPROVED HERO SECTION - BETTER READABILITY */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23f59e0b" opacity="0.2"/><circle cx="80" cy="30" r="1.5" fill="%231e3a8a" opacity="0.3"/><circle cx="40" cy="70" r="1" fill="%23f59e0b" opacity="0.4"/><circle cx="90" cy="80" r="2.5" fill="%231e3a8a" opacity="0.2"/></svg>');
  animation: float 20s ease-in-out infinite;
}

/* MUCH DARKER OVERLAY FOR BETTER TEXT READABILITY */
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(30, 58, 138, 0.85) 0%, 
    rgba(17, 24, 39, 0.8) 50%, 
    rgba(220, 38, 38, 0.75) 100%
  );
  /* Added additional dark overlay for maximum readability */
  background-image: 
    linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(17, 24, 39, 0.8) 50%, rgba(220, 38, 38, 0.75) 100%),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.animated-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
  animation: float-shapes 15s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: -5s;
  background: rgba(30, 58, 138, 0.08);
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes float-shapes {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-image, url("/placeholder.svg?height=1080&width=1920"));
  background-size: cover;
  background-position: center;
  z-index: -1;
  /* Additional filter to darken the background image */
  filter: brightness(0.4) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gray-900);
  box-shadow: var(--shadow-lg);
}

/* ENHANCED TEXT READABILITY */
.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: linear-gradient(45deg, var(--secondary-gold), var(--secondary-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-btn {
  font-size: 1rem;
  padding: 1.25rem 2.5rem;
}

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

.contact-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--secondary-gold);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.contact-btn:hover {
  background: var(--secondary-gold-light);
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.contact-btn.pulse {
  animation: pulse 2s infinite;
}

.contact-info-hero {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-label {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.contact-number {
  font-size: 1.125rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item-hero {
  text-align: center;
  background: rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(15px);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(245, 158, 11, 0.3);
  min-width: 120px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.stat-number-hero {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary-gold-light);
  margin-bottom: 0.25rem;
  text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(245, 158, 11, 0.5);
}

.stat-plus,
.stat-percent {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary-gold-light);
  margin-left: 0.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.stat-label-hero {
  display: block;
  font-size: 0.875rem;
  opacity: 0.95;
  font-weight: 600;
  margin-top: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 4;
}

.hero-nav-btn {
  width: 3rem;
  height: 3rem;
  border: none;
  background: rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-md);
}

.hero-nav-btn:hover {
  background: rgba(245, 158, 11, 0.4);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.hero-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.indicator.active {
  background: var(--secondary-gold);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  text-align: center;
  color: var(--white);
  z-index: 4;
}

.scroll-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.scroll-arrow {
  animation: bounce-vertical 2s infinite;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

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

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

@keyframes bounce-vertical {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Optimización para pantallas anchas y bajas */
@media (min-width: 1366px) and (max-height: 768px) {
  .hero {
    height: 85vh;
    margin-top: calc(var(--header-height) - 20px);
  }

  .hero-content {
    max-width: 900px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
  }

  .hero-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    margin-bottom: 2rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-item-hero {
    padding: 1rem 0.8rem;
  }
}

@media (min-width: 1920px) and (max-height: 1080px) {
  .hero {
    height: 80vh;
  }

  .hero-content {
    max-width: 1000px;
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }
}

@media (min-width: 1280px) and (max-height: 720px) {
  .hero {
    height: 90vh;
  }

  .hero-badge {
    margin-bottom: 1.5rem;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-text {
    margin-bottom: 2rem;
  }

  .hero-actions {
    margin-bottom: 2rem;
  }
}

/* Marquee Section */
.marquee-section {
  background: var(--gradient-primary);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  color: var(--white);
  font-weight: 600;
  font-size: 1.125rem;
}

.marquee-text {
  margin: 0 2rem;
}

.marquee-separator {
  color: var(--secondary-gold-light);
  font-size: 1.5rem;
}

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

/* About Section */
.about {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%231e3a8a" opacity="0.2"/><circle cx="15" cy="5" r="2" fill="%23f59e0b" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-images {
  position: relative;
}

.about-img-main {
  position: relative;
  z-index: 3;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about-img-main img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.about-img-main:hover .img-overlay {
  opacity: 1;
}

.about-img-main:hover img {
  transform: scale(1.05);
}

.play-button {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--secondary-gold);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.play-button:hover {
  transform: scale(1.1);
  background: var(--secondary-gold-light);
}

.about-img-secondary {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  z-index: 2;
  width: 60%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-secondary img {
  width: 100%;
  height: auto;
}

.experience-badge {
  position: absolute;
  top: 50%;
  left: -2rem;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  z-index: 4;
  box-shadow: var(--shadow-xl);
  min-width: 140px;
}

.experience-badge.floating {
  animation: float 3s ease-in-out infinite;
}

.experience-number {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  display: inline-block;
}

.experience-plus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary-gold-light);
  display: inline-block;
}

.experience-badge p {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  opacity: 0.9;
}

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

.dot-pattern {
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 6rem;
  height: 6rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><circle cx="5" cy="5" r="2" fill="%231e3a8a" opacity="0.3"/><circle cx="15" cy="5" r="2" fill="%23f59e0b" opacity="0.3"/></svg>');
}

.geometric-shape {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 4rem;
  height: 4rem;
  background: var(--secondary-gold);
  opacity: 0.2;
  border-radius: 50%;
}

.morph-svg-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 400px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

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

.morph-svg path {
  fill: var(--accent-green);
  opacity: 0.3;
  transition: fill 0.3s ease;
}

.about-text {
  position: relative;
}

.quote {
  position: relative;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-red);
}

.quote-icon {
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.about-text-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  color: var(--primary-navy);
  font-size: 1.25rem;
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats Section */
.stats {
  position: relative;
  background: var(--gray-900);
  overflow: hidden;
}

.stats-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/placeholder.svg?height=600&width=1920") center / cover;
  z-index: 1;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 3;
}

.modern-stat {
  text-align: center;
  color: var(--white);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(245, 158, 11, 0.3);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.modern-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left 0.5s ease;
}

.modern-stat:hover::before {
  left: 0;
}

.modern-stat:hover {
  transform: translateY(-0.5rem) scale(1.02);
  border-color: var(--secondary-gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.stat-icon {
  font-size: 3.5rem;
  color: var(--secondary-gold);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

.stat-content {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 4.5rem;
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-symbol {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary-gold-light);
  display: inline-block;
  margin-left: 0.25rem;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

/* Services Section */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.modern-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-100);
  position: relative;
}

.modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.modern-card:hover::before {
  transform: scaleX(1);
}

.modern-card:hover {
  transform: translateY(-0.75rem);
  box-shadow: var(--shadow-2xl);
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(245, 158, 11, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modern-card:hover .service-overlay {
  opacity: 1;
}

.modern-card:hover .service-image img {
  transform: scale(1.1);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--white);
  color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.service-content {
  padding: 2rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.service-description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-navy);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.service-link:hover {
  gap: 1rem;
}

/* CTA Section */
.cta {
  position: relative;
  background: var(--gray-900);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/placeholder.svg?height=600&width=1920") center / cover;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.95;
  z-index: 2;
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="3" fill="%23ffffff" opacity="0.1"/><circle cx="150" cy="80" r="2" fill="%23fbbf24" opacity="0.2"/></svg>');
  animation: float 15s ease-in-out infinite;
  z-index: 3;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 4;
  color: var(--white);
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.cta-phone {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-phone:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.cta-info {
  display: flex;
  flex-direction: column;
}

.cta-label {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.cta-number:hover {
  color: var(--secondary-gold-light);
}

.cta-text {
  flex: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.modern-testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--secondary-gold);
  position: relative;
  overflow: hidden;
}

.modern-testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient-soft);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.modern-testimonial:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating i {
  color: var(--secondary-gold);
  font-size: 1.125rem;
}

.quote-mark {
  font-size: 2rem;
  color: var(--primary-navy);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-gold-light);
  box-shadow: var(--shadow-md);
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
}

.author-role {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-marquee {
  background: var(--gradient-primary);
  padding: 1rem 0;
  overflow: hidden;
}

.footer-content {
  padding: 4rem 0;
}

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

.footer-logo {
  height: 4rem;
  margin-bottom: 1.5rem;
}

.footer-description {
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

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

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--secondary-gold-light);
}

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

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

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color var(--transition-normal);
  font-weight: 500;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-300);
  line-height: 1.5;
}

.contact-item i {
  color: var(--secondary-gold);
  width: 1.25rem;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-item a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.contact-item a:hover {
  color: var(--secondary-gold);
}

.footer-map iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  background: var(--gray-800);
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-700);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--secondary-gold);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.floating-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  color: var(--white);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.floating-btn:hover::before {
  left: 100%;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.floating-btn.whatsapp {
  background: #25d366;
}

.floating-btn.phone {
  background: var(--gradient-primary);
}

.floating-btn.facebook {
  background: #1877f2;
}

.floating-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  margin-right: 1rem;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 9998;
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-2xl);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--primary-navy);
}

.mobile-logo {
  height: 2.5rem;
  border-radius: 50%;
}

.desktop-logo {
  border-radius: 50%;
  object-fit: cover;
   height: 100%;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
  padding: 0.5rem;
}

.mobile-nav ul {
  list-style: none;
  padding: 1.5rem;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  transition: color var(--transition-normal);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover {
  color: var(--primary-navy);
}

.mobile-nav .has-submenu.active .submenu {
  display: block;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(2rem);
}

.fade-in.animated {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.reveal-img {
  opacity: 0;
  transform: scale(0.9);
}

.reveal-img.animated {
  opacity: 1;
  transform: scale(1);
  transition: all 0.8s ease;
}

.counter {
  opacity: 1;
}

.counter.animated {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Text Center Utility */
.text-center {
  text-align: center;
}

/* ENHANCED RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
    --header-height: 140px;
  }

  .submenu {
    min-width: 250px;
    padding: 1rem 0;
  }
  
  .submenu a {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

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

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .contact-info {
    gap: 1rem;
  }

  .contact-item-header {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --header-height: 80px;
  }

  .header-top {
    display: none !important;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .logo img {
    height: 2.5rem;
  }

  .hero {
    height: 90vh;
    margin-top: calc(var(--header-height) + 60px);
  }

  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-contact {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-item-hero {
    min-width: 100px;
    padding: 1rem 0.5rem;
  }

  .hero-controls {
    bottom: 1rem;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modern-stat {
    padding: 2rem 1rem;
  }

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

  .floating-actions {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .floating-btn {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .about-img-secondary {
    display: none;
  }

  .experience-badge {
    position: static;
    margin-top: 2rem;
    display: inline-block;
  }

  .cta-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-phone {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-top {
    padding: 0.75rem 0;
  }

  .contact-item-header {
    font-size: 0.8rem;
    padding: 0.4rem;
    max-width: 280px;
  }

  .contact-item-header i {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item-hero {
    min-width: auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .about-features {
    flex-direction: column;
  }

  .feature-item {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .contact-item {
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-item i {
    margin-top: 0;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }

  .hero-btn {
    padding: 1rem 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-symbol {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .contact-item-header {
    font-size: 0.75rem;
    max-width: 250px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 12vw, 2rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 1rem;
  }

  .stat-item-hero {
    min-width: 80px;
    padding: 0.8rem 0.5rem;
  }
}

/* Additional utility classes */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.no-scroll {
  overflow: hidden;
}

/* Print styles */
@media print {
  .header,
  .floating-actions,
  .scroll-to-top,
  .mobile-menu {
    display: none !important;
  }
  
  .hero {
    height: auto;
    margin-top: 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-navy: #000080;
    --secondary-gold: #ff8c00;
    --gray-600: #333333;
    --gray-700: #222222;
    --gray-800: #111111;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}













.header-main .logo img.desktop-logo {
  /* Ajusta este valor hasta que te guste el tamaño */
  transform: scale(1.8);
  /* Opcional: suaviza la animación on hover */
  transition: transform 0.3s ease;
  /* Asegúrate de que el logo quede centrado tras escalar */
  transform-origin: center center;
  /* Si no quieres que se desborde, puedes ocultar lo que exceda */
  overflow: hidden;
}
.header-main .logo img.desktop-logo:hover {
  transform: scale(1.4);
}
