/* ============================================================
   NEUROCLUB — Zerocoder premium subscription landing
   Theme 4: Premium Deep Blue + Lime
   Font: Manrope (cyrillic)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette — Theme 4 */
  --theme-bg: #ffffff;
  --theme-bg-soft: #f5f7fc;
  --theme-bg-dark: #0f1846;
  --theme-bg-darker: #060f3d;
  --theme-accent-primary: #1d42ea;
  --theme-accent-cta: #97e017;
  --theme-text-on-light: #0d0d0d;
  --theme-text-on-dark: #ffffff;
  --theme-text-muted: #616892;
  --theme-line: #c5cfdd;

  /* Functional */
  --color-card-on-dark: rgba(255, 255, 255, 0.04);
  --color-card-border-on-dark: rgba(255, 255, 255, 0.08);
  --color-card-on-light: #ffffff;
  --color-card-border-on-light: #e6ebf3;

  /* Type scale (desktop) */
  --text-h1: 64px;
  --text-h2: 48px;
  --text-h3: 32px;
  --text-h4: 24px;
  --text-lead: 20px;
  --text-body: 16px;
  --text-small: 14px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1560px;
  --container-pad: 24px;

  /* Motion */
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--theme-text-on-light);
  background: var(--theme-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: var(--space-10) 0;
}

.section--tight {
  padding: var(--space-9) 0;
}

.section--dark {
  background:
    radial-gradient(50% 50% at 85% 15%, rgba(140, 70, 240, 0.32) 0%, rgba(140, 70, 240, 0) 70%),
    radial-gradient(45% 55% at 10% 90%, rgba(29, 66, 234, 0.32) 0%, rgba(29, 66, 234, 0) 70%),
    linear-gradient(180deg, var(--theme-bg-dark) 0%, var(--theme-bg-darker) 100%);
  color: var(--theme-text-on-dark);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section--darker {
  background: var(--theme-bg-darker);
  color: var(--theme-text-on-dark);
}

.section--soft {
  background: var(--theme-bg-soft);
}

/* ---------- 4. Typography helpers ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--theme-accent-primary);
}

.eyebrow--on-dark {
  color: var(--theme-accent-cta);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-title {
  font-size: 52px;
  line-height: 1.1;
  margin-top: var(--space-4);
  max-width: 720px;
  text-transform: none;
}

.section-lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--theme-text-muted);
  margin-top: var(--space-5);
  max-width: 640px;
}

.section--dark .section-lead,
.section--darker .section-lead {
  color: rgba(255, 255, 255, 0.66);
}

.section-head {
  margin-bottom: var(--space-8);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: 56px;
  padding: 0 var(--space-7);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing),
    background 0.25s var(--easing);
  white-space: nowrap;
}

.btn--lime {
  background: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  box-shadow: 0 10px 30px -10px rgba(151, 224, 23, 0.45);
}

.btn--lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(151, 224, 23, 0.7);
  background: #a8ed28;
}

.btn--blue {
  background: var(--theme-accent-primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(29, 66, 234, 0.5);
}

.btn--blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px rgba(29, 66, 234, 0.7);
  background: #2a52ff;
}

.btn--ghost {
  background: transparent;
  color: currentColor;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  border-color: var(--theme-accent-cta);
  color: var(--theme-accent-cta);
}

.btn--lg {
  height: 64px;
  padding: 0 var(--space-8);
  font-size: 18px;
}

.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--easing);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1512px;
  border-radius: var(--radius-pill);
  background: rgba(6, 15, 61, 0.6);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.35);
  transition: background 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.nav.is-scrolled {
  background: rgba(6, 15, 61, 0.85);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 10px 14px 10px 22px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  display: block;
  height: 30px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links li {
  list-style: none;
}

.nav__links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--easing);
}

.nav__links a:hover {
  color: var(--theme-accent-cta);
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--theme-bg-darker);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s var(--easing), transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}

.nav__login svg {
  flex-shrink: 0;
}

.nav__login:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(255, 255, 255, 0.4);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(151, 224, 23, 0.5);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 var(--space-10);
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(29, 66, 234, 0.55) 0%, rgba(29, 66, 234, 0) 70%),
    radial-gradient(50% 60% at 10% 80%, rgba(151, 224, 23, 0.18) 0%, rgba(151, 224, 23, 0) 70%),
    linear-gradient(180deg, var(--theme-bg-darker) 0%, var(--theme-bg-dark) 100%);
  color: var(--theme-text-on-dark);
  overflow: hidden;
}

.hero > .container {
  max-width: 1560px;
}

.hero::before {
  /* Subtle grid texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-9);
  align-items: center;
}

.hero__copy {
  text-align: center;
  max-width: 1512px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__visual {
  display: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 8px 16px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(151, 224, 23, 0.1);
  border: 1px solid rgba(151, 224, 23, 0.35);
  color: var(--theme-accent-cta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 12px var(--theme-accent-cta);
  flex-shrink: 0;
}

.hero h1:not(.hero__title-mega) {
  font-size: var(--text-h1);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: var(--space-6);
  font-weight: 700;
}

.hero h1:not(.hero__title-mega) .accent {
  color: var(--theme-accent-cta);
  position: relative;
  white-space: nowrap;
}

.hero__lead {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: none;
}

/* ---------- Hero: промо-шейп (текст + кнопка в одной плашке) ---------- */
.hero__promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin: var(--space-6) auto 0;
  padding: 14px 14px 14px 28px;
  background: linear-gradient(135deg, rgba(151, 224, 23, 0.16) 0%, rgba(151, 224, 23, 0.04) 100%);
  border: 1px solid rgba(151, 224, 23, 0.45);
  border-radius: 18px;
  max-width: 1512px;
  width: 100%;
  text-align: left;
}

.hero__promo-bar .hero__promo-text {
  flex: 1;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

.hero__promo-line {
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero__promo-line strong {
  color: #fff;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  margin-left: 4px;
  background: rgba(151, 224, 23, 0.25);
  border-radius: 8px;
}

.hero__promo-price {
  color: var(--theme-accent-cta);
  font-weight: 800;
  font-size: inherit;
}

.hero__promo-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.hero__promo-cta {
  flex-shrink: 0;
}

/* ---------- Hero: split (чипсы слева, описание справа) ---------- */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: flex-start;
  margin: var(--space-7) auto 0;
  width: 100%;
  max-width: 1512px;
}

.hero__split .hero__chips {
  margin: 0;
  justify-content: flex-start;
  max-width: none;
}

.hero__split .hero__lead {
  text-align: right;
}

.hero__promo-price {
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  color: var(--theme-accent-cta);
  letter-spacing: -0.04em;
}

.hero__promo-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.hero__promo-text strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  background: rgba(151, 224, 23, 0.18);
  border-radius: 6px;
  font-family: 'Manrope', monospace;
}

/* Hero visual — orb/composition */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}

.hero__orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(151, 224, 23, 0.55), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(29, 66, 234, 0.9), transparent 60%),
    radial-gradient(circle at 50% 50%, #5a7dff 0%, #1d42ea 50%, #060f3d 100%);
  box-shadow:
    0 60px 120px -30px rgba(29, 66, 234, 0.7),
    inset 0 0 100px rgba(255, 255, 255, 0.1);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero__orb::after {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), transparent 35%);
  pointer-events: none;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(151, 224, 23, 0.18);
  animation: ringRotate 30s linear infinite;
}

.hero__ring--1 {
  inset: 0;
}

.hero__ring--2 {
  inset: 5%;
  border-color: rgba(255, 255, 255, 0.08);
  animation-duration: 45s;
  animation-direction: reverse;
}

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(15, 24, 70, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}

.hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 12px var(--theme-accent-cta);
}

.hero__chip--1 {
  top: 12%;
  left: -8%;
  animation: floatY 6s ease-in-out infinite;
}

.hero__chip--2 {
  top: 50%;
  right: -10%;
  animation: floatY 6s ease-in-out infinite 1.5s;
}

.hero__chip--3 {
  bottom: 18%;
  left: 5%;
  animation: floatY 6s ease-in-out infinite 3s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero stats strip */
.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat-value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.hero__stat-value .unit {
  color: var(--theme-accent-cta);
}

.hero__stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-3);
  line-height: 1.4;
}

/* ---------- 8. Includes (что входит) — cards on light ---------- */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.include-card {
  position: relative;
  padding: var(--space-7);
  background: var(--color-card-on-light);
  border: 1px solid var(--color-card-border-on-light);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing),
    border-color 0.3s var(--easing);
  overflow: hidden;
}

.include-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(29, 66, 234, 0.25);
  border-color: rgba(29, 66, 234, 0.25);
}

.include-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--theme-accent-primary), #4a6dff);
  color: #fff;
  margin-bottom: var(--space-5);
  box-shadow: 0 10px 20px -10px rgba(29, 66, 234, 0.5);
}

.include-card__icon svg {
  width: 28px;
  height: 28px;
}

