/* Вариант B: фотомозаика из согласованного пакета 30.09.2026. */
:root {
  --color-bg: #faf6f0;
  --color-surface: #fffaf5;
  --color-surface-muted: #f0e5dd;
  --color-text: #291d20;
  --color-text-muted: #705e60;
  --color-border: rgba(80, 34, 44, .17);
  --color-accent: #6d1f32;
  --color-accent-dark: #501725;
  --color-secondary: #8f3346;
  --radius: 0;
}
.section { max-width: 1160px; padding: 64px 28px; }
.header { background: rgba(250, 246, 240, .96); }
.nav { max-width: 1220px; }
.nav__links { gap: 18px; }
.nav__logo { text-decoration: none; color: var(--color-text); }
.btn, .nav__cta, .contact-form button, .gallery__item img, .cta-banner { border-radius: 0; }
.btn--outline { margin-top: 24px; }
.hero { max-width: 960px; padding: 88px 28px 48px; }
.hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }
.formats { padding-top: 32px; }
.format-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.format-card { position: relative; display: block; overflow: hidden; background: var(--color-surface-muted); color: #fff; text-decoration: none; min-width: 0; }
.format-card:nth-child(-n+3) { grid-column: span 2; }
.format-card img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: center 25%; transition: transform .25s; }
.format-card:hover img { transform: scale(1.025); }
.format-card__label { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 80px 22px 24px; background: linear-gradient(transparent, rgba(30, 17, 20, .9)); }
.format-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.format-card__label span { font-size: 26px; }
.methods-section h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.page-heading { padding-bottom: 0; }
.page-heading h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-top: 28px; }
.back-link { font-size: 15px; text-underline-offset: 4px; }
.media-section { padding-top: 40px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; margin: 28px 0; }
.video-grid--reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-card { min-width: 0; width: 100%; max-width: 380px; margin: 0 auto; }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #21191b; }
.media-section > .video-card { margin-top: 48px; }
.media-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; }
.media-pair .gallery { margin-top: 0; display: block; }
.media-pair .gallery img { height: auto; }
.gallery__item { display: block; border: 0; padding: 0; background: transparent; min-width: 0; font: inherit; }
.gallery--atmosphere { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery--atmosphere .gallery__item img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--reviews { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 18px; max-width: 1100px; margin-inline: auto; }
.gallery--reviews .gallery__item { flex: 0 0 auto; max-width: 100%; padding: 8px; border: 1px solid #ded5cf; background: #fffdf9; }
.gallery--reviews .gallery__item img { height: 220px; max-height: none; width: auto; max-width: 100%; object-fit: contain; }
.gallery--reviews .gallery__item::after { content: 'Открыть отзыв ↗'; display: block; margin-top: 12px; color: var(--color-accent); font-size: 13px; line-height: 20px; text-align: center; }
.archive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin: 36px 0 60px; }
.archive-list h3 { margin-bottom: 8px; }
.archive-list .video-card { margin-top: 20px; }
.event-item { margin-bottom: 64px; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; margin: 0; padding: 54px 20px 20px; background: rgba(24, 13, 17, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(24, 13, 17, .94); }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: absolute; right: 20px; top: 10px; color: #fff; background: transparent; border: 0; font: 36px/1 sans-serif; width: 44px; height: 44px; cursor: pointer; }
body.has-lightbox { overflow: hidden; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--color-accent); color: #fff; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.lightbox__close:focus-visible { outline-color: #fff; }
h1, h2, h3, h4, p, li, a { overflow-wrap: anywhere; }
.upcoming { padding-top: 16px; }
.upcoming-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); margin-top: 28px; border: 1px solid var(--color-border); background: var(--color-surface); }
.upcoming-card > img { display: block; width: 100%; height: 100%; max-height: 440px; object-fit: cover; object-position: center 35%; }
.upcoming-card__body { padding: 32px; }
.upcoming-card h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.upcoming-card p { margin-top: 14px; }
.event-intro { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 48px; align-items: start; }
.event-intro__photo { display: block; width: 100%; height: auto; }
.event-intro p, .event-copy p { margin: 16px 0; }
.event-copy { max-width: 840px; padding-top: 0; }
.event-copy h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.event-author-list { list-style: none; margin: 24px 0; }
.event-author-list li { margin: 12px 0; }
blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--color-accent); background: var(--color-surface-muted); }
.schedule-stage { padding: 28px 0; border-top: 1px solid var(--color-border); }
.schedule-date { font-weight: 600; color: var(--color-accent); }
.event-source { display: inline-block; margin-top: 24px; text-underline-offset: 4px; }
.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; align-items: start; }
.price-group { min-width: 0; padding: 28px; border: 1px solid var(--color-border); background: var(--color-surface); }
.price-group h3 { margin-bottom: 20px; }
.price-group .prices-list { margin-top: 12px; }
.price-group .price-row { gap: 16px; }
.price-note { margin-top: 18px; color: var(--color-text-muted); }
.author-copy { max-width: 840px; padding-top: 0; }
.author-copy p { margin: 20px 0; }
.author-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 40px; }
.bowls-lead { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.bowls-copy { max-width: 1040px; }
.bowls-copy blockquote p { margin: 0; }
.bowls-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 36px 0; }
.bowls-benefits h3 { margin-bottom: 18px; }
.bowls-copy li { margin: 10px 0; }
.bowls-faq details { border-bottom: 1px solid #ded5cf; padding: 18px 0; }
.bowls-faq summary { cursor: pointer; font-weight: 600; }
.bowls-faq summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 5px; }
.bowls-notice { padding: 20px; border-left: 3px solid var(--color-accent); background: #fffdf9; }
.bowls-certificate { display: block; max-width: 760px; }
.bowls-certificate > .gallery__item { width: 100%; }
.bowls-certificate .gallery__item img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 1050px) { .nav__links { gap: 12px; font-size: .8rem; } .nav { padding-inline: 20px; } }
@media (max-width: 900px) and (min-width: 769px) { .nav__links { flex-wrap: wrap; justify-content: flex-end; max-width: 570px; } }
@media (max-width: 900px) { .gallery--atmosphere { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .section { padding: 48px 20px; }
  .hero { padding: 60px 20px 28px; }
  .formats { padding-top: 20px; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .format-card img { height: 260px; }
  .format-card__label { padding: 65px 16px 18px; }
  .format-card h3 { font-size: 1.45rem; }
  .format-card:nth-child(n+4) img { height: 230px; }
  .format-card:nth-child(n+4) h3 { font-size: 1.15rem; }
  .video-grid, .video-grid--reviews, .media-pair, .archive-list { grid-template-columns: 1fr; gap: 32px; }
  .gallery--reviews-featured { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .gallery--reviews .gallery__item img { height: 200px; }
  .bowls-benefits { grid-template-columns: 1fr; gap: 24px; }
  .gallery--atmosphere { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-heading { padding-bottom: 0; }
  .video-card { max-width: 340px; }
  .upcoming-card, .event-intro { grid-template-columns: 1fr; gap: 0; }
  .upcoming-card > img { height: auto; max-height: none; object-fit: contain; }
  .upcoming-card__body { padding: 24px; }
  .event-intro { gap: 24px; }
  .event-intro__photo { max-width: 330px; margin: auto; }
  .price-groups { grid-template-columns: 1fr; }
  .price-group { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .format-card img { transition: none; } }

/* Образование: весь документ виден, полный скан открывается в лайтбоксе. */
.education-caption { margin: 12px 0 0; text-align: center; }
.education-link { display: inline-block; margin-top: 16px; }
.education-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.education-card { margin: 0; min-width: 0; }
.education-card .gallery__item { display: block; width: 100%; padding: 10px; background: #f7f4ef; }
.education-card .gallery__item img { display: block; width: 100%; height: 240px; object-fit: contain; }
.education-card figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .education-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
