/* Шаманский Краснодар, shamanrussia.ru.
   Палитра из логотипа: кремовый фон, тёмно-зелёный, озёрный синий, золото. */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-v40-cyrillic_latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-v40-cyrillic_latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2');
}

:root {
  --cream: #f8f3e7;       /* фон страницы */
  --cream-deep: #f0e7d2;  /* чередование секций, карточки */
  --pine: #1d3b2c;        /* основной текст, тёмно-зелёный */
  --pine-soft: #2e5741;   /* заголовки-акценты */
  --lake: #38648f;        /* синий вторичный */
  --gold: #c8963e;        /* кнопки */
  --gold-deep: #a87a2b;   /* ховер кнопок */
  --line: #ddd0b0;        /* границы */
  --mist: #57655c;        /* вторичный текст, контраст ~5:1 на тёмном креме */
  --ribbon: linear-gradient(90deg,
    #2e5741 0% 20%, #38648f 20% 40%, #b23a3a 40% 60%,
    #d9a441 60% 80%, #efe6cf 80% 100%);  /* ленты серге */
  --display: 'Playfair Display', 'Georgia', serif;
  --body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--cream);
  color: var(--pine);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--lake); }

/* ── Шапка ─────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(248, 243, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pine);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}
.topbar__brand img { border-radius: 50%; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.topbar__nav a {
  color: var(--pine-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.topbar__nav a:hover { color: var(--gold-deep); }

/* ── Кнопки ────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--gold {
  background: var(--gold);
  color: #1d3b2c; /* тёмный текст на золоте: контраст 4.6:1 (AA) */
}
.btn--gold:hover { background: #d9a441; }
.btn--line {
  border: 2px solid var(--pine-soft);
  color: var(--pine-soft);
}
.btn--line:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

/* ── Общее для секций ──────────────────── */
section { padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 48px); }
section[id] { scroll-margin-top: 72px; } /* якоря не прячутся под sticky-шапкой */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6522;
  text-align: center;
  margin-bottom: 32px;
}
h1, h2, h3 { font-family: var(--display); color: var(--pine); }

/* ── Hero ──────────────────────────────── */
.hero {
  text-align: center;
  padding-top: clamp(40px, 7vw, 80px);
}
.hero__emblem img {
  width: clamp(220px, 46vw, 360px);
  height: auto;
  margin: 0 auto 28px;
  border-radius: 50%;
  box-shadow: 0 12px 44px rgba(29, 59, 44, 0.18);
}
.hero__title {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero__sub {
  color: var(--mist);
  font-size: clamp(17px, 2.4vw, 20px);
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Мероприятия ───────────────────────── */
.events { background: var(--cream-deep); }
.timeline { max-width: 780px; margin: 0 auto; display: grid; gap: 22px; }
.event {
  display: flex;
  gap: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 32px);
}
.event--featured { border-color: var(--gold); border-width: 2px; }
.event__when {
  flex: 0 0 84px;
  text-align: center;
  padding-top: 4px;
}
.event__date {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-deep);
}
.event__month { display: block; font-size: 15px; color: var(--mist); }
.event__body h2 { font-size: clamp(21px, 3vw, 26px); margin-bottom: 6px; }
.event__meta { color: var(--mist); font-size: 15px; margin-bottom: 10px; }
.event__body p { margin-bottom: 12px; }
.events__note {
  text-align: center;
  color: var(--mist);
  font-size: 15px;
  margin-top: 26px;
}

/* ── Приём ─────────────────────────────── */
.priem__grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}
.priem__col h2 { font-size: clamp(21px, 3vw, 26px); margin-bottom: 14px; }
.priem__col p { margin-bottom: 14px; }
.priem__list { list-style: none; }
.priem__list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.priem__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Лавка ─────────────────────────────── */
.lavka { background: var(--cream-deep); }
.lavka__intro {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}
.lavka__grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.lavka-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 22px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lavka-card__ribbon {
  height: 6px;
  margin: 0 -22px 18px;
  background: var(--ribbon);
}
.lavka-card h3 { font-size: 21px; margin-bottom: 8px; }
.lavka-card p { color: var(--mist); font-size: 15px; margin-bottom: 16px; }
.lavka-card__count { color: var(--pine-soft); font-weight: 600; }
.lavka-card .btn { margin-top: auto; align-self: flex-start; padding: 10px 22px; font-size: 15px; }

/* ── Контакты ──────────────────────────── */
.contacts { text-align: center; }
.contacts__grid {
  max-width: 860px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}
.contact__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.contact__value { font-weight: 600; color: var(--pine); }
.contacts__cta { margin-top: 4px; }

/* ── Подвал ────────────────────────────── */
.footer {
  padding: 26px 16px 34px;
  text-align: center;
  font-size: 14px;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

/* ── Появление при скролле ─────────────── */
.has-js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.has-js .reveal.is-in { opacity: 1; transform: none; }
