/* OM-Time marketing kit — cinematic editorial layer.
   Pairs the calm OM design system with a high-impact magazine-style execution. */

* { box-sizing: border-box; }

html, body { margin: 0; }

html.om-no-scroll, html.om-no-scroll body { overflow: hidden; }

.om-page {
  background: var(--om-canvas);
  color: var(--om-body);
  font-family: var(--om-font-sans);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.om-container {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
}

.om-section { padding: var(--om-space-section) 0; }
.om-section--tight { padding: 64px 0; }

/* =====================================================================
   ATMOSPHERIC LAYERS
   Grain, splash, progress bar, custom cursor.
   ===================================================================== */

/* Warm grain — sits over the whole page, ignores pointer events */
.om-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10  0 0 0 0 0.09  0 0 0 0 0.25  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Soft vignette to deepen the editorial mood */
.om-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(120% 60% at 50% 0%, transparent 60%, rgba(27,24,64,0.05) 100%),
    radial-gradient(120% 60% at 50% 100%, transparent 60%, rgba(27,24,64,0.08) 100%);
}

/* Splash — covers screen until React mounts */
.om-splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--om-canvas);
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.om-splash.om-splash-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.om-splash-mark {
  align-self: end;
  width: 84px;
  height: 84px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  animation: om-splash-mark-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s forwards;
}
.om-splash-mark img { width: 100%; height: 100%; object-fit: contain; }
.om-splash-line {
  width: 220px; height: 1px;
  background: var(--om-hairline);
  position: relative;
  overflow: hidden;
}
.om-splash-line span {
  position: absolute; inset: 0;
  background: var(--om-ink);
  transform-origin: left;
  transform: scaleX(0);
  animation: om-splash-line-grow 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
}
.om-splash-meta {
  align-self: start;
  font-family: var(--om-font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--om-muted);
  margin-top: 16px;
  opacity: 0;
  animation: om-splash-meta-in 0.6s ease 0.4s forwards;
}
@keyframes om-splash-mark-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes om-splash-line-grow {
  to { transform: scaleX(1); }
}
@keyframes om-splash-meta-in {
  to { opacity: 1; }
}

/* Progress bar — fixed top, fills as the page scrolls */
.om-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}
.om-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--om-coral) 0%, var(--om-gold) 50%, var(--om-indigo) 100%);
  transition: width 0.15s linear;
}

/* =====================================================================
   TYPE — kinetic display helpers
   Mix Onest with Fraunces italic for editorial emphasis.
   ===================================================================== */

.om-display {
  font-family: var(--om-font-sans);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--om-ink);
  text-wrap: balance;
}

.om-display-serif {
  font-family: var(--om-font-editorial);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--om-ink);
}

.om-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
}
.om-word-mask > span {
  display: inline-block;
  will-change: transform;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.om-char-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.om-char-mask > span {
  display: inline-block;
  will-change: transform;
}

/* =====================================================================
   BUTTONS — pill primary, magnetic-ready
   ===================================================================== */

.om-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--om-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.32s var(--om-ease-standard),
              background 0.32s var(--om-ease-standard),
              border-color 0.32s var(--om-ease-standard);
}
.om-btn:focus-visible { outline: none; box-shadow: var(--om-shadow-focus); }

.om-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--om-canvas);
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
  border-radius: inherit;
}
.om-btn:hover::before { transform: translateY(0); }

.om-btn--primary { background: var(--om-ink); color: #fff; }
.om-btn--primary::before { background: var(--om-gold); }
.om-btn--primary:hover { color: var(--om-on-gold); }

.om-btn--secondary {
  background: transparent;
  color: var(--om-ink);
  border-color: var(--om-ink);
}
.om-btn--secondary::before { background: var(--om-ink); }
.om-btn--secondary:hover { color: var(--om-canvas); border-color: var(--om-ink); }

.om-btn--gold { background: var(--om-gold); color: var(--om-on-gold); }
.om-btn--gold::before { background: var(--om-ink); }
.om-btn--gold:hover { color: var(--om-canvas); }

.om-btn--on-dark { background: var(--om-canvas); color: var(--om-ink); }
.om-btn--on-dark::before { background: var(--om-gold); }
.om-btn--on-dark:hover { color: var(--om-on-gold); }

.om-btn--ghost { background: transparent; color: var(--om-ink); padding: 12px 14px; }
.om-btn--ghost::before { display: none; }
.om-btn--ghost:hover { color: var(--om-link); }

/* Dark CTA on light/gold surfaces: dark→light hover, text stays readable */
.om-btn--ink { background: var(--om-ink); color: #fff; }
.om-btn--ink:hover { color: var(--om-ink); }

/* =====================================================================
   EYEBROW + TAGS
   ===================================================================== */

.om-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--om-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.om-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: 0.5;
}

.om-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--om-radius-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  color: var(--om-body);
}
.om-tag--gold { background: var(--om-gold-soft); color: var(--om-on-gold); border-color: transparent; }
.om-tag--sage { background: rgba(78, 107, 63, 0.14); color: var(--om-sage-deep); border-color: transparent; }
.om-tag--coral { background: rgba(192, 58, 59, 0.12); color: var(--om-coral-deep); border-color: transparent; }
.om-tag--lilac { background: var(--om-lilac); color: var(--om-indigo-deep); border-color: transparent; }
.om-tag--warn { background: rgba(196, 147, 33, 0.18); color: var(--om-warning); border-color: transparent; }

.om-icon-16 { width: 16px; height: 16px; flex-shrink: 0; }
.om-icon-20 { width: 20px; height: 20px; flex-shrink: 0; }
.om-icon-24 { width: 24px; height: 24px; flex-shrink: 0; }

.om-band--canvas-soft { background: var(--om-canvas-soft); }
.om-band--cream { background: var(--om-cream); }
.om-band--indigo { background: var(--om-indigo); color: var(--om-on-indigo); }
.om-band--indigo-deep { background: var(--om-indigo-deep); color: var(--om-on-indigo); }

/* =====================================================================
   HERO — cinematic editorial
   ===================================================================== */

.om-hero {
  position: relative;
  padding: 140px 0 96px 0;
  overflow: hidden;
}

.om-hero-grid {
  position: relative;
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
}

.om-hero-meta {
  position: absolute;
  top: 0; left: var(--om-container-pad);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--om-font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--om-muted);
}
.om-hero-meta .om-dot {
  width: 8px; height: 8px;
  background: var(--om-coral);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(192,58,59,0.7);
  animation: om-pulse 2.4s ease-out infinite;
}
@keyframes om-pulse {
  0% { box-shadow: 0 0 0 0 rgba(192,58,59,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(192,58,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,58,59,0); }
}

.om-hero-h1 {
  font-family: var(--om-font-sans);
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--om-ink);
  margin: 0;
  text-wrap: balance;
}
.om-hero-h1 .om-italic,
.om-hero-h1 .om-accent {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  letter-spacing: inherit;
  color: var(--om-coral-deep);
}

.om-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--om-body);
  max-width: 46ch;
  margin: 36px 0 40px 0;
}

.om-hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.om-hero-trust {
  margin-top: 56px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--om-muted);
}
.om-hero-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.01em;
}

/* Right column — stack with the coral card + ratings strip */
.om-hero-side {
  position: relative;
  height: 540px;
  perspective: 1200px;
}

