/* ============================================
   RECERA.RU — CSS Custom Properties (Design Tokens)
   Industrial Premium Theme
   ============================================ */

:root {
    /* ---- Colors ---- */
    --color-bg:              #0A0A0A;
    --color-bg-elevated:     #1A1A1A;
    --color-bg-hover:        #222222;
    --color-border:          #2A2A2A;
    --color-border-light:    #333333;

    --color-accent:          #E30613;
    --color-accent-hover:    #FF1A27;
    --color-accent-dark:     #B00510;

    --color-text-primary:    #FFFFFF;
    --color-text-secondary:  #FFFFFF;
    --color-text-muted:      #666666;

    --color-success:         #2ECC71;
    --color-error:           #E74C3C;
    --color-overlay:         rgba(0, 0, 0, 0.7);

    /* ---- Typography ---- */
    --font-primary:          'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:             'Source Code Pro', 'Courier New', monospace;

    --fs-hero:               clamp(2.5rem, 5vw, 4.5rem);
    --fs-h1:                 clamp(2rem, 4vw, 3.5rem);
    --fs-h2:                 clamp(1.75rem, 3vw, 2.5rem);
    --fs-h3:                 clamp(1.25rem, 2vw, 1.75rem);
    --fs-h4:                 clamp(1.1rem, 1.5vw, 1.375rem);
    --fs-body:               1rem;
    --fs-body-lg:            1.125rem;
    --fs-small:              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.6;
    --lh-relaxed:            1.8;

    /* ---- Spacing ---- */
    --section-padding:       clamp(4rem, 8vw, 7.5rem);
    --section-padding-sm:    clamp(3rem, 5vw, 5rem);
    --container-padding:     1.5rem;
    --container-max:         1200px;
    --gutter:                1.5rem;

    /* ---- Borders ---- */
    --radius-sm:             4px;
    --radius-md:             8px;
    --radius-lg:             12px;
    --radius-full:           9999px;
    --border-width:          1px;

    /* ---- Transitions ---- */
    --transition-fast:       0.2s ease;
    --transition-base:       0.3s ease;
    --transition-slow:       0.5s ease;

    /* ---- Shadows ---- */
    --shadow-card:           0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover:     0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-accent:    0 0 30px rgba(227, 6, 19, 0.15);

    /* ---- Z-Index ---- */
    --z-backdrop:            100;
    --z-mobile-menu:         200;
    --z-header:              300;
    --z-tooltip:             400;
    --z-modal:               500;
    --z-back-to-top:         150;

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