:root {
  --bg:    #ffffff;
  --alt:   #f5f1ec;   /* секции через одну — тёплый беж */
  --warm:  #e9e4dd;   /* карточка героя */
  --ink:   #2a2724;   /* основной текст и заголовки */
  --mut:   #6f6862;   /* вторичный текст */
  --line:  #e6e0d8;   /* тонкие разделители */
  --accent:#98744e;   /* кнопки — кофейно-коричневый */
  --accent-dk:#7d5e3c;
  --accent-soft:#e0d0c2; /* кружки иконок */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.section { scroll-margin-top: 78px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
a { color: var(--ink); }

/* ── Шапка ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.3rem 2.5rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink);
  display: flex; align-items: baseline; letter-spacing: -0.02em;
}
.nav__brand span {
  font-weight: 400; font-size: .72rem; color: var(--mut); margin-left: .6rem;
  text-transform: uppercase; letter-spacing: .15em;
}
.nav__menu { display: flex; gap: 1.9rem; margin-left: auto; align-items: center; }
.nav__menu a {
  color: var(--mut); text-decoration: none; font-size: .9rem; font-weight: 500;
  letter-spacing: 0; transition: color .2s;
}
.nav__menu a:hover { color: var(--accent); }
.nav__info + .nav__cta, .nav__menu + .nav__cta { margin-left: 1.9rem; }
.nav__info { margin-left: auto; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__info + .nav__cta { margin-left: 1.5rem; }
.nav__cta {
  padding: .65rem 1.5rem; background: var(--accent); color: #fff;
  text-decoration: none; font-size: .88rem; font-weight: 600;
  border-radius: 100px; transition: opacity .2s;
}
.nav__cta:hover { opacity: .82; }

/* ── Кнопки ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 1rem 2.6rem;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: .95rem; font-weight: 600; border-radius: 100px; border: none;
  cursor: pointer; font-family: 'Manrope', sans-serif; transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn--full { width: 100%; padding: 1.1rem; }

/* ── Герой ──────────────────────────────────────────────── */
.hero {
  max-width: 980px; margin: 0 auto;
  padding: 9rem 2rem 7rem; text-align: center;
}
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .25em; font-size: .78rem;
  font-weight: 600; color: var(--mut); margin-bottom: 2rem;
}
.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800;
  margin-bottom: 1.8rem;
}
.hero__lead {
  font-size: 1.25rem; color: var(--mut); max-width: 680px; margin: 0 auto 2.8rem;
  line-height: 1.55; font-weight: 400;
}

/* ── Герой-событие ──────────────────────────────────────── */
.event { max-width: 1240px; margin: 0 auto; padding: 2.5rem 2rem 4rem; }
.event__card {
  background: linear-gradient(140deg, #efeae2 0%, #e3dacd 100%);
  border-radius: 30px; padding: 3.2rem;
  display: grid; grid-template-columns: 0.85fr 1.35fr 0.8fr; gap: 2.6rem; align-items: center;
}
.event__visual { display: flex; align-items: center; justify-content: center; }
.event__visual svg { width: 78%; max-width: 230px; filter: drop-shadow(0 8px 24px rgba(124,94,60,.2)); }
.event__eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .74rem;
  font-weight: 700; color: var(--accent-dk); margin-bottom: 1rem;
}
.event__title {
  font-size: clamp(1.8rem, 3.4vw, 3.1rem); font-weight: 800; text-transform: uppercase;
  line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 1.8rem; color: var(--ink);
}
.event__meta { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.event__meta li { display: flex; align-items: flex-start; gap: .85rem; font-size: 1.05rem; color: var(--ink); font-weight: 500; line-height: 1.4; }
.event__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft);
  flex-shrink: 0; font-size: 1rem;
}
.event__aside { display: flex; flex-direction: column; gap: 1.3rem; }
.event__pill {
  background: #fff; border-radius: 18px; padding: 1.3rem 1.5rem;
  font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.4;
  box-shadow: 0 6px 20px rgba(124,94,60,.08);
}
.event__place { font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.45; }

