/*
  Шрифты по-прежнему наследуются из Elementor Kit через его CSS-переменные
  (--e-global-typography-*, уже обновлены на Montserrat Alternates / Inter / JetBrains Mono).
  Цвета — ХАРДКОД под новый светлый брендбук V3.0: страницы городов переходят на светлую тему
  раньше, чем хедер/футер (они пока на старой тёмной палитре Kit — доработаем отдельно), поэтому
  здесь цвета намеренно НЕ берутся из --e-global-color-* (иначе страница осталась бы тёмной).
*/
/* ============ АНИМИРОВАННЫЕ ФОНОВЫЕ ПАТТЕРНЫ ============
   Общий ритм для всех: 9s, cubic-bezier(0.45,0,0.55,1), с паузой на пике (42-50%) и в начале
   цикла (92-100%) — единое «дыхание» на разных блоках. Обёрнуто в prefers-reduced-motion. */
@keyframes waveDrift { 0% { transform: translateY(0); } 42% { transform: translateY(-16px); } 50% { transform: translateY(-16px); } 92% { transform: translateY(0); } 100% { transform: translateY(0); } }
@keyframes orbitSwing { 0% { transform: rotate(-16deg); } 42% { transform: rotate(16deg); } 50% { transform: rotate(16deg); } 92% { transform: rotate(-16deg); } 100% { transform: rotate(-16deg); } }
@keyframes lineDraw { 0% { stroke-dashoffset: 1; } 42% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: 0; } 92% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 1; } }
@keyframes orbitSpinPause { 0% { transform: rotate(0deg); } 42% { transform: rotate(180deg); } 50% { transform: rotate(180deg); } 92% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }
@keyframes binaryShift { 0% { transform: translateX(0); } 42% { transform: translateX(-14px); } 50% { transform: translateX(-14px); } 92% { transform: translateX(0); } 100% { transform: translateX(0); } }
@keyframes pulseHold { 0% { transform: scale(1); } 42% { transform: scale(1.08); } 50% { transform: scale(1.08); } 92% { transform: scale(1); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .dlvl-anim-wave { animation: waveDrift 9s cubic-bezier(0.45,0,0.55,1) infinite; }
  .dlvl-anim-orbit-swing { animation: orbitSwing 9s cubic-bezier(0.45,0,0.55,1) infinite; }
  .dlvl-anim-line-draw { animation: lineDraw 9s cubic-bezier(0.45,0,0.55,1) infinite; }
  .dlvl-anim-orbit-spin-pause { animation: orbitSpinPause 9s cubic-bezier(0.45,0,0.55,1) infinite; }
  .dlvl-anim-binary-shift { animation: binaryShift 9s cubic-bezier(0.45,0,0.55,1) infinite; }
  .dlvl-anim-pulse-hold { animation: pulseHold 9s cubic-bezier(0.45,0,0.55,1) infinite; }
}

.dlvl-page {
  --base: #FAFAFC;
  --ink: #111827;
  --surface: #EDEFF7;
  --cyan: #38BDF8;
  --blue: #2F6FED;
  --purple: #7C3AED;
  --muted: #64748B;
  --fg: #F8FAFC;
  --green: #22C55E;

  background: var(--base);
  color: var(--ink);
  font-family: var(--e-global-typography-text-font-family, 'Inter'), sans-serif;
  font-size: var(--e-global-typography-text-font-size, 16px);
  font-weight: var(--e-global-typography-text-font-weight, 400);
  line-height: var(--e-global-typography-text-line-height, 1.6em);
  overflow-x: hidden;
}

.dlvl-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.dlvl-section { padding: 72px 0; position: relative; }
.dlvl-section--surface { background: var(--surface); }
.dlvl-section__intro { color: var(--muted); max-width: 720px; margin: 0 0 32px; }

.dlvl-eyebrow {
  display: inline-block;
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: var(--e-global-typography-accent-font-size, 14px);
  font-weight: var(--e-global-typography-accent-font-weight, 500);
  letter-spacing: 0.08em;
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  color: var(--blue);
  margin: 0 0 12px;
}
.dlvl-eyebrow:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--blue);
  margin-right: 8px;
  vertical-align: middle;
}

