/* ===================================
   DOMINIQUE NAVES - VISUAL DESIGN KIT
   ================================== */

/* PALETA DE COLORES - WCAG AA COMPLIANT */
:root {
  /* Colores principales */
  --primary-blush: #E8B4B8;        /* Rosa palo ajustado para mejor contraste */
  --primary-cobalt: #4A6FA5;       /* Azul suave para texto principal */
  --primary-blue: #4A6FA5;         /* Alias para consistencia */
  --primary-cream: #F5F1E6;        /* Crema de fondo */
  --primary-white: #FFFFFF;        /* Blanco puro */
  
  /* Colores secundarios y variantes */
  --blush-light: #F4E6E7;          /* Rosa muy claro para fondos */
  --blush-dark: #D4969A;           /* Rosa más oscuro para hover */
  --cobalt-light: #6B8FC4;         /* Azul más claro para hover */
  --cobalt-dark: #3A5A85;          /* Azul más oscuro para énfasis */
  
  /* Colores de acento - paleta orgánica */
  --accent-terracotta: #C9A58C;    /* Terracota suave */
  --accent-sage: #A8B5A0;          /* Verde salvia */
  --neutral-sand: #F5EBE0;         /* Arena neutral */
  
  /* Colores de estado */
  --success: #2D5A27;              /* Verde oscuro para éxito */
  --warning: #8B4513;              /* Marrón para advertencias */
  --error: #8B1538;                /* Rojo oscuro para errores */
  
  /* Grises neutros */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);
  
  /* Tipografía */
  --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-nav: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Dancing Script', cursive;
  
  /* Tamaños de fuente */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1.125rem; /* 18px - aumentado de 16px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.5rem;     /* 24px */
  --text-2xl: 1.875rem;  /* 30px */
  --text-3xl: 2.25rem;   /* 36px */
  --text-4xl: 3rem;      /* 48px */
  --text-5xl: 4rem;      /* 64px - aumentado */
  --text-6xl: 4.5rem;    /* 72px */
  
  /* Espaciado */
  --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 */
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Transiciones */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* RESET Y BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--gray-800);
  background-color: var(--primary-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TIPOGRAFÍA */
.font-primary { font-family: var(--font-primary); }
.font-heading { font-family: var(--font-heading); }
.font-accent { font-family: var(--font-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  color: var(--primary-cobalt);
  letter-spacing: -0.5px;
}

h1 { font-size: var(--text-5xl); margin-bottom: var(--space-6); font-weight: 300; }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-5); font-weight: 400; }
h3 { font-size: var(--text-3xl); margin-bottom: var(--space-4); font-weight: 500; }
h4 { font-size: var(--text-2xl); margin-bottom: var(--space-3); font-weight: 500; }
h5 { font-size: var(--text-xl); margin-bottom: var(--space-3); font-weight: 600; }
h6 { font-size: var(--text-lg); margin-bottom: var(--space-2); font-weight: 600; }

p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  max-width: 65ch;
}

.text-accent {
  font-family: var(--font-accent);
  color: var(--primary-blush);
}

/* BOTONES - SISTEMA COMPLETO */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 48px; /* Accesibilidad - tamaño mínimo de toque */
  position: relative;
  overflow: hidden;
}

/* Botón primario - CTA principal */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blush) 0%, var(--blush-dark) 100%);
  color: var(--primary-white);
  border-color: var(--primary-blush);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blush-dark) 0%, var(--primary-blush) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Botón secundario */
.btn-secondary {
  background: transparent;
  color: var(--primary-cobalt);
  border-color: var(--primary-cobalt);
}

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

/* Botón de WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: var(--primary-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-white);
  font-size: var(--text-2xl);
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 25px 50px -12px rgba(37, 211, 102, 0.4);
}

/* CARDS Y COMPONENTES */
.card {
  background: var(--primary-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
}

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

.card-service {
  text-align: center;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--primary-white) 0%, var(--blush-light) 100%);
}

.card-testimonial {
  background: var(--primary-cream);
  border-left: 4px solid var(--primary-blush);
  font-style: italic;
}

.card-blog {
  overflow: hidden;
}

.card-blog img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

/* FORMULARIOS */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-cobalt);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--primary-white);
  transition: all var(--transition-fast);
  min-height: 48px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blush);
  box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.1);
}

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

/* NAVEGACIÓN */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: var(--space-5) 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(232, 180, 184, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-link {
  color: var(--primary-cobalt);
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-nav);
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  background: var(--blush-light);
  color: var(--primary-cobalt);
}

/* SECCIONES */
.section {
  padding: var(--space-20) 0;
}

.section-hero {
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--blush-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-alt {
  background: var(--primary-cream);
}

/* CONTENEDOR */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* GRID SYSTEM */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

/* UTILIDADES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* RESPONSIVE */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ACCESIBILIDAD */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible para navegación por teclado */
.btn:focus-visible,
.form-input:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--primary-blush);
  outline-offset: 2px;
}

/* MODO OSCURO DESACTIVADO - Mantener colores originales en todos los dispositivos */
/* @media (prefers-color-scheme: dark) {
  :root {
    --primary-white: #1a1a1a;
    --primary-cobalt: #E8E8E8;
    --primary-cream: #2a2a2a;
    --gray-100: #333333;
    --gray-200: #404040;
  }
} */