.om-hero-card-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.om-hero-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--om-coral);
  color: var(--om-on-coral);
  border-radius: var(--om-radius-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 60px 100px -40px rgba(192,58,59,0.45);
}
.om-hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 30% 0%, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.om-hero-card-fig {
  font-family: var(--om-font-sans);
  font-weight: 500;
  font-size: clamp(96px, 10vw, 156px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--om-on-coral);
}
.om-hero-card-fig sup {
  font-family: var(--om-font-sans);
  font-size: 0.3em;
  font-weight: 500;
  vertical-align: super;
  margin-left: -0.06em;
}
.om-hero-card-cap {
  font-size: 16px;
  line-height: 1.4;
  margin: 8px 0 0 0;
  opacity: 0.9;
  max-width: 22ch;
}
.om-hero-card-source {
  font-family: var(--om-font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Floating chip under the card */
.om-hero-chip {
  position: absolute;
  bottom: -28px;
  left: -36px;
  background: var(--om-canvas-white);
  color: var(--om-ink);
  padding: 16px 22px;
  border-radius: var(--om-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--om-shadow-lifted);
  font-size: 13px;
  font-weight: 500;
}
.om-hero-chip-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--om-gold);
}
.om-hero-chip-meta {
  font-size: 11px;
  color: var(--om-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Hero next-event card ────────────────────────────────────── */
/* Карточка «Ближайшее событие» — сдержанный editorial-premium.
   Тёмный ink-блок-дата с display-цифрой Fraunces (тот же язык, что у
   primary-кнопки hero); коралл понижен до акцента (полоса, метка, стрелка,
   ambient-свечение тени). Воздух, hairline-делитель перед ценой,
   многослойная тень по единой шкале, табличные цифры. */
.om-hero-events {
  position: absolute;
  bottom: -34px;
  left: -48px;
  width: max-content;
  max-width: 440px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(27,24,64,0.08);
  box-shadow:
    0 1px 3px rgba(27,24,64,0.07),
    0 6px 16px -4px rgba(27,24,64,0.13),
    0 20px 40px -12px rgba(27,24,64,0.18),
    0 48px 88px -28px rgba(192,58,59,0.22);
  text-decoration: none;
  color: var(--om-ink);
  z-index: 10;
  overflow: hidden;
  transition: transform 340ms var(--om-ease-out),
              box-shadow 340ms ease;
}
.om-hero-events:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 3px rgba(27,24,64,0.07),
    0 8px 20px -4px rgba(27,24,64,0.16),
    0 28px 56px -12px rgba(27,24,64,0.22),
    0 64px 112px -28px rgba(192,58,59,0.30);
}

/* Блок-дата: глубокий ink-градиент (язык primary-кнопок), тонкий
   коралловый акцент сверху, display-цифра Fraunces (прямая, не курсив). */
.om-hero-events-cal {
  background: linear-gradient(165deg, #232050 0%, var(--om-ink) 55%, #14113a 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  flex-shrink: 0;
  position: relative;
}
.om-hero-events-cal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--om-coral), var(--om-coral-deep));
}
.om-hero-events-cal-d {
  display: block;
  font-family: var(--om-font-display);
  font-size: 40px;
  font-weight: 600;
  font-style: normal;            /* цифры всегда прямые, не курсив */
  line-height: 1;
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.om-hero-events-cal-m {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-top: 4px;
  font-family: var(--om-font-sans);
}

/* Основное тело */
.om-hero-events-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 20px;
  min-width: 0;
}
.om-hero-events-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--om-coral);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--om-font-mono);
}
.om-hero-events-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--om-ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--om-font-sans);
}
.om-hero-events-trainer {
  font-size: 11px;
  color: var(--om-muted);
  font-family: var(--om-font-mono);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Правая колонка — цена + круглая кнопка-стрелка, с hairline-делителем */
.om-hero-events-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 18px 20px 18px 18px;
  flex-shrink: 0;
  position: relative;
}
.om-hero-events-aside::before {
  content: '';
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent,
    rgba(27,24,64,0.1) 22%,
    rgba(27,24,64,0.1) 78%,
    transparent);
}
.om-hero-events-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--om-ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum' 1;
}
.om-hero-events-go {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(27,24,64,0.12);
  color: var(--om-coral);
  flex-shrink: 0;
  transition: background 260ms var(--om-ease-out),
              color 260ms var(--om-ease-out),
              border-color 260ms var(--om-ease-out),
              transform 260ms var(--om-ease-out);
}
.om-hero-events-go i { width: 16px; height: 16px; }
.om-hero-events:hover .om-hero-events-go {
  background: var(--om-coral);
  border-color: var(--om-coral);
  color: #fff;
  transform: scale(1.06);
}

/* Пульсирующая точка */
.om-hero-events-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--om-coral);
  flex-shrink: 0;
  display: inline-block;
  position: relative;
}
.om-hero-events-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--om-coral);
  opacity: 0;
  animation: om-hero-pulse-ring 2.2s ease-out infinite;
}
@keyframes om-hero-pulse-ring {
  0%   { transform: scale(0.4); opacity: 0.75; }
  75%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

@media (max-width: 900px) {
  .om-hero-events { left: 0; bottom: -24px; }
  .om-hero-events-cal { padding: 18px 20px; }
  .om-hero-events-cal-d { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .om-hero-events-pulse::after { animation: none; }
}

/* ── Announce bar ─────────────────────────────────────────────────────
   Премиальная строка-анонс над шапкой (см. AnnounceBar.jsx).
   Глубокий ink-фон с тёплой аврора-подсветкой + медленный световой блик;
   высококонтрастный коралл→золото бейдж-pill, glass-чип даты, золотая цена,
   капсульный CTA. Крестик справа закрывает строку до следующего события. */
.om-announce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 9px 60px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(192, 58, 59, 0.30) 0%, transparent 55%),
    radial-gradient(120% 180% at 100% 100%, rgba(242, 193, 46, 0.16) 0%, transparent 52%),
    linear-gradient(100deg, #221F4E 0%, var(--om-ink) 52%, #15123c 100%);
  color: #fff;
  font-family: var(--om-font-sans);
  z-index: 60;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  animation: om-announce-in 560ms var(--om-ease-out) both;
}
/* верхняя «живая» подсветка-хайрлайн (коралл→золото, медленно дышит) */
.om-announce::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent, var(--om-coral) 18%, var(--om-gold) 50%, var(--om-coral) 82%, transparent);
  background-size: 200% 100%;
  animation: om-announce-line 9s linear infinite;
}
/* мягкая дрейфующая аврора */
.om-announce-aurora {
  position: absolute;
  inset: -60% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 60% at 20% 50%, rgba(192, 58, 59, 0.34), transparent 70%),
    radial-gradient(34% 58% at 78% 40%, rgba(242, 193, 46, 0.18), transparent 70%);
  filter: blur(14px);
  opacity: 0.9;
  animation: om-announce-aurora 16s ease-in-out infinite alternate;
}
/* диагональный световой блик-проход */
.om-announce-sheen {
  position: absolute;
  top: 0; bottom: 0;
  left: -40%;
  width: 35%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent, rgba(255, 255, 255, 0.10) 45%, rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.10) 55%, transparent);
  transform: skewX(-14deg);
  animation: om-announce-sheen 7.5s ease-in-out 1.2s infinite;
}
.om-announce-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: var(--om-container-max);
  text-decoration: none;
  color: #fff;
}
/* Бейдж-pill «Ближайшее событие» — коралл→глубокий коралл, белый текст */
.om-announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--om-coral) 0%, var(--om-coral-deep) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 16px -6px rgba(192, 58, 59, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}
.om-announce-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.om-announce-badge-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  opacity: 0;
  animation: om-hero-pulse-ring 2.2s ease-out infinite;
}
/* группа «название + дата + отсчёт + цена»: при ротации перемонтируется
   с мягким появлением снизу (не марки́-бегунок — одиночная смена кадра) */