.dlvl-h1 {
  font-family: var(--e-global-typography-primary-font-family, 'Montserrat Alternates'), sans-serif;
  font-size: var(--e-global-typography-primary-font-size, 50px);
  font-weight: var(--e-global-typography-primary-font-weight, 900);
  text-transform: var(--e-global-typography-primary-text-transform, uppercase);
  line-height: var(--e-global-typography-primary-line-height, 1.2em);
  margin: 16px 0;
  color: var(--ink);
}
.dlvl-h2 {
  font-family: var(--e-global-typography-secondary-font-family, 'Montserrat Alternates'), sans-serif;
  font-size: var(--e-global-typography-secondary-font-size, 32px);
  font-weight: var(--e-global-typography-secondary-font-weight, 600);
  text-transform: var(--e-global-typography-secondary-text-transform, uppercase);
  line-height: var(--e-global-typography-secondary-line-height, 1.2em);
  margin: 0 0 32px;
  color: var(--ink);
}
.dlvl-h3 {
  /* Намеренно НЕ Montserrat Alternates — в Положении такие подзаголовки (внутри карточек/секций,
     не главные заголовки страницы) набраны текстовым шрифтом, просто крупнее/жирнее/капсом. */
  font-family: var(--e-global-typography-text-font-family, 'Inter'), sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.4em;
  margin: 0 0 12px;
  color: var(--ink);
}

/* ============ FACTS MARQUEE (тёмная полоса-акцент на светлой странице) ============ */
.dlvl-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  background: var(--ink);
}
.dlvl-marquee__track {
  display: inline-flex;
  width: max-content;
  animation: dlvl-marquee-scroll 34s linear infinite;
}
.dlvl-marquee__track span,
.dlvl-marquee__track a {
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94A3B8;
  padding: 0 22px;
  flex-shrink: 0;
  text-decoration: none;
}
.dlvl-marquee__track a:hover { color: var(--cyan); }
.dlvl-marquee__track span.dlvl-marquee__sep {
  color: var(--cyan);
  padding: 0 6px;
}
@keyframes dlvl-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.dlvl-marquee:hover .dlvl-marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .dlvl-marquee__track { animation: none; }
}

/* ============ HERO ============ */
.dlvl-hero {
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.dlvl-hero:before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 92% 10%, rgba(56,189,248,0.16), transparent 60%),
    radial-gradient(700px 500px at 4% 100%, rgba(124,58,237,0.10), transparent 60%);
  pointer-events: none;
}
.dlvl-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}
.dlvl-hero__top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.dlvl-hero__sub { color: var(--muted); max-width: 560px; font-size: 17px; margin: 0 0 32px; }
.dlvl-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* Вариант хиро без фото — для одноколоночных страниц вроде /polozhenie/ */
.dlvl-hero__centered {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 72px;
}
.dlvl-hero__centered .dlvl-hero__sub { margin-left: auto; margin-right: auto; }
.dlvl-hero__centered .dlvl-prereg { text-align: left; margin-top: 8px; }
.dlvl-hero__photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 8 / 7;
  box-shadow: 0 20px 60px rgba(17,24,39,0.14);
}
.dlvl-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlvl-hero__photo-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(56,189,248,0.10), rgba(124,58,237,0.10));
  color: var(--muted);
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

