/* ============================================================
   BASE: переменные, сброс, типографика
   ============================================================ */

:root {
    /* Фирменные */
    --brand-red: #c1272d;
    --brand-red-dark: #9e1f24;
    --brand-red-soft: #f7e7e8;

    /* Тёплая база */
    --bg-cream: #faf6f0;
    --bg-warm: #f0e9df;
    --card-white: #ffffff;

    /* Текст */
    --text-main: #2b2320;
    --text-muted: #7a6d64;
    --text-light: #a89b91;

    /* Акценты */
    --accent-gold: #d4a574;
    --accent-blue: #3b6b8f;

    /* Границы и тени */
    --border-soft: #e8dfd3;
    --border-strong: #d8ccb8;
    --shadow-sm: 0 1px 3px rgba(43, 35, 32, 0.06);
    --shadow-md: 0 4px 16px rgba(43, 35, 32, 0.08);
    --shadow-lg: 0 12px 32px rgba(43, 35, 32, 0.12);

    /* Типографика */
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;

    /* Радиусы */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Тайминги */
    --t-fast: 0.15s ease;
    --t-base: 0.25s ease;
    --t-slow: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-main);
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-main);
}

a {
    color: var(--brand-red);
    text-decoration: none;
    transition: color var(--t-fast);
}

a:hover {
    color: var(--brand-red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Скрытие */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}