/* Основные переменные */
/*:root {
    --color-primary: #766B5D;
    --color-primary-light: #D4C7AF;
    --color-foreground: #3D3128;
    --color-background: #FFFFFF;
    --color-muted: #F5F3F0;
    --color-muted-foreground: #6B6259;
    --color-card: #FFFFFF;
    --color-border: #E8E2D9;
    --color-white: #FFFFFF;
    --font-heading: 'Georgia', serif;   !* замените на ваш шрифт *!
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-foreground);
    background: var(--color-background);
    line-height: 1.6;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}
.animate-pulse {
    animation: pulse 2.5s ease-in-out infinite;
}*/


/* ========== CSS ПЕРЕМЕННЫЕ (из макета) ========== */
:root {
    --font-size: 16px;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;

    --background: #FDFCFA;
    --foreground: #3D3128;
    --card: #EBE9DD;
    --card-foreground: #3D3128;
    --popover: #ffffff;
    --popover-foreground: #3D3128;
    --primary: #766B5D;
    --primary-foreground: #ffffff;
    --secondary: #EBE9DD;
    --secondary-foreground: #766B5D;
    --muted: #F2F0E8;
    --muted-foreground: #A8A696;
    --accent: #D4C7AF;
    --accent-foreground: #3D3128;
    --destructive: #c0392b;
    --destructive-foreground: #ffffff;
    --border: rgba(168, 166, 150, 0.35);
    --input: transparent;
    --input-background: #EBE9DD;
    --switch-background: #D4C7AF;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    --ring: rgba(118, 107, 93, 0.35);
    --chart-1: #766B5D;
    --chart-2: #D4C7AF;
    --chart-3: #A8A696;
    --chart-4: #EBE9DD;
    --chart-5: #3D3128;
    --radius: 0.625rem;
    --sidebar: #EBE9DD;
    --sidebar-foreground: #3D3128;
    --sidebar-primary: #766B5D;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #D4C7AF;
    --sidebar-accent-foreground: #3D3128;
    --sidebar-border: rgba(168, 166, 150, 0.35);
    --sidebar-ring: rgba(118, 107, 93, 0.35);
}

/* ========== БАЗОВЫЕ СБРОСЫ И ТИПОГРАФИКА ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: var(--font-weight-medium); }

/* Элементы форм */
label {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
}

button {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-body);
}

input {
    font-size: 1rem;
    font-weight: var(--font-weight-normal);
}

/* ========== ОБЩИЕ АНИМАЦИИ ========== */
@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}
.animate-pulse {
    animation: pulse 2.5s ease-in-out infinite;
}

/* ========== ТЁМНАЯ ТЕМА (если понадобится) ========== */
.dark {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.145 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.145 0 0);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(0.985 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: oklch(0.269 0 0);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.396 0.141 25.723);
    --destructive-foreground: oklch(0.637 0.237 25.331);
    --border: oklch(0.269 0 0);
    --input: oklch(0.269 0 0);
    --ring: oklch(0.439 0 0);
}