.dlvl-hero__info {
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(17,24,39,0.05);
}
.dlvl-hero__info-row { display: flex; align-items: flex-start; gap: 14px; }
.dlvl-hero__info-row > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.dlvl-hero__info-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(47,111,237,0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.dlvl-hero__info-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dlvl-hero__info-label { font-size: 13px; color: var(--muted); }
.dlvl-hero__info-value {
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 14px;
  color: var(--ink);
}

/* ============ PILLS / BADGES ============ */
.dlvl-pill {
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: var(--e-global-typography-accent-font-size, 13px);
  font-weight: var(--e-global-typography-accent-font-weight, 500);
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  line-height: var(--e-global-typography-accent-line-height, 1.4em);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.1);
  background: #FFFFFF;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(17,24,39,0.05);
}
.dlvl-pill:before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.dlvl-pill--open     { color: #16A34A; border-color: rgba(34,197,94,0.35); }
.dlvl-pill--limited  { color: #0284C7; border-color: rgba(56,189,248,0.4); }
.dlvl-pill--waitlist { color: var(--muted); }
.dlvl-pill--soon     { color: var(--purple); border-color: rgba(124,58,237,0.35); }
.dlvl-pill--open:before { box-shadow: 0 0 8px 1px currentColor; }

.dlvl-badge {
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: var(--e-global-typography-accent-font-size, 13px);
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  color: var(--blue);
  background: #FFFFFF;
  padding: 6px 14px;
  border: 1px solid rgba(47,111,237,0.3);
  border-radius: 999px;
}

/* ============ BUTTONS ============ */
.dlvl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--e-global-typography-text-font-family, 'Inter'), sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.dlvl-btn--primary {
  background: var(--blue);
  color: var(--fg);
  box-shadow: 0 8px 24px -8px rgba(47,111,237,0.55);
}
.dlvl-btn--primary:hover { transform: translateY(-2px); background: var(--purple); box-shadow: 0 12px 28px -8px rgba(124,58,237,0.5); }
.dlvl-btn--secondary { background: #FFFFFF; color: var(--ink); border: 1px solid rgba(17,24,39,0.14); }
.dlvl-btn--secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ============ CARDS ============ */
.dlvl-cards { display: grid; gap: 20px; }
.dlvl-cards--2 { grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
.dlvl-cards--3 { grid-template-columns: repeat(3, 1fr); }
.dlvl-cards--4 { grid-template-columns: repeat(4, 1fr); }
.dlvl-cards--6 { grid-template-columns: repeat(3, 1fr); }

.dlvl-card {
  background: #FFFFFF;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(17,24,39,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dlvl-card__deco { position: absolute; pointer-events: none; }
.dlvl-card > *:not(svg) { position: relative; z-index: 1; }
.dlvl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -14px rgba(17,24,39,0.16);
}
.dlvl-card p { color: var(--muted); margin: 0; }
.dlvl-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47,111,237,0.1);
  color: var(--blue);
  margin-bottom: 16px;
}
.dlvl-card__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dlvl-card__icon--burst { width: 64px; height: 64px; background: none; border-radius: 0; }
.dlvl-card__icon--burst svg { width: 60px; height: 60px; stroke: none; }
.dlvl-card--accent .dlvl-card__icon.dlvl-card__icon--burst { background: none; }
.dlvl-card--accent {
  background: var(--ink);
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(17,24,39,0.14);
  grid-column: span 2;
}
@media (max-width: 1024px) {
  .dlvl-card--accent { grid-column: span 1; }
}
.dlvl-card--accent .dlvl-h3 { color: var(--fg); }
.dlvl-card--accent p { color: #94A3B8; }
.dlvl-card--accent .dlvl-card__icon { background: rgba(56,189,248,0.15); color: var(--cyan); }

/* ============ GALLERY MARQUEE ============ */
.dlvl-gallery { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dlvl-gallery__track { display: inline-flex; gap: 20px; width: max-content; animation: dlvl-gallery-scroll 40s linear infinite; }
.dlvl-gallery__item { flex-shrink: 0; width: 280px; height: 200px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(17,24,39,0.06); }
.dlvl-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.dlvl-gallery__item:hover img { transform: scale(1.06); }
.dlvl-gallery:hover .dlvl-gallery__track { animation-play-state: paused; }
@keyframes dlvl-gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ TABLE / LISTS ============ */
.dlvl-table-wrap { overflow-x: auto; margin-bottom: 32px; border-radius: 14px; border: 1px solid rgba(17,24,39,0.08); }
.dlvl-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dlvl-table td { padding: 12px 18px; border-bottom: 1px solid rgba(17,24,39,0.08); }
.dlvl-table tr:last-child td { border-bottom: none; }
.dlvl-table tr:not(.dlvl-table__sub):hover { background: rgba(47,111,237,0.05); }
.dlvl-table td:last-child { text-align: right; font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace; font-size: 14px; color: var(--muted); }
.dlvl-table__sub td:first-child {
  color: var(--muted);
  padding-left: 34px;
  font-size: 14px;
  text-align: left;
  font-family: var(--e-global-typography-text-font-family, 'Inter'), sans-serif;
}

.dlvl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.dlvl-chip {
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(17,24,39,0.06);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.dlvl-chip:hover { border-color: var(--blue); color: var(--blue); }

.dlvl-list { list-style: none; margin: 0 0 24px; padding: 0; color: var(--muted); }
.dlvl-list li { padding: 8px 0; border-bottom: 1px solid rgba(17,24,39,0.06); }
.dlvl-list--check li { padding-left: 28px; position: relative; }
.dlvl-list--check li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
}
.dlvl-list--check li.dlvl-list__item--excluded { color: var(--muted); opacity: 0.55; }
.dlvl-list--check li.dlvl-list__item--excluded:before { content: "–"; color: #DC2626; font-weight: 700; }
@media (max-width: 767px) {
  .dlvl-list--check li.dlvl-list__item--excluded { display: none; }
}

.dlvl-note { color: var(--muted); font-size: 15px; }
.dlvl-note--small { font-size: 13px; }

/* ============ PROMO BANNER (временная акция — скидка до даты) ============ */
.dlvl-promo-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--ink);
  color: var(--fg);
  border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 32px;
  box-shadow: 0 16px 36px -14px rgba(17,24,39,0.4);
}
.dlvl-promo-banner__icon { font-size: 30px; line-height: 1; flex-shrink: 0; }
.dlvl-promo-banner__text { display: flex; flex-direction: column; gap: 6px; }
.dlvl-promo-banner__text strong { font-size: 18px; font-weight: 700; line-height: 1.3; }
.dlvl-promo-banner__prices {
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
}
@media (max-width: 600px) {
  .dlvl-promo-banner { flex-direction: column; align-items: flex-start; text-align: left; padding: 20px; }
}

/* ============ PRICING ============ */
.dlvl-price-card {
  background: #FFFFFF;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(17,24,39,0.05);
  display: flex;
  flex-direction: column;
}
/* Декоративные SVG в карточке позиционные (z-index:auto) — без этого правила они рисовались бы
   поверх обычного (не спозиционированного) контента карточки (списка, кнопки) независимо от
   порядка в разметке. Явный z-index держит текст/кнопку выше декора. */
.dlvl-price-card > *:not(svg):not(.dlvl-price-card__badge) { position: relative; z-index: 1; }
.dlvl-price-card--featured {
  border-color: rgba(47,111,237,0.35);
  background: linear-gradient(160deg, rgba(56,189,248,0.08), rgba(124,58,237,0.05));
  box-shadow: 0 16px 40px -18px rgba(47,111,237,0.35);
  padding-top: 56px;
}
.dlvl-price-card__badge {
  position: absolute;
  top: 14px;
  right: 28px;
  background: var(--blue);
  color: var(--fg);
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.dlvl-price {
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 20px;
}
.dlvl-price span { font-size: 14px; color: var(--muted); font-weight: 400; }

.dlvl-link { color: var(--blue); text-decoration: none; font-weight: 600; }
.dlvl-link:hover { text-decoration: underline; }

.dlvl-embed { margin-top: 24px; }

/* ============ CTA STRIP ============ */
.dlvl-cta-strip {
  border-radius: 24px;
  padding: 56px;
  background: #FFFFFF;
  border: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 4px 24px rgba(17,24,39,0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dlvl-cta-strip:before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 15% 0%, rgba(56,189,248,0.10), transparent 60%),
    radial-gradient(500px 300px at 85% 100%, rgba(124,58,237,0.10), transparent 60%);
  pointer-events: none;
}
.dlvl-cta-strip > * { position: relative; }
.dlvl-cta-strip .dlvl-h2 { margin-bottom: 16px; }

/* ============ PRE-REGISTRATION FORM ============ */
.dlvl-prereg { text-align: left; max-width: 560px; margin: 0 auto; }
.dlvl-prereg__intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 20px; text-align: center; }
.dlvl-prereg__form { display: flex; flex-direction: column; gap: 14px; }
.dlvl-prereg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dlvl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dlvl-form-field { display: flex; flex-direction: column; gap: 6px; }
.dlvl-form-field label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.dlvl-form-field input,
.dlvl-form-field select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,0.14);
  background: #FFFFFF;
  color: var(--ink);
}
.dlvl-form-field select { appearance: auto; }
.dlvl-form-field input:focus,
.dlvl-form-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,237,0.15); }
.dlvl-form-required { color: #DC2626; }

/* Заявка на страницах хореографов — в отличие от .dlvl-form-row (всегда 2 колонки, даже на
   мобильной), эти ряды на мобильной складываются в одну колонку. */
.dlvl-appform-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dlvl-appform-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 767px) {
  .dlvl-appform-row2, .dlvl-appform-row3 { grid-template-columns: 1fr; }
}
.dlvl-prereg__status { margin: 14px 0 0; font-weight: 600; font-size: 14px; text-align: center; }
.dlvl-prereg__status--ok { color: #16A34A; }
.dlvl-prereg__status--error { color: #DC2626; }

/* Тема навязывает свой цвет/рамку кнопкам <button> (в отличие от <a>) —
   перекрываем явно, чтобы кнопка формы была в цветах брендбука. */
.dlvl-prereg__form button.dlvl-btn--primary {
  background: var(--blue) !important;
  border: none !important;
  color: var(--fg) !important;
  box-shadow: 0 8px 24px -8px rgba(47,111,237,0.55) !important;
}
.dlvl-prereg__form button.dlvl-btn--primary:hover {
  background: var(--purple) !important;
  box-shadow: 0 12px 28px -8px rgba(124,58,237,0.5) !important;
}

/* ============ CASTING CALLOUT (тёмный акцентный блок на светлой странице) ============ */
.dlvl-callout {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 56px;
  background: linear-gradient(120deg, #111827, #0B1220);
  box-shadow: 0 20px 50px -20px rgba(17,24,39,0.35);
}
.dlvl-callout .dlvl-eyebrow { color: var(--cyan); }
.dlvl-callout .dlvl-eyebrow:before { background: var(--cyan); }
.dlvl-callout__title {
  font-family: var(--e-global-typography-secondary-font-family, 'Montserrat Alternates'), sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 20px;
  max-width: 620px;
  position: relative;
}
.dlvl-callout p {
  color: #CBD5E1;
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 14px;
  position: relative;
}
.dlvl-callout p:last-of-type { margin-bottom: 0; }
.dlvl-callout strong { color: var(--fg); }
.dlvl-callout__graphic {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  color: var(--cyan);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .dlvl-callout__graphic { width: 200px; height: 200px; right: -60px; opacity: 0.6; }
}
@media (max-width: 767px) {
  .dlvl-callout { padding: 32px 24px; }
  .dlvl-callout__title { font-size: 22px; }
  .dlvl-callout__graphic { display: none; }
}

/* ============ SEO TEXT ============ */
.dlvl-seo-text { padding: 48px 0 72px; position: relative; overflow: hidden; }
.dlvl-seo-text__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.dlvl-seo-text__grid--reverse { grid-template-columns: 0.7fr 1.3fr; }
.dlvl-seo-text__grid--split-even { grid-template-columns: 1fr 1fr; }
.dlvl-seo-text .dlvl-h2--muted {
  font-size: 22px;
  color: var(--muted);
  text-transform: none;
  margin-bottom: 20px;
}
.dlvl-seo-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.dlvl-seo-text__photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 7 / 6;
  box-shadow: 0 20px 50px rgba(17,24,39,0.1);
}
.dlvl-seo-text__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlvl-cta-strip__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}
.dlvl-cta-strip__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 14px;
  color: var(--ink);
}
.dlvl-cta-strip__meta-item svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ JURY ============ */
.dlvl-jury-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 16px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 4px 24px rgba(17,24,39,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dlvl-jury-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -14px rgba(17,24,39,0.16); }
.dlvl-jury-card__photo {
  flex-shrink: 0;
  width: 28%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.dlvl-jury-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlvl-jury-card__name {
  flex: 1;
  font-family: var(--e-global-typography-text-font-family, 'Inter'), sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}
button.dlvl-jury-card__info {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(47,111,237,0.35);
  background: transparent;
  color: var(--blue);
  font-family: var(--e-global-typography-accent-font-family, 'JetBrains Mono'), monospace;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
button.dlvl-jury-card__info:hover { background: var(--blue); color: var(--fg); }

.dlvl-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(17,24,39,0.6);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dlvl-modal.is-open { display: flex; }
.dlvl-modal__box {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 30px 80px -20px rgba(17,24,39,0.4);
}
.dlvl-modal__box #dlvl-modal-bio { color: var(--muted); margin: 0; }
.dlvl-modal__photo {
  display: none;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 20px;
}
button.dlvl-modal__close {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(17,24,39,0.12);
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
button.dlvl-modal__close:hover { background: var(--surface); color: var(--ink); }

/* ============ STATS / GOALS (страница «О нас») ============ */
.dlvl-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dlvl-stat-card { background: var(--surface); border-radius: 14px; padding: 18px 20px; }
.dlvl-stat-card__num {
  font-family: var(--e-global-typography-primary-font-family, 'Montserrat Alternates'), sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 4px;
}
.dlvl-stat-card__label { font-size: 13px; line-height: 1.5; color: #334155; margin: 0; }

.dlvl-goals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.dlvl-goal-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 14px; padding: 16px 18px; }
.dlvl-goal-item__num {
  font-family: var(--e-global-typography-primary-font-family, 'Montserrat Alternates'), sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.dlvl-goal-item__text { font-size: 14px; line-height: 1.55; color: #334155; margin: 0; }

@media (max-width: 1024px) {
  .dlvl-cards--4, .dlvl-cards--3, .dlvl-cards--6 { grid-template-columns: repeat(2, 1fr); }
  .dlvl-hero__grid { grid-template-columns: 1fr; }
  .dlvl-hero__photo { max-width: 520px; }
  .dlvl-cta-strip { padding: 40px 24px; }
}
@media (max-width: 767px) {
  .dlvl-cards--4, .dlvl-cards--3, .dlvl-cards--2, .dlvl-cards--6 { grid-template-columns: 1fr; }
  .dlvl-wrap { padding: 0 16px; }
  .dlvl-gallery__item { width: 220px; height: 160px; }
  .dlvl-hero__photo { aspect-ratio: 3 / 2; }
  .dlvl-seo-text__grid { grid-template-columns: 1fr; }
  .dlvl-seo-text__photo { max-width: 320px; margin: 0 auto; order: -1; aspect-ratio: 4 / 3; }
  .dlvl-stats-grid, .dlvl-goals-grid { grid-template-columns: 1fr; }
}
