/* ============= CSS VARIABLES ============= */

:root {
    --primary-blue: #1e3a8a;           /* более глубокий синий */
    --primary-blue-light: #3b82f6;     /* акцентный синий */
    --primary-orange: #f97316;         /* мягкий оранжевый */
    --primary-orange-dark: #ea580c;    /* темный оранжевый */
    --bg-light: #f3f4f6;               /* светло-серый фон */
    --bg-white: #ffffff;
    --text-dark: #111827;              /* почти черный */
    --text-gray: #6b7280;              /* серый текст */
    --border-light: #e5e7eb;
    --success-green: #10b981;
    --error-red: #ef4444;

    /* типографика и размеры */
    --font-family-base: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --radius-base: 8px;
}

/* ============= BASE STYLES ============= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

p {
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
    color: var(--text-gray);
}

a {
    color: var(--primary-blue-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue);
}

button {
    font-family: inherit;
}

/* утилиты */

.text-center { text-align: center; }
.text-muted { color: var(--text-gray); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

@media (prefers-reduced-motion: reduce) {
    .animated-bg *,
    .animated-bg {
        animation: none !important;
        transition: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animated-bg *,
    .animated-bg,
    .hero-background {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-name: none !important;
    }
}
