/* ===== СБРОС И ПЕРЕМЕННЫЕ ===== */
: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;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::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;
    overflow-x: hidden;
}

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-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.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;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #2A2526 0%, #3A3335 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="rgba(58,51,53,0.3)"/><stop offset="100%" stop-color="rgba(155,126,94,0.1)"/></linearGradient></defs><rect fill="url(%23g)" width="1440" height="900"/></svg>') center/cover;
    opacity: 0.6;
}

.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);
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: var(--rose);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero__actions .btn--outline {
    color: var(--white);
    border-color: var(--rose);
}

.hero__actions .btn--outline:hover {
    background: var(--rose);
    color: var(--dark);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--rose);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: var(--rose);
    animation: scrollPulse 2s ease infinite;
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(155, 126, 94, 0.15);
    transition: var(--transition);
}

.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);
    letter-spacing: 0.05em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__menu a {
    font-size: 0.8rem;
    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;
    transition: var(--transition);
}

.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: 101;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 120px 0;
}

.section__tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 48px;
    line-height: 1.3;
}

/* ===== МИССИЯ ===== */
.mission__text {
    max-width: 700px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.mission__text p + p {
    margin-top: 20px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.benefits { background: var(--white); }

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
}

.benefit-card { animation: fadeInUp 0.8s ease both; }
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card__icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #6B6365;
}

/* ===== АНОНСЫ ===== */
.events-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.event-card {
    background: var(--white);
    padding: 32px 24px;
    border: 1px solid rgba(155, 126, 94, 0.15);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.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: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.event-card__month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.event-card__info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.event-card__info p {
    font-size: 0.85rem;
    color: #6B6365;
}

/* ===== ФУТЕР ===== */
.footer {
    background: var(--dark);
    color: var(--rose);
    padding: 80px 0 0;
}

.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;
}

.footer__bottom a { color: var(--rose); text-decoration: underline; }

/* ===== COOKIE ===== */
.cookie {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 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: 200;
    transform: translateY(120px);
    transition: var(--transition);
}

.cookie--visible { transform: translateY(0); }

.cookie p {
    font-size: 0.8rem;
    line-height: 1.5;
    flex: 1;
}

.cookie .btn {
    padding: 10px 20px;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* Скрытые до скролла */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    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;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.05);
    }

    .nav__menu--open { right: 0; }

    .nav__burger { display: flex; }

    .benefits__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .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; }
}

@media (max-width: 480px) {
    .benefits__grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; align-items: center; }
}

/* Карточки как ссылки */
a.event-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold) !important;
}
a.benefit-card:hover {
    border-color: var(--gold) !important;
    transform: translateY(-2px);
}

/* Увеличенные шрифты */
body { font-size: 17px; }
.section__title { font-size: clamp(2rem, 4vw, 3.2rem) !important; }
.section__tag { font-size: 0.8rem !important; letter-spacing: 0.18em !important; }
.benefit-card h3 { font-size: 1.3rem !important; }
.benefit-card p { font-size: 1rem !important; }
.event-card__day { font-size: 2.4rem !important; }
.event-card__month { font-size: 0.8rem !important; }
.event-card__info h3 { font-size: 1.2rem !important; }
.event-card__info p { font-size: 0.95rem !important; }
.nav__menu a { font-size: 0.85rem !important; }
.footer { font-size: 0.9rem !important; }
.mission__text { font-size: 1.15rem !important; line-height: 2 !important; }
.hero__subtitle { font-size: clamp(1.1rem, 2.2vw, 1.4rem) !important; }

/* Чёрно-белые фото с эффектом при наведении */
.member-photo,
.benefit-card img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.member-photo:hover,
.benefit-card img:hover {
    filter: sepia(30%) grayscale(30%);
}
