/* ===========================================================================
   NOVA Desarrollos — Spacing, radii, shadows, motion
   ---------------------------------------------------------------------------
   Base unit: 4px. Calm, generous, editorial spacing — lots of air.
   =========================================================================== */

:root {
  /* --- Spacing scale (4px base) --------------------------------------- */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4  */
  --space-2:  0.5rem;   /* 8  */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 6rem;     /* 96 */
  --space-12: 8rem;     /* 128 */

  /* --- Container widths ----------------------------------------------- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1320px;
  --gutter:       clamp(1.25rem, 4vw, 4rem); /* @kind spacing */

  /* --- Radii — restrained, architectural ------------------------------ */
  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   18px;
  --radius-2xl:  28px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* --- Borders -------------------------------------------------------- */
  --border-width:       1px;
  --border-width-thick: 2px;

  /* --- Elevation / shadows — soft, low, warm-neutral ------------------ */
  --shadow-xs: 0 1px 2px rgba(14, 14, 13, 0.06);
  --shadow-sm: 0 2px 6px rgba(14, 14, 13, 0.07);
  --shadow-md: 0 10px 24px -8px rgba(14, 14, 13, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(14, 14, 13, 0.20);
  --shadow-xl: 0 40px 80px -24px rgba(14, 14, 13, 0.26);
  --shadow-focus: 0 0 0 3px rgba(60, 90, 148, 0.35);
  --shadow-inset: inset 0 1px 2px rgba(14, 14, 13, 0.06);

  /* --- Overlays & scrims ---------------------------------------------- */
  --scrim-bottom: linear-gradient(to top, rgba(14,14,13,0.78) 0%, rgba(14,14,13,0.35) 38%, rgba(14,14,13,0) 70%); /* @kind other */
  --scrim-full:   linear-gradient(to top, rgba(14,14,13,0.70) 0%, rgba(14,14,13,0.15) 100%); /* @kind other */
  --glass-bg:     rgba(255, 255, 255, 0.72);
  --glass-blur:   blur(14px); /* @kind other */

  /* --- Motion --------------------------------------------------------- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --ease-soft:  cubic-bezier(0.33, 1, 0.68, 1); /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   240ms; /* @kind other */
  --dur-slow:   420ms; /* @kind other */
  --dur-slower: 700ms; /* @kind other */

  /* --- Z-index -------------------------------------------------------- */
  --z-base:    1; /* @kind other */
  --z-sticky:  100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal:   1100; /* @kind other */
  --z-toast:   1200; /* @kind other */
}