.include-card--accent .include-card__icon {
  background: linear-gradient(135deg, var(--theme-accent-cta), #b8f547);
  color: var(--theme-bg-darker);
  box-shadow: 0 10px 20px -10px rgba(151, 224, 23, 0.55);
}

.include-card h3 {
  font-size: var(--text-h4);
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.include-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-text-muted);
  margin: 0;
}

.include-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-5);
  padding: 4px 10px;
  background: rgba(151, 224, 23, 0.14);
  color: #5a8a0d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* ---------- 9. Webinar categories (on dark) ---------- */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.cat-card {
  position: relative;
  padding: var(--space-6);
  background: var(--color-card-on-dark);
  border: 1px solid var(--color-card-border-on-dark);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--easing);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.cat-card:hover {
  background: rgba(151, 224, 23, 0.07);
  border-color: rgba(151, 224, 23, 0.35);
  transform: translateY(-4px);
}

.cat-card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--theme-accent-cta);
  margin-bottom: var(--space-5);
  font-variant-numeric: tabular-nums;
}

.cat-card h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: #fff;
}

.cat-card p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  flex: 1;
}

.cat-card__arrow {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--easing);
  color: rgba(255, 255, 255, 0.6);
}

.cat-card:hover .cat-card__arrow {
  background: var(--theme-accent-cta);
  border-color: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  transform: rotate(-45deg);
}

.cat-card__arrow svg {
  width: 16px;
  height: 16px;
}

/* ---------- 10. Schedule ---------- */
/* ---------- Schedule — calendar (on dark) ---------- */
#schedule {
  position: relative;
}

#schedule .section-head {
  position: relative;
  z-index: 2;
}

/* Eyebrow & title overrides for schedule */
.eyebrow--white {
  color: #fff;
}

.section-title--lime {
  color: var(--theme-accent-cta);
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(151, 224, 23, 0.45);
}

.schedule__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 95%);
}

.schedule__pulse {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.38;
  animation: pulseGlow 11s ease-in-out infinite;
}

.schedule__pulse--1 {
  width: 540px;
  height: 540px;
  top: 18%;
  left: 6%;
  background: radial-gradient(circle, rgba(151, 224, 23, 0.5) 0%, rgba(151, 224, 23, 0) 70%);
}

.schedule__pulse--2 {
  width: 600px;
  height: 600px;
  bottom: 8%;
  right: 4%;
  background: radial-gradient(circle, rgba(140, 70, 240, 0.6) 0%, rgba(140, 70, 240, 0) 70%);
  animation-delay: -5s;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.32; }
  50% { transform: scale(1.12); opacity: 0.55; }
}

.section--dark::before {
  z-index: 1;
}

/* Calendar wrapper */
.cal {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: var(--space-8) var(--space-7) var(--space-7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(140, 70, 240, 0.4);
  z-index: 1;
}

/* Rings (top binding) */
.cal__rings {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 var(--space-7);
  pointer-events: none;
}

.cal__rings span {
  width: 12px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #8a93b8 0%, #5b6488 50%, #3d4566 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

/* Header */
.cal__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.cal__month {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-transform: capitalize;
}

.cal__year {
  color: var(--theme-accent-cta);
  margin-left: 8px;
}

.cal__header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.cal__legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.cal__cta {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

/* ---------- Archive — accordions under calendar ---------- */
.archive {
  position: relative;
  margin-top: var(--space-10);
  z-index: 1;
}

.archive__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.archive__head .eyebrow {
  align-self: flex-start;
}

.archive__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--theme-accent-cta);
  text-shadow: 0 0 24px rgba(151, 224, 23, 0.4);
  white-space: normal;
  overflow-wrap: break-word;
}

.archive__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto 1fr;
  gap: 20px;
  align-items: start;
}

.archive__item {
  min-width: 0;
}

/* Открытый аккордеон занимает обе строки колонки */
.archive__items:has(.archive__item--left[open]) .archive__item--left,
.archive__items:has(.archive__item--right[open]) .archive__item--right {
  grid-row: 1 / span 2;
}

/* ---------- Teaser — появляется под закрытым аккордеоном ---------- */
.archive__teaser {
  display: none;
  position: relative;
  grid-row: 2;
  align-self: stretch;
  padding: var(--space-6);
  min-height: 200px;
  background:
    linear-gradient(135deg, rgba(151, 224, 23, 0.08) 0%, rgba(140, 70, 240, 0.1) 100%);
  border: 1px solid rgba(151, 224, 23, 0.25);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  animation: teaserReveal 0.45s var(--easing);
}

.archive__items:has(.archive__item--left[open]) .archive__teaser {
  display: flex;
  grid-column: 2;
}

.archive__items:has(.archive__item--right[open]) .archive__teaser {
  display: flex;
  grid-column: 1;
}

@keyframes teaserReveal {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.archive__teaser-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(151, 224, 23, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(140, 70, 240, 0.4) 0%, transparent 55%);
  filter: blur(40px);
  z-index: -1;
  animation: teaserGlow 6s ease-in-out infinite;
}

@keyframes teaserGlow {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.1) rotate(8deg); opacity: 1; }
}

.archive__teaser-shape {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: auto;
  opacity: 0.85;
  z-index: 0;
  animation: teaserSpin 18s linear infinite;
}

@keyframes teaserSpin {
  to { transform: rotate(360deg); }
}

.archive__teaser-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: var(--space-4);
  flex: 1;
  text-align: left;
}

.archive__teaser-text {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.archive__teaser-cta {
  white-space: nowrap;
}

.archive__item {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.archive__item[open] {
  border-color: rgba(151, 224, 23, 0.45);
  box-shadow: 0 20px 50px -20px rgba(151, 224, 23, 0.3),
    inset 0 0 0 1px rgba(151, 224, 23, 0.08);
}

.archive__item:not([open]):hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.archive__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s;
}

.archive__summary::-webkit-details-marker {
  display: none;
}

.archive__summary::marker {
  display: none;
}

.archive__item[open] .archive__summary {
  background: linear-gradient(135deg, rgba(151, 224, 23, 0.12) 0%, rgba(140, 70, 240, 0.08) 100%);
  border-bottom: 1px solid rgba(151, 224, 23, 0.18);
}

.archive__summary-text {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
}

.archive__item[open] .archive__summary-text {
  color: var(--theme-accent-cta);
}

.archive__summary-icon {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.archive__item:hover .archive__summary-icon {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.archive__item[open] .archive__summary-icon {
  background: var(--theme-accent-cta);
  border-color: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  box-shadow: 0 0 16px rgba(151, 224, 23, 0.5);
}

.archive__icon-plus,
.archive__icon-close {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: opacity 0.2s, transform 0.2s;
}

.archive__icon-close {
  opacity: 0;
  transform: rotate(-45deg);
}

.archive__item[open] .archive__icon-plus {
  opacity: 0;
  transform: rotate(45deg);
}

.archive__item[open] .archive__icon-close {
  opacity: 1;
  transform: rotate(0);
}

.archive__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  animation: archiveReveal 0.35s var(--easing);
}

@keyframes archiveReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.archive__intro {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 var(--space-4);
}

.archive__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.archive__list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.archive__list-item:hover {
  background: rgba(151, 224, 23, 0.06);
  border-color: rgba(151, 224, 23, 0.25);
  transform: translateX(3px);
}

.archive__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 10px var(--theme-accent-cta);
  flex-shrink: 0;
  margin-top: 6px;
}

.archive__list-content {
  flex: 1;
  min-width: 0;
}

.archive__list-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.archive__list-desc {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

.cal__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 10px var(--theme-accent-cta);
}

/* Weekdays */
/* Колонки: широкие только дни с событиями месяца (июль: вт, ср, чт),
   остальные узкие. Держать в синхроне с .cal__grid ниже. */
.cal__weekdays {
  display: grid;
  grid-template-columns: 0.65fr 2fr 2fr 2fr 0.65fr 0.65fr 0.65fr;
  gap: 10px;
  margin-bottom: 10px;
}

.cal__weekdays > div {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 0;
}

.cal__weekday--weekend {
  color: rgba(255, 120, 120, 0.55);
}

/* Day grid */
.cal__grid {
  display: grid;
  grid-template-columns: 0.65fr 2fr 2fr 2fr 0.65fr 0.65fr 0.65fr;
  gap: 10px;
  align-items: stretch;
}

.cal__day {
  position: relative;
  min-height: 56px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.cal__day:hover:not(.cal__day--blank) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.cal__day--blank {
  background: transparent;
  border-color: transparent;
}

.cal__day-num {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cal__day--weekend .cal__day-num {
  color: rgba(255, 120, 120, 0.65);
}

/* Active event days */
.cal__day--event {
  background: linear-gradient(155deg, rgba(151, 224, 23, 0.22) 0%, rgba(140, 70, 240, 0.22) 100%);
  border-color: rgba(151, 224, 23, 0.6);
  box-shadow: 0 12px 32px -10px rgba(151, 224, 23, 0.5),
    inset 0 0 0 1px rgba(151, 224, 23, 0.1);
  min-height: 210px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

a.cal__day--event {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cal__day--event:hover {
  background: linear-gradient(155deg, rgba(151, 224, 23, 0.3) 0%, rgba(140, 70, 240, 0.3) 100%);
  border-color: rgba(151, 224, 23, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -12px rgba(151, 224, 23, 0.6);
}

.cal__day--event .cal__day-num {
  color: var(--theme-accent-cta);
  font-weight: 800;
  font-size: 24px;
  text-shadow: 0 0 14px rgba(151, 224, 23, 0.55);
  letter-spacing: -0.02em;
}

/* Event content inside cell */
.cal__event {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  flex: 1;
  width: 100%;
}

.cal__event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.cal__event-photo {
  width: 64px;
  height: 64px;
  border-radius: 7px;
  overflow: hidden;
  border: 2px solid var(--theme-accent-cta);
  box-shadow: 0 0 18px rgba(151, 224, 23, 0.5), 0 0 0 4px rgba(151, 224, 23, 0.12);
  flex-shrink: 0;
}

.cal__event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cal__event-img--top {
  object-position: center 22% !important;
}

.cal__event-speaker {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: normal;
  flex: 1;
  min-width: 0;
}

.cal__event-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

/* ---------- 11. Webinars examples (on dark) ---------- */
.webinars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.webinar-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-card-on-dark);
  border: 1px solid var(--color-card-border-on-dark);
  transition: transform 0.3s var(--easing), border-color 0.3s var(--easing);
  display: flex;
  flex-direction: column;
}

.webinar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 224, 23, 0.35);
}

.webinar-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--theme-bg-dark), var(--theme-accent-primary));
  overflow: hidden;
}