/* ── Ведущий (фото + биография) ─────────────────────────── */
.speaker { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: start; }
.speaker__photo {
  background: linear-gradient(140deg, #efeae2, #e3dacd);
  border-radius: 24px; overflow: hidden;
}
.speaker__photo img { width: 100%; height: auto; display: block; }
.speaker__bio p { font-size: 1.08rem; line-height: 1.65; color: var(--mut); margin-bottom: 1.1rem; }
.speaker__bio p:first-child { color: var(--ink); font-weight: 600; font-size: 1.18rem; }
.speaker--reverse .speaker__photo { order: 2; }
.speaker--reverse .speaker__bio { order: 1; }
@media (max-width: 760px) {
  .speaker { grid-template-columns: 1fr; gap: 1.8rem; }
  .speaker__photo { max-width: 340px; margin: 0 auto; }
  .speaker--reverse .speaker__photo { order: 0; }
  .speaker--reverse .speaker__bio { order: 1; }
}

/* ── Полоса призыва ─────────────────────────────────────── */
.cta-band {
  background: linear-gradient(140deg, #efeae2 0%, #e3dacd 100%);
  text-align: center; padding: 5.5rem 2rem;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 800; color: var(--ink);
  max-width: 760px; margin: 0 auto 2.2rem; line-height: 1.15;
}
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { opacity: .88; }

/* ── Секции ─────────────────────────────────────────────── */
.section { padding: 6.5rem 2rem; max-width: 1080px; margin: 0 auto; }
.section--alt {
  background: var(--alt); max-width: none;
  padding-left: 0; padding-right: 0;
}
.section--alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }
.section__head { margin: 0 auto 3.5rem; max-width: 780px; text-align: center; }
.section__kicker {
  text-transform: uppercase; letter-spacing: .22em; font-size: .76rem;
  font-weight: 600; color: var(--mut); margin-bottom: 1rem;
}
.section__title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
.section__title--xl { font-size: clamp(2.3rem, 6vw, 4.2rem); text-transform: uppercase; line-height: 1.04; letter-spacing: -0.02em; }

/* ── Программа — карточки (как референс) ────────────────── */
.parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.part {
  background: #f4eee4; border: 1.5px solid rgba(152,116,78,.42); border-radius: 26px;
  padding: 2.3rem 2.1rem;
}
.part h3 { color: var(--accent-dk); font-size: 1.4rem; font-weight: 800; line-height: 1.18; margin-bottom: .85rem; }
.part p { color: var(--accent); font-size: 1.08rem; line-height: 1.5; font-weight: 500; }
.section__sub { font-size: 1.15rem; color: var(--mut); margin-top: 1.2rem; line-height: 1.55; }

/* ── Программа (нумерованные шаги) ──────────────────────── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 2.5rem; align-items: flex-start;
  padding: 2.4rem 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: 2.4rem; font-weight: 800; color: var(--ink); opacity: .18;
  line-height: 1; min-width: 3rem; letter-spacing: -0.05em;
}
.step__body h3 { font-size: 1.5rem; margin-bottom: .7rem; font-weight: 700; }
.step__body p { color: var(--mut); font-size: 1.05rem; max-width: 720px; }

/* ── Текстовый блок «Для кого» ──────────────────────────── */
.lead-block { max-width: 740px; margin: 0 auto; text-align: center; }
.lead-block p { font-size: 1.25rem; color: var(--ink); margin-bottom: 1.4rem; line-height: 1.5; font-weight: 400; }
.lead-block p:last-child { color: var(--mut); }

/* ── Статьи (список ссылок) ─────────────────────────────── */
.posts { display: flex; flex-direction: column; }
.post-link {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.7rem 0; border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: padding-left .25s;
}
.posts .post-link:last-child { border-bottom: 1px solid var(--line); }
.post-link:hover { padding-left: .6rem; }
.post-link__tag {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--mut); min-width: 110px; font-weight: 600;
}
.post-link h3 { font-size: 1.35rem; font-weight: 600; flex-grow: 1; letter-spacing: -0.02em; }
.post-link__arrow { font-size: 1.3rem; color: var(--mut); transition: transform .25s; }
.post-link:hover .post-link__arrow { transform: translateX(6px); color: var(--ink); }

/* ── Отзывы ─────────────────────────────────────────────── */
.reviews {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem;
}
.review {
  margin: 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 2.2rem; display: flex; flex-direction: column;
}
.review blockquote {
  margin: 0; flex-grow: 1; font-size: 1.05rem; line-height: 1.6; color: var(--ink); font-weight: 400;
}
.review figcaption {
  margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-weight: 700; font-size: 1rem; color: var(--ink);
}

