/* Страницы разделов: «Лагерь», «Помощь», «Родственникам», «Истории», «О проекте».
   По принятому макету №619 (макет сайта/619_разделы); «О проекте» в макете нет — собрана из тех же блоков.
   Общие вещи (цвета, шрифты, кнопки, шапка, блок заявки) — в site.css. Перелом 900 — компьютер.
   Правило Антона: фото показываем целиком. У каждой рамки стоит пропорция самого файла (aspect-ratio),
   поэтому при замене фото на снимок другой пропорции поменяйте и её. */

.rz-title { margin-top: 14px; font-size: 30px; line-height: 1.08; }
.rz-title em, .rz-head__title em { font-style: normal; color: var(--blue); }
.rz-pic, .rz-pic figure, .rz-side, .rz-fin-pair figure, .rz-help figure, .rz-gal figure { margin: 0; }
.rz-pic img, .rz-side img, .rz-fin-pair img, .rz-help img, .rz-gal img { width: 100%; height: 100%; object-fit: cover; }

/* ── Шапка страницы ─────────────────────────────────── */

.rz-head {
  padding: 16px 0 0;
  background: radial-gradient(520px 360px at 8% 0, #fff, rgba(255, 255, 255, 0) 72%),
              radial-gradient(460px 320px at 100% 30%, rgba(23, 99, 246, .08), rgba(23, 99, 246, 0) 72%);
}
.rz-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--ink-3); }
.rz-crumbs a { text-decoration: none; }
.rz-crumbs a:hover { text-decoration: underline; }
.rz-crumbs b { font-weight: 600; color: var(--ink); }
.rz-crumbs i { font-style: normal; opacity: .5; }
.rz-head__title { margin-top: 14px; font-size: 34px; line-height: 1.03; letter-spacing: -.025em; }
.rz-head__sub { margin: 12px 0 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.rz-head__lead { margin: 12px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.rz-head__btns { display: grid; gap: 10px; margin-top: 20px; }
.rz-head__grid > .rz-pic { margin-top: 24px; }

/* Тёмная шапка: «Лагерь», «Помощь», «Родственникам». Заходит под белую шапку сайта, фото свисает на светлый фон.
   На телефоне тёмный фон рисует полоса ::before: она кончается на --hang выше нижнего края фото,
   а вводный абзац (если он есть) стоит уже под фото на светлом фоне. */
.rz-head--dark { margin-top: -26px; padding: 46px 0 0; background: none; color: #fff; --focus: #fff; --hang: 76px; }
.rz-head--dark .rz-crumbs { color: rgba(255, 255, 255, .6); }
.rz-head--dark .rz-crumbs b { color: #fff; }
.rz-head--dark .rz-head__title em { color: #7FB0FF; }
.rz-head--dark .btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.rz-head--dark .btn--ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
@media (max-width: 899px) {
  .rz-head--dark .rz-head__in { display: grid; grid-template-columns: minmax(0, 1fr); }
  .rz-head--dark .rz-head__in::before {
    content: ""; grid-column: 1; grid-row: 1 / 6; z-index: 0;
    margin: -46px calc(-1 * var(--gutter)) var(--hang); border-radius: 0 0 26px 26px; background: #101E33;
  }
  .rz-head--dark .rz-head__grid, .rz-head--dark .rz-head__text { display: contents; }
  .rz-head--dark .rz-head__in > *, .rz-head--dark .rz-head__grid > *, .rz-head--dark .rz-head__text > * { grid-column: 1; z-index: 1; min-width: 0; }
  .rz-head--dark .rz-crumbs { grid-row: 1; }
  .rz-head--dark .rz-head__title { grid-row: 2; }
  .rz-head--dark .rz-head__sub { grid-row: 3; }
  .rz-head--dark .rz-head__btns { grid-row: 4; }
  .rz-head--dark .rz-pic { grid-row: 5; }
  .rz-head--dark .rz-head__lead { grid-row: 6; margin-top: var(--lead-gap, 52px); --focus: var(--ink); }
}

/* «Лагерь»: большое фото зала, поверх второе фото и плашка «С 2004 года» */
.rz-head--camp { --hang: 76px; --lead-gap: 62px; }
.rz-head--camp + .rz-sec { padding-top: 36px; }
.rz-pic { position: relative; }
.rz-pic__main { overflow: hidden; border-radius: 20px; box-shadow: 0 18px 44px rgba(4, 10, 22, .5); }
.rz-pic__second { position: absolute; right: -6px; bottom: -38px; width: 47%; aspect-ratio: 1080 / 620; overflow: hidden; border: 4px solid #fff; border-radius: 15px; box-shadow: 0 12px 28px rgba(13, 27, 46, .3); }
.rz-pic__chip { position: absolute; left: 12px; top: 12px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(13, 27, 46, .25); font-size: 12.5px; line-height: 1.5; font-weight: 800; }
.rz-pic__chip b { color: var(--blue); }

/* «Помощь»: фото и белая карточка с цифрой */
.rz-head--prog { --hang: 70px; --lead-gap: 52px; padding-bottom: 36px; }
.rz-pic__num { position: absolute; left: 14px; bottom: -24px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(13, 27, 46, .22); }
.rz-pic__num b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.rz-pic__num span { font-size: 14px; line-height: 1.2; font-weight: 700; }

/* «Родственникам» и «О проекте»: фото и белая карточка с рукописной строкой */
.rz-head--fam { --hang: 0px; }  /* на телефоне фото стоит вровень с низом шапки, выступает только карточка */
.rz-head--fam .rz-head__lead { display: none; }
.rz-head--fam + .rz-sec { padding-top: 70px; }
.rz-pic__hand { position: absolute; left: 14px; right: 14px; bottom: -26px; margin: 0; padding: 13px 16px 13px 46px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 12px 28px rgba(13, 27, 46, .22); font: 700 26px/1 var(--font-hand); }
.rz-pic__hand::before { content: "\201C"; position: absolute; left: 14px; top: 7px; font: 800 42px/1 Georgia, serif; color: var(--blue); }
.rz-only-m { display: block; }

/* «Истории»: переходы к историям и синяя карточка с цитатой */
.rz-jump { display: grid; gap: 10px; margin-top: 20px; }
.rz-jump a { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); text-decoration: none; }
.rz-jump__th { flex: none; position: relative; display: grid; place-items: end start; overflow: hidden; width: 88px; aspect-ratio: 16 / 11; border-radius: 12px; background: #101E33; }
.rz-jump__th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.rz-jump__th i { position: relative; display: grid; place-items: center; width: 22px; height: 22px; margin: 0 0 6px 6px; padding-left: 2px; border-radius: 50%; background: #fff; color: var(--blue); }
.rz-jump__th .ico { width: 10px; height: 10px; }
.rz-jump b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.15; }
.rz-jump small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.3; color: var(--ink-3); }
.rz-jump__go { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-left: auto; border-radius: 50%; background: var(--sky); color: var(--blue); }
.rz-jump__go .ico { width: 15px; height: 15px; transform: rotate(90deg); }
.rz-quote { position: relative; overflow: hidden; margin: 14px 0 0; padding: 26px 24px 24px; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue), var(--blue-d) 70%); color: #fff; }
.rz-quote::before { content: "\201C"; position: absolute; right: 14px; top: -34px; font: 800 190px/1 Georgia, serif; color: rgba(255, 255, 255, .13); }
.rz-quote p { position: relative; margin: 0; font: 700 38px/1 var(--font-hand); }
.rz-quote footer { position: relative; margin-top: 16px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .82); }

/* «О проекте»: портрет */
.rz-head--about .rz-pic { max-width: 360px; }
.rz-head--about + .rz-sec { padding-top: 76px; }

/* ── Блоки страницы ─────────────────────────────────── */

.rz-sec { padding: 44px 0; }
.rz-sec--sky { background: linear-gradient(180deg, var(--sky), #F3F8FF); }
.rz-sec--sky .eyebrow { background: #fff; }

/* Две колонки: слева заголовок (и фото), справа текст. На телефоне фото уходит под текст. */
.rz-two { display: grid; grid-template-columns: minmax(0, 1fr); }
.rz-two__body { margin-top: 20px; }
.rz-side { order: 3; margin-top: 20px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.rz-side--portrait { max-width: 300px; }
.rz-body > p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.rz-body > p + p { margin-top: 14px; }
.rz-body > p b { color: var(--ink); }
.rz-body > .rz-idea + p, .rz-body > .btn { margin-top: 20px; }

.rz-prg { list-style: none; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 10px; margin: 20px 0 0; padding: 0; }
.rz-prg li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 14px; line-height: 1.2; font-weight: 700; }
/* Самые узкие телефоны: «Терапевтическая работа» не помещается в плитку. */
@media (max-width: 359px) { .rz-prg li { gap: 8px; padding: 10px; font-size: 13px; } .rz-prg .rz-ico { width: 30px; height: 30px; } }
.rz-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.rz-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rz-idea, .rz-body > .rz-idea { margin: 20px 0 0; padding: 18px 20px; border-left: 4px solid var(--blue); border-radius: 0 18px 18px 0; background: var(--sky); font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--ink); }
.rz-sec--sky .rz-idea { background: #fff; }

/* Гости лагеря: имена и галерея. Ряды галереи разные на телефоне и на компьютере, поэтому доля каждого
   фото в своём ряду посчитана заранее: --m и --d — доля ширины, --nm и --nd — сколько фото в ряду. */
.rz-body > .rz-names__head { margin: 22px 0 0; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rz-names { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; }
.rz-names li { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 700; }
.rz-names .rz-names__etc { padding: 0 4px; background: none; box-shadow: none; font-weight: 500; color: var(--ink-3); }
.rz-gal { --gap: 8px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--gap); margin-top: 26px; }
.rz-gal figure { order: var(--om); flex: none; width: calc((100% - (var(--nm) - 1) * var(--gap)) * var(--m) - .5px); aspect-ratio: var(--a); overflow: hidden; border-radius: 16px; background: var(--sky-2); }
.rz-gal .rz-gal__wide { display: none; }

/* Тёмная карточка с главной мыслью; рядом может стоять фото */
.rz-fin { padding: 28px 22px; border-radius: var(--radius); background: #101E33; color: #fff; }
.rz-fin__tag { display: block; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rz-fin p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.rz-fin__big { display: block; margin-top: 12px; font-size: 27px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.rz-fin__big em { font-style: normal; color: #7FB0FF; }
.rz-fin .btn { margin-top: 20px; }
.rz-fin-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rz-fin-pair figure { overflow: hidden; border-radius: var(--radius); }

/* Шесть признаков: карточки с номерами */
.rz-signs { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; padding: 0; counter-reset: sign; }
.rz-signs li { counter-increment: sign; position: relative; display: flex; align-items: center; min-height: 68px; padding: 16px 16px 16px 64px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-size: 15.5px; line-height: 1.4; font-weight: 600; }
.rz-signs li::before { content: counter(sign); position: absolute; left: 14px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 15px; font-weight: 800; }

/* «Как мы можем помочь»: портрет и текст в белой карточке */
.rz-help { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.rz-help figure { max-width: 220px; aspect-ratio: 865 / 1300; overflow: hidden; border-radius: 16px; }
.rz-help .rz-title { margin-top: 12px; }
.rz-help .rz-title + p { margin-top: 16px; }

/* Шесть направлений */
.rz-dirs { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; padding: 0; }
.rz-dirs li { padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.rz-dirs .rz-ico { width: 48px; height: 48px; }
.rz-dirs .rz-ico svg { width: 23px; height: 23px; }
.rz-dirs h3 { margin-top: 14px; font-size: 20px; line-height: 1.15; }
.rz-dirs p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }

/* Истории с видео */
.rz-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.rz-story + .rz-story { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.rz-story__media .rz-video__link { width: 100%; margin-top: 14px; padding: 8px 14px; gap: 8px; font-size: 15px; }
.rz-story h2 { font-size: 27px; line-height: 1.1; }
.rz-story p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rz-story .rz-story__key { margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.rz-story blockquote { margin: 18px 0 0; padding: 3px 0 3px 16px; border-left: 4px solid var(--blue); font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.rz-story cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink-3); }

/* Ещё истории: переходы на «Второе дыхание» и место под новые */
.rz-more { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; padding: 0; }
.rz-more a, .rz-more__slot { display: flex; flex-direction: column; height: 100%; min-height: 150px; padding: 20px; border-radius: var(--radius); }
.rz-more a { background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .15s ease; }
.rz-more a:hover { box-shadow: var(--shadow), inset 0 0 0 1.5px var(--blue); }
.rz-more b { font-size: 20px; line-height: 1.15; font-weight: 800; }
.rz-more span { margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.rz-more i { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-style: normal; font-weight: 700; color: var(--blue); }
.rz-more__slot { justify-content: center; border: 1.5px dashed rgba(23, 99, 246, .45); background: var(--sky); color: var(--blue-d); font-weight: 700; line-height: 1.35; }
.rz-more__slot small { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }

/* «О проекте»: три цифры и место под биографию */
.rz-nums { display: grid; gap: 10px; margin: 20px 0 0; }
.rz-nums div { padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.rz-nums dt { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.rz-nums dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.35; color: var(--ink-3); }
.rz-slot { margin: 12px 0 0; padding: 22px 20px; border: 1.5px dashed rgba(23, 99, 246, .45); border-radius: var(--radius); background: var(--sky); color: var(--blue-d); font-weight: 700; line-height: 1.35; text-align: center; }
.rz-slot small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }

/* Планшет: кнопки в ряд, фото не растягиваем на весь экран */
@media (min-width: 640px) and (max-width: 899px) {
  .rz-head__btns { display: flex; flex-wrap: wrap; }
  .rz-head--prog .rz-pic, .rz-head--fam .rz-pic, .rz-head--camp .rz-pic, .rz-side { max-width: 560px; }
  .rz-side--portrait { max-width: 300px; }
  .rz-fin-pair--portrait { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center; }
  .rz-quote, .rz-story__media { max-width: 560px; }
  .rz-prg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rz-signs, .rz-dirs, .rz-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rz-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rz-help { grid-template-columns: 220px minmax(0, 1fr); align-items: center; }
}

@media (min-width: 900px) {
  .rz-title { font-size: 46px; }

  .rz-head { padding: 26px 0 0; }
  .rz-head__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 64px; align-items: center; margin-top: 8px; }
  .rz-head__grid > .rz-pic { margin-top: 0; }
  .rz-head__title { margin-top: 18px; font-size: 56px; line-height: 1; }
  .rz-head__sub { margin-top: 16px; font-size: 25px; }
  .rz-head__lead { margin-top: 14px; font-size: 18px; max-width: 560px; }
  .rz-head__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

  .rz-head--dark { margin-top: -30px; padding: 74px 0 0; border-radius: 0 0 36px 36px; background: #101E33; }
  .rz-head--dark .rz-head__grid { align-items: end; margin-top: 14px; }
  .rz-head--dark .rz-head__title { font-size: 64px; }
  .rz-head--dark .rz-head__lead { max-width: 760px; color: rgba(255, 255, 255, .8); }
  .rz-pic__main { border-radius: 28px; }

  .rz-head--camp .rz-head__title { font-size: 68px; }
  .rz-head--camp .rz-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; margin-top: 34px; }
  .rz-head--camp .rz-head__text { padding: 4px 0 72px; }
  .rz-head--camp .rz-head__sub { margin-top: 0; font-size: 27px; }
  .rz-head--camp .rz-head__lead { max-width: none; }
  .rz-head--camp .rz-pic { margin-bottom: -64px; }
  .rz-head--camp + .rz-sec { padding-top: 148px; }
  .rz-pic__second { right: -34px; bottom: -52px; width: 45%; border-width: 5px; border-radius: 20px; }
  .rz-pic__chip { left: 18px; top: 18px; padding: 9px 16px; font-size: 14px; }

  .rz-head--prog { padding-bottom: 0; }
  .rz-head--prog .rz-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rz-head--prog .rz-head__text { padding-bottom: 72px; }
  .rz-head--prog .rz-pic { justify-self: end; width: 100%; max-width: 520px; margin-bottom: -52px; }
  .rz-head--prog + .rz-sec { padding-top: 150px; }
  .rz-pic__num { left: -40px; bottom: -30px; gap: 16px; padding: 16px 26px 16px 22px; border-radius: 22px; }
  .rz-pic__num b { font-size: 68px; }
  .rz-pic__num span { font-size: 18px; }

  .rz-head--fam .rz-head__lead { display: block; }
  .rz-head--fam .rz-head__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .rz-head--fam .rz-head__text { padding-bottom: 64px; }
  .rz-head--fam .rz-pic { margin-bottom: -44px; }
  .rz-head--fam + .rz-sec { padding-top: 170px; }
  .rz-pic__hand { left: -38px; right: auto; bottom: -30px; max-width: 340px; padding: 18px 24px 18px 62px; border-radius: 22px; font-size: 36px; }
  .rz-pic__hand::before { left: 20px; top: 10px; font-size: 60px; }
  .rz-only-m { display: none; }

  .rz-head--stories .rz-head__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 56px; align-items: stretch; }
  .rz-head--stories .rz-head__title { font-size: 68px; }
  .rz-head--stories .rz-head__lead { margin-top: 16px; font-size: 19px; max-width: 540px; }
  .rz-jump { gap: 12px; margin-top: 28px; }
  .rz-jump a { gap: 18px; padding: 12px 18px 12px 12px; border-radius: 22px; }
  .rz-jump__th { width: 120px; border-radius: 14px; }
  .rz-jump__th i { width: 26px; height: 26px; margin: 0 0 8px 8px; }
  .rz-jump__th .ico { width: 10px; height: 10px; }
  .rz-jump b { font-size: 20px; }
  .rz-jump small { margin-top: 4px; font-size: 15px; }
  .rz-jump__go { width: 40px; height: 40px; }
  .rz-quote { display: flex; flex-direction: column; justify-content: space-between; margin-top: 0; padding: 44px 44px 40px; border-radius: 28px; }
  .rz-quote::before { right: 24px; top: -50px; font-size: 280px; }
  .rz-quote p { font-size: 66px; }
  .rz-quote footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .24); font-size: 16px; }

  .rz-head--about .rz-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .rz-head--about .rz-head__title { font-size: 68px; }
  .rz-head--about .rz-pic { justify-self: end; width: 100%; max-width: 400px; }
  .rz-head--about .rz-pic__hand { max-width: 360px; font-size: 32px; }
  .rz-head--about + .rz-sec { padding-top: 116px; }

  .rz-sec { padding: 76px 0; }
  .rz-two { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr; column-gap: 70px; align-items: start; }
  .rz-two__head { grid-column: 1; grid-row: 1; }
  .rz-two__body { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .rz-side { grid-column: 1; grid-row: 2; order: 0; margin-top: 28px; border-radius: 26px; }
  .rz-body > p { font-size: 18px; }

  .rz-prg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
  .rz-prg li { gap: 12px; padding: 14px 16px; font-size: 15.5px; }
  .rz-prg .rz-ico { width: 42px; height: 42px; }
  .rz-idea, .rz-body > .rz-idea { margin-top: 26px; padding: 24px 28px; border-radius: 0 22px 22px 0; font-size: 21px; }

  .rz-names li { height: 44px; padding: 0 18px; font-size: 15.5px; }
  .rz-gal { --gap: 12px; margin-top: 34px; }
  .rz-gal figure { order: 0; width: calc((100% - (var(--nd) - 1) * var(--gap)) * var(--d) - .5px); border-radius: 22px; }
  .rz-gal .rz-gal__wide { display: block; }

  .rz-fin { padding: 54px 60px; border-radius: 30px; }
  .rz-fin p { max-width: 760px; margin-top: 16px; font-size: 19px; }
  .rz-fin__big { max-width: 900px; margin-top: 16px; font-size: 50px; line-height: 1.03; }
  .rz-fin-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .rz-fin-pair figure { align-self: center; border-radius: 30px; }
  .rz-fin-pair .rz-fin { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .rz-fin-pair .rz-fin__big { font-size: 38px; }
  .rz-fin-pair--portrait { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }

  .rz-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
  .rz-signs li { align-items: flex-start; min-height: 176px; padding: 74px 24px 24px; border-radius: 22px; font-size: 17px; }
  .rz-signs li::before { left: 24px; top: 22px; width: 40px; height: 40px; font-size: 16px; }

  .rz-help { grid-template-columns: 270px minmax(0, 1fr); gap: 50px; align-items: center; padding: 26px; border-radius: 30px; }
  .rz-help figure { max-width: none; border-radius: 20px; }
  .rz-help .rz-body { max-width: 640px; }

  .rz-dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
  .rz-dirs li { padding: 28px; border-radius: 26px; }
  .rz-dirs h3 { margin-top: 18px; font-size: 22px; }
  .rz-dirs p { font-size: 16.5px; }

  .rz-story { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 64px; align-items: start; }
  .rz-story + .rz-story { margin-top: 76px; padding-top: 76px; }
  .rz-story--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .rz-story--rev .rz-story__media { order: 2; }
  .rz-story__media .rz-video__link { width: auto; padding: 8px 24px; font-size: 16px; }
  .rz-story h2 { font-size: 38px; }
  .rz-story .rz-story__key { margin-top: 12px; font-size: 20px; }
  .rz-story p { font-size: 17px; }
  .rz-story blockquote { margin-top: 22px; font-size: 24px; }

  .rz-more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
  .rz-more a, .rz-more__slot { min-height: 190px; padding: 28px; border-radius: 26px; }
  .rz-more b { font-size: 22px; }
  .rz-more span { font-size: 16.5px; }

  .rz-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
  .rz-nums div { padding: 20px 22px; border-radius: 22px; }
  .rz-nums dt { font-size: 38px; }
  .rz-nums dd { font-size: 15.5px; }
  .rz-slot { margin-top: 16px; padding: 30px 28px; border-radius: 26px; }
}

/* Режим проверки (?review): пометка не должна ломать карточки поверх фото */
.is-review .rz-pic__hand[data-check]::after, .is-review .rz-fin [data-check]::after { font-family: var(--font-text); }

/* Широкий компьютер: плитки программы в три колонки, как в макете. Колонки 1fr без нижней границы 0:
   колонка с «Командные игры» берёт чуть больше, и подпись не переносится. */
@media (min-width: 1180px) {
  .rz-prg { grid-template-columns: repeat(3, 1fr); }
  .rz-prg li { min-width: auto; }
}

/* «Контакты»: четыре карточки справа от заголовка, ниже место под карту */
.rz-ct { display: grid; gap: 10px; margin-top: 24px; }
.rz-ct > div { padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.rz-ct__l { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.rz-ct__v { display: block; margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); text-decoration: none; }
.rz-ct__v--s { font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.35; overflow-wrap: anywhere; }
a.rz-ct__v:hover { color: var(--blue); }
.rz-ct p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.rz-ct__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rz-ct p.rz-ct__note { margin-top: 12px; font-size: 12.5px; line-height: 1.45; }
.rz-ct__chips span, .rz-ct__chips a { display: inline-flex; text-decoration: none; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; background: var(--sky); color: var(--blue-d); font-size: 14.5px; font-weight: 700; }
.rz-head--contacts .rz-head__btns { margin-bottom: 0; }
.rz-sec--map { padding: 44px 0; }
.rz-map { margin: 0; aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; }
.rz-head--contacts + .rz-sec--map { padding-top: 30px; }
.rz-head--contacts + .ask { margin-top: 44px; }
@media (min-width: 900px) {
  .rz-head--contacts .rz-head__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 64px; }
  .rz-head--contacts .rz-head__title { font-size: 68px; }
  .rz-head--contacts .rz-head__lead { font-size: 19px; max-width: 540px; }
  .rz-ct { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
  .rz-ct > div { padding: 22px 24px; }
  .rz-ct__soc { grid-column: 1 / -1; }
  .rz-ct__chips { gap: 6px; }
  .rz-ct__chips a { padding: 0 12px; font-size: 14px; }
  .rz-sec--map { padding: 78px 0 76px; }
  .rz-head--contacts + .rz-sec--map { padding-top: 78px; }
  .rz-head--contacts + .ask { margin-top: 76px; }
  .rz-map { aspect-ratio: 16 / 5; border-radius: 26px; }
}

/* Фото лагеря (№833): все кадры 16:9 показываем целиком, без обрезки. Телефон - в столбик, от 640 - по два, первый кадр на всю ширину. */
.rz-shots { display: grid; gap: 10px; margin-top: 26px; }
.rz-shots figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--sky-2); }
.rz-shots img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) {
  .rz-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
  .rz-shots figure { border-radius: 22px; }
  .rz-shots .rz-shots__big { grid-column: 1 / -1; }
}