.webinar-card__cover--mint {
  background: linear-gradient(135deg, #0f6e5a, #21cbb5);
}

.webinar-card__cover--violet {
  background: linear-gradient(135deg, #3a217a, #8b5cf6);
}

.webinar-card__cover svg.bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.webinar-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.webinar-card__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--easing);
}

.webinar-card:hover .webinar-card__play-btn {
  transform: scale(1.08);
}

.webinar-card__play-btn svg {
  width: 26px;
  height: 26px;
  color: var(--theme-bg-darker);
  margin-left: 4px;
}

.webinar-card__duration {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  padding: 4px 10px;
  background: rgba(6, 15, 61, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.webinar-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.webinar-card__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--theme-accent-cta);
  text-transform: uppercase;
}

.webinar-card h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
}

.webinar-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ---------- 12. Expert — Юхарин ---------- */
.expert-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-9);
  align-items: center;
}

.expert-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--theme-accent-primary), var(--theme-bg-darker));
}

.expert-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: luminosity;
  filter: contrast(1.05) brightness(1.05);
}

.expert-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(15, 24, 70, 0.6) 100%),
    linear-gradient(135deg, rgba(29, 66, 234, 0.35), transparent 60%);
  pointer-events: none;
}

.expert-portrait__badge {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  z-index: 2;
  padding: 8px 14px;
  background: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.expert h2 {
  font-size: 52px;
  line-height: 1.1;
  margin-top: var(--space-4);
}

.expert__role {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--theme-text-muted);
  margin-top: var(--space-5);
}

.expert__credits {
  margin-top: var(--space-7);
  display: grid;
  gap: var(--space-4);
}

.expert__credit {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  background: var(--theme-bg-soft);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--theme-accent-primary);
}

.expert__credit-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--theme-accent-primary);
  flex-shrink: 0;
}

.expert__credit-text {
  font-size: 15px;
  line-height: 1.5;
}

.expert__credit-text strong {
  display: block;
  font-weight: 700;
  color: var(--theme-text-on-light);
  margin-bottom: 2px;
}

.expert__credit-text span {
  color: var(--theme-text-muted);
}

/* ---------- 13. Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.tariff {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-card-border-on-light);
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
  display: flex;
  flex-direction: column;
}

.tariff:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -40px rgba(29, 66, 234, 0.3);
}

.tariff--featured {
  background: linear-gradient(180deg, var(--theme-bg-dark) 0%, var(--theme-bg-darker) 100%);
  color: #fff;
  border-color: rgba(151, 224, 23, 0.35);
}

.tariff__label {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(29, 66, 234, 0.1);
  color: var(--theme-accent-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.tariff--featured .tariff__label {
  background: rgba(151, 224, 23, 0.18);
  color: var(--theme-accent-cta);
}

.tariff__name {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin-top: var(--space-5);
}

.tariff__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.tariff__price-value {
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  color: var(--theme-accent-primary);
  letter-spacing: -0.04em;
}

.tariff--featured .tariff__price-value {
  color: var(--theme-accent-cta);
}

.tariff__price-period {
  font-size: 16px;
  color: var(--theme-text-muted);
  font-weight: 500;
}

.tariff--featured .tariff__price-period {
  color: rgba(255, 255, 255, 0.5);
}

.tariff__note {
  font-size: 13px;
  color: var(--theme-text-muted);
  margin-top: var(--space-3);
}

.tariff--featured .tariff__note {
  color: rgba(255, 255, 255, 0.55);
}

.tariff__features {
  list-style: none;
  margin: var(--space-7) 0 0;
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--theme-line);
  display: grid;
  gap: var(--space-3);
}

.tariff--featured .tariff__features {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.tariff__features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}

.tariff__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'><path d='M3 9.5L7 13L15 5' stroke='%231d42ea' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.tariff--featured .tariff__features li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'><path d='M3 9.5L7 13L15 5' stroke='%2397e017' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.tariff .btn {
  margin-top: var(--space-7);
  width: 100%;
}

/* ---------- 14. Final CTA ---------- */
.final-cta {
  position: relative;
  padding: var(--space-10) 0;
  background:
    radial-gradient(60% 70% at 80% 50%, rgba(151, 224, 23, 0.2) 0%, transparent 60%),
    radial-gradient(50% 60% at 20% 50%, rgba(29, 66, 234, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, var(--theme-bg-dark) 0%, var(--theme-bg-darker) 100%);
  color: #fff;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: var(--space-5);
}

.final-cta h2 .accent {
  color: var(--theme-accent-cta);
}

.final-cta__lead {
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.72);
  margin-top: var(--space-6);
}

.final-cta__promo-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background: rgba(151, 224, 23, 0.08);
  border: 1px dashed rgba(151, 224, 23, 0.4);
  border-radius: var(--radius-lg);
}

.final-cta__promo-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.final-cta__promo-code {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--theme-accent-cta);
  font-variant-numeric: tabular-nums;
}

.final-cta__row {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.final-cta__small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-6);
}

/* ---------- 15. Footer ---------- */
.footer {
  background: #1a2438;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-9) 0 var(--space-6);
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
}

.footer__address {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.footer__badges {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  width: fit-content;
}

.footer__badge-img {
  display: block;
  height: 44px;
  width: auto;
}

.footer__badge-img--rk {
  height: 48px;
}

.footer__badge-img--sk {
  height: 36px;
}

.footer__col {
  font-size: 15px;
}

.footer__col h4 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-4);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.footer__col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s var(--easing);
}

.footer__col a:hover {
  color: var(--theme-accent-cta);
}

.footer__col--contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__contact-block h4 {
  margin-bottom: 4px;
}

.footer__contact-value {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact-value:hover {
  color: var(--theme-accent-cta);
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer__social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--easing), box-shadow 0.2s;
}

