/* ========================================
   ECOSISTIA PROFESSIONAL DESIGN SYSTEM
   Diseño Corporativo y Minimalista
   ======================================== */

/* ========================================
   1. VARIABLES DE DISEÑO PROFESIONAL
   ======================================== */
:root {
  /* Colores Corporativos */
  --corp-primary: #1e40af;        /* Azul corporativo profundo */
  --corp-primary-light: #3b82f6;  /* Azul más claro para hover */
  --corp-primary-dark: #1e3a8a;   /* Azul más oscuro */
  
  /* Escala de Grises Profesional */
  --corp-gray-900: #111827;
  --corp-gray-800: #1f2937;
  --corp-gray-700: #374151;
  --corp-gray-600: #4b5563;
  --corp-gray-500: #6b7280;
  --corp-gray-400: #9ca3af;
  --corp-gray-300: #d1d5db;
  --corp-gray-200: #e5e7eb;
  --corp-gray-100: #f3f4f6;
  --corp-gray-50: #f9fafb;
  --corp-white: #ffffff;
  
  /* Colores de Acento */
  --corp-success: #059669;
  --corp-error: #dc2626;
  --corp-warning: #f59e0b;
  
  /* Tipografía Profesional */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Escala Tipográfica Modular */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  
  /* Pesos Tipográficos */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Sistema de Espaciado (8px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  
  /* Sombras Sutiles */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --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);
  
  /* Bordes */
  --border-radius-sm: 0.25rem;  /* 4px */
  --border-radius-md: 0.375rem; /* 6px */
  --border-radius-lg: 0.5rem;   /* 8px */
  
  /* Transiciones */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ========================================
   2. RESET Y BASE PROFESIONAL
   ======================================== */
body {
  font-family: var(--font-primary);
  color: var(--corp-gray-900);
  background-color: var(--corp-white);
  line-height: 1.6;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   3. HERO SECTION PROFESIONAL
   ======================================== */
.hero {
  min-height: 90vh;
  background: var(--corp-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
}

/* Eliminar fondos oscuros anteriores */
.hero::before {
  display: none !important;
}

/* Patrón sutil de fondo */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, var(--corp-gray-50) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--corp-gray-50) 0%, transparent 50%);
  z-index: 0;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: 1.1;
  color: var(--corp-gray-900);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

/* Texto destacado sin gradiente */
.text-gradient {
  color: var(--corp-primary) !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
  font-weight: var(--font-bold);
  display: inline;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--corp-gray-600);
  margin-bottom: var(--space-10);
  line-height: 1.6;
  font-weight: var(--font-regular);
}

/* ========================================
   4. BOTONES PROFESIONALES
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
}

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

.btn-primary:hover {
  background-color: var(--corp-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--corp-white);
  color: var(--corp-primary);
  border: 2px solid var(--corp-gray-200);
}

.btn-secondary:hover {
  background-color: var(--corp-gray-50);
  border-color: var(--corp-gray-300);
}

/* Eliminar todos los gradientes de botones */
.btn-primary,
.btn-secondary,
.btn {
  background-image: none !important;
}

/* ========================================
   5. NAVEGACIÓN PROFESIONAL
   ======================================== */
.header {
  background: var(--corp-white);
  border-bottom: 1px solid var(--corp-gray-200);
  padding: var(--space-4) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--corp-gray-900);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
}

.nav-link {
  color: var(--corp-gray-700);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color var(--transition-base);
  font-size: var(--text-base);
}

.nav-link:hover {
  color: var(--corp-primary);
}

/* ========================================
   6. CARDS PROFESIONALES
   ======================================== */
.card {
  background: var(--corp-white);
  border: 1px solid var(--corp-gray-200);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Eliminar sombras excesivas y efectos dramáticos */
.floating-card,
.service-card,
.feature-card {
  animation: none !important;
  box-shadow: var(--shadow-sm) !important;
}

/* ========================================
   7. SECCIONES PROFESIONALES
   ======================================== */
.section {
  padding: var(--space-20) 0;
  background: var(--corp-white);
}

.section-alt {
  background: var(--corp-gray-50);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--corp-gray-900);
  text-align: center;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--corp-gray-600);
  text-align: center;
  margin-bottom: var(--space-12);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   8. FORMULARIOS PROFESIONALES
   ======================================== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--corp-gray-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 1px solid var(--corp-gray-300);
  border-radius: var(--border-radius-md);
  background: var(--corp-white);
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--corp-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* ========================================
   9. FOOTER PROFESIONAL
   ======================================== */
.footer {
  background: var(--corp-gray-900);
  color: var(--corp-gray-300);
  padding: var(--space-16) 0 var(--space-8) 0;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ========================================
   10. UTILIDADES PROFESIONALES
   ======================================== */
.text-muted {
  color: var(--corp-gray-500);
}

.text-small {
  font-size: var(--text-sm);
}

.text-large {
  font-size: var(--text-lg);
}

/* Eliminar animaciones innecesarias */
* {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
}

/* Mantener solo transiciones sutiles */
a, button, input, textarea, .card {
  transition: all var(--transition-base);
}

/* ========================================
   11. RESPONSIVE PROFESIONAL
   ======================================== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .nav-menu {
    display: none;
  }
}

/* ========================================
   12. ELIMINAR ELEMENTOS NO PROFESIONALES
   ======================================== */
/* Eliminar formas geométricas flotantes */
.geometric-shape,
.shape-1,
.shape-2,
.shape-3 {
  display: none !important;
}

/* Eliminar gradientes de texto */
.gradient-text,
.gradient-primary,
.gradient-secondary {
  background: none !important;
  background-image: none !important;
}