.om-announce-swap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  animation: om-announce-swap-in 420ms var(--om-ease-out) both;
}
.om-announce-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 38vw;
}
/* glass-чип даты с иконкой-календарём — читаемый белый текст */
.om-announce-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  backdrop-filter: blur(2px);
}
.om-announce-date i { width: 14px; height: 14px; opacity: 0.85; }
/* живой обратный отсчёт до старта — коралловый glass-чип, цифры прямые */
.om-announce-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(192, 58, 59, 0.28);
  border: 1px solid rgba(255, 122, 110, 0.45);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(2px);
  box-shadow: 0 0 18px -4px rgba(192, 58, 59, 0.55);
}
.om-announce-count i { width: 14px; height: 14px; opacity: 0.9; }
.om-announce-count-pre {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.om-announce-count-num {
  font-weight: 800;
  font-style: normal;            /* цифры всегда прямые, не курсив */
  letter-spacing: 0.01em;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.om-announce-price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--om-gold);
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-feature-settings: 'tnum' 1;
  text-shadow: 0 0 18px rgba(242, 193, 46, 0.35);
}
/* Капсульный CTA «Подробнее» с круглой стрелкой */
.om-announce-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 5px 6px 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 240ms var(--om-ease-out),
              border-color 240ms var(--om-ease-out);
}
.om-announce-cta-ic {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--om-coral);
  transition: transform 260ms var(--om-ease-out);
}
.om-announce-cta-ic i { width: 14px; height: 14px; }
.om-announce-main:hover .om-announce-cta {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.42);
}
.om-announce-main:hover .om-announce-cta-ic { transform: translate(2px, -2px); }
/* точки-индикаторы при нескольких событиях: текущая — вытянутая капсула */
.om-announce-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 4px;
}
.om-announce-dot {
  width: 6px; height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 280ms var(--om-ease-out), background 200ms ease;
}
.om-announce-dot:hover { background: rgba(255, 255, 255, 0.65); }
.om-announce-dot.is-active {
  width: 18px;
  background: linear-gradient(90deg, var(--om-coral), var(--om-gold));
}
.om-announce-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease,
              border-color 200ms ease, transform 200ms ease;
}
.om-announce-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) rotate(90deg);
}
.om-announce-close i { width: 15px; height: 15px; }
@keyframes om-announce-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes om-announce-line {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}
@keyframes om-announce-aurora {
  from { transform: translateX(-6%) scale(1); opacity: 0.75; }
  to   { transform: translateX(6%) scale(1.08); opacity: 1; }
}
@keyframes om-announce-sheen {
  0%   { left: -40%; }
  60%, 100% { left: 130%; }
}
@keyframes om-announce-swap-in {
  from { opacity: 0; transform: translateY(9px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (max-width: 1080px) {
  .om-announce-date { display: none; } /* отсчёт информативнее даты — оставляем его */
}
@media (max-width: 760px) {
  .om-announce { padding: 9px 50px; min-height: 46px; gap: 10px; }
  .om-announce-main { gap: 10px; }
  .om-announce-swap { gap: 10px; }
  .om-announce-date,
  .om-announce-count,
  .om-announce-price { display: none; }
  .om-announce-cta { padding: 4px 5px 4px 12px; }
  .om-announce-name { font-size: 13.5px; max-width: 56vw; }
}
@media (max-width: 460px) {
  .om-announce-cta { padding: 4px; gap: 0; font-size: 0; }
  .om-announce-badge { font-size: 10px; letter-spacing: 0.06em; }
  .om-announce-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .om-announce { animation: none; }
  .om-announce::before,
  .om-announce-aurora,
  .om-announce-sheen,
  .om-announce-badge-dot::after,
  .om-announce-swap { animation: none; }
  .om-announce-sheen { display: none; }
}

/* Hero bottom: license + license-academy strip */
.om-hero-foot {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--om-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--om-muted);
}
.om-hero-foot strong { color: var(--om-ink); font-weight: 500; }

/* =====================================================================
   HOVER LIFTS — preserve existing data-animate hover treatments
   ===================================================================== */

[data-animate="pain-card"],
[data-animate="testimonial-card"],
[data-animate="trust-card"],
[data-animate="day-card"],
[data-animate="schedule-item"] {
  transition: transform 0.36s var(--om-ease-out),
              box-shadow 0.36s var(--om-ease-out),
              background 0.36s var(--om-ease-out);
  will-change: transform;
}

[data-animate="pain-card"]:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(27, 24, 64, 0.14);
}
[data-animate="testimonial-card"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(27, 24, 64, 0.13);
}
[data-animate="trust-card"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(27, 24, 64, 0.12);
}
[data-animate="day-card"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 32px rgba(242, 193, 46, 0.22),
              0 22px 44px rgba(0, 0, 0, 0.30);
  background: rgba(255, 255, 255, 0.06) !important;
}
[data-animate="schedule-item"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(27, 24, 64, 0.10);
}

/* =====================================================================
   METHODOLOGY — horizontal pinned scroll
   ===================================================================== */

.om-method {
  background: var(--om-cream);
  position: relative;
  overflow: hidden;
}
.om-method-pin {
  height: 100vh;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.om-method-head {
  position: relative;
  padding: 112px var(--om-container-pad) 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  z-index: 2;
  flex: 0 0 auto;
}
.om-method-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--om-ink);
  margin: 0;
  max-width: 22ch;
  line-height: 1.05;
}
.om-method-head .om-method-counter {
  font-family: var(--om-font-mono);
  font-size: 13px;
  color: var(--om-coral-deep);
  letter-spacing: 0.08em;
}
.om-method-track {
  display: flex;
  gap: 32px;
  padding: 0 var(--om-container-pad);
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  will-change: transform;
}
.om-method-panel {
  flex: 0 0 auto;
  width: min(72vw, 740px);
  height: 52vh;
  min-height: 420px;
  background: var(--om-canvas-white);
  border-radius: var(--om-radius-xl);
  padding: 56px 56px 48px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--om-shadow-card);
}
.om-method-panel--gold { background: var(--om-gold); color: var(--om-on-gold); }
.om-method-panel--indigo { background: var(--om-indigo); color: var(--om-on-indigo); }
.om-method-panel--cream { background: var(--om-cream); border: 1px solid var(--om-hairline); }

.om-method-panel-num {
  font-family: var(--om-font-mono);
  font-weight: 500;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: currentColor;
  opacity: 0.85;
}
.om-method-panel-label {
  font-family: var(--om-font-sans);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.7;
}
.om-method-panel h3 {
  font-family: var(--om-font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: currentColor;
}
.om-method-panel p {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  color: currentColor;
  opacity: 0.85;
  max-width: 48ch;
}
.om-method-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
  border-top: 1px solid currentColor;
  padding-top: 16px;
}

.om-method-progress {
  position: relative;
  margin: 32px var(--om-container-pad) 48px;
  height: 2px;
  background: rgba(27,24,64,0.12);
  z-index: 2;
  overflow: hidden;
  flex: 0 0 auto;
}
.om-method-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--om-ink);
}

.om-method-cta {
  margin-top: 0;
  padding: 56px 0 96px;
  text-align: center;
}
.om-method-cta p {
  font-family: var(--om-font-editorial);
  font-style: normal;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--om-ink);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.4;
}

/* Fallback for very narrow screens — make horizontal scroll real CSS */
@media (max-width: 900px) {
  .om-method-pin {
    height: auto;
    min-height: 0;
    padding: 120px 0 64px;
    display: block;
  }
  .om-method-head {
    position: static;
    margin: 0 auto 48px;
    max-width: var(--om-container-max);
    padding: 0 var(--om-container-pad);
  }
  .om-method-track {
    transform: none !important;
    flex-direction: column;
    height: auto;
    gap: 18px;
  }
  .om-method-panel {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 36px 28px;
  }
  .om-method-progress { display: none; }
}

/* =====================================================================
   INTENSIVE DAYS — sticky narrative
   ===================================================================== */

.om-intensive {
  background: var(--om-indigo-deep);
  color: var(--om-on-indigo);
  padding: 120px 0 120px;
  position: relative;
  overflow: hidden;
}
.om-intensive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 80% 20%, rgba(242,193,46,0.10) 0%, transparent 60%),
              radial-gradient(60% 40% at 10% 90%, rgba(192,58,59,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.om-intensive-inner {
  position: relative;
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
}
.om-intensive-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 72px;
}
.om-intensive-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--om-on-indigo);
  margin: 0;
}
.om-intensive-head h2 .om-italic {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--om-gold);
}
.om-intensive-head p {
  font-size: 17px;
  color: rgba(251,248,242,0.7);
  margin: 0;
  max-width: 40ch;
}

.om-intensive-rail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.om-intensive-list {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--om-font-mono);
  font-size: 13px;
  color: rgba(251,248,242,0.5);
}
.om-intensive-list button {
  all: unset;
  cursor: pointer;
  padding: 12px 0;
  border-top: 1px solid rgba(251,248,242,0.12);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.24s var(--om-ease-standard);
}
.om-intensive-list button:hover { color: var(--om-on-indigo); }
.om-intensive-list button.is-active { color: var(--om-gold); }
.om-intensive-list button.is-active::after {
  content: '→';
  font-family: var(--om-font-sans);
}

.om-intensive-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.om-day {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(251,248,242,0.10);
  border-radius: var(--om-radius-xl);
  padding: 44px 44px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: start;
}
.om-day-num {
  font-family: var(--om-font-mono);
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--om-gold);
}
.om-day-tag {
  font-family: var(--om-font-mono);
  font-size: 12px;
  color: rgba(251,248,242,0.55);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.om-day h3 {
  font-family: var(--om-font-sans);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 14px 0;
  color: var(--om-on-indigo);
}
.om-day p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(251,248,242,0.82);
  margin: 0;
  max-width: 64ch;
}
.om-day-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--om-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251,248,242,0.55);
}
.om-day-meta span { padding: 6px 12px; border: 1px solid rgba(251,248,242,0.16); border-radius: var(--om-radius-pill); }

.om-intensive-footer {
  margin-top: 40px;
  background: var(--om-gold);
  color: var(--om-on-gold);
  border-radius: var(--om-radius-xl);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.om-intensive-footer h4 {
  font-family: var(--om-font-sans);
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}
.om-intensive-footer h4 .om-italic {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 600;
}
.om-intensive-footer p {
  margin: 8px 0 0 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
  opacity: 0.82;
}

@media (max-width: 900px) {
  .om-intensive-head { grid-template-columns: 1fr; }
  .om-intensive-rail { grid-template-columns: 1fr; }
  .om-intensive-list { position: static; flex-direction: row; gap: 12px; overflow-x: auto; }
  .om-intensive-list button { border-top: none; padding: 8px 0; }
  .om-day { grid-template-columns: 1fr; gap: 16px; padding: 32px 24px; }
  .om-intensive-footer { grid-template-columns: 1fr; }
}

/* =====================================================================
   TRUST NUMBERS — editorial asymmetric
   ===================================================================== */

.om-trust {
  background: var(--om-canvas);
  padding: 120px 0;
  position: relative;
}
.om-trust-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
}
.om-trust-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.om-trust-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--om-ink);
  margin: 12px 0 0 0;
  text-wrap: balance;
}
.om-trust-head h2 .om-italic,
.om-trust-head h2 .om-accent {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--om-coral-deep);
}
.om-trust-head .om-trust-source {
  font-family: var(--om-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--om-muted);
  max-width: 32ch;
  line-height: 1.55;
  padding-left: 28px;
  border-left: 1px solid var(--om-hairline);
}

