/* =========================================================
   ENCORE — Design Tokens
   Single source of truth for the entire visual system.
   ========================================================= */

/* Bebas Neue — Self-hosted */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/BebasNeue-LatinExt.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/BebasNeue-Regular.woff2') format('woff2'),
       url('../assets/fonts/BebasNeue-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Bebas+Neue&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,700&display=swap');

:root {
  --navbar-height: 72px;
  --font-script: 'Alex Brush', cursive;

  /* --- Base Palette --- */
  --color-dark:          #0B2A33; /* Azul profundo: fondo principal */
  --color-blue-2:        #0F353F; /* Azul 2: tarjetas y capas sobre el fondo */
  --color-blue-3:        #133F4A; /* Azul 3: tarjetas y capas sobre el fondo */
  --color-mint:          #A9D5CB; /* Menta: acentos y plan Esencial */
  --color-mint-light:    #E0F0EC; /* Menta claro */
  --color-terracotta:    #B96852; /* Terracota: títulos en secciones claras */
  --color-terracotta-2:  #C9765F; /* Terracota 2: títulos en secciones claras */
  --color-ivory:         #F7F4EE; /* Marfil: fondos claros y texto sobre oscuro */
  --color-charcoal:      #202526; /* Carbón: texto sobre claro */

  /* --- Agregados (planes y lanzamiento) --- */
  --color-eggplant:       #4E2A4F; /* Berenjena: bloques de precio lanzamiento */
  --color-eggplant-light: #9C6E9E; /* Berenjena claro: plan Platinum */
  --color-burgundy:       #7A2335; /* Borgoña */
  --color-burgundy-light: #C04B63; /* Borgoña claro: plan Premium */
  --color-coral:          #E8836B; /* Coral: plan Plus, botones y destacados */

  /* --- Textos secundarios --- */
  --color-text-sec-1:    #C3D3CF;
  --color-text-sec-2:    #9FB3AF;

  /* --- Semantic & Legacy Mappings --- */
  --color-cream:         #F7F4EE;
  --color-cream-light:   #F7F4EE;
  --color-cream-dark:    #E0F0EC;
  --color-sand:          #C3D3CF;
  --color-gold:          #A9D5CB;
  --color-gold-light:    #E0F0EC;
  --color-dark-mid:      #0F353F;
  --color-dark-surface:  #133F4A;
  --color-burgundy-dark: #4E2A4F;

  /* Text */
  --color-text-primary:   #202526;
  --color-text-secondary: #4A5A5E;
  --color-text-muted:     #9FB3AF;
  --color-text-inverse:   #F7F4EE;

  /* Semantic */
  --color-success: #4a7c59;
  --color-warning: #f59e0b;
  --color-danger:  #C04B63;
  --color-error:   #C04B63;

  /* --- Typography --- */
  --font-sans: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-serif: 'Bebas Neue', Impact, sans-serif;
  --font-display: 'Bebas Neue', Impact, sans-serif;

  --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:  2rem;     /* 32px */
  --text-4xl:  2.5rem;   /* 40px */
  --text-5xl:  3rem;     /* 48px */

  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-loose: 1.8;

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Borders & Shadows --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);
  
  /* --- Transitions --- */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
}
