/* =========================================================
   Сайт семинара «Казачий Спас» — школа «СТОД"
   Льняная нейрогравюра с золотом
   ========================================================= */

:root {
  --ink: #2B2219;          /* основной текст */
  --ink-2: #5A4A38;        /* вторичный текст */
  --gold-text: #7E5A1E;    /* мелкий золотой текст (контраст 5:1) */
  --gold: #9A7030;         /* крупные золотые надписи */
  --gold-line: #B0843A;    /* линии и орнамент */
  --line: rgba(176, 132, 58, .55);
  --line-2: rgba(176, 132, 58, .28);
  --paper: rgba(250, 246, 236, .74);
  --linen: #EFE6D4;
  --linen-deep: #E7DCC7;
  --dark: #241C14;
  --dark-gold: #D9B56E;
  --dark-text: #EFE6D4;
  --dark-text-2: #CBBFA8;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
  --pad-x: clamp(20px, 4vw, 48px);
  --sec-y: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--linen) url(../img/linen.png) repeat;
  background-size: 256px;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[id] { scroll-margin-top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Фоны ---------- */
.bg-linen { background: var(--linen) url(../img/linen.png) repeat; background-size: 256px; }
.bg-linen-deep { background: var(--linen-deep) url(../img/linen-deep.png) repeat; background-size: 256px; }
.bg-dark { background: var(--dark); color: var(--dark-text); }

/* ---------- Каркас ---------- */
.stod-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.stod-section { position: relative; overflow: hidden; }
.stod-section > .stod-wrap { position: relative; padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.stod-section--bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deco { position: absolute; pointer-events: none; max-width: none; user-select: none; }

/* ---------- Типографика ---------- */
.kicker {
  margin: 0; display: flex; align-items: center; gap: 14px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text);
}
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold-line); flex: none; }
.bg-dark .kicker, .kicker--light { color: var(--dark-gold); }
.bg-dark .kicker::before, .kicker--light::before { background: var(--dark-gold); }

.h2 {
  margin: 0; font: 600 clamp(36px, 4.2vw, 56px)/1.08 var(--serif); color: var(--ink);
  letter-spacing: -.005em; text-wrap: balance;
}
.label {
  font: 600 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text);
}
.lead { margin: 0; font-size: 19px; line-height: 1.65; color: var(--ink-2); }

.ornament {
  display: block; width: 132px; height: 14px; background: var(--gold-line);
  -webkit-mask: url(../img/icons/ornament.svg) center / contain no-repeat;
          mask: url(../img/icons/ornament.svg) center / contain no-repeat;
}
.bg-dark .ornament, .ornament--light { background: var(--dark-gold); }

/* Ромб-маркер */
.diamond { display: inline-block; flex: none; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); }
.diamond-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.diamond-list > li { position: relative; padding-left: 22px; }
.diamond-list > li::before {
  content: ""; position: absolute; left: 1px; top: .62em; width: 7px; height: 7px;
  transform: rotate(45deg); border: 1px solid var(--gold);
}
.bg-dark .diamond-list > li::before { border-color: var(--dark-gold); }

/* Иконки (маски — цвет берётся из currentColor) */
.ico {
  display: inline-block; flex: none; width: 32px; height: 32px; background: currentColor; color: var(--gold);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.ico--lg { width: 56px; height: 56px; }
.ico--sm { width: 24px; height: 24px; }
.ico-neuro   { --ico: url(../img/icons/neuro.svg); }
.ico-horizon { --ico: url(../img/icons/horizon.svg); }
.ico-key     { --ico: url(../img/icons/key.svg); }
.ico-cal     { --ico: url(../img/icons/cal.svg); }
.ico-pin     { --ico: url(../img/icons/pin.svg); }
.ico-coin    { --ico: url(../img/icons/coin.svg); }
.ico-check   { --ico: url(../img/icons/check.svg); }
.ico-plane   { --ico: url(../img/icons/plane.svg); }
.ico-mail    { --ico: url(../img/icons/mail.svg); }

/* Гравюрная рамка */
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  outline: 1px solid var(--line-2); outline-offset: -8px; padding: 40px 40px 36px;
}
.placeholder { padding: 4px 10px; border: 1px dashed var(--gold); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border-radius: 1px; border: 1px solid transparent;
  font: 600 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--gold-text); border-color: var(--gold-text); color: #F6EFE1; }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); color: #F6EFE1; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #F6EFE1; }