/* 2x2 editorial grid — number left, caption right inside each card */
.om-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.om-trust-card {
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-xl);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 36px;
  row-gap: 16px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.om-trust-card--gold { background: var(--om-gold); color: var(--om-on-gold); border-color: transparent; }
.om-trust-card--indigo { background: var(--om-indigo); color: var(--om-on-indigo); border-color: transparent; }
.om-trust-card--coral { background: var(--om-coral); color: var(--om-on-coral); border-color: transparent; }

.om-trust-card-eyebrow {
  grid-column: 1 / -1;
  font-family: var(--om-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.78;
  align-self: start;
  margin-bottom: 12px;
}
.om-trust-card-num {
  font-family: var(--om-font-sans);
  font-weight: 500;
  font-size: clamp(64px, 7.2vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: currentColor;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-feature-settings: 'tnum', 'ss01';
  white-space: nowrap;
}
.om-trust-card-num .om-unit {
  font-family: var(--om-font-sans);
  font-size: 0.32em;
  font-weight: 500;
  color: currentColor;
  opacity: 0.85;
  margin-left: 4px;
  letter-spacing: 0;
}
.om-trust-card-num .om-prefix {
  font-family: var(--om-font-sans);
  font-size: 0.28em;
  font-weight: 500;
  color: currentColor;
  opacity: 0.85;
  margin-right: 10px;
  letter-spacing: 0;
  align-self: center;
}
.om-trust-card-cap {
  font-family: var(--om-font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: currentColor;
  opacity: 1;
  margin: 0;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .om-trust-card {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    column-gap: 0;
  }
  .om-trust-card-cap { max-width: none; }
}
@media (max-width: 700px) {
  .om-trust-head { grid-template-columns: 1fr; }
  .om-trust-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =====================================================================
   PAIN CARDS — large editorial scatter
   ===================================================================== */

.om-pains { padding: 120px 0; }
.om-pains-head {
  max-width: var(--om-container-max);
  margin: 0 auto 64px;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.om-pains-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--om-ink);
  margin: 0;
  text-wrap: balance;
}
.om-pains-head h2 .om-italic {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--om-indigo);
}
.om-pains-head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--om-muted);
  max-width: 36ch;
  margin: 0;
}

.om-pains-grid {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.om-pains-grid > div {
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}
.om-pains-grid > div.is-emph { background: var(--om-cream); border-color: transparent; }
.om-pains-num {
  font-family: var(--om-font-mono);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--om-coral-deep);
  letter-spacing: 0;
}
.om-pains-grid h4 {
  font-family: var(--om-font-sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--om-ink);
  margin: 0 0 14px 0;
  text-wrap: balance;
}
.om-pains-grid p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--om-body);
  margin: 0;
}

@media (max-width: 900px) {
  .om-pains-head { grid-template-columns: 1fr; }
  .om-pains-grid { grid-template-columns: 1fr; }
  .om-pains-grid > div { grid-template-columns: 1fr; padding: 28px; gap: 14px; }
}

/* =====================================================================
   COMPARISON TABLE — "winner lane" layout
   One CSS grid. Two full-height lanes (recessed traditional / elevated
   gold winner) are grid-row-spanning background items. Each data row is a
   `display:contents` wrapper, so its three cells become direct grid
   children and stay perfectly aligned across both lanes.
   ===================================================================== */

.om-compare {
  padding: 120px 0;
  background: var(--om-canvas);
}
.om-compare-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
}
.om-compare-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.om-compare-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--om-ink);
  margin: 14px 0 0 0;
  text-wrap: balance;
}
.om-compare-head h2 .om-italic {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--om-coral-deep);
}
.om-compare-head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--om-muted);
  margin: 0;
  max-width: 38ch;
}

/* Card holds the grid; padding-top gives the winner flag room to float */
.om-compare-card {
  position: relative;
  padding: 18px 14px 14px;
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-xl);
  box-shadow: var(--om-shadow-card);
}

/* All three layers share this exact column geometry. The first track is a
   fixed width so the background/flag overlays line up with the content cells
   regardless of label length. */
.om-compare-grid,
.om-compare-lanes,
.om-compare-flaglayer {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
}
.om-compare-grid { position: relative; }

/* ---- Background lanes overlay (z-0) --------------------------------- */
.om-compare-lanes,
.om-compare-flaglayer {
  position: absolute;
  inset: 0;
  grid-template-rows: 1fr;
  pointer-events: none;
}
.om-compare-lanes { z-index: 0; }
.om-compare-flaglayer { z-index: 5; align-items: start; }

.om-compare-lane {
  border-radius: 18px;
}
.om-compare-lane--bad {
  grid-column: 2;
  background:
    linear-gradient(180deg, rgba(27,24,64,0.05) 0%, rgba(27,24,64,0.015) 100%);
  border: 1px solid rgba(27,24,64,0.06);
}
.om-compare-lane--good {
  grid-column: 3;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(242,193,46,0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,251,238,0.9) 0%, var(--om-canvas-white) 100%);
  border: 1.5px solid rgba(242,193,46,0.5);
  box-shadow:
    0 2px 4px rgba(27,24,64,0.04),
    0 26px 60px -22px rgba(201,154,18,0.55),
    0 10px 28px -18px rgba(27,24,64,0.18);
}

