/* ============================================================================
 * DESIGN TOKENS — SISTEMA DE ADAPTACIÓN DE MARCA (CAPA 1 de 3)
 * ============================================================================
 *
 * ESTE ES EL ÚNICO ARCHIVO CSS QUE SE EDITA PARA CAMBIAR LOS COLORES DE MARCA.
 *
 * Cómo adaptar a un cliente real:
 *   1. Reemplaza los valores de --brand-* y --accent-* con la paleta del cliente.
 *   2. No toques nada más — toda la plantilla recalcula automáticamente.
 *
 * Filosofía de diseño:
 *   - "Clinical Luxury": profundo sofisticado, confianza médica premium
 *   - Deep Slate (petróleo) como primary: más lujo que "branding genérico azul claro"
 *   - Mint Clinical como accent: frescura, esterilidad, cuidado
 *   - Surfaces limpias con sutileza cromática
 *
 * Las otras 2 capas de adaptación:
 *   - CAPA 2: assets/  (logo, favicon, imágenes)
 *   - CAPA 3: js/config.js (textos, datos de contacto, servicios)
 * ============================================================================ */

:root {
  /* ── Color primario: Deep Slate de la plantilla (Fase 2 recalibrar con logo real) ─ */
  --brand-50:  #e8f1fb;
  --brand-100: #c5d9f3;
  --brand-200: #8fb5e6;
  --brand-300: #5990d9;
  --brand-400: #2a6ec9;
  --brand-500: #0b58b5;
  --brand-600: #004ba5;  /* ← Color principal de marca */
  --brand-700: #003e89;
  --brand-800: #00316d;
  --brand-900: #002451;
  --brand-950: #001735;

  /* ── Color de acento: Gris corporativo (#6b6a6a) ─── */
  --accent-50:  #f9f9f9;
  --accent-100: #f2f2f2;
  --accent-200: #e5e5e5;
  --accent-300: #d4d4d4;
  --accent-400: #a3a3a3;
  --accent-500: #6b6a6a;  /* Acción secundaria / Gris del logo */
  --accent-600: #525252;
  --accent-700: #404040;
  --accent-800: #262626;
  --accent-900: #171717;

  /* ── Superficies limpias con tinte azul muy sutil ────────────── */
  --surface:       #ffffff;
  --surface-muted: #f8fafc;
  --surface-soft:  #f1f5f9;
  --surface-card:  #ffffff;

  /* ── Fondo oscuro ───────────────────────────────────────────── */
  --dark-bg:       #00285c;

  /* ── Texto ──────────────────────────────────────────────────────────── */
  --text:       #1e293b;   /* Slate-800: más dramático que #334155 */
  --text-muted: #475569;   /* Slate-600 */
  --text-light: #94a3b8;   /* Slate-400 */

  /* ── Semantic colors ────────────────────────────────────────────────── */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger:  #dc2626;

  /* ── Tipografía ─────────────────────────────────────────────────────── */
  --font-display: 'Fraunces', 'Georgia', serif;      /* Serif moderna premium */
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* ── Radios de borde (consistente con el sistema rad-ui) ────────────── */
  --radius-sm:   0.4375rem;  /* 7px */
  --radius-md:   0.625rem;   /* 10px */
  --radius-lg:   0.875rem;   /* 14px */
  --radius-xl:   1.125rem;   /* 18px */
  --radius-2xl:  1.5rem;     /* 24px */
  --radius-full: 9999px;

  /* ── Sombras Premium (deep blue tint) ────── */
  --shadow-sm:   0 2px 8px rgba(0, 40, 92, 0.04);
  --shadow-md:   0 8px 24px rgba(0, 40, 92, 0.06);
  --shadow-lg:   0 16px 48px rgba(0, 40, 92, 0.09);
  --shadow-xl:   0 24px 64px rgba(0, 40, 92, 0.13);
  --shadow-2xl:  0 32px 80px rgba(0, 40, 92, 0.16);
  --shadow-glow: 0 12px 40px rgba(0, 75, 165, 0.25);

  /* ── Sombras para botones ────────────────────────────────────────────── */
  --shadow-btn-primary:  0 4px 14px rgba(0, 75, 165, 0.4);
  --shadow-btn-accent:   0 4px 14px rgba(107, 106, 106, 0.35);
  --shadow-btn-whatsapp: 0 4px 14px rgba(37, 211, 102, 0.35);

  /* ── Focus ring accesible ────────────────────────────────────────────── */
  --focus-ring: 0 0 0 3px rgba(0, 75, 165, 0.2);

  /* ── Transiciones (curva "Apple-like") ───────────────────────────────── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);     /* Responsive + snappy */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* Bounce subtle */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   600ms;

  /* ── Z-index scale ────────────────────────────────────────────────────── */
  --z-below:   -1;
  --z-base:    0;
  --z-content: 10;
  --z-sticky-cta: 50;
  --z-header:  100;
  --z-overlay: 199;
  --z-menu:    200;
  --z-wa-float: 90;
  --z-toast:   300;
}
