:root {
    --bg: #FAF7F2;
    --text: #3A3335;
    --accent: #9B7E5E;
    --gold: #C9A96E;
    --rose: #D4C5B9;
    --white: #FFFFFF;
    --dark: #2A2526;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-weight: 300;
    line-height: 1.7;
    font-size: 17px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.4s;
}
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--white); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #2A2526 0%, #3A3335 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero__content { position: relative; z-index: 2; padding: 0 24px; }
.hero__title { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 600; color: var(--white); margin-bottom: 20px; }
.hero__subtitle { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 300; color: var(--rose); max-width: 600px; margin: 0 auto; }

/* Навигация */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250,247,242,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(155,126,94,0.15);
}
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__menu a { font-size: 0.85rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s; }
.nav__menu a:hover { color: var(--gold); }
.nav__cta { color: var(--gold) !important; font-weight: 500 !important; border: 1px solid var(--gold); padding: 8px 20px; }
.nav__cta:hover { background: var(--gold); color: var(--white) !important; }

/* Бургер */
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.nav__burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: 0.4s; }

/* Секции */
.section { padding: 120px 0; }
.section__tag { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section__title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; color: var(--dark); margin-bottom: 48px; line-height: 1.3; }

/* Миссия */
.mission__text { max-width: 700px; margin-bottom: 40px; font-size: 1.15rem; line-height: 2; }
.mission__text p + p { margin-top: 20px; }

/* Сетки */
.benefits { background: var(--white); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.events-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.benefit-card { animation: fadeInUp 0.8s ease both; }
.benefit-card h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.benefit-card p { font-size: 1rem; line-height: 1.7; color: #6B6365; }
.benefit-card__icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 16px; }

/* События */
.event-card { background: var(--white); padding: 32px 24px; border: 1px solid rgba(155,126,94,0.15); display: flex; gap: 20px; transition: 0.4s; }
.event-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.event-card__date { display: flex; flex-direction: column; align-items: center; min-width: 50px; }
.event-card__day { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.event-card__month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.event-card__info h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.event-card__info p { font-size: 0.95rem; color: #6B6365; }

/* Футер */
.footer { background: var(--dark); color: var(--rose); padding: 80px 0 0; font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--white); margin-bottom: 12px; display: block; }
.footer__brand p { font-size: 0.85rem; max-width: 300px; }
.footer__links h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 20px; }
.footer__links ul li { margin-bottom: 10px; }
.footer__links a { font-size: 0.85rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(212,197,185,0.15); padding: 24px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; flex-wrap: wrap; gap: 12px; }

/* Cookie */
.cookie { position: fixed; bottom: 24px; left: 24px; max-width: 500px; background: var(--white); border: 1px solid rgba(155,126,94,0.2); padding: 20px 24px; display: flex; align-items: center; gap: 20px; z-index: 500; transform: translateY(150px); transition: 0.4s; }
.cookie--visible { transform: translateY(0); }
.cookie p { font-size: 0.8rem; line-height: 1.5; }
.cookie .btn { padding: 10px 20px; font-size: 0.75rem; white-space: nowrap; }

/* ЧБ фото */
.benefit-card img, .member-photo, .photo-preview, img[src*="uploads"], img[src*="images"] {
    filter: grayscale(100%); transition: filter 0.5s ease;
}
.benefit-card img:hover, .member-photo:hover, .photo-preview:hover, img[src*="uploads"]:hover, img[src*="images"]:hover {
    filter: sepia(30%) grayscale(30%);
}

/* Анимации */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        z-index: 999;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    }
    .nav__menu--open { right: 0; }
    .nav__burger { display: flex; }
    .benefits__grid, .events-preview__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
    .footer__brand p { max-width: 100%; }
    .footer__bottom-inner { flex-direction: column; text-align: center; }
    .section { padding: 80px 0; }
    .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; width: calc(100% - 24px); flex-direction: column; text-align: center; }
    .hero__title { font-size: 2rem; }
}