/* Floating "наш метод" flag — top overlay, centered over the winner column */
.om-compare-flag {
  grid-column: 3;
  justify-self: center;
  margin-top: -13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-family: var(--om-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--om-on-gold);
  background: linear-gradient(135deg, #F8D45A 0%, var(--om-gold) 55%, var(--om-gold-deep) 100%);
  border-radius: var(--om-radius-pill);
  box-shadow: 0 6px 18px -4px rgba(201,154,18,0.6);
  white-space: nowrap;
}
.om-compare-flag .om-icon-16 { width: 14px; height: 14px; }

/* ---- Cells (z-1, sit on top of lanes) ------------------------------- */
.om-compare-row { display: contents; }

.om-compare-cell {
  position: relative;
  z-index: 1;
  padding: 24px 30px;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

/* Header row */
.om-compare-cell--head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 30px;
  padding-bottom: 26px;
  border-radius: 18px 18px 0 0;
}
.om-compare-col-title {
  font-family: var(--om-font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.om-compare-col-sub {
  font-family: var(--om-font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.om-compare-cell--head.om-compare-cell--bad {
  background: linear-gradient(158deg, #3a2e88 0%, #2E2470 45%, #1e1a5e 100%);
  color: rgba(251, 248, 242, 0.95);
}
.om-compare-cell--head.om-compare-cell--bad .om-compare-col-sub {
  color: rgba(251, 248, 242, 0.7);
  opacity: 1;
}
.om-compare-cell--head.om-compare-cell--good {
  background: linear-gradient(135deg, #F8D45A 0%, var(--om-gold) 60%, #EBB31F 100%);
  color: var(--om-on-gold);
  overflow: hidden;
}
.om-compare-cell--head.om-compare-cell--good::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  animation: om-compare-shimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes om-compare-shimmer {
  0%    { left: -80%; }
  35%   { left: 150%; }
  100%  { left: 150%; }
}

/* Top-left corner */
.om-compare-cell--corner {
  align-items: flex-end;
  padding-bottom: 26px;
}
.om-compare-corner-label {
  font-family: var(--om-font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--om-faint);
}

/* Criterion label (first column of each data row).
   Inherits display:flex from .om-compare-cell; center the text vertically so
   it aligns with the multi-line value cells and the row dividers line up. */
.om-compare-label {
  align-items: center;
  font-family: var(--om-font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--om-ink);
  padding-right: 20px;
}

/* Value cells */
.om-compare-cell--bad {
  color: var(--om-body);
  transition: opacity 0.25s ease;
}
.om-compare-cell--good {
  color: var(--om-ink);
  font-weight: 500;
}

/* Within-lane row dividers (skip last row of each lane) */
.om-compare-row:not(:nth-last-child(2)) .om-compare-label { border-bottom: 1px solid var(--om-hairline-soft); }
.om-compare-row:not(:nth-last-child(2)) .om-compare-cell--bad { border-bottom: 1px solid rgba(27,24,64,0.06); }
.om-compare-row:not(:nth-last-child(2)) .om-compare-cell--good { border-bottom: 1px solid rgba(242,193,46,0.22); }
.om-compare-row:not(:nth-last-child(2)) .om-compare-label,
.om-compare-row:not(:nth-last-child(2)) .om-compare-cell--bad,
.om-compare-row:not(:nth-last-child(2)) .om-compare-cell--good { padding-bottom: 23px; }

/* Mark badges (check / x in a soft circle) */
.om-compare-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--om-radius-full);
  margin-top: 1px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.om-compare-mark--bad {
  color: var(--om-coral-deep);
  background: rgba(192,58,59,0.1);
}
.om-compare-mark--good {
  color: var(--om-canvas);
  background: var(--om-sage-deep);
  box-shadow: 0 4px 10px -3px rgba(78,107,63,0.5);
}

/* Hover: spotlight the winner, recede the traditional column */
.om-compare-row:hover .om-compare-mark--good { transform: scale(1.14); }
.om-compare-row:hover .om-compare-cell--bad { opacity: 0.5; }
.om-compare-row:hover .om-compare-cell--bad .om-compare-mark--bad { transform: scale(0.85); }

@media (prefers-reduced-motion: reduce) {
  .om-compare-cell--head.om-compare-cell--good::after { animation: none; }
  .om-compare-mark { transition: none; }
}

/* ---- Mobile: lanes off, cells become self-contained stacked blocks --- */
@media (max-width: 900px) {
  .om-compare { padding: 80px 0; }
  .om-compare-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .om-compare-card { padding: 12px; }
  .om-compare-grid { grid-template-columns: 1fr; }
  /* Overlays only make sense in the 3-column layout */
  .om-compare-lanes,
  .om-compare-flaglayer { display: none; }

  /* Re-introduce per-row grouping so each criterion reads as one block */
  .om-compare-row {
    display: block;
    margin-bottom: 14px;
    border: 1px solid var(--om-hairline);
    border-radius: var(--om-radius-lg);
    overflow: hidden;
  }
  .om-compare-row:last-child { margin-bottom: 0; }

  .om-compare-cell--corner { display: none; }
  .om-compare-cell--head {
    border-radius: 0;
    margin-bottom: 14px;
  }
  .om-compare-cell--head.om-compare-cell--bad { border-radius: var(--om-radius-lg) var(--om-radius-lg) 0 0; }
  .om-compare-cell--head.om-compare-cell--good { border-radius: var(--om-radius-lg); border: 1.5px solid rgba(242,193,46,0.5); }

  .om-compare-label {
    padding: 16px 20px;
    background: var(--om-canvas-soft);
    border-bottom: 1px solid var(--om-hairline) !important;
  }
  .om-compare-cell--bad,
  .om-compare-cell--good {
    padding: 16px 20px !important;
    border-bottom: none !important;
  }
  .om-compare-cell--good { background: rgba(242,193,46,0.08); }
}

/* =====================================================================
   SUITABILITY — "кому подходит / не подходит" two-card contrast
   ===================================================================== */

.om-suit {
  padding: 120px 0;
  background: var(--om-canvas);
}
.om-suit-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
}
.om-suit-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.om-suit-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--om-ink);
  margin: 0;
  text-wrap: balance;
}
.om-suit-head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--om-muted);
  margin: 0;
  max-width: 36ch;
}

.om-suit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ---- Cards --------------------------------------------------------- */
.om-suit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--om-radius-xl);
  padding: 14px 44px 40px;
  overflow: hidden;
  transition: transform 0.4s var(--om-ease-out), box-shadow 0.4s var(--om-ease-out);
}
.om-suit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 2;
}
.om-suit-card--yes {
  background: linear-gradient(168deg, #F8ECD2 0%, var(--om-cream) 100%);
  border: 1px solid rgba(78,107,63,0.2);
  box-shadow: 0 2px 4px rgba(27,24,64,0.04), 0 20px 50px -28px rgba(78,107,63,0.4);
}
.om-suit-card--yes::before { background: var(--om-sage-deep); }
.om-suit-card--no {
  background: linear-gradient(168deg, #322a78 0%, var(--om-indigo) 55%, var(--om-indigo-deep) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 4px rgba(27,24,64,0.1), 0 24px 56px -28px rgba(27,20,72,0.8);
}
.om-suit-card--no::before { background: var(--om-coral); }

.om-suit-card:hover {
  transform: translateY(-6px);
}
.om-suit-card--yes:hover { box-shadow: 0 4px 8px rgba(27,24,64,0.05), 0 30px 64px -26px rgba(78,107,63,0.5); }
.om-suit-card--no:hover { box-shadow: 0 4px 8px rgba(27,24,64,0.12), 0 34px 70px -26px rgba(27,20,72,0.9); }

/* Decorative corner glow */
.om-suit-glow {
  position: absolute;
  top: -28%;
  right: -18%;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}
.om-suit-glow--yes {
  background: radial-gradient(50% 50% at 50% 50%, rgba(78,107,63,0.18) 0%, transparent 70%);
}
.om-suit-glow--no {
  background: radial-gradient(50% 50% at 50% 50%, rgba(192,58,59,0.22) 0%, transparent 70%);
}

/* ---- Card head ----------------------------------------------------- */
.om-suit-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
  padding-top: 30px;
}
.om-suit-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  font-family: var(--om-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--om-radius-pill);
}
.om-suit-tag--yes {
  color: var(--om-canvas);
  background: var(--om-sage-deep);
  box-shadow: 0 6px 16px -6px rgba(78,107,63,0.7);
}
.om-suit-tag--no {
  color: var(--om-on-coral);
  background: var(--om-coral);
  box-shadow: 0 6px 16px -6px rgba(192,58,59,0.7);
}
.om-suit-count {
  font-family: var(--om-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--om-sage-deep);
  opacity: 0.75;
}
.om-suit-count--no { color: rgba(251,248,242,0.5); }

/* ---- List ---------------------------------------------------------- */
.om-suit-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.om-suit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 14px;
  margin: 0 -14px;
  border-radius: var(--om-radius-md);
  font-size: 15px;
  line-height: 1.5;
  transition: transform 0.28s var(--om-ease-out), background 0.28s var(--om-ease-out);
}
.om-suit-item--yes {
  color: var(--om-ink);
  border-bottom: 1px solid rgba(78,107,63,0.14);
}
.om-suit-item--no {
  color: var(--om-on-indigo);
  border-bottom: 1px solid rgba(251,248,242,0.09);
}
.om-suit-item:last-child { border-bottom: none; }

.om-suit-item--yes:hover {
  background: rgba(78,107,63,0.09);
  transform: translateX(5px);
}
.om-suit-item--no:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(5px);
}

.om-suit-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--om-radius-full);
  margin-top: 1px;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.om-suit-ico--yes {
  color: var(--om-canvas);
  background: var(--om-sage-deep);
  box-shadow: 0 4px 10px -3px rgba(78,107,63,0.5);
}
.om-suit-ico--no {
  color: #F0A8A6;
  background: rgba(192,58,59,0.22);
}
.om-suit-item:hover .om-suit-ico { transform: scale(1.12); }

.om-suit-text { flex: 1; }

/* ---- Footer note --------------------------------------------------- */
.om-suit-note {
  position: relative;
  z-index: 1;
  margin: 26px 0 0;
  padding-top: 22px;
  font-size: 13px;
  line-height: 1.5;
}
.om-suit-note--yes {
  border-top: 1px solid rgba(78,107,63,0.16);
  color: var(--om-sage-deep);
}
.om-suit-note--no {
  border-top: 1px solid rgba(251,248,242,0.1);
  color: rgba(251,248,242,0.55);
}

@media (prefers-reduced-motion: reduce) {
  .om-suit-card,
  .om-suit-item,
  .om-suit-ico { transition: none; }
}

@media (max-width: 760px) {
  .om-suit { padding: 80px 0; }
  .om-suit-card { padding: 14px 28px 32px; }
}

/* =====================================================================
   TESTIMONIALS — overlap layout with huge pull-quote
   ===================================================================== */

.om-testimonials {
  padding: 120px 0;
  background: var(--om-cream);
  position: relative;
  overflow: hidden;
}
.om-testimonials-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
}
.om-testimonials-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.om-testimonials-head h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--om-ink);
  margin: 0;
}
.om-testimonials-head h2 .om-italic {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--om-coral-deep);
}
.om-testimonials-head p {
  font-size: 15px;
  color: var(--om-muted);
  margin: 0;
  max-width: 36ch;
}

/* Marquee track */
.om-testimonial-marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0 24px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0px,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0px,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}
.om-testimonial-track {
  display: flex;
  gap: 20px;
  padding: 12px 10px 12px;
  width: max-content;
  animation: om-testimonials-scroll 55s linear infinite;
}
.om-testimonial-marquee:hover .om-testimonial-track {
  animation-play-state: paused;
}
@keyframes om-testimonials-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.om-testimonial-card {
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-xl);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  width: 360px;
  transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.om-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 24, 64, 0.12);
}
.om-testimonial-card.is-1 { background: var(--om-indigo); border-color: transparent; }
.om-testimonial-card.is-2 { }
.om-testimonial-card.is-3 { background: var(--om-gold); border-color: transparent; }