/* ── Форма записи ───────────────────────────────────────── */
.reg-form { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.reg-form[hidden] { display: none; }
.reg-field { display: flex; flex-direction: column; gap: .5rem; }
.reg-field > span { font-size: .82rem; font-weight: 600; color: var(--mut); }
.reg-field input, .reg-field select {
  width: 100%; box-sizing: border-box;
  font-family: 'Manrope', sans-serif; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: none; border-bottom: 1.5px solid var(--line);
  padding: .85rem .2rem; transition: border-color .2s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.reg-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6968' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .3rem center; padding-right: 2rem; cursor: pointer;
}
.reg-field input:focus, .reg-field select:focus { outline: none; border-color: var(--ink); }
.reg-field input::placeholder { color: #b5b3b0; }
.reg-consent {
  display: flex; align-items: flex-start; gap: .65rem; max-width: 520px;
  margin: -.4rem auto 0; font-size: .82rem; line-height: 1.5; color: var(--mut);
  cursor: pointer; text-align: left;
}
.reg-consent input[type="checkbox"] {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: .12rem;
  accent-color: var(--accent); cursor: pointer;
}
.reg-consent a { color: var(--accent-dk); text-decoration: underline; }
.reg-consent a:hover { color: var(--accent); }
.reg__done {
  max-width: 520px; margin: 0 auto; text-align: center; color: var(--ink);
  border: 1px solid var(--line); background: var(--alt); border-radius: 16px; padding: 2.2rem; line-height: 1.5;
}
.reg__done-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.reg__done-info { font-size: 1rem; color: var(--mut); margin-bottom: .8rem; }
.reg__done-info strong { color: var(--ink); }
.reg__done-tg { margin-top: 1rem; display: inline-block; }

/* Древо жизни — подсказки на сфирот */
.sfira { cursor: pointer; transition: fill .15s ease; }
.sfira:hover { fill: #f4e3d0; }
.sfira-tip {
  position: fixed; z-index: 200; max-width: 250px; pointer-events: none;
  background: var(--ink); color: #fff; padding: .7rem .9rem; border-radius: 12px;
  font-size: .86rem; line-height: 1.4; box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.sfira-tip strong { display: block; color: var(--accent-soft); margin-bottom: .25rem; font-weight: 700; }
.sfira-tip[hidden] { display: none; }

/* ── Контакты ───────────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 860px; margin: 0 auto; }
.contacts__item {
  background: var(--alt); border-radius: 16px; padding: 1.5rem 1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  transition: transform .25s, box-shadow .25s;
}
.contacts__item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(124,94,60,.1); }
.contacts__label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; color: var(--accent-dk); margin-bottom: .4rem; font-weight: 700; }
.contacts__item p { font-size: .9rem; font-weight: 600; line-height: 1.35; word-break: break-word; }
.contacts__item a { text-decoration: none; }
.contacts__item a:hover { opacity: .65; }
@media (max-width: 620px) { .contacts { grid-template-columns: repeat(2, 1fr); } }
#contacts .section__head { margin-bottom: 2rem; }

/* ── Подвал ─────────────────────────────────────────────── */
.footer { text-align: center; padding: 4rem 2rem; border-top: 1px solid var(--line); }
.footer__brand { font-weight: 700; font-size: 1.1rem; }
.footer__muted { font-size: .95rem; color: var(--mut); margin-top: .6rem; }
.footer__links { font-size: .9rem; margin-top: 1.2rem; }
.footer__links a { color: var(--accent-dk); text-decoration: none; }
.footer__links a:hover { color: var(--accent); text-decoration: underline; }
.footer__copy { font-size: .8rem; color: var(--mut); opacity: .7; margin-top: 1rem; }

/* ══ Страницы статей (.post) ════════════════════════════════ */
.post { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.post__back { display: inline-block; color: var(--mut); text-decoration: none; font-size: .9rem; font-weight: 600; margin-bottom: 2.5rem; }
.post__back:hover { color: var(--ink); }
.post__tag { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; color: var(--mut); margin-bottom: 1rem; }
.post__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 1.4rem; }
.post__lead { font-size: 1.3rem; color: var(--mut); margin-bottom: 2.5rem; line-height: 1.5; }
.post__body p { font-size: 1.12rem; line-height: 1.75; margin-bottom: 1.4rem; color: #2b2a29; }
.post__body h2 { font-size: 1.7rem; font-weight: 700; margin: 2.6rem 0 1rem; }
.post__body ul { margin: 0 0 1.4rem 1.2rem; }
.post__body li { font-size: 1.12rem; line-height: 1.7; margin-bottom: .6rem; color: #2b2a29; }
.post__quote {
  border-left: 3px solid var(--ink); padding: .4rem 0 .4rem 1.6rem; margin: 2.2rem 0;
  font-size: 1.3rem; font-weight: 600; font-style: normal; color: var(--ink); line-height: 1.4;
}
.post__end { text-align: center; color: var(--mut); font-size: 1.5rem; margin: 3rem 0 0; }
.post__cta { max-width: 720px; margin: 3rem auto 0; padding: 0 2rem; }

/* ── Планшет ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .event__card { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.2rem; text-align: center; }
  .event__visual { order: -1; }
  .event__visual svg { max-width: 140px; }
  .event__meta li { text-align: left; }
  .event__meta { max-width: 460px; margin-left: auto; margin-right: auto; }
  .nav__info { display: none; }
}

/* ── Мобильные ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .nav { gap: .55rem 1rem; padding: .8rem 1.1rem; flex-wrap: wrap; justify-content: space-between; }
  .nav__brand { font-size: .98rem; }
  .nav__brand span { display: none; }
  .nav__cta { padding: .55rem 1.2rem; font-size: .85rem; }
  .nav__menu {
    order: 3; width: 100%; margin-left: 0; gap: 1.25rem;
    justify-content: center; flex-wrap: wrap; padding-top: .15rem;
  }
  .nav__menu a { font-size: .85rem; }
  .event { padding: 1.2rem 1rem 3rem; }
  .event__card { padding: 1.8rem 1.4rem; border-radius: 22px; }
  .parts { grid-template-columns: 1fr; }
  .part { padding: 1.8rem 1.5rem; border-radius: 20px; }
  .hero { padding: 5rem 1.3rem 4rem; }
  .section { padding: 4rem 1.3rem; }
  .section--alt > * { padding-left: 1.3rem; padding-right: 1.3rem; }
  .step { gap: 1.2rem; padding: 1.8rem 0; }
  .step__num { font-size: 1.7rem; min-width: 2rem; }
  .post-link { gap: .8rem; flex-wrap: wrap; }
  .post-link__tag { min-width: auto; }
}
