/**
 * Design tokens — Nayma
 * Paleta cálida: forest, sage, sand, taupe, charcoal.
 */

:root,
[data-theme="light"],
[data-theme="dark"] {
  color-scheme: light;

  --forest: #1a3c34;
  --sage: #6a8c7a;
  --sand: #f5f1eb;
  --taupe: #d9cfc2;
  --charcoal: #1e2421;
  --white: #ffffff;

  /* Surfaces */
  --bg-primary: var(--sand);
  --bg-secondary: var(--white);
  --bg-tertiary: #efe9df;
  --bg-elevated: var(--white);
  --bg-sand: var(--sand);
  --bg-glass: rgba(245, 241, 235, 0.85);
  --bg-glass-strong: rgba(245, 241, 235, 0.94);
  --bg-overlay: rgba(30, 36, 33, 0.06);

  /* Text */
  --text-primary: var(--charcoal);
  --text-secondary: #4a534e;
  --text-muted: #6f7772;
  --text-inverse: var(--sand);
  --text-on-photo: #f5f1eb;

  /* Brand */
  --accent-color: var(--forest);
  --accent-color-hover: var(--sage);
  --accent-color-muted: rgba(106, 140, 122, 0.16);
  --accent-color-ring: rgba(26, 60, 52, 0.22);
  --accent-warm: var(--taupe);
  --color-sale: var(--forest);
  --color-rent: var(--sage);

  /* Borders & effects */
  --border-subtle: rgba(217, 207, 194, 0.7);
  --border-default: var(--taupe);
  --border-strong: #c4b8a8;
  --shadow-sm: 0 4px 16px rgba(30, 36, 33, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 36, 33, 0.08);
  --shadow-lg: 0 24px 56px rgba(30, 36, 33, 0.1);
  --shadow-glow: 0 0 40px rgba(26, 60, 52, 0.08);

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 0.9375rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: clamp(2rem, 4.6vw, 2.625rem);
  --line-height-tight: 1.18;
  --line-height-body: 1.65;

  /* Layout */
  --nav-height: 72px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --container-max: 1120px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.18s;
  --duration-normal: 0.32s;

  /* Legacy aliases */
  --bg-deep: var(--bg-primary);
  --bg-card: var(--bg-secondary);
  --text: var(--text-primary);
  --accent: var(--accent-color);
  --accent-dim: var(--accent-color-muted);
  --border: var(--border-default);
  --radius: var(--radius-md);
  --shadow: var(--shadow-lg);
  --nav-h: var(--nav-height);
}