/* Indigo card — first featured review */
.om-testimonial-card.is-1 .om-testimonial-avatar { background: rgba(251,248,242,0.14); color: var(--om-on-indigo); }
.om-testimonial-card.is-1 .om-testimonial-name { color: var(--om-on-indigo); }
.om-testimonial-card.is-1 .om-testimonial-meta { color: rgba(251,248,242,0.55); }
.om-testimonial-card.is-1 .om-testimonial-quote { color: var(--om-on-indigo); }
.om-testimonial-card.is-1 .om-testimonial-pip { background: rgba(251,248,242,0.12); color: rgba(251,248,242,0.85); }

/* Gold card — third review */
.om-testimonial-card.is-3 .om-testimonial-avatar { background: rgba(27,24,64,0.12); color: var(--om-on-gold); }
.om-testimonial-card.is-3 .om-testimonial-name { color: var(--om-on-gold); }
.om-testimonial-card.is-3 .om-testimonial-meta { color: rgba(27,24,64,0.55); }
.om-testimonial-card.is-3 .om-testimonial-quote { color: var(--om-on-gold); }
.om-testimonial-card.is-3 .om-testimonial-pip { background: rgba(27,24,64,0.12); color: rgba(27,24,64,0.80); }

.om-testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.om-testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--om-lilac);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--om-font-sans);
  font-weight: 500;
  font-size: 20px;
  color: var(--om-ink);
}
.om-testimonial-name { font-size: 16px; font-weight: 500; color: var(--om-ink); }
.om-testimonial-meta { font-size: 12px; color: var(--om-muted); font-family: var(--om-font-mono); letter-spacing: 0.04em; }

.om-testimonial-quote {
  font-family: var(--om-font-editorial);
  font-style: normal;
  font-size: 18px;
  line-height: 1.5;
  color: var(--om-ink);
  margin: 0;
  text-wrap: balance;
}
.om-testimonial-pips {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--om-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 8px;
}
.om-testimonial-pip {
  padding: 6px 12px;
  background: rgba(78, 107, 63, 0.14);
  color: var(--om-sage-deep);
  border-radius: var(--om-radius-pill);
}

@media (max-width: 900px) {
  .om-testimonials-head { grid-template-columns: 1fr; }
  .om-testimonial-card { width: 300px; padding: 28px 24px 24px; }
  .om-testimonial-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .om-testimonial-track { animation: none; }
}

/* =====================================================================
   CTA BAND — full-bleed editorial closer
   ===================================================================== */

.om-cta {
  padding: 120px 0;
  background: var(--om-indigo-deep);
  color: var(--om-on-indigo);
  position: relative;
  overflow: hidden;
}
.om-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 65%;
  height: 180%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242,193,46,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.om-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 50%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(192,58,59,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.om-cta-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  position: relative;
}
.om-cta-card {
  background: transparent;
  color: var(--om-on-indigo);
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.om-cta-card::before { display: none; }
.om-cta-card::after  { display: none; }
.om-cta-card h2 {
  font-family: var(--om-font-sans);
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--om-on-indigo);
  margin: 0;
  text-wrap: balance;
}
.om-cta-card h2 .om-italic {
  font-family: var(--om-font-sans);
  font-style: normal;
  font-weight: 500;
  color: var(--om-gold);
}
.om-cta-side { position: relative; }
.om-cta-side p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(251,248,242,0.78);
  margin: 0 0 36px 0;
  max-width: 38ch;
}
.om-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .om-cta { padding: 80px 0; }
  .om-cta-card { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================================
   FAQ + lighter-touch tweaks left from prior animation system
   ===================================================================== */

[data-animate="faq-content"] {
  overflow: hidden;
  will-change: height;
}

@keyframes om-cta-pulse {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
[data-animate="cta-band-bg"] {
  background: linear-gradient(120deg,
    var(--om-canvas-strong) 0%,
    var(--om-cream) 50%,
    var(--om-canvas-strong) 100%);
  background-size: 220% 220%;
  animation: om-cta-pulse 9s ease-in-out infinite;
}



/* ── Hero card float ─────────────────────────────────────────── */
@keyframes om-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(0.5deg); }
  66%       { transform: translateY(-6px) rotate(-0.3deg); }
}
.om-hero-card-float {
  animation: om-float 7s ease-in-out infinite;
}
@media (max-width: 767px) {
  .om-hero-card-float { animation: none; }
}

/* ── Hero carousel — 3D coverflow ─────────────────────────────── */
/* Перспектива задаётся на самом контейнере карусели (а не на .om-hero-side),
   чтобы эффект работал одинаково и на десктопе, и на мобиле, где у
   .om-hero-side perspective отключён. Контейнер — носитель перспективы
   (без preserve-3d), трек — 3D-сцена (preserve-3d), карточки крутятся в ней.
   Важно: НЕ ставим overflow:hidden на 3D-слои — это «расплющивает» контекст. */
.om-hero-carousel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  perspective: 1200px;
}
.om-hero-cf-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.om-hero-cf-slide {
  position: absolute;
  top: 50%; left: 50%;
  width: 76%;
  height: 100%;
  border-radius: var(--om-radius-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--om-indigo-deep, #1b1840);
  box-shadow: 0 40px 80px -28px rgba(27,24,64,0.5);
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.7s ease,
    filter 0.7s ease;
  will-change: transform, opacity, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.om-hero-cf-slide.is-active { cursor: default; }
.om-hero-cf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
  user-select: none;
}
/* Лёгкая вуаль затемняет боковые карточки, центр — чистый. */
.om-hero-cf-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 24, 64, 0.34);
  opacity: 1;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.om-hero-cf-slide.is-active::after { opacity: 0; }