.btn--ink:hover { background: var(--gold-text); border-color: var(--gold-text); color: #F6EFE1; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #F6EFE1; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; letter-spacing: .12em; white-space: nowrap; }
.btn--block { display: flex; width: 100%; }

/* =========================================================
   Шапка
   ========================================================= */
.stod-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.stod-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.stod-brand { display: flex; flex: none; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.stod-brand:hover { color: var(--ink); }
.stod-brand__logo { width: 58px; height: 58px; display: block; }
.stod-brand__rule { width: 1px; height: 34px; background: var(--gold-line); }
.stod-brand__name { font: 600 15px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.stod-nav { display: flex; align-items: center; gap: 22px; }
.stod-nav a, .stod-nav .mod-menu a { color: var(--ink); text-decoration: none; font: 500 14px/1 var(--sans); padding: 14px 0; display: inline-block; white-space: nowrap; }
.stod-nav a:hover { color: var(--gold-text); }
.stod-nav .stod-nav__apply { display: none; }  /* на десктопе заявка — кнопкой справа */
.stod-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 30px; }
.stod-header__right { display: flex; flex: none; align-items: center; gap: 14px; }
.stod-burger {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.stod-burger span, .stod-burger span::before, .stod-burger span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; content: "";
}
.stod-burger span::before { position: absolute; top: -6px; }
.stod-burger span::after { position: absolute; top: 6px; }
.stod-header.is-open .stod-burger span { background: transparent; }
.stod-header.is-open .stod-burger span::before { top: 0; transform: rotate(45deg); }
.stod-header.is-open .stod-burger span::after { top: 0; transform: rotate(-45deg); }

/* Переключатель языков (mod_languages, без флагов и полных названий) */
.stod-lang .mod-languages ul, .stod-lang ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 2px; }
.stod-lang li { margin: 0; }
.stod-lang a, .stod-lang .lang-active > a, .stod-lang .lang-active > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.stod-lang a:hover { color: var(--gold-text); }
.stod-lang .lang-active a, .stod-lang .lang-active span { color: var(--ink); box-shadow: inset 0 -1px 0 var(--gold-line); }
.stod-lang img { display: none; }   /* на случай включённых флагов */
.stod-footer .stod-lang a { color: var(--dark-text-2); }
.stod-footer .stod-lang .lang-active a { color: var(--dark-text); box-shadow: inset 0 -1px 0 var(--dark-gold); }

/* Системные сообщения Joomla */
.stod-messages { max-width: var(--wrap); margin: 16px auto 0; padding: 0 var(--pad-x); }
.stod-messages joomla-alert, .stod-messages .alert { display: block; background: var(--paper); border: 1px solid var(--line); padding: 14px 18px; }

/* =========================================================
   Первый экран
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero__land { left: 50%; bottom: -10px; transform: translateX(-50%); width: max(1800px, 100%); opacity: .30; }
.hero__fil { right: -260px; top: 80px; width: 1200px; opacity: .55; }
.hero__grid {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 120px);
}
.hero__text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__titles { display: flex; flex-direction: column; gap: 10px; }
.hero__title { margin: 0; font: 600 clamp(58px, 8.4vw, 124px)/.92 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.hero__subtitle { margin: 0; font: italic 500 clamp(28px, 3.4vw, 46px)/1.1 var(--serif); color: var(--gold); }
.hero__lead { margin: 0; display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.hero__name { font: 600 clamp(26px, 2.6vw, 34px)/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.hero__role { font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.hero__pillars { font-size: 18px; line-height: 1.5; max-width: 560px; gap: 10px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }

.hero__figure { flex: 1 1 360px; max-width: 460px; margin: 0 auto; position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero__neuron { width: 300px; right: -110px; top: -70px; opacity: .55; }
.hero__arch {
  position: relative; width: 100%; padding: 12px; border: 1px solid rgba(176, 132, 58, .75);
  border-radius: 240px 240px 4px 4px; outline: 1px solid var(--line-2); outline-offset: 7px; background: rgba(250, 246, 236, .5);
}
.hero__arch img { display: block; width: 100%; aspect-ratio: 672 / 770; object-fit: cover; border-radius: 228px 228px 2px 2px; }
.hero__caption { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }

.facts-wrap { position: relative; padding-bottom: clamp(40px, 5vw, 72px); }
.facts { display: flex; flex-wrap: wrap; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { flex: 1 1 220px; display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__body { display: flex; flex-direction: column; gap: 6px; }
.fact__value { font: 600 24px/1.2 var(--serif); color: var(--ink); }
.fact__value--price { font-size: 34px; line-height: 1.1; color: var(--gold); }
.fact__sub { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.limited { margin: 16px 0 0; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }

/* =========================================================
   О семинаре
   ========================================================= */
.about__inner { display: flex; flex-direction: column; gap: 48px; }
.about__head { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; }
.about__title { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.about__text { flex: 1 1 400px; max-width: 560px; }
.pillars { display: flex; flex-wrap: wrap; gap: 24px; }
.pillar {
  flex: 1 1 260px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  padding: 36px 28px; background: var(--paper); border: 1px solid var(--line); outline: 1px solid var(--line-2); outline-offset: -8px;
}
.pillar__num { font: italic 600 18px/1 var(--serif); color: var(--gold-text); }
.pillar__title { margin: 0; font: 600 26px/1.2 var(--serif); color: var(--ink); text-wrap: balance; }

/* =========================================================
   Программа
   ========================================================= */
.program__inner { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 20px; }
.section-head--center { align-items: center; text-align: center; }
.prog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.module { display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.module--wide { grid-column: span 3; }
.module--span2 { grid-column: span 2; }
.module__head { display: flex; flex-direction: column; gap: 14px; }
.module__num-row { display: flex; align-items: center; gap: 14px; }
.module__num { font: italic 600 22px/1 var(--serif); color: var(--gold-text); }
.module__num-row::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.module__title { margin: 0; font: 600 32px/1.05 var(--serif); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.module .diamond-list { font-size: 17px; line-height: 1.55; }
.module__statement { margin: 0; font: italic 600 30px/1.25 var(--serif); color: var(--ink); }
.module__cols { position: relative; display: flex; flex-wrap: wrap; gap: 28px 48px; }
.module__cols > * { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.module--volokha .module__cols > :first-child { flex: 1 1 360px; gap: 22px; }
.module__para { margin: 0; flex: 1.3 1 420px !important; font: 500 23px/1.5 var(--serif); color: var(--ink); }
.module__deco { right: -40px; bottom: -60px; width: 380px; opacity: .22; }
.module__intro { margin: 0; color: var(--ink-2); }
.breaths { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.breath { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border: 1px solid var(--line); background: rgba(239, 230, 212, .6); }
.breath__num { font: italic 600 15px/1 var(--serif); color: var(--gold-text); }
.breath__name { font: 600 24px/1.15 var(--serif); color: var(--ink); }
.module__extra { margin: 0; display: flex; gap: 14px; align-items: flex-start; font-size: 18px; font-weight: 600; line-height: 1.5; }
.module__extra .diamond { margin-top: 9px; }

.module--dark { background: var(--dark); border-color: rgba(217, 181, 110, .5); outline-color: rgba(217, 181, 110, .22); padding: 44px 40px 40px; }
.module--dark > :not(.deco) { position: relative; }
.module--dark .module__num { color: var(--dark-gold); }
.module--dark .module__num-row::after { background: rgba(217, 181, 110, .45); }
.module--dark .module__title { color: var(--dark-text); }
.module--dark .module__cols p { margin: 0; font: 500 24px/1.4 var(--serif); color: var(--dark-text); flex: 1 1 320px; }
.module--dark .module__deco-land { left: 0; bottom: -40px; width: 100%; min-width: 1100px; opacity: .28; }

/* =========================================================
   Ведущий
   ========================================================= */
.leader { background: var(--dark); color: var(--dark-text); }
.leader__land { left: 50%; bottom: -30px; transform: translateX(-50%); width: max(1800px, 100%); opacity: .16; }
.leader__fil { left: -300px; top: 40px; width: 1100px; opacity: .35; }
.leader__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.leader__photo { flex: 1 1 320px; max-width: 420px; padding: 12px; border: 1px solid rgba(217, 181, 110, .6); outline: 1px solid rgba(217, 181, 110, .25); outline-offset: 7px; }
.leader__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.leader__text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.leader__name { margin: 0; font: 600 clamp(44px, 5.6vw, 76px)/1 var(--serif); color: var(--dark-text); }
.leader__role { margin: 0; font: italic 500 clamp(22px, 2.2vw, 30px)/1.2 var(--serif); color: var(--dark-gold); }
.leader__bio { max-width: 620px; color: var(--dark-text-2); font-size: 17px; line-height: 1.6; }
.leader__bio p { margin: 0 0 1em; }
.leader__bio p:last-child { margin-bottom: 0; }
.leader__bio .placeholder { display: block; padding: 22px 24px; border-color: rgba(217, 181, 110, .55); }

/* =========================================================
   Расписание
   ========================================================= */
.schedule__inner { display: flex; flex-direction: column; gap: 56px; }
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 40px 48px; border-top: 1px solid var(--line); }
.timeline > li { flex: 1 1 240px; position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; }
.timeline > li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px;
  transform: rotate(45deg); background: var(--linen); border: 1px solid var(--gold);
}
.timeline__date { font: 600 clamp(34px, 3.4vw, 44px)/1 var(--serif); color: var(--gold); }
.timeline__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.timeline__sub { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* =========================================================
   Место и стоимость
   ========================================================= */
.venue__inner { display: flex; flex-wrap: wrap; gap: 28px; }
.venue-card { flex: 1.4 1 520px; min-width: 0; padding: 0; display: flex; flex-direction: column; }
.venue-card__img { position: relative; height: 240px; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(239, 230, 212, .7); }
.venue-card__img img { left: 50%; top: 50%; transform: translate(-50%, -46%); width: 1200px; opacity: .75; }
.venue-card__body { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 18px; }
.venue-card__title { margin: 0; font: 600 clamp(36px, 4vw, 52px)/1.05 var(--serif); color: var(--ink); }
.venue-meta { margin: 0; padding: 6px 0 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.venue-meta li { display: flex; align-items: center; gap: 12px; font-weight: 500; line-height: 1.4; }

.price-card { flex: 1 1 380px; min-width: 0; padding: 44px 40px 40px; display: flex; flex-direction: column; gap: 22px; }
.price-card__price { margin: 0; font: 600 clamp(88px, 9vw, 128px)/.9 var(--serif); color: var(--gold); letter-spacing: -.01em; }
.price-card__incl { display: flex; flex-direction: column; gap: 14px; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; line-height: 1.4; }
.price-card__terms { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.price-card__terms p { margin: 0; }
.price-card__terms .limited { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.price-card .btn { margin-top: auto; }

/* =========================================================
   Заявка (модуль mod_stodform)
   ========================================================= */
.apply__deco { left: -140px; bottom: -160px; width: 560px; opacity: .25; }
.apply__inner { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.apply__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.apply__mail { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.apply__mail a { align-self: flex-start; font: 600 30px/1.2 var(--serif); color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--gold-line); word-break: break-word; }
.apply__mail a:hover { color: var(--gold-text); }
.stod-form { flex: 1.4 1 520px; min-width: 0; padding: clamp(28px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .04em; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid rgba(90, 74, 56, .5); border-radius: 1px;
  background: rgba(250, 246, 236, .92); font: 400 16px/1.4 var(--sans); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #9B2C1F; }
.field__error { margin: 6px 0 0; font-size: 14px; color: #9B2C1F; }
.req { color: var(--gold-text); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold-text); flex: none; }
.consent label { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #9B2C1F; background: rgba(155, 44, 31, .06); color: #7A2318; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-success__title { margin: 0; font: 600 34px/1.15 var(--serif); color: var(--ink); }
.form-success p { margin: 0; color: var(--ink-2); }

/* =========================================================
   Обычные страницы (политика, Impressum и т. п.)
   ========================================================= */
.stod-page__inner { padding-top: var(--sec-y); padding-bottom: var(--sec-y); max-width: 860px; }
.stod-page .h2 { margin-bottom: 32px; }
.stod-prose h2, .stod-prose h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
.stod-prose h2 { font-size: 34px; margin: 1.6em 0 .5em; }
.stod-prose h3 { font-size: 26px; margin: 1.4em 0 .4em; }

/* =========================================================
   Подвал
   ========================================================= */
.stod-footer { background: var(--dark); color: var(--dark-text); border-top: 1px solid rgba(217, 181, 110, .4); }
.stod-footer__inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.stod-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.stod-footer__brand { display: flex; align-items: center; gap: 16px; }
.stod-footer__brand img { width: 76px; height: 76px; display: block; }
.stod-footer__meta { display: flex; flex-direction: column; gap: 8px; }
.stod-footer__name { font: 600 15px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.stod-footer__line { font-size: 14px; line-height: 1.4; color: var(--dark-text-2); }
.stod-footer a { color: var(--dark-text-2); text-decoration: none; }
.stod-footer a:hover { color: var(--dark-gold); }
.stod-footer__mail { font-size: 15px; font-weight: 500; color: var(--dark-gold) !important; }
.stod-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 24px; border-top: 1px solid rgba(217, 181, 110, .25); }
.stod-footer__nav a { font-size: 15px; font-weight: 500; padding: 12px 0; display: inline-block; }
.stod-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; align-items: center; font-size: 14px; color: var(--dark-text-2); }
.stod-footer__bottom ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.stod-footer__bottom a { display: inline-block; padding: 12px 0; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1240px) {
  .stod-burger { display: inline-flex; }
  .stod-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad-x) 20px;
    background: var(--linen) url(../img/linen.png) repeat; background-size: 256px;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(43, 34, 25, .35);
  }
  .stod-nav ul { flex-direction: column; gap: 0; }
  .stod-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .stod-header.is-open .stod-nav { display: flex; }
  .stod-nav .stod-nav__apply { display: block; }
}
@media (max-width: 900px) {
  .prog { grid-template-columns: minmax(0, 1fr); }
  .module--wide, .module--span2 { grid-column: auto; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stod-header__inner { min-height: 72px; gap: 12px; }
  .stod-brand { gap: 12px; }
  .stod-brand__logo { width: 48px; height: 48px; }
  .stod-brand__rule { display: none; }
  .stod-brand__name { font-size: 13px; letter-spacing: .16em; }
  .stod-header__cta { display: none; }
  .card, .module--dark { padding: 32px 24px 28px; }
  .venue-card { padding: 0; }
  .venue-card__body { padding: 28px 24px 32px; }
  .price-card { padding: 36px 24px 32px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .module__para { font-size: 21px; }
  .module__statement { font-size: 26px; }
  .apply__mail a { font-size: 24px; }
}
@media (max-width: 430px) {
  .stod-brand__name { font-size: 12px; letter-spacing: .12em; }
  .stod-lang a, .stod-lang .lang-active > a, .stod-lang .lang-active > span { min-width: 34px; letter-spacing: .08em; }
  .stod-header__right { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   Дополнения статической версии
   ========================================================= */

/* Ведущий: регалии */
.leader__sub { margin: -10px 0 0; font-size: 15px; letter-spacing: .04em; color: var(--dark-text-2); }
.creds { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { padding: 8px 14px; border: 1px solid rgba(217, 181, 110, .4); font-size: 14px; line-height: 1.35; color: var(--dark-text); }

/* Форма: состояния */
.consent label a { color: var(--gold-text); }
.form-legal { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.form-legal a { color: var(--gold-text); }
.stod-form [hidden] { display: none !important; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Подвал: ссылки */
.stod-footer__links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.stod-footer__links a { color: var(--dark-gold); font-size: 15px; padding: 8px 0; display: inline-block; }
.stod-footer__legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.stod-footer__req { font-size: 13.5px; line-height: 1.5; color: var(--dark-text-2); margin: 0; }

/* Документы (оферта, политика, правовая страница) */
.doc { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); max-width: 900px; }
.doc__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.doc__title { margin: 0; font: 600 clamp(34px, 4.6vw, 54px)/1.08 var(--serif); color: var(--ink); }
.doc__sub { margin: 0; font-size: 17px; color: var(--ink-2); }
.doc__date { margin: 0; font-size: 14px; color: var(--ink-2); }
.doc__body { background: var(--paper); border: 1px solid var(--line); outline: 1px solid var(--line-2); outline-offset: -8px; padding: clamp(28px, 4vw, 52px); }
.doc__body h2 { margin: 36px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font: 600 26px/1.2 var(--serif); color: var(--ink); }
.doc__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc__body h3 { margin: 26px 0 10px; font: 600 21px/1.25 var(--serif); color: var(--ink); }
.doc__body p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: #3B3026; }
.doc__body p.lead-item { padding-left: 20px; position: relative; }
.doc__body ul { margin: 0 0 14px; padding-left: 22px; }
.doc__body li { margin-bottom: 6px; line-height: 1.65; }
.doc__note { margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--line); background: rgba(239, 230, 212, .7); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.doc__toc { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 28px; padding: 0; list-style: none; }
.doc__toc a { font-weight: 500; }
mark.todo { background: #F3D98B; color: var(--ink); padding: 0 4px; border-radius: 2px; }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 8px; }
.contact { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border: 1px solid var(--line); background: rgba(239, 230, 212, .55); }
.contact .label { margin-bottom: 4px; }
.contact a, .contact strong { font: 600 21px/1.3 var(--serif); color: var(--ink); text-decoration: none; word-break: break-word; }
.contact a:hover { color: var(--gold-text); }
.contact span { font-size: 14px; color: var(--ink-2); }
.stod-footer .stod-lang .lang-active span { color: var(--dark-text); box-shadow: inset 0 -1px 0 var(--dark-gold); }