.footer__social--tg { background: #2aabee; }
.footer__social--wa { background: #25d366; }
.footer__social--yt { background: #ff0000; }
/* MAX — готовый брендовый бейдж (svg с вшитым градиентом), скругляем под наши круги */
.footer__social--max { overflow: hidden; }
.footer__social-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.footer__social:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}

.footer__social svg {
  width: 22px;
  height: 22px;
}

.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__copy {
  letter-spacing: 0.01em;
}

.footer__legal {
  display: flex;
  gap: var(--space-7);
  flex-wrap: wrap;
}

/* ---------- 16. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   ADAPTIVE — Tilda breakpoints 320 / 640 / 960 / 1200
   ============================================================ */

/* Horizontal tablet — 960..1199 */
@media (max-width: 1199px) {
  :root {
    --text-h1: 52px;
    --text-h2: 40px;
    --text-h3: 28px;
  }

  .hero {
    padding-top: 140px;
  }

  .hero__visual {
    max-width: 440px;
  }

  .hero__stat-value { font-size: 32px; }
}

/* Vertical tablet — 640..959 */
@media (max-width: 959px) {
  :root {
    --text-h1: 44px;
    --text-h2: 36px;
    --text-h3: 26px;
    --text-h4: 22px;
    --text-lead: 18px;
  }

  .section {
    padding: var(--space-9) 0;
  }

  .nav__links {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero__visual {
    max-width: 380px;
    margin: 0 auto;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .includes-grid,
  .cats-grid,
  .webinars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-item {
    grid-template-columns: 70px 1fr;
    grid-template-areas:
      "date title"
      "date speaker";
    row-gap: var(--space-3);
  }

  .schedule-item__date { grid-area: date; }
  .schedule-item__title { grid-area: title; }
  .schedule-item__speaker { grid-area: speaker; }
  .schedule-item__icon { display: none; }

  .expert-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .expert-portrait {
    max-width: 360px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

/* Mobile — 320..639 */
@media (max-width: 639px) {
  :root {
    --text-h1: 36px;
    --text-h2: 28px;
    --text-h3: 22px;
    --text-h4: 18px;
    --text-lead: 16px;
    --text-body: 15px;
    --container-pad: 16px;
  }

  .section,
  .section--tight {
    padding: var(--space-8) 0;
  }

  /* (1) Навбар — pill по ширине контента, по центру, не на всю ширину */
  .nav {
    width: auto;
    max-width: calc(100% - 24px);
  }

  .nav__inner {
    gap: 16px;
    padding: 8px 10px 8px 16px;
  }

  .nav__logo-img {
    height: 26px;
  }

  /* (1) Возвращаем текстовую кнопку «Войти» */
  .nav__login {
    width: auto;
    height: 40px;
    padding: 9px 16px;
    gap: 6px;
    font-size: 14px;
  }

  /* (1) «Оформить за 5 ₽» на мобайле убираем — дублирует CTA в блоке цен */
  .nav__cta {
    display: none;
  }

  .btn {
    height: 52px;
    padding: 0 28px;
    font-size: 15px;
    width: 100%;
  }

  .btn--lg {
    height: 58px;
    font-size: 16px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: var(--space-8);
  }

  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__promo {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .hero__promo-price {
    font-size: 36px;
  }

  .hero__visual {
    max-width: 280px;
  }

  .hero__chip {
    font-size: 11px;
    padding: 6px 12px;
  }

  .hero__chip--1 { left: -4%; }
  .hero__chip--2 { right: -4%; }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
  }

  .hero__stat-value { font-size: 28px; }

  .section-head { margin-bottom: var(--space-7); }

  .includes-grid,
  .cats-grid,
  .webinars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .include-card,
  .tariff {
    padding: var(--space-6);
  }

  .schedule-item {
    grid-template-columns: 56px 1fr;
    padding: var(--space-4);
  }

  .schedule-item__date { min-width: 56px; padding: 8px 4px; }
  .schedule-item__date-day { font-size: 20px; }

  .tariff__price-value { font-size: 52px; }

  .final-cta__promo-code { font-size: 24px; }

  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NEW SECTIONS — added to match live /neuroclub structure
   ============================================================ */

/* ---------- Hero: мега-заголовок «Нейроклуб» ---------- */
.hero__title-mega {
  font-size: clamp(44px, 16.5vw, 196px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -5px;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 var(--space-5);
  width: 100%;
  white-space: nowrap;
  transform: translateX(-2px);
}

.hero__title-mega .accent {
  background: linear-gradient(135deg, #c8ff3a 0%, #97e017 55%, #6ab800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: normal;
}

/* ---------- Hero: чипсы-преимущества (горизонтальные пилюли) ---------- */
.hero__chips {
  list-style: none;
  margin: var(--space-6) auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
}

.hero__chip-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(151, 224, 23, 0.28);
  border-radius: var(--radius-pill);
  transition: background 0.2s, border-color 0.2s;
}

.hero__chip-item:hover {
  background: rgba(151, 224, 23, 0.08);
  border-color: rgba(151, 224, 23, 0.5);
}

/* Перенос внутри первого чипа — только на мобайле (см. round 3) */
.hero__chip-br { display: none; }

/* ---------- Info-iconka (i) с тултипом ---------- */
.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(151, 224, 23, 0.2);
  border: 1px solid rgba(151, 224, 23, 0.5);
  color: var(--theme-accent-cta);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  font-family: 'Times New Roman', Georgia, serif;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  top: -1px;
  outline: none;
  transition: background 0.2s, transform 0.2s;
}

.info-tip:hover,
.info-tip:focus {
  background: rgba(151, 224, 23, 0.4);
  transform: scale(1.15);
}

.info-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  width: max-content;
  max-width: 240px;
  padding: 10px 14px;
  background: #fff;
  color: var(--theme-text-on-light);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 20;
}

.info-tip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 20;
}

.info-tip:hover::after,
.info-tip:focus::after,
.info-tip:hover::before,
.info-tip:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 2. About-services (Midjourney + ChatGPT) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.service-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-6);
  align-items: stretch;
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-card-border-on-light);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing),
    border-color 0.3s var(--easing);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(29, 66, 234, 0.25);
  border-color: rgba(29, 66, 234, 0.25);
}

.service-card__media {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #060f3d 0%, #1d42ea 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 200px;
}

.service-card__media--gpt {
  background: linear-gradient(135deg, #0d3d36 0%, #21cbb5 100%);
}

.service-card__art {
  width: 75%;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
}

.service-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 4px 10px;
  background: rgba(151, 224, 23, 0.95);
  color: var(--theme-bg-darker);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.service-card__badge--gpt {
  background: rgba(255, 255, 255, 0.95);
  color: #0d3d36;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}

.service-card__body h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card__body p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--theme-text-muted);
  margin: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  align-self: flex-start;
  padding: 10px 18px;
  background: var(--theme-bg-soft);
  color: var(--theme-accent-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s var(--easing), color 0.25s var(--easing),
    border-color 0.25s var(--easing);
}

.service-card__cta:hover {
  background: var(--theme-accent-primary);
  color: #fff;
}

.service-card__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--easing);
}

.service-card__cta:hover svg {
  transform: translateX(3px);
}

/* ---------- 3. For-whom — Для кого (white, premium) ---------- */
.for-whom-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-9);
  align-items: center;
}

.for-whom__copy {
  max-width: 560px;
}

.for-whom__copy .eyebrow {
  color: var(--theme-text-muted);
}

.for-whom__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: var(--space-4) 0 var(--space-6);
  color: var(--theme-accent-primary);
}

.for-whom__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--theme-text-on-light);
  margin: 0 0 var(--space-5);
}

.for-whom__alert {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  text-align: left;
  padding: var(--space-5) var(--space-5);
  margin-top: var(--space-6);
  background: linear-gradient(135deg, rgba(29, 66, 234, 0.04), rgba(151, 224, 23, 0.05));
  border: 1px solid rgba(29, 66, 234, 0.16);
  border-left: 4px solid var(--theme-accent-cta);
  border-radius: var(--radius-md);
  font-size: 16px;
  line-height: 1.55;
  color: var(--theme-text-on-light);
  box-shadow: 0 16px 32px -22px rgba(29, 66, 234, 0.25);
}

.for-whom__alert-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  display: grid;
  place-items: center;
}

.for-whom__alert-icon svg {
  width: 22px;
  height: 22px;
}

.for-whom__alert-text strong {
  color: var(--theme-accent-primary);
  font-weight: 800;
  margin-right: 4px;
}

.for-whom__hint {
  margin-top: var(--space-5);
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-text-muted);
}

.for-whom__hint-link {
  color: var(--theme-accent-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}

.for-whom__hint-link:hover {
  opacity: 0.7;
}

/* --- Visual --- */
.for-whom__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
}

.for-whom__orb {
  position: absolute;
  inset: 12% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(180, 240, 60, 0.95) 0%, rgba(151, 224, 23, 0) 38%),
    radial-gradient(circle at 75% 75%, rgba(29, 66, 234, 1) 0%, rgba(29, 66, 234, 0) 55%),
    radial-gradient(circle at 50% 50%, rgba(140, 70, 240, 0.9) 0%, rgba(80, 35, 180, 0.85) 45%, rgba(30, 15, 90, 0.95) 85%);
  filter: blur(1px);
  box-shadow:
    inset 0 0 100px rgba(151, 224, 23, 0.45),
    inset 0 0 200px rgba(29, 66, 234, 0.55),
    0 0 60px rgba(151, 224, 23, 0.15),
    0 0 120px rgba(29, 66, 234, 0.18),
    0 0 180px rgba(140, 70, 240, 0.15);
  animation: orbPulse 8s ease-in-out infinite;
}

.for-whom__orb-ring {
  position: absolute;
  inset: 6% 6%;
  border-radius: 50%;
  border: 1px dashed rgba(151, 224, 23, 0.25);
  animation: orbRotate 40s linear infinite;
}

.for-whom__orb-ring::after {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); filter: blur(2px); }
  50% { transform: scale(1.04); filter: blur(3px); }
}

@keyframes orbRotate {
  to { transform: rotate(360deg); }
}

.for-whom__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Glass cards on white */
.for-whom__card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(29, 66, 234, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px -8px rgba(29, 66, 234, 0.22), 0 4px 12px rgba(0, 0, 0, 0.04);
  z-index: 2;
  animation: cardFloat 6s ease-in-out infinite;
}