/* Стрелки вперёд/назад — плоский слой поверх веера. */
.om-hero-cf-nav {
  position: absolute;
  top: 50%;
  /* translateZ выносит кнопку перед веером в 3D-контексте preserve-3d,
     где обычный z-index ненадёжен. */
  transform: translateY(-50%) translateZ(2px);
  z-index: 40;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(27, 24, 64, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.om-hero-cf-nav:hover { background: rgba(27, 24, 64, 0.66); }
.om-hero-cf-nav:active { transform: translateY(-50%) translateZ(2px) scale(0.92); }
.om-hero-cf-nav--prev { left: -6px; }
.om-hero-cf-nav--next { right: -6px; }
.om-hero-cf-nav svg { width: 20px; height: 20px; }
.om-hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateZ(2px);
  display: flex;
  gap: 7px;
  z-index: 40;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
}
.om-hero-carousel-dot {
  all: unset;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.om-hero-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.4);
}
.om-hero-carousel-dot:hover:not(.is-active) {
  background: rgba(255,255,255,0.75);
}
@media (prefers-reduced-motion: reduce) {
  .om-hero-cf-slide { transition: none; }
  .om-hero-card-float { animation: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .om-hero-meta .om-dot,
  [data-animate="cta-band-bg"] {
    animation: none !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .om-splash-mark, .om-splash-line span, .om-splash-meta { animation: none !important; opacity: 1 !important; transform: none !important; }
  .om-splash-line span { transform: scaleX(1) !important; }
}

/* Mobile */
@media (max-width: 900px) {
  .om-hero { padding: 40px 0 64px; }
  .om-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  /* Show the full 3:4 poster, then drop the "next event" card BELOW it
     instead of overlapping (the overlap hid the slide). Also remove the
     perspective context here — it softened the event-card text on mobile. */
  .om-hero-side {
    height: auto;
    perspective: none;
  }
  .om-hero-card-stage {
    position: relative;
    inset: auto;
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
  }
  /* 3D-веер работает и на мобиле; стрелки прячем (мелковато на узком
     экране) — остаются точки, автосмена и тап по боковой карточке. */
  .om-hero-cf-nav { display: none; }
  .om-hero-events {
    position: static;
    left: auto; right: auto; bottom: auto;
    display: grid;
    width: 100%;
    max-width: 412px;
    margin: 18px auto 0;
  }
  .om-hero-chip { left: 0; bottom: -16px; }
  .om-hero-meta { position: static; margin-bottom: 24px; }
}

/* =====================================================================
   REVIEWS PAGE
   ===================================================================== */

@keyframes om-review-card-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.om-reviews-cards .om-testimonial-card {
  width: 100%;
  flex-shrink: 1;
  animation: om-review-card-in 0.5s var(--om-ease-out) both;
}
.om-reviews-cards .om-testimonial-card:nth-child(3n+1) { animation-delay: 0ms; }
.om-reviews-cards .om-testimonial-card:nth-child(3n+2) { animation-delay: 55ms; }
.om-reviews-cards .om-testimonial-card:nth-child(3n+3) { animation-delay: 110ms; }

.om-review-card-program {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(27,24,64,0.08);
}
.om-testimonial-card.is-1 .om-review-card-program { border-top-color: rgba(251,248,242,0.12); }
.om-testimonial-card.is-3 .om-review-card-program { border-top-color: rgba(27,24,64,0.10); }

/* Hero */
.om-reviews-hero {
  background: var(--om-indigo-deep);
  color: var(--om-on-indigo);
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
}
.om-reviews-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(242,193,46,0.13) 0%, transparent 60%),
    radial-gradient(50% 40% at 10% 100%, rgba(192,58,59,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.om-reviews-hero-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.om-reviews-hero-chips {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.om-reviews-hero-chip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(251,248,242,0.06);
  border: 1px solid rgba(251,248,242,0.11);
  border-radius: var(--om-radius-xl);
  padding: 22px 28px;
}
.om-reviews-hero-chip-num {
  font-family: var(--om-font-sans);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--om-on-indigo);
  white-space: nowrap;
}
.om-reviews-hero-chip-label {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(251,248,242,0.62);
  max-width: 14ch;
}

/* Filter + grid */
.om-reviews-grid-section {
  padding: 96px 0 80px;
  background: var(--om-canvas);
}
.om-reviews-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.om-reviews-filter-chip {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--om-radius-pill);
  font-family: var(--om-font-sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--om-hairline);
  color: var(--om-body);
  background: var(--om-canvas-white);
  transition: color 0.2s var(--om-ease-standard),
              background 0.2s var(--om-ease-standard),
              border-color 0.2s var(--om-ease-standard);
}
.om-reviews-filter-chip:hover { border-color: var(--om-ink); color: var(--om-ink); }
.om-reviews-filter-chip.is-active {
  background: var(--om-ink);
  color: var(--om-on-indigo);
  border-color: var(--om-ink);
}
.om-reviews-filter-count {
  font-family: var(--om-font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(251,248,242,0.18);
  color: inherit;
}
.om-reviews-filter-chip:not(.is-active) .om-reviews-filter-count {
  background: var(--om-canvas-soft);
  color: var(--om-muted);
}
.om-reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Featured quote */
.om-reviews-featured {
  background: var(--om-cream);
  padding: 96px 0;
}
.om-reviews-featured-inner {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  align-items: start;
}
.om-reviews-featured-label { padding-top: 10px; }
.om-reviews-featured-quote {
  font-family: var(--om-font-editorial);
  font-style: normal;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.45;
  color: var(--om-ink);
  margin: 0 0 40px 0;
  quotes: none;
}
.om-reviews-featured-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Form section */
.om-reviews-form-section {
  background: var(--om-canvas-soft);
  padding: 96px 0;
}
.om-reviews-form-wrap {
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}
.om-reviews-form-card {
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-xl);
  padding: 48px;
  box-shadow: var(--om-shadow-card);
}

/* Form elements */
.om-reviews-form-fields { display: flex; flex-direction: column; gap: 24px; }
.om-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.om-form-field { display: flex; flex-direction: column; gap: 8px; }
.om-form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--om-ink);
  letter-spacing: 0.01em;
}
.om-form-input,
.om-form-select,
.om-form-textarea {
  font-family: var(--om-font-sans);
  font-size: 15px;
  color: var(--om-ink);
  background: var(--om-canvas);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s var(--om-ease-standard),
              box-shadow 0.2s var(--om-ease-standard);
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}
.om-form-input:focus,
.om-form-select:focus,
.om-form-textarea:focus {
  border-color: var(--om-ink);
  box-shadow: var(--om-shadow-focus);
}
.om-form-input.is-error,
.om-form-select.is-error,
.om-form-textarea.is-error { border-color: var(--om-coral); }
.om-form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.om-form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6890' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.om-form-error {
  font-size: 12px;
  color: var(--om-coral);
  font-family: var(--om-font-sans);
  margin-top: -2px;
}
.om-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 48px 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .om-reviews-hero { padding: 100px 0 72px; }
  .om-reviews-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .om-reviews-hero-chips { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .om-reviews-hero-chip { flex: 1 1 160px; }
  .om-reviews-cards { grid-template-columns: repeat(2, 1fr); }
  .om-reviews-featured-inner { grid-template-columns: 1fr; gap: 32px; }
  .om-reviews-form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .om-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .om-reviews-cards { grid-template-columns: 1fr; }
  .om-reviews-form-card { padding: 28px 20px; }
  .om-reviews-cards .om-testimonial-card:nth-child(n) { animation-delay: 0ms; }
}

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */

/* Timeline */
.om-about-tl {
  position: relative;
  padding-left: 72px;
}
.om-about-tl::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(251,248,242,0.14);
}
.om-about-tl-item {
  position: relative;
  padding-bottom: 52px;
}
.om-about-tl-item:last-child { padding-bottom: 0; }
.om-about-tl-dot {
  position: absolute;
  left: -57px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--om-gold);
  box-shadow: 0 0 0 4px rgba(242,193,46,0.22);
}
.om-about-tl-item.is-now .om-about-tl-dot {
  box-shadow: 0 0 0 4px rgba(242,193,46,0.3), 0 0 0 8px rgba(242,193,46,0.12);
}

/* Evidence grid on dark background */
.om-about-ev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(251,248,242,0.08);
  border-radius: var(--om-radius-xl);
  overflow: hidden;
}
.om-about-ev-cell {
  background: rgba(255,255,255,0.03);
  padding: 44px 36px;
}
.om-about-ev-cell:first-child { border-radius: var(--om-radius-xl) 0 0 var(--om-radius-xl); }
.om-about-ev-cell:last-child { border-radius: 0 var(--om-radius-xl) var(--om-radius-xl) 0; }

/* Map placeholder */
.om-about-map {
  border-radius: var(--om-radius-xl);
  background: var(--om-canvas-soft);
  border: 1px solid var(--om-hairline);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.om-about-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 55% 45%, rgba(46,36,112,0.07) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(27,24,64,0.04) 0, rgba(27,24,64,0.04) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(27,24,64,0.04) 0, rgba(27,24,64,0.04) 1px, transparent 1px, transparent 48px);
}
.om-about-map-pin {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}
.om-about-map-pin-dot {
  width: 16px;
  height: 16px;
  background: var(--om-coral);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(192,58,59,0.5);
  position: relative;
  z-index: 1;
}
.om-about-map-pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(192,58,59,0.15);
  animation: om-pulse 2.4s ease-out infinite;
}
.om-about-map-label {
  position: relative;
  background: var(--om-canvas-white);
  border: 1px solid var(--om-hairline);
  border-radius: var(--om-radius-md);
  padding: 16px 20px;
  margin: 16px;
  box-shadow: var(--om-shadow-lifted);
  width: 100%;
}

/* Pillar accent line */
.om-about-pillar-num {
  font-family: var(--om-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--om-coral-deep);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .om-about-ev-grid { grid-template-columns: repeat(2, 1fr); }
  .om-about-ev-cell:nth-child(2) { border-radius: 0 var(--om-radius-xl) 0 0; }
  .om-about-ev-cell:nth-child(3) { border-radius: 0 0 0 var(--om-radius-xl); }
  .om-about-ev-cell:last-child { border-radius: 0 0 var(--om-radius-xl) 0; }
  .om-about-ev-cell:first-child { border-radius: var(--om-radius-xl) 0 0 0; }
}
@media (max-width: 600px) {
  .om-about-ev-grid { grid-template-columns: 1fr; }
  .om-about-ev-cell { border-radius: 0 !important; }
  .om-about-ev-grid { border-radius: var(--om-radius-xl); }
  .om-about-tl { padding-left: 48px; }
  .om-about-tl::before { left: 15px; }
  .om-about-tl-dot { left: -41px; }
}

/* =====================================================================
   HEADER — sticky bar + mobile burger drawer
   Styles moved out of Header.jsx inline objects so media queries work.
   ===================================================================== */

.om-header {
  --om-header-h: 84px;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--om-header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 242, 0.72);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, height 0.3s;
}
.om-header-inner {
  width: 100%;
  max-width: var(--om-container-max);
  margin: 0 auto;
  padding: 0 var(--om-container-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.om-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--om-ink);
  border-bottom: none;
}
.om-header-brand:hover { border-bottom: none; }
.om-header-mark { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.om-header-brand-text { display: flex; flex-direction: column; line-height: 1; }
.om-header-brand-name { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.om-header-brand-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--om-muted);
  margin-top: 4px;
}
.om-header-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-family: var(--om-font-sans);
}
.om-header-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--om-body);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--om-ease-standard), border-color 0.2s var(--om-ease-standard);
}
.om-header-link:hover { color: var(--om-ink); border-bottom-color: var(--om-ink); }
.om-header-link.is-active { color: var(--om-ink); border-bottom-color: var(--om-ink); }
.om-header-actions { display: flex; align-items: center; gap: 14px; }
.om-header-locale {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--om-muted);
  display: flex;
  gap: 8px;
  margin-right: 8px;
}
.om-header-locale .is-active { color: var(--om-ink); }

