/* =====================================================
   Design Tokens — Capsule Homes Investment
   Premium Minimalist Style
   ===================================================== */

:root {
    /* === Цвета === */
    --color-primary: #FFAB00;
    /* Янтарный/Оранжевый (Action) */
    --color-primary-hover: #E69900;
    --color-secondary: #0A192F;
    /* Глубокий синий (Reliability) */

    --color-accent: #FFAB00;
    /* Тот же янтарный для акцентов */

    --color-bg: #FFFFFF;
    --color-bg-alt: #F3F4F6;
    --color-bg-dark: #0A192F;
    /* Темный фон */

    --color-text: #1F2937;
    --color-text-light: #FFFFFF;
    --color-text-muted: #9CA3AF;

    --color-overlay: rgba(10, 25, 47, 0.6);
    /* Темно-синий оверлей 60% */

    /* === Типографика === */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 2rem;
    /* 32px */
    --text-4xl: 3rem;
    /* 48px */
    --text-5xl: 4rem;
    /* 64px — крупные заголовки hero */
    --text-6xl: 5rem;
    /* 80px — очень крупные */
    --text-display: 6rem;
    /* 96px — для NOW-стиля */

    /* === Отступы === */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* === Скругления === */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    /* Pill-кнопки */

    /* === Тени === */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* === Анимации === */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === CSS Reset === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* === Container === */
.container {
    max-width: 1600px;
    /* Increased from 1200px to widen the layout */
    margin: 0 auto;
    padding: 0 var(--space-lg);
    /* Increased padding slightly */
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-xl);
    }
}