.for-whom__card-dot {
  margin-top: 6px;
}

.for-whom__card--1 {
  top: 8%;
  left: -4%;
}

.for-whom__card--2 {
  top: 38%;
  right: -6%;
  animation-delay: -2s;
}

.for-whom__card--3 {
  bottom: 10%;
  left: 4%;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.for-whom__card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent-primary);
  box-shadow: 0 0 8px var(--theme-accent-primary);
  flex-shrink: 0;
}

.for-whom__card-dot--lime {
  background: var(--theme-accent-cta);
  box-shadow: 0 0 10px var(--theme-accent-cta);
}

.for-whom__card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--theme-accent-cta), #6ab800);
  color: var(--theme-bg-darker);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.for-whom__card-icon svg {
  width: 16px;
  height: 16px;
}

.for-whom__card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.for-whom__card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--theme-text-on-light);
  line-height: 1.25;
}

.for-whom__card-meta {
  font-size: 11px;
  color: var(--theme-text-muted);
  line-height: 1.25;
}

/* Sparkles */
.for-whom__sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 12px var(--theme-accent-cta), 0 0 20px rgba(151, 224, 23, 0.5);
  z-index: 1;
  animation: sparkle 3s ease-in-out infinite;
}

.for-whom__sparkle--1 { top: 22%; right: 22%; animation-delay: 0s; }
.for-whom__sparkle--2 { bottom: 28%; left: 26%; animation-delay: -1s; }
.for-whom__sparkle--3 { top: 50%; left: 12%; animation-delay: -2s; width: 4px; height: 4px; }

@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* ---------- 4. Schedule CTA — кнопка под расписанием ---------- */
.schedule-cta {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
}

.schedule-cta .btn {
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  height: auto;
  min-height: 56px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* ---------- 8. Benefits — Что получают участники ---------- */
/* ---------- Benefits — bento asymmetric ---------- */
#benefits {
  position: relative;
  overflow: hidden;
}

#benefits > .container {
  position: relative;
  z-index: 1;
  max-width: 1560px;
}

#benefits .section-head {
  margin-bottom: var(--space-6);
}

.benefits__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 95%);
}

.benefits__pulse {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  animation: benefitsPulse 12s ease-in-out infinite;
}

.benefits__pulse--1 {
  width: 540px;
  height: 540px;
  top: 8%;
  left: 4%;
  background: radial-gradient(circle, rgba(151, 224, 23, 0.55) 0%, rgba(151, 224, 23, 0) 70%);
}

.benefits__pulse--2 {
  width: 600px;
  height: 600px;
  bottom: 4%;
  right: 4%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.5) 0%, rgba(124, 77, 255, 0) 70%);
  animation-delay: -6s;
}

@keyframes benefitsPulse {
  0%, 100% { transform: scale(1); opacity: 0.32; }
  50% { transform: scale(1.12); opacity: 0.55; }
}

.benefits-grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1512px;
}

/* Bento: 8 карточек, ширины в % от контейнера — сохраняют соотношение
   (3 по трети + 2 по половине) и растягиваются вместе с секцией */
.benefit-card:nth-child(1),
.benefit-card:nth-child(2),
.benefit-card:nth-child(3),
.benefit-card:nth-child(6),
.benefit-card:nth-child(7),
.benefit-card:nth-child(8) { width: calc((100% - 40px) / 3); }
.benefit-card:nth-child(4),
.benefit-card:nth-child(5) { width: calc((100% - 20px) / 2); }

/* Stagger reveal — волна слева-направо, сверху-вниз */
.benefits-grid .benefit-card:nth-child(1) { transition-delay: 0s; }
.benefits-grid .benefit-card:nth-child(2) { transition-delay: 0.08s; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: 0.16s; }
.benefits-grid .benefit-card:nth-child(4) { transition-delay: 0.26s; }
.benefits-grid .benefit-card:nth-child(5) { transition-delay: 0.34s; }
.benefits-grid .benefit-card:nth-child(6) { transition-delay: 0.44s; }
.benefits-grid .benefit-card:nth-child(7) { transition-delay: 0.52s; }
.benefits-grid .benefit-card:nth-child(8) { transition-delay: 0.6s; }

.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 66, 234, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 32px -16px rgba(29, 66, 234, 0.15);
  overflow: hidden;
  transition: transform 0.3s var(--easing), border-color 0.3s var(--easing),
    box-shadow 0.3s var(--easing);
  text-align: left;
}

.benefit-card__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-4);
}

.benefit-card__head .benefit-card__title {
  flex: 1;
  min-width: 0;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-accent-cta), transparent);
  transform: translateX(-50%);
  transition: width 0.4s var(--easing);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(151, 224, 23, 0.45);
  box-shadow: 0 30px 60px -22px rgba(151, 224, 23, 0.35),
    0 12px 24px -16px rgba(29, 66, 234, 0.2);
}

.benefit-card:hover::before {
  width: 70%;
}

.benefit-card:hover .benefit-card__icon {
  transform: translateY(-4px) scale(1.06);
}

/* Icon — vector SVG, blue background, white stroke */
.benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--theme-accent-primary), #4a6dff);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(29, 66, 234, 0.4);
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.benefit-card__icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.06);
  box-shadow: 0 12px 24px -6px rgba(29, 66, 234, 0.55);
}

.benefit-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--theme-text-on-light);
}

.benefit-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-text-muted);
}

/* ============================================================
   VARIANT 2: Constellation — orb + benefits вокруг
   ============================================================ */
.constellation {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  padding: var(--space-8) 0;
}

.constellation__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: 0;
}

.constellation__orb-core {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(200, 255, 58, 0.9) 0%, rgba(151, 224, 23, 0) 50%),
    radial-gradient(circle at 70% 70%, rgba(29, 66, 234, 1) 0%, rgba(29, 66, 234, 0) 55%),
    radial-gradient(circle at 50% 50%, rgba(140, 70, 240, 0.95) 0%, rgba(80, 35, 180, 0.85) 50%, rgba(30, 15, 90, 0.9) 100%);
  box-shadow:
    inset 0 0 60px rgba(151, 224, 23, 0.4),
    0 0 80px rgba(140, 70, 240, 0.5),
    0 0 120px rgba(29, 66, 234, 0.4);
  animation: orbPulse 8s ease-in-out infinite;
}

.constellation__orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(151, 224, 23, 0.3);
  animation: orbRotate 30s linear infinite;
}

.constellation__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}

.constellation__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: transform 0.3s var(--easing), border-color 0.3s, box-shadow 0.3s;
}

.constellation__item:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 224, 23, 0.45);
  box-shadow: 0 20px 40px -16px rgba(151, 224, 23, 0.35);
}

.constellation__item:nth-child(odd) {
  justify-self: end;
  max-width: 360px;
}

.constellation__item:nth-child(even) {
  justify-self: start;
  max-width: 360px;
}

.constellation__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(151, 224, 23, 0.18);
  color: var(--theme-accent-cta);
}

.constellation__icon svg { width: 24px; height: 24px; }

.constellation__item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.constellation__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   VARIANT 3: Featured Hero — топ-3 + chips
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.featured-card {
  position: relative;
  padding: var(--space-7);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.3s var(--easing), border-color 0.3s, box-shadow 0.3s;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--theme-accent-cta));
  opacity: 0.7;
}

.featured-card--lime { --accent: #97e017; box-shadow: 0 30px 60px -30px rgba(151, 224, 23, 0.3); }
.featured-card--violet { --accent: #7c4dff; box-shadow: 0 30px 60px -30px rgba(124, 77, 255, 0.3); }
.featured-card--blue { --accent: #1d42ea; box-shadow: 0 30px 60px -30px rgba(29, 66, 234, 0.3); }

.featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.featured-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, #97e017) 25%, transparent);
  color: var(--accent, var(--theme-accent-cta));
}

.featured-card__icon svg { width: 32px; height: 32px; }

.featured-card h3 {
  margin: 0 0 var(--space-3);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.featured-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.chip-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: border-color 0.3s, background 0.3s;
}

.chip-card:hover {
  border-color: rgba(151, 224, 23, 0.4);
  background: rgba(151, 224, 23, 0.04);
}

.chip-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(151, 224, 23, 0.15);
  color: var(--theme-accent-cta);
}

.chip-card__icon svg { width: 20px; height: 20px; }

.chip-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   VARIANT 4: Neural Timeline — вертикальная lime линия zigzag
   ============================================================ */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--theme-accent-cta) 8%,
    #7c4dff 50%,
    var(--theme-accent-cta) 92%,
    transparent 100%);
  filter: drop-shadow(0 0 8px rgba(151, 224, 23, 0.6));
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  padding: var(--space-5) 0;
}

.timeline__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 16px var(--theme-accent-cta), 0 0 0 4px rgba(151, 224, 23, 0.2);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.timeline__card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.timeline__card:hover {
  transform: translateY(-3px);
  border-color: rgba(151, 224, 23, 0.45);
  box-shadow: 0 20px 40px -16px rgba(151, 224, 23, 0.35);
}

