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

:root {
  /* Paleta "Mineral Fresh" - Armonía y Accesibilidad */
  --primary-color: #0f4c81;    /* Azul Clásico (Confianza) */
  --accent-color: #0d9488;     /* Teal / Turquesa (Energía Calma) */
  --accent-hover: #0f766e;     /* Teal Intenso */
  --bg-color: #f8fafc;         /* Azul Grisáceo Muy Pálido */
  --bg-secondary: #f1f5f9;     /* Slate Ligero */
  --text-main: #1e293b;        /* Slate Oscuro (Máximo Contraste) */
  --text-muted: #64748b;       /* Gris Slate Suave */
  --border-color: rgba(0, 0, 0, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.85);
  
  /* Sombras "Cloud Shadows" - Luminosas y Suaves */
  --shadow-sm: 0 1px 3px rgba(15, 76, 129, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 76, 129, 0.08), 0 4px 6px -2px rgba(15, 76, 129, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 76, 129, 0.1);
  
  /* Formas Orgánicas */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition-gentle: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7; /* Mejorado para seniors */
}

/* Headers & Navigation */
.navbar-custom {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-color);
  padding: 0.75rem 1.5rem;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--accent-color);
}

/* Tipografía Estilizada */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary-color);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4b5563 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Orgánico */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-gentle);
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Botones Premium Refinados */
.btn-premium {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-gentle);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-premium:hover {
  background: #000;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-premium-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 9px 23px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition-gentle);
}

/* Inputs de Alta Gama */
.form-control-premium {
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-gentle);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.form-control-premium:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.08);
  outline: none;
}

/* Tablas Minimalistas */
.table-modern {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-modern thead th {
  background-color: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table-modern tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

/* Forms */
.form-control-premium {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.form-control-premium:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.1);
  outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
