/**
 * Purewell — Variables Globales de Diseño
 *
 * Este archivo centraliza todas las variables de colores, tipografía,
 * espaciados y otros valores de diseño para toda la marca Purewell.
 *
 * @version 1.0
 * @updated 2025-11-12
 */

:root {
  /* ============================================
     🎨 COLORES DE MARCA
     ============================================ */

  /* Colores primarios */
  --pw-primary: #547131;
  --pw-primary-rgb: 84, 113, 49;

  --pw-secondary: #8B5E3B;
  --pw-secondary-rgb: 139, 94, 59;

  /* Tintes del color primario (verde) */
  --pw-green-tint-1: #7F9465;
  --pw-green-tint-2: #AAB898;
  --pw-green-tint-3: #D4DCCC;

  /* Tintes del color secundario (café) */
  --pw-brown-tint-1: #A8866C;
  --pw-brown-tint-2: #C5AF9D;
  --pw-brown-tint-3: #E2D7CE;

  /* Neutrales */
  --pw-black: #000000;
  --pw-gray-900: #404040;
  --pw-gray-700: #808080;
  --pw-gray-400: #BFBFBF;
  --pw-white: #FFFFFF;

  /* Colores de acento */
  --pw-dark-gold: #B07F2C;
  --pw-dark-gold-tint-1: #C49F61;
  --pw-dark-gold-tint-2: #D8BF96;
  --pw-dark-gold-tint-3: #EBDFCA;

  --pw-light-beige: #EDE0D4;
  --pw-light-beige-tint-1: #F2E8DF;
  --pw-light-beige-tint-2: #F6F0EA;
  --pw-light-beige-tint-3: #FBF7F4;

  --pw-warm-gray: #D98E04;
  --pw-warm-gray-tint-1: #E2A840;
  --pw-warm-gray-tint-2: #EAC37C;
  --pw-warm-gray-tint-3: #F3DDB8;

  --pw-dark-grape: #503373;
  --pw-dark-grape-tint-1: #7C6696;
  --pw-dark-grape-tint-2: #A899B9;
  --pw-dark-grape-tint-3: #D3CCDC;

  --pw-golden-yellow: #C49A5A;
  --pw-golden-yellow-tint-1: #D3B383;
  --pw-golden-yellow-tint-2: #E2CDAD;
  --pw-golden-yellow-tint-3: #F0E6D6;

  --pw-dark-olive: #3D5229;
  --pw-dark-olive-tint-1: #6E7D5F;
  --pw-dark-olive-tint-2: #9EA994;
  --pw-dark-olive-tint-3: #CFD4CA;

  --pw-rich-chocolate: #6A432D;
  --pw-rich-chocolate-tint-1: #8F7262;
  --pw-rich-chocolate-tint-2: #B5A196;
  --pw-rich-chocolate-tint-3: #DAD0CB;

  /* ============================================
     📝 COLORES DE TEXTO
     ============================================ */

  --pw-text: #1a1a1a;
  --pw-text-secondary: var(--pw-gray-700);
  --pw-text-inverse: var(--pw-white);

  /* ============================================
     🅰️ TIPOGRAFÍA
     ============================================ */

  /* Familias de fuente */
  --pw-font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pw-font-serif: "Merriweather", Georgia, "Times New Roman", serif;

  /* Pesos de fuente */
  --pw-font-weight-regular: 400;
  --pw-font-weight-medium: 500;
  --pw-font-weight-semibold: 600;
  --pw-font-weight-bold: 700;
  --pw-font-weight-extrabold: 800;
  --pw-font-weight-black: 900;

  /* Tamaños de fuente */
  --pw-text-xs: 0.75rem;      /* 12px */
  --pw-text-sm: 0.875rem;     /* 14px */
  --pw-text-base: 1rem;       /* 16px */
  --pw-text-lg: 1.125rem;     /* 18px */
  --pw-text-xl: 1.25rem;      /* 20px */
  --pw-text-2xl: 1.5rem;      /* 24px */
  --pw-text-3xl: 2rem;        /* 32px */
  --pw-text-4xl: 2.5rem;      /* 40px */
  --pw-text-5xl: 3rem;        /* 48px */
  --pw-text-6xl: 3.75rem;     /* 60px */

  /* Line heights */
  --pw-leading-none: 1;
  --pw-leading-tight: 1.1;
  --pw-leading-snug: 1.2;
  --pw-leading-normal: 1.4;
  --pw-leading-relaxed: 1.6;
  --pw-leading-loose: 1.75;

  /* Letter spacing */
  --pw-tracking-tight: -0.01em;
  --pw-tracking-normal: 0;
  --pw-tracking-wide: 0.02em;
  --pw-tracking-wider: 0.05em;

  /* ============================================
     📐 ESPACIADOS
     ============================================ */

  --pw-space-1: 0.25rem;      /* 4px */
  --pw-space-2: 0.5rem;       /* 8px */
  --pw-space-3: 0.75rem;      /* 12px */
  --pw-space-4: 1rem;         /* 16px */
  --pw-space-5: 1.25rem;      /* 20px */
  --pw-space-6: 1.5rem;       /* 24px */
  --pw-space-8: 2rem;         /* 32px */
  --pw-space-10: 2.5rem;      /* 40px */
  --pw-space-12: 3rem;        /* 48px */
  --pw-space-16: 4rem;        /* 64px */
  --pw-space-20: 5rem;        /* 80px */
  --pw-space-24: 6rem;        /* 96px */

  /* ============================================
     📦 BORDES Y RADIOS
     ============================================ */

  --pw-radius-sm: 0.25rem;    /* 4px */
  --pw-radius-md: 0.5rem;     /* 8px */
  --pw-radius-lg: 1rem;       /* 16px */
  --pw-radius-xl: 1.5rem;     /* 24px */
  --pw-radius-full: 9999px;

  --pw-border-width: 1px;
  --pw-border-width-2: 2px;
  --pw-border-width-4: 4px;

  /* ============================================
     🌈 SOMBRAS
     ============================================ */

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

  /* ============================================
     🎬 TRANSICIONES
     ============================================ */

  --pw-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --pw-transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --pw-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ============================================
     📱 BREAKPOINTS (para uso con @media)
     ============================================ */

  --pw-breakpoint-sm: 640px;
  --pw-breakpoint-md: 768px;
  --pw-breakpoint-lg: 1024px;
  --pw-breakpoint-xl: 1280px;
  --pw-breakpoint-2xl: 1536px;

  /* ============================================
     📏 CONTENEDORES
     ============================================ */

  --pw-container-sm: 640px;
  --pw-container-md: 768px;
  --pw-container-lg: 1024px;
  --pw-container-xl: 1280px;
}

/* ============================================
   🌓 MODO OSCURO (opcional)
   ============================================ */

@media (prefers-color-scheme: dark) {
  :root {
    /* Puedes definir variaciones para modo oscuro aquí */
  }
}