.timeline__item:nth-child(odd) .timeline__card {
  grid-column: 1;
}

.timeline__item:nth-child(even) .timeline__card {
  grid-column: 2;
}

.timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(151, 224, 23, 0.18);
  color: var(--theme-accent-cta);
}

.timeline__icon svg { width: 24px; height: 24px; }

.timeline__card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.timeline__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* Section-head modifiers */
.eyebrow--muted {
  color: var(--theme-text-muted);
}

.section-title--blue {
  color: var(--theme-accent-primary);
}

.section-title--nowrap {
  white-space: nowrap;
}

/* ---------- 9. Reviews placeholder ---------- */
/* ---------- Reviews — wall of love (masonry) ---------- */
#reviews {
  position: relative;
  overflow: hidden;
}

#reviews > .container {
  position: relative;
  z-index: 1;
}

.reviews__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 95%);
}

.reviews__pulse {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.38;
  animation: reviewsPulse 12s ease-in-out infinite;
}

.reviews__pulse--1 {
  width: 520px;
  height: 520px;
  top: 6%;
  right: -4%;
  background: radial-gradient(circle, rgba(151, 224, 23, 0.5) 0%, rgba(151, 224, 23, 0) 70%);
}

.reviews__pulse--2 {
  width: 580px;
  height: 580px;
  bottom: -6%;
  left: -4%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.55) 0%, rgba(124, 77, 255, 0) 70%);
  animation-delay: -6s;
}

@keyframes reviewsPulse {
  0%, 100% { transform: scale(1); opacity: 0.32; }
  50% { transform: scale(1.12); opacity: 0.55; }
}

/* Reviews header — заголовок слева + стрелки справа */
.section-head--reviews {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.reviews-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.reviews-nav__btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.reviews-nav__btn:hover {
  background: var(--theme-accent-cta);
  border-color: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(151, 224, 23, 0.4);
}

.reviews-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Carousel — горизонтальный track с scroll-snap */
.reviews-carousel {
  position: relative;
  z-index: 1;
  margin: -16px calc(-1 * var(--container-pad)) -32px;
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px var(--container-pad) 32px;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  position: relative;
  flex: 0 0 373px;
  scroll-snap-align: start;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 32px -16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--easing), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 224, 23, 0.4);
  box-shadow: 0 24px 50px -18px rgba(151, 224, 23, 0.35);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-4);
}

.review-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.review-card__avatar--lime {
  background: linear-gradient(135deg, #c8ff3a, #6ab800);
  color: var(--theme-bg-darker);
  box-shadow: 0 0 14px rgba(151, 224, 23, 0.4);
}

.review-card__avatar--violet {
  background: linear-gradient(135deg, #c8a3ff, #6a4dff);
  box-shadow: 0 0 14px rgba(124, 77, 255, 0.4);
}

.review-card__avatar--blue {
  background: linear-gradient(135deg, #7ab1ff, #1d42ea);
  box-shadow: 0 0 14px rgba(29, 66, 234, 0.4);
}

.review-card__person {
  flex: 1;
  min-width: 0;
}

.review-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.review-card__time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.review-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}

/* ---------- 10. Pricing v2 — Стоимость с табами ---------- */
#pricing {
  padding-bottom: 0;
}

.pricing {
  max-width: 1512px;
  margin: 0 auto;
}

/* Pricing header — заголовок слева + промо-плашка справа */
.section-head--pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  max-width: 1512px;
  margin: 0 auto var(--space-7);
  flex-wrap: wrap;
}

.section-head--pricing .section-head__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}

.section-head--pricing .section-title {
  margin: 0;
}

.pricing__promo-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 14px 14px 14px 22px;
  background: #fff;
  border: 1px solid rgba(29, 66, 234, 0.1);
  border-radius: 18px;
  width: 570px;
  max-width: 570px;
  flex: 0 0 570px;
  margin-left: auto;
  box-shadow: 0 16px 32px -22px rgba(29, 66, 234, 0.25);
}

.pricing__promo-text {
  flex: 1;
  min-width: 0;
}

.pricing__promo-line {
  margin: 0;
  font-size: 20px;
  color: var(--theme-text-on-light);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pricing__promo-line strong {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 4px;
  background: rgba(29, 66, 234, 0.18);
  color: var(--theme-accent-primary);
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing__promo-price {
  color: var(--theme-accent-primary);
  font-weight: 800;
  font-size: inherit;
}

.pricing__promo-sub {
  font-size: 12px;
  color: var(--theme-text-muted);
  margin-top: 6px;
}

.pricing__promo-cta {
  flex-shrink: 0;
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  white-space: nowrap;
}

.pricing__promo-cta svg {
  width: 16px;
  height: 16px;
}

.pricing__tabs {
  display: flex;
  margin: 0 auto var(--space-7);
  padding: 6px;
  background: #fff;
  border: 1px solid var(--color-card-border-on-light);
  border-radius: var(--radius-pill);
  gap: 4px;
  width: 100%;
  max-width: 1512px;
}

.pricing__tab {
  flex: 1;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--theme-text-muted);
  background: transparent;
  transition: background 0.25s var(--easing), color 0.25s var(--easing),
    box-shadow 0.25s var(--easing);
  white-space: nowrap;
}

.pricing__tab:hover {
  color: var(--theme-text-on-light);
}

.pricing__tab.is-active {
  background: var(--theme-bg-darker);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(6, 15, 61, 0.55);
}

.pricing__panel {
  animation: pricingFade 0.35s var(--easing);
}

.pricing__panel[hidden] {
  display: none;
}

@keyframes pricingFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--theme-bg-dark) 0%, var(--theme-bg-darker) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(151, 224, 23, 0.35);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(151, 224, 23, 0.18) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(29, 66, 234, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

/* Левая колонка — фичи */
.pricing-card__features {
  padding: var(--space-7);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card__features-title {
  margin: 0 0 var(--space-5);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent-cta);
  box-shadow: 0 0 8px rgba(151, 224, 23, 0.5);
}

.pricing-card__list-item--highlight strong {
  color: var(--theme-accent-cta);
  font-weight: 800;
}

/* Правая колонка — план */
.pricing-card__plan {
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.plan-tabs {
  display: flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  gap: 4px;
}

.plan-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--easing), color 0.25s var(--easing);
}

.plan-tab:hover {
  color: #fff;
}

.plan-tab.is-active {
  background: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(151, 224, 23, 0.6);
}

.plan-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: pricingFade 0.3s var(--easing);
}

.plan-panel[hidden] {
  display: none;
}

.plan-panel__price {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-panel__old {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  font-weight: 500;
}

.plan-panel__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-panel__value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.plan-panel__per {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-left: 4px;
}

.plan-panel__promo {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.plan-panel__promo strong {
  display: inline-block;
  padding: 2px 10px;
  margin-left: 4px;
  border-radius: 6px;
  background: rgba(151, 224, 23, 0.18);
  color: var(--theme-accent-cta);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plan-panel__total {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.plan-panel__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.plan-panel__cta {
  width: 100%;
  height: 56px;
  margin-top: auto;
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.25s var(--easing), border-color 0.25s var(--easing),
    color 0.25s var(--easing);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--theme-accent-cta);
  color: var(--theme-accent-cta);
}

.btn--ghost-dark.is-copied {
  background: rgba(151, 224, 23, 0.18);
  color: var(--theme-accent-cta);
  border-color: rgba(151, 224, 23, 0.5);
}

/* ---------- 11. Glossary — раскрывающийся аккордеон (на белом) ---------- */
#glossary {
  position: relative;
}

.glossary__bg {
  display: none;
}

.glossary-accordion {
  position: relative;
  background: #fff;
  border: 1px solid rgba(29, 66, 234, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.glossary-accordion[open] {
  border-color: rgba(29, 66, 234, 0.2);
  box-shadow: 0 24px 60px -22px rgba(29, 66, 234, 0.18);
}

.glossary-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-7);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.25s;
}

.glossary-accordion__summary::-webkit-details-marker { display: none; }
.glossary-accordion__summary::marker { display: none; }

.glossary-accordion[open] .glossary-accordion__summary {
  background: linear-gradient(135deg, rgba(151, 224, 23, 0.08), rgba(29, 66, 234, 0.06));
  border-bottom: 1px solid rgba(29, 66, 234, 0.12);
}

.glossary-accordion__title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--theme-text-on-light);
}

.glossary-accordion[open] .glossary-accordion__title {
  color: var(--theme-accent-primary);
}

.glossary-accordion__icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(29, 66, 234, 0.12);
  display: grid;
  place-items: center;
  color: var(--theme-accent-primary);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.glossary-accordion:hover .glossary-accordion__icon {
  border-color: rgba(29, 66, 234, 0.25);
  transform: scale(1.05);
}

