/* ============================================================
   variables.css — CSS Custom Properties for mebelnw.ru
   ============================================================ */

:root {
  /* ---- Colors ---- */
  --color-primary:    #1A1A2E;
  --color-accent:     #E94560;
  --color-accent-2:   #0F3460;
  --color-light:      #F5F5F5;
  --color-text:       #2D2D2D;
  --color-text-muted: #6B7280;
  --color-white:      #FFFFFF;
  --color-gold:       #D4A017;

  /* ---- WhatsApp ---- */
  --color-whatsapp: #25D366;

  /* ---- Typography ---- */
  --font-base: 'Inter', 'Roboto', sans-serif;

  --fs-h1:   clamp(1.8rem, 5vw, 3.4rem);
  --fs-h2:   clamp(1.8rem, 4vw, 3rem);
  --fs-h3:   clamp(1.1rem, 2vw, 1.4rem);
  --fs-lead: clamp(1rem, 2vw, 1.4rem);
  --fs-base: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold: 600;
  --fw-bold:    700;

  --lh-tight:  1.2;
  --lh-normal: 1.5;
  --lh-loose:  1.7;

  /* ---- Spacing ---- */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ---- Border Radius ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.20);
  --shadow-accent: 0 8px 24px rgba(233, 69, 96, 0.4);

  /* ---- Transitions ---- */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
  --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ---- Layout ---- */
  --container-max: 1280px;
  --container-pad: 1rem;

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

  /* ---- Header ---- */
  --header-height: 80px;
  --header-height-scrolled: 60px;
}

@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-pad: 3rem;
  }
}
