/* ==========================================================================
   Bohemian & Chic — Design Tokens
   ==========================================================================
   Variables CSS que alimentan todo el sistema visual. Hereda de
   docs/03-DESIGN.md (override del premium-wordpress-design-system.md padre).
   No modificar valores sin actualizar primero docs/01-MEMORY.md y docs/03-DESIGN.md.
   ========================================================================== */

:root {
	/* ── Colores · Neutrales cálidos ─────────────────────────
	   Paleta derivada del mockup oficial entregado por la cliente
	   (`client-input/assets/referencias-visuales/mockup-home-cliente.png`).
	   Muestreo de píxeles real, MEMORY #17. */
	--bc-black:        #1A1714;
	--bc-white:        #FFFFFF;
	--bc-off-white:    #F4F5EF; /* body + header — off-white frío del mockup */
	--bc-bg-warm:      #F1E9D6; /* footer + newsletter — crema cálido «amarillito» del mockup */
	--bc-light-gray:   #EDE6DA;
	--bc-mid-gray:     #B8AC98;
	--bc-dark-gray:    #4A3F35;
	--bc-text:         #503019; /* marrón profundo del mockup (iconos, body, headings) */
	--bc-text-muted:   #6A462C; /* tono intermedio del mockup */
	--bc-border:       #E0D7C5;
	--bc-border-dark:  #503019;

	/* ── Colores · Acento tierra (rol UX) ─────────────────────
	   Sustituye al teja `#A85636` rechazado por la cliente
	   en reunión 2026-05-25 («tan chillón»). Nueva paleta
	   muestreada del mockup que ella misma creó. MEMORY #17. */
	--bc-accent:       #C1A07D; /* beige tostado del trust bar del mockup */
	--bc-accent-light: #D6BEA0;
	--bc-accent-deep:  #A18D6A; /* tierra oscura de la sección OPINIONES del mockup */

	/* ── Color de marca (cobre-cognac del nuevo logo) ──────
	   Color del lockup BOHEMIAN&CHIC en navbar/footer/manifest.
	   Uso: acento de marca en CTAs ligeros, hover de bc-btn--white,
	   theme-color del manifest. Distinto del --bc-accent UX. */
	--bc-brand:        #9A5A2D;

	/* ── Colores · Estados semánticos ────────────────────── */
	--bc-success:      #5C7A4A;
	--bc-error:        #B45A3A;
	--bc-info:         #4A6175;

	/* ── Tipografía ──────────────────────────────────────── */
	--bc-font-display: 'Cormorant Garamond', Georgia, serif;
	--bc-font-serif:   'Fraunces', Georgia, serif;
	--bc-font-sans:    'Inter', system-ui, -apple-system, sans-serif;
	--bc-font-script:  'Caveat', cursive;

	/* ── Tipografía · Escala fluida (clamp min, vw, max) ─── */
	--bc-fs-xs:    0.75rem;
	--bc-fs-sm:    0.875rem;
	--bc-fs-base:  0.9375rem;
	--bc-fs-md:    1.125rem;
	--bc-fs-lg:    1.375rem;
	--bc-fs-xl:    clamp(1.5rem,   2.5vw, 2rem);
	--bc-fs-2xl:   clamp(1.875rem, 3.5vw, 3rem);
	--bc-fs-3xl:   clamp(2.5rem,   5vw,   4rem);
	--bc-fs-4xl:   clamp(2.75rem,  6vw,   5rem);

	/* ── Tipografía · Pesos (los variables soportan rango) ─ */
	--bc-fw-light:   300;
	--bc-fw-regular: 400;
	--bc-fw-medium:  500;
	--bc-fw-semi:    600;
	--bc-fw-bold:    700;

	/* ── Tipografía · Line height ────────────────────────── */
	--bc-lh-tight:   1.1;
	--bc-lh-snug:    1.2;
	--bc-lh-normal:  1.4;
	--bc-lh-relaxed: 1.65;
	--bc-lh-loose:   1.7;

	/* ── Tipografía · Letter spacing ─────────────────────── */
	--bc-ls-tight:   -0.02em;
	--bc-ls-normal:  0;
	--bc-ls-wide:    0.04em;
	--bc-ls-wider:   0.08em;
	--bc-ls-widest:  0.18em;
	--bc-ls-overline: 0.3em;

	/* ── Espaciado base ──────────────────────────────────── */
	--bc-space-xs:   0.5rem;   /*  8px */
	--bc-space-sm:   1rem;     /* 16px */
	--bc-space-md:   2rem;     /* 32px */
	--bc-space-lg:   4rem;     /* 64px */
	--bc-space-xl:   6rem;     /* 96px */
	--bc-space-2xl:  10rem;    /* 160px */

	/* ── Containers ──────────────────────────────────────── */
	--bc-container:    1400px;
	--bc-container-md: 1200px;
	--bc-container-sm: 960px;
	--bc-container-xs: 720px;
	--bc-container-px: clamp(1.25rem, 4vw, 3rem);

	/* ── Breakpoints (referencia, no se usan en CSS directamente) ── */
	--bc-bp-sm: 480px;
	--bc-bp-md: 768px;
	--bc-bp-lg: 1024px;
	--bc-bp-xl: 1280px;
	--bc-bp-2xl: 1440px;

	/* ── Border radius ───────────────────────────────────── */
	--bc-radius:        0;     /* premium = sin redondeo */
	--bc-radius-pill:   9999px;/* solo si necesidad muy puntual */

	/* ── Border width ────────────────────────────────────── */
	--bc-border-w:    1px;
	--bc-border-w-2:  2px;

	/* ── Transiciones ────────────────────────────────────── */
	--bc-transition:        0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--bc-transition-fast:   0.2s ease;
	--bc-transition-slow:   0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

	/* ── Easings nombrados ───────────────────────────────── */
	--bc-ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
	--bc-ease-out-quart:   cubic-bezier(0.25, 1, 0.5, 1);
	--bc-ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
	--bc-ease-canon:       cubic-bezier(0.25, 0.46, 0.45, 0.94);

	/* ── Shadows ─────────────────────────────────────────── */
	--bc-shadow-soft:   0 1px 2px rgba(26, 23, 20, 0.04), 0 4px 12px rgba(26, 23, 20, 0.06);
	--bc-shadow-medium: 0 2px 4px rgba(26, 23, 20, 0.05), 0 12px 32px rgba(26, 23, 20, 0.10);
	--bc-shadow-deep:   0 8px 24px rgba(26, 23, 20, 0.12), 0 24px 64px rgba(26, 23, 20, 0.16);

	/* ── Z-index canónicos ───────────────────────────────── */
	--bc-z-base:     1;
	--bc-z-sticky:   100;
	--bc-z-dropdown: 200;
	--bc-z-overlay:  8000;
	--bc-z-modal:    9000;
	--bc-z-toast:    9500;
	--bc-z-loader:   9999;

	/* ── Aspect ratios ───────────────────────────────────── */
	--bc-ar-product:  3/4;
	--bc-ar-category: 4/5;
	--bc-ar-blog:     3/2;
	--bc-ar-hero:     16/9;
	--bc-ar-video:    16/9;
	--bc-ar-square:   1/1;
}

/* ── Honor prefers-reduced-motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	:root {
		--bc-transition:      0s;
		--bc-transition-fast: 0s;
		--bc-transition-slow: 0s;
	}
}