.glossary-accordion[open] .glossary-accordion__icon {
  background: var(--theme-accent-cta);
  border-color: var(--theme-accent-cta);
  color: var(--theme-bg-darker);
  box-shadow: 0 0 16px rgba(151, 224, 23, 0.5);
}

.glossary-accordion .archive__icon-plus,
.glossary-accordion .archive__icon-close {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: opacity 0.2s, transform 0.2s;
}

.glossary-accordion .archive__icon-close {
  opacity: 0;
  transform: rotate(-45deg);
}

.glossary-accordion[open] .archive__icon-plus {
  opacity: 0;
  transform: rotate(45deg);
}

.glossary-accordion[open] .archive__icon-close {
  opacity: 1;
  transform: rotate(0);
}

.glossary-accordion__body {
  padding: var(--space-6) var(--space-7);
  animation: archiveReveal 0.4s var(--easing);
}

.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.glossary-term {
  padding: 14px 18px;
  background: var(--theme-bg-soft);
  border: 1px solid rgba(29, 66, 234, 0.06);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--theme-text-muted);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.glossary-term:hover {
  border-color: rgba(29, 66, 234, 0.45);
  box-shadow: 0 8px 18px -10px rgba(29, 66, 234, 0.35);
  transform: translateX(3px);
}

.glossary-term strong {
  color: var(--theme-accent-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Footer extras ---------- */
.footer__address {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.45;
  display: block;
}

/* ============================================================
   ADAPTIVE — additional rules for new sections
   ============================================================ */

/* Horizontal tablet — 960..1199 */
@media (max-width: 1199px) {
  .pricing-card__price-value { font-size: 60px; }

  /* Горизонтальный планшет: ужимаем hero по вертикали, чтобы первый экран влезал */
  .hero {
    padding-top: 120px;
    padding-bottom: var(--space-8);
  }

  .hero__copy,
  .hero__promo-bar,
  .hero__split {
    max-width: 100%;
  }

  .section-title,
  .expert h2,
  .final-cta h2,
  .for-whom__title {
    font-size: 44px;
  }
}

/* Vertical tablet — 640..959 */
@media (max-width: 959px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 160px 1fr;
    gap: var(--space-5);
  }

  .benefits-grid {
    gap: 16px;
  }

  .benefit-card:nth-child(n) {
    width: calc(50% - 8px);
  }

  .review-card {
    flex: 0 0 320px;
  }

  .constellation {
    grid-template-columns: 1fr;
  }

  .constellation__orb {
    position: relative;
    inset: auto;
    transform: none;
    margin: 0 auto var(--space-6);
    width: 200px;
    height: 200px;
  }

  .constellation__item:nth-child(odd),
  .constellation__item:nth-child(even) {
    justify-self: stretch;
    max-width: none;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 24px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    padding-left: 56px;
  }

  .timeline__node {
    left: 24px;
  }

  .timeline__item:nth-child(odd) .timeline__card,
  .timeline__item:nth-child(even) .timeline__card {
    grid-column: 1;
  }

  .section-title--nowrap {
    white-space: normal;
  }

  .for-whom__alert {
    padding: var(--space-5);
    font-size: 16px;
    gap: var(--space-4);
  }

  .section-head--pricing {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
  }

  .pricing__promo-bar {
    max-width: none;
    width: 100%;
  }

  .pricing-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .pricing-card__features {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-6);
  }

  .pricing-card__plan {
    padding: var(--space-6);
  }

  .pricing-card__price-value { font-size: 56px; }

  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .glossary-accordion__title {
    font-size: 22px;
  }

  .glossary-accordion__summary {
    padding: var(--space-5) var(--space-6);
  }

  .glossary-accordion__body {
    padding: var(--space-5) var(--space-6);
  }

  .schedule-cta .btn {
    width: 100%;
    font-size: 14px;
  }

  .hero__chip-item {
    font-size: 13px;
    padding: 7px 12px;
  }

  .hero__split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .hero__split .hero__lead {
    text-align: left;
  }

  .hero__promo-bar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-4);
    text-align: center;
  }

  .hero__promo-bar .hero__promo-text {
    text-align: center;
  }

  .section-title,
  .expert h2,
  .final-cta h2,
  .for-whom__title {
    font-size: 36px;
  }

  .cal {
    padding: var(--space-7) var(--space-5) var(--space-5);
  }

  .cal__month {
    font-size: 28px;
  }

  .cal__day {
    min-height: 48px;
    padding: 8px;
  }

  .cal__day--event {
    min-height: 180px;
    padding: 12px;
  }

  .cal__event-photo {
    width: 52px;
    height: 52px;
  }

  .cal__event-speaker {
    font-size: 12px;
  }

  .cal__event-title {
    font-size: 15px;
  }

  .archive {
    margin-top: var(--space-9);
  }

  .archive__title {
    font-size: 32px;
  }

  .archive__items {
    grid-template-columns: 1fr;
  }

  .archive__items:has(.archive__item--left[open]) .archive__teaser,
  .archive__items:has(.archive__item--right[open]) .archive__teaser {
    grid-column: 1;
    grid-row: auto;
  }

  .archive__summary {
    padding: var(--space-4) var(--space-5);
  }

  .archive__summary-text {
    font-size: 19px;
  }

  .archive__summary-text {
    font-size: 17px;
  }

  .archive__body {
    padding: var(--space-4) var(--space-5) var(--space-5);
  }

  .section-title--lime {
    white-space: normal;
  }

  .for-whom-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .for-whom__copy {
    max-width: none;
    text-align: left;
  }

  .for-whom__visual {
    max-width: 420px;
    order: -1;
  }

  .for-whom__card--1 { top: 4%; left: 2%; }
  .for-whom__card--2 { top: 40%; right: 0; }
  .for-whom__card--3 { bottom: 6%; left: 10%; }
}

