/* ============================================================
   EL HORNO DE ANA — Design Tokens
   Extracted from Stitch "Horno Artesano" Design System
   ============================================================ */

:root {
  /* ─── Color Palette ─────────────────────────────────── */
  
  /* Surfaces & Backgrounds */
  --color-bg:                 #FEF9F1;
  --color-surface:            #FFFFFF;
  --color-surface-low:        #F8F3EB;
  --color-surface-mid:        #F2EDE5;
  --color-surface-high:       #ECE8E0;
  --color-surface-dim:        #DED9D2;
  
  /* Primary — Stone Brown (headings, navigation) */
  --color-primary:            #685A45;
  --color-primary-container:  #81725C;
  --color-primary-fixed:      #F3E0C4;
  --color-primary-fixed-dim:  #D6C4A9;
  
  /* Secondary — Terracotta (CTA, accent, links) */
  --color-secondary:          #A23F1A;
  --color-secondary-container:#FD8359;
  --color-secondary-fixed:    #FFDBD0;
  --color-secondary-hover:    #822803;
  
  /* Tertiary — Warm Chocolate (dark sections) */
  --color-tertiary:           #6E5749;
  --color-tertiary-container: #887061;
  --color-tertiary-fixed:     #FBDDCA;
  
  /* Text & On Surface */
  --color-text:               #1D1C17;
  --color-text-secondary:     #4C463D;
  --color-text-muted:         #7E766C;
  --color-text-on-primary:    #FFFFFF;
  --color-text-on-dark:       #F5F0E8;
  
  /* Structural */
  --color-outline:            #7E766C;
  --color-outline-light:      #CFC5BA;
  --color-divider:            rgba(207, 197, 186, 0.5);
  
  /* Dark Sections (footer, banners) */
  --color-dark:               #32302B;
  --color-dark-surface:       #3D3530;
  
  /* Feedback */
  --color-error:              #BA1A1A;
  --color-success:            #4E7A51;
  
  /* WhatsApp */
  --color-whatsapp:           #25D366;
  --color-whatsapp-hover:     #1DA851;

  /* ─── Typography ────────────────────────────────────── */
  --font-headline:  'Playfair Display', 'Noto Serif', Georgia, serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale (modular — 1.25 ratio) */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --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:   3.75rem;    /* 60px */

  /* Font Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* Line Heights */
  --leading-tight:   1.2;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Letter Spacing */
  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.05em;
  --tracking-wider:  0.1em;

  /* ─── Spacing ───────────────────────────────────────── */
  --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 */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* Section vertical padding */
  --section-py: clamp(3rem, 8vw, 6rem);

  /* ─── Layout ────────────────────────────────────────── */
  --container-max:   1280px;
  --container-wide:  1400px;
  --container-px:    clamp(1rem, 5vw, 2rem);

  /* ─── Borders & Radius ──────────────────────────────── */
  --radius-sm:   0.25rem;  /* 4px */
  --radius-md:   0.5rem;   /* 8px */
  --radius-lg:   0.75rem;  /* 12px */
  --radius-xl:   1rem;     /* 16px */
  --radius-2xl:  1.5rem;   /* 24px */
  --radius-full: 100vw;

  /* ─── Shadows ───────────────────────────────────────── */
  --shadow-sm:   0 1px 3px rgba(104, 90, 69, 0.06);
  --shadow-md:   0 4px 12px rgba(104, 90, 69, 0.08);
  --shadow-lg:   0 8px 24px rgba(104, 90, 69, 0.10);
  --shadow-xl:   0 16px 32px rgba(104, 90, 69, 0.12);

  /* ─── Transitions ───────────────────────────────────── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* ─── Z-Index ───────────────────────────────────────── */
  --z-base:      1;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;
}