/* Burger button — hidden on desktop, shown < 900px */
.om-header-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  margin-left: 2px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.om-header-burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--om-ink);
  transition: transform 0.3s var(--om-ease-standard), opacity 0.2s var(--om-ease-standard);
}
.om-header-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.om-header-burger.is-open span:nth-child(2) { opacity: 0; }
.om-header-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.om-header-mobile {
  position: fixed;
  top: var(--om-header-h);
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--om-canvas);
  border-top: 1px solid var(--om-hairline);
  box-shadow: var(--om-shadow-lifted);
  padding: 12px var(--om-container-pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - var(--om-header-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.28s var(--om-ease-standard),
              transform 0.28s var(--om-ease-standard),
              visibility 0.28s var(--om-ease-standard);
}
.om-header-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.om-header-mobile-nav { display: flex; flex-direction: column; }
.om-header-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-family: var(--om-font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--om-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--om-hairline-soft);
}
.om-header-mobile-link:hover { border-bottom-color: var(--om-hairline-soft); }
.om-header-mobile-link.is-active { color: var(--om-coral-deep); }
.om-header-mobile-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.om-header-mobile-locale {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--om-muted);
}
.om-header-mobile-locale .is-active { color: var(--om-ink); }

/* Scrim behind the drawer */
.om-header-scrim {
  position: fixed;
  top: var(--om-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 48;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(27, 24, 64, 0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--om-ease-standard), visibility 0.28s var(--om-ease-standard);
}
.om-header-scrim.is-open { opacity: 1; visibility: visible; }

@media (min-width: 901px) {
  .om-header-mobile,
  .om-header-scrim { display: none; }
}

@media (max-width: 900px) {
  .om-header { --om-header-h: 64px; }
  .om-header-mark { width: 34px; height: 34px; }
  .om-header-inner { gap: 16px; }
  .om-header-nav,
  .om-header-login { display: none; }
  .om-header-burger { display: flex; }
  /* Keep the language switcher visible in the bar on mobile instead of
     burying it in the drawer; drop the now-duplicate one inside the menu. */
  .om-header-locale { display: flex; margin-right: 4px; }
  .om-header-mobile-locale { display: none; }
}
@media (max-width: 520px) {
  .om-header-cta { display: none; }
  .om-header-actions { gap: 10px; }
}

/* =====================================================================
   GLOBAL MOBILE ADJUSTMENTS
   Responsive container padding (the token stayed at 48px on every
   breakpoint), overflow guard, and fixes for inline-styled blocks.
   ===================================================================== */

@media (max-width: 900px) {
  :root { --om-container-pad: 32px; }
  /* Prevent stray absolute/wide elements from causing horizontal scroll.
     Methodology pin is disabled < 900px, so clipping is safe here. */
  .om-page { overflow-x: hidden; }
}
@media (max-width: 600px) {
  :root { --om-container-pad: 20px; }
}

/* Footer sitemap (inline grid in Footer.jsx) */
@media (max-width: 900px) {
  .om-footer-top { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}
@media (max-width: 600px) {
  .om-footer-top { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* Suitability head + split (inline grids in Suitability.jsx) */
@media (max-width: 760px) {
  .om-suit-head { grid-template-columns: 1fr !important; gap: 16px !important; margin-bottom: 40px !important; }
  .om-suit-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
}

/* Hero next-event card — keep it inside the viewport on small phones */
@media (max-width: 560px) {
  /* card flows below the poster (see max-width:900); allow text to wrap */
  .om-hero-events-name,
  .om-hero-events-trainer,
  .om-hero-events-price { white-space: normal; }
}

/* Trim the generous 120px section rhythm on small screens */
@media (max-width: 600px) {
  .om-trust,
  .om-pains,
  .om-compare,
  .om-testimonials,
  .om-cta { padding-top: 72px; padding-bottom: 72px; }
  .om-intensive { padding-top: 80px; padding-bottom: 80px; }
}

/* =====================================================================
   RESPONSIVE UTILITIES FOR INLINE-STYLED INNER PAGES
   The internal *Page.jsx files set grids via inline style objects, which
   media queries can't reach. These classes are attached alongside the
   inline style; CSS `!important` overrides inline declarations that lack
   `!important`, so the columns collapse correctly on small screens.
   ===================================================================== */

/* Two-column hero / split (1fr Xfr, Xfr 1fr, fixed-px + 1fr) → single col */
@media (max-width: 860px) {
  .om-resp-split { grid-template-columns: 1fr !important; }
}
.om-resp-split { gap: 48px; }
@media (max-width: 860px) {
  .om-resp-split { gap: 40px !important; }
}

/* Featured banner card (1fr ~210px) → stacked */
@media (max-width: 760px) {
  .om-resp-featured {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  /* its right column dropped its top padding once stacked */
  .om-resp-featured > * { padding-top: 0 !important; }
}

/* 3-up card grid → 2-up then 1-up */
@media (max-width: 900px) {
  .om-resp-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .om-resp-grid-3 { grid-template-columns: 1fr !important; }
}

/* 4-up card grid → 2-up then 1-up */
@media (max-width: 900px) {
  .om-resp-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .om-resp-grid-4 { grid-template-columns: 1fr !important; }
}

/* 2-up row (form pairs, 2-col splits) → single col */
@media (max-width: 640px) {
  .om-resp-grid-2 { grid-template-columns: 1fr !important; }
}

/* Generic schedule/list card: label + price/cta side-by-side → stacked */
@media (max-width: 640px) {
  .om-resp-card-row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .om-resp-card-row .om-resp-card-aside {
    align-items: flex-start !important;
    text-align: left !important;
    min-width: 0 !important;
  }
}

/* ── Schedule event card ─────────────────────────────────────────── */
/* Карточки выкладываются авто-сеткой (2-в-ряд на десктопе, 1 на мобиле —
   через minmax(min(100%,440px),1fr) в JSX). На узких экранах нижний бар
   складывается, кнопка тянется на всю ширину. */
@media (max-width: 520px) {
  .om-evt-card .om-evt-foot { flex-wrap: wrap; }
  .om-evt-card .om-evt-foot .om-btn { flex: 1; justify-content: center; }
}

/* ── About page — targets existing classNames in AboutPage.jsx ────── */
@media (max-width: 860px) {
  .om-about-mission-inner,
  .om-about-tl-inner,
  .om-about-location-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
  .om-about-pillars-head,
  [data-animate="about-lic-head"] { grid-template-columns: 1fr !important; gap: 16px !important; }
}
@media (max-width: 900px) {
  .om-about-pillars-grid,
  .om-about-licenses-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .om-about-pillars-grid,
  .om-about-licenses-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  .om-about-values-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .om-about-values-grid { grid-template-columns: 1fr !important; }
}

/* ── Contacts page — targets existing classNames in ContactsPage.jsx ─ */
@media (max-width: 860px) {
  .om-contacts-hero-inner,
  .om-contacts-form-inner,
  .om-contacts-address-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 900px) {
  .om-contacts-channels-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
  .om-contacts-channels-grid { grid-template-columns: 1fr !important; }
}

/* ── Booking page — targets classNames in BookingPage.jsx ─────────── */
@media (max-width: 900px) {
  /* The steps layout is a 2-col grid (1.6fr / 1fr) set inline. Without a
     collapse it stays two columns on phones: the summary gets squeezed into
     a tiny column, its content overflows, and the sticky position makes it
     look frozen / "not updating". Stack it and drop the sticky. */
  .om-booking-steps-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .om-booking-summary { position: static !important; top: auto !important; }
}
@media (max-width: 520px) {
  .om-booking-prog-grid { grid-template-columns: 1fr !important; }
}

/* Graphic story: a continuous ribbon connects the visitor's questions. */

/* The same orbit motif quietly returns at the beginning and the close. */
.om-hero::after {
  content: "";
  position: absolute;
  width: clamp(320px, 38vw, 620px);
  aspect-ratio: 1;
  right: -11%;
  top: 6%;
  border: 1px solid rgba(46,36,112,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(46,36,112,.035), 0 0 0 126px rgba(46,36,112,.025);
  pointer-events: none;
}
.om-hero-grid, .om-hero-meta, .om-hero-foot { z-index: 1; }
.om-cta-card { position: relative; overflow: hidden; }
.om-cta-card::before,
.om-cta-card::after {
  content: "";
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  border: 1px solid rgba(242,193,46,.3);
  border-radius: 50%;
  right: -100px;
  top: -170px;
  pointer-events: none;
}
.om-cta-card::after {
  width: 220px;
  right: -40px;
  top: -110px;
  border-color: rgba(251,248,242,.24);
}
.om-cta-card > * { position: relative; z-index: 1; }

/* Home opener: luminous signals give the YSC-style cinematic scale a
   mind/body meaning specific to OM-Time. */
.om-hero[id="om-method-intro"] { scroll-margin-top: 84px; }
@keyframes om-signal-flow {
  from { opacity: .22; filter: blur(1px); }
  to { opacity: .8; filter: blur(0); }
}
@keyframes om-scroll-cue {
  50% { transform: translateY(7px); }
}