/* Mobile — 320..639 */
@media (max-width: 639px) {
  .services-grid {
    gap: var(--space-4);
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: var(--space-5);
  }

  .service-card__media {
    min-height: 160px;
  }

  .service-card__body h3 {
    font-size: 20px;
  }

  .for-whom__alert {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5);
    font-size: 15px;
    gap: var(--space-3);
  }

  .for-whom__alert-icon {
    width: 38px;
    height: 38px;
  }

  .benefits-grid {
    gap: 14px;
  }

  .benefit-card:nth-child(n) {
    width: 100%;
  }

  .review-card {
    flex: 0 0 calc(100vw - 2 * var(--container-pad));
    padding: var(--space-5);
  }

  .reviews-nav__btn {
    width: 40px;
    height: 40px;
  }

  .benefit-card {
    padding: var(--space-5);
    gap: var(--space-3);
  }

  .benefit-card__icon {
    width: 40px;
    height: 40px;
  }

  .benefit-card__icon svg {
    width: 24px;
    height: 24px;
  }

  .benefit-card__title {
    font-size: 16px;
  }

  .benefit-card__text {
    font-size: 14px;
  }

  .chips-grid {
    grid-template-columns: 1fr;
  }

  .pricing__tabs {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 4px;
  }

  .pricing__tab {
    border-radius: var(--radius-md);
    padding: 12px;
    width: 100%;
  }

  .pricing-card__features,
  .pricing-card__plan {
    padding: var(--space-5);
  }

  .pricing__promo-bar {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    text-align: center;
  }

  .pricing__promo-text {
    text-align: center;
  }

  .pricing-card__features-title {
    font-size: 20px;
  }

  .pricing-card__list li {
    font-size: 14px;
  }

  .plan-tab {
    font-size: 12px;
    padding: 8px 10px;
  }

  .plan-panel__value {
    font-size: 22px;
  }

  .pricing-card__price-value { font-size: 48px; }

  .glossary-accordion__summary,
  .glossary-accordion__body {
    padding: var(--space-4) var(--space-5);
  }

  .glossary-accordion__title {
    font-size: 19px;
  }

  .glossary-term {
    font-size: 13px;
    padding: 12px 14px;
  }

  .reviews-placeholder {
    padding: var(--space-6) var(--space-5);
  }

  .section-title,
  .expert h2,
  .final-cta h2,
  .for-whom__title {
    font-size: 28px;
  }

  .cal {
    padding: var(--space-6) var(--space-4) var(--space-4);
    border-radius: 18px;
  }

  .cal__rings {
    padding: 0 var(--space-4);
  }

  .cal__rings span {
    width: 8px;
    height: 20px;
  }

  .cal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: var(--space-5);
  }

  .cal__month {
    font-size: 24px;
  }

  .cal__weekdays > div {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .cal__weekdays,
  .cal__grid {
    gap: 4px;
  }

  .cal__weekdays,
  .cal__grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .cal__day {
    min-height: 36px;
    padding: 6px 4px;
    border-radius: 8px;
  }

  .cal__day-num {
    font-size: 12px;
  }

  .cal__day--event {
    min-height: 140px;
    padding: 8px;
  }

  .cal__day--event .cal__day-num {
    font-size: 17px;
  }

  .cal__event {
    gap: 6px;
    margin-top: 6px;
  }

  .cal__event-row {
    gap: 8px;
  }

  .cal__event-photo {
    width: 40px;
    height: 40px;
  }

  .cal__event-speaker {
    font-size: 11px;
  }

  .cal__event-title {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .archive {
    margin-top: var(--space-9);
  }

  .archive__summary {
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .archive__summary-text {
    font-size: 15px;
  }

  .archive__summary-icon {
    width: 32px;
    height: 32px;
  }

  .archive__body {
    padding: var(--space-4);
  }

  .archive__list-item {
    flex-direction: column;
    gap: 8px;
    padding: var(--space-3);
  }

  .archive__bullet {
    margin-top: 0;
  }

  .archive__list-title {
    font-size: 14px;
  }

  .archive__list-desc {
    font-size: 13px;
  }

  .hero__chips {
    margin-top: 0;
    gap: 6px;
  }

  .hero__chip-item {
    font-size: 12px;
    padding: 6px 10px;
  }

  .info-tip {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .info-tip::after {
    max-width: 200px;
    font-size: 12px;
  }

  .hero__promo-line {
    font-size: 14px;
  }

  .hero__promo-price {
    font-size: 16px;
  }

  .schedule-cta .btn {
    font-size: 13px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   ADAPTIVE FIX 2026-06-14 — мобильный календарь = список активностей
   На ≤639px 7-колоночная сетка не влезает (правая колонка срезалась).
   Прячем сетку и пустые дни, показываем только дни с событиями
   вертикальным списком-карточками. Усиленная специфичность
   (.cal .cal__*) — чтобы гарантированно перебить базовый grid-template.
   ============================================================ */

/* Промокод не должен переноситься по дефису ни на одном экране */
.hero__promo-line strong,
.pricing__promo-line strong {
  white-space: nowrap;
}

/* Список включаем до 959px (Tilda-брейк): на планшете 640-959 7-колоночная
   сетка тоже не влезала — переключаем в список, как на мобайле */
@media (max-width: 959px) {
  /* шапка дней недели в списочном виде не нужна */
  .cal .cal__weekdays {
    display: none;
  }

  /* сетка → вертикальный список */
  .cal .cal__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* прячем всё, кроме дней с активностями */
  .cal .cal__day:not(.cal__day--event) {
    display: none;
  }

  /* карточка активности — строкой во всю ширину */
  .cal .cal__day--event {
    min-height: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
  }

  .cal .cal__day--event .cal__day-num {
    font-size: 26px;
    min-width: 30px;
    margin: 0;
    flex-shrink: 0;
  }

  /* контент события — фото+спикер сверху, тема доклада под ними */
  .cal .cal__day--event .cal__event {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 0;
    min-width: 0;
  }

  .cal .cal__day--event .cal__event-row {
    flex-shrink: 0;
  }

  .cal .cal__day--event .cal__event-photo img {
    width: 48px;
    height: 48px;
  }

  .cal .cal__day--event .cal__event-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
  }
}

/* ============================================================
   ADAPTIVE FIX 2026-06-15 — мобайл round 2 (8 правок Лиды)
   Идёт последним → перебивает мобильные правила выше на равной
   специфичности. Пункты пронумерованы по трекеру.
   ============================================================ */
@media (max-width: 639px) {

  /* (2) Промо-акция в hero — весь текст 18px (round 3) */
  .hero__promo-line { font-size: 18px; }
  .hero__promo-price { font-size: 18px; }

  /* (2) Контентные зоны — единый кегль 15px (было местами 14) */
  .benefit-card__text,
  .pricing-card__list li,
  .archive__list-title { font-size: 15px; }

  /* (3) Табы тарифов на всю ширину.
     Группа «энтузиасты/выпускники» стоит в 2 строки (колонкой) → радиус 5px.
     Группа сроков 1/6/12 — в 1 строку → радиус 30px. */
  .pricing__tabs { border-radius: 5px; width: 100%; }
  .pricing__tab { border-radius: 5px; width: 100%; }
  .plan-tabs { border-radius: 30px; width: 100%; }
  .plan-tab { border-radius: 30px; flex: 1; }

  /* (4) «Для кого»: заголовок и аудитория — НАД визуалом, тексты под ним.
     copy раскрываем в contents, чтобы упорядочить детей grid'а. */
  .for-whom-grid { display: flex; flex-direction: column; }
  .for-whom__copy { display: contents; }
  .for-whom__copy .eyebrow { order: 1; }
  .for-whom__title { order: 2; margin-bottom: var(--space-4); }
  .for-whom__visual { order: 3; margin: var(--space-2) auto var(--space-5); }
  .for-whom__lead,
  .for-whom__alert,
  .for-whom__hint { order: 4; }

  /* (5) Карточка расписания: число дня НАД фото, фото к левому краю,
     к числу дописываем месяц (актуализировать при смене месяца). */
  .cal .cal__day--event {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cal .cal__day--event .cal__day-num::after {
    content: ' июля';
    font-size: 0.55em;
    font-weight: 600;
    opacity: 0.85;
  }

  /* (6) Архив: строго колонкой (без свапа аккордеонов при раскрытии),
     teaser по высоте контента и по центру. */
  .archive__items { display: flex; flex-direction: column; }
  .archive__teaser { min-height: 0; }
  .archive__teaser-content {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* (7) Промо-бар «Стоимость»: высота по контенту.
     flex:0 0 570px в родителе-колонке уходил в высоту → пустота. */
  .pricing__promo-bar {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    gap: var(--space-3);
    padding: var(--space-4);
  }

  /* (8) Тарифы по центру, без левого отступа */
  .pricing__tabs { margin-left: auto; margin-right: auto; }
  .pricing__panel,
  .pricing-card { margin-left: 0; margin-right: 0; }

  /* ============================================================
     ADAPTIVE FIX 2026-06-15 — мобайл round 3 (правки Лиды)
     ============================================================ */

  /* (1) Меню на всю ширину, тоньше по высоте */
  .nav { width: calc(100% - 20px); max-width: none; }
  .nav__inner { padding: 5px 10px 5px 16px; }
  .nav__logo-img { height: 24px; }
  .nav__login { height: 36px; padding: 7px 14px; }

  /* (2) Hero-чипы: радиус 90px; все на всю ширину, кроме 2-го и 3-го
     («поддержка в чате» + «вебинары с экспертами») — те в один ряд по 50%.
     Перенос Midjourney отключён (.hero__chip-br остаётся скрытым). */
  .hero__chips { justify-content: flex-start; }
  .hero__chip-item {
    border-radius: 90px;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
  }
  .hero__chip-item:nth-child(2),
  .hero__chip-item:nth-child(3) {
    flex: 0 0 calc(50% - 3px);
    width: calc(50% - 3px);
  }

  /* (3) «Для кого»: строго по левому краю + плотнее по вертикали.
     align-items:flex-start — иначе базовый center центрирует сами блоки (h2 и т.д.).
     Гасим flex-gap (48px между всеми детьми) → отступы задаём margin'ами. */
  .for-whom-grid { align-items: flex-start; gap: 0; }
  .for-whom__copy .eyebrow,
  .for-whom__title,
  .for-whom__lead,
  .for-whom__hint { text-align: left; }
  .for-whom__title  { margin: var(--space-1) 0 var(--space-3); }
  .for-whom__lead   { margin-bottom: var(--space-3); }
  .for-whom__visual { margin: var(--space-2) auto var(--space-4); }
  .for-whom__alert  { margin-top: var(--space-4); }   /* «Важно»: меньше отступ сверху */
  .for-whom__hint   { margin-top: var(--space-3); }   /* меньше отступ снизу */

  /* (4) Архив: аккордеоны-«табы» на всю ширину */
  .archive__items { align-items: stretch; }
  .archive__item  { width: 100%; max-width: none; }
}


/* ============================================================
   GC PAYMENT MODAL — 2026-07-09
   Модалка с формами оплаты GetCourse (lite-виджеты).
   Формы отрендерены при загрузке внутри скрытой модалки,
   переключаются классом is-active — без перемещения по DOM
   (перенос узлов перезагружал бы iframe формы).
   ============================================================ */
.gc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gc-modal[hidden] { display: none; }

.gc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 61, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gc-modal__card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 30px 80px rgba(3, 8, 40, 0.55);
}

.gc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--theme-bg-soft);
  color: var(--theme-text-on-light);
  cursor: pointer;
  transition: background 0.2s var(--easing);
}
.gc-modal__close:hover { background: var(--theme-accent-cta); }

.gc-form { display: none; }
.gc-form.is-active { display: block; }

/* лочим скролл страницы, пока открыта модалка */
html.gc-modal-open,
html.gc-modal-open body { overflow: hidden; }

@media (max-width: 639px) {
  .gc-modal { padding: 10px; }
  .gc-modal__card {
    padding: var(--space-5) var(--space-4);
    max-height: calc(100vh - 20px);
    border-radius: var(--radius-md);
  }
}
