/* ============================================================
   ТОЧКА РОСТА — style.css
   Брейкпоинты: 1199px (большой планшет), 920px (планшет), 760px, 600px, 480px, 420px
   Шрифт: Plus Jakarta Sans (Google Fonts)
   ============================================================ */

/* ── GOOGLE FONT ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: 'Nunito', 'Arial Rounded MT Bold', Arial, sans-serif;
  line-height: 1.5;
  color: #111;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

p {
  font-weight: 500;
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── УТИЛИТЫ ────────────────────────────────────────────────── */
.muted {
  color: #6e7f90;
  font-size: 13px;
  line-height: 1.5;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  top: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo img,
.logo-icon {
  height: 80px;
  width: auto;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: #0056a3;
}

.logo-sub {
  font-size: 11px;
  font-weight: 700;
  color: #5b7389;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .logo img, .logo-icon { height: 48px; }
  .logo-name  { font-size: 15px; }
  .logo-sub   { font-size: 9px; }
}

.nav .menu {
  list-style: none;
  display: flex;
  gap: 0;
}

.menu li {
  position: relative;
  text-align: center;
}

.menu li + li {
  border-left: 1px solid rgba(0, 0, 0, 0.10);
}

.menu a,
.nav a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  margin: 0 1px;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu a:hover,
.nav a:hover {
  background: transparent !important;
}

/* Мобильный hover — перекрываем глобальный */
@media (max-width: 1100px) {
  .menu li {
    border-radius: 8px;
    transition: background .2s;
  }
  .menu li:hover {
    background: linear-gradient(135deg, rgba(47,128,237,.10), rgba(86,204,242,.10));
  }
  .menu a:hover {
    background: transparent !important;
    color: #1f5fbf !important;
    font-size: 16px !important;
  }
}

/* Бургер */
.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.burger:hover {
  background: rgba(207, 232, 255, 0.65);
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: flex; }

  .nav {
    display: none !important;
    position: absolute;
    top: 85px;
    right: 0;
    left: 0;
    transform: none;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 9999;
  }

  .nav.nav-active {
    display: flex !important;
  }

  .nav .menu { flex-direction: column; gap: 0; }

  .menu li { min-width: unset; text-align: center; justify-content: center; }

  .menu li + li {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .menu a {
    display: block;
    padding: 0 12px;
    margin: 0;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    line-height: 3;
    transition: background .2s, color .2s, font-size .15s;
  }
}

@media (max-width: 600px) {
  .logo img { height: 54px; }
  .header-inner { height: 68px; }
  .nav { top: 68px; }
}


/* ============================================================
   ОБЩИЕ КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.btn--primary,
.btn--ghost {
  background: #cfe8ff;
  color: #1f5fbf;
  border: 1px solid rgba(20,40,60,.18) !important;
  box-shadow: 0 22px 55px rgba(31,95,191,.22);
}

.btn--primary:hover,
.btn--ghost:hover {
  background: #bfe0ff;
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(31,95,191,.30);
}

.btn--soft {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 26px;
  border-radius: 14px;
  background: #cfe8ff;
  color: #2b6cff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(43,108,255,.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn--soft:hover {
  background: #bcdfff;
  transform: translateY(-2px);
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 18px;
  border: 1px solid rgba(20,40,60,.22);
  background: rgba(255,255,255,.5);
  color: #223243;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn--outline:hover {
  background: rgba(255,255,255,.72);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .btn { padding: 11px 16px; font-size: 13px; }
}


/* ============================================================
   HERO FULL
   ============================================================ */
.hero-full {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  background-image: url("assets/img/hero-desktop.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Растушёвка сверху */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1.0)  0px,
    rgba(255,255,255,0.85) 20px,
    rgba(255,255,255,0.55) 50px,
    rgba(255,255,255,0.20) 90px,
    rgba(255,255,255,0.0)  150px
  );
}

/* Растушёвка снизу */
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1.0) 0px,
    rgba(255,255,255,0.55) 70px,
    rgba(255,255,255,0.0) 145px
  );
  background-repeat: no-repeat;
}

.hero-full__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full__right {
  position: absolute;
  right: 60px;
  bottom: 80px;
  z-index: 4;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Волны */
.hero-top-shape,
.hero-bottom-shape {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-top-shape { top: -1px; }
.hero-bottom-shape { bottom: -1px; }
.hero-top-shape svg,
.hero-bottom-shape svg {
  width: 100%;
  height: 70px;
  display: block;
}

@media (max-width: 1199px) {
  .hero-full__right { right: 40px; bottom: 60px; }
}

/* Планшет 921px+: явно задаём десктопный фон чтобы не пропадал */
@media (min-width: 921px) {
  .hero-full {
    background-image: var(--hero-desktop-bg, url("assets/img/hero-desktop.jpg"));
  }
}

/* Мобилка ≤920px */
@media (max-width: 920px) {
  .hero-full {
    background-image: url("assets/img/hero-mobile.jpg");
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: block;
    width: 100%;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    padding: 0 !important;
  }

  .hero-full::before {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,1.0)  0px,
      rgba(255,255,255,0.85) 20px,
      rgba(255,255,255,0.55) 50px,
      rgba(255,255,255,0.20) 90px,
      rgba(255,255,255,0.0)  150px
    ) !important;
  }

  .hero-full::after {
    background: linear-gradient(
      to top,
      rgba(255,255,255,1.0) 0px,
      rgba(255,255,255,0.55) 30px,
      rgba(255,255,255,0.0) 145px
    ) !important;
    background-repeat: no-repeat !important;
  }

  .hero-full__right { display: none !important; }
}

/* Узкие телефоны ≤420px */
@media (max-width: 420px) {
  .hero-full {
    aspect-ratio: 16 / 10 !important;
  }
}


/* ============================================================
   FLORAL DIVIDER
   ============================================================ */
.divider-floral {
  height: 90px;
  width: 100%;
  background-image: url("assets/img/floral-divider.png");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.35;
  filter: blur(0.3px);
}

@media (max-width: 420px) {
  .divider-floral { margin-top: 18px; margin-bottom: 18px; }
}


/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 42px;
  font-weight: 800;
  color: #102334;
  margin: 0 0 14px;
}

.section-head .muted {
  font-size: 18px;
  font-weight: 500;
  color: #4e657a;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .section-head h2 { font-size: 32px; }
  .section-head .muted { font-size: 16px; }
}

@media (max-width: 600px) {
  .section-head h2 { font-size: 26px; }
}

@media (max-width: 420px) {
  .section-head { margin-bottom: 18px; }
  .section-head h2 { margin-bottom: 8px; }
}


/* ============================================================
   ABOUT AUTHOR — NEO
   ============================================================ */
.author--neo {
  padding: 40px 0;
  margin-top: 30px;
}

.author-neo__card {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 34px;
  border-radius: 28px;
  border: 1px solid rgba(20,40,60,.12);
  background: rgba(255,255,255,.70);
  box-shadow: 0 28px 90px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
  position: relative;
}

.author-neo__card::before {
  content: "";
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 420px;
  opacity: 0.9;
  pointer-events: none;
}

.author-neo__media {
  padding: 24px;
  position: relative;
}

.author-neo__photo {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(20,40,60,.10);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}

.author-neo__photo img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex: 1;
}

.author-neo__tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-neo__tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  color: #23507a;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(31,95,191,.16);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.author-neo__content {
  padding: 30px 30px 26px 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-neo__top { margin-bottom: 16px; }

.author-neo__kicker {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a8aa0;
  margin-bottom: 10px;
  font-weight: 800;
}

.author-neo__name {
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
  color: #142638;
  font-weight: 800;
}

.author-neo__role {
  margin: 0 0 18px;
  font-size: 16px;
  color: #385064;
  font-weight: 700;
  opacity: 0.9;
}

.author-neo__text p {
  margin: 0 0 12px;
  color: #4b6276;
  line-height: 1.75;
  font-size: 16px;
  max-width: 920px;
}

.author-neo__quote {
  margin: 18px 0 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(207,232,255,.45);
  border: 1px solid rgba(31,95,191,.14);
  color: #1f3f63;
  font-weight: 700;
  line-height: 1.6;
}

.author-neo__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.fact {
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(20,40,60,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.06);
  padding: 14px 14px 12px;
}

.fact__num {
  font-size: 22px;
  font-weight: 800;
  color: #142638;
  letter-spacing: -0.3px;
}

.fact__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #5b7389;
}

.author-neo__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

.author-neo__note {
  margin-top: 14px;
  font-size: 13px;
  color: #6e7f90;
  line-height: 1.55;
  max-width: 920px;
}

@media (max-width: 1199px) {
  .author-neo__card { grid-template-columns: 340px 1fr; }
  .author-neo__name { font-size: 36px; }
}

@media (max-width: 920px) {
  .author-neo__card {
    grid-template-columns: 320px 1fr;
    gap: 18px;
    align-items: stretch;
  }
  .author-neo__media { padding: 18px; }
  .author-neo__photo { height: 480px; }
  .author-neo__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    min-height: unset;
  }
  .author-neo__content { padding: 20px 20px 20px 10px; }
  .author-neo__name { font-size: 28px; }
  .author-neo__facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .author-neo__card { grid-template-columns: 1fr; gap: 0; }
  .author-neo__media { padding: 0; width: 100%; }
  .author-neo__photo {
    border-radius: 22px 22px 0 0;
    box-shadow: none;
    border: none;
    height: 420px;
  }
  .author-neo__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }
  .author-neo__content { padding: 16px; }
}

@media (max-width: 480px) {
  .author-neo__photo {
    height: auto;
    aspect-ratio: unset;
    overflow: visible;
  }
  .author-neo__photo img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .author--neo { padding: 28px 0; }
  .author-neo__name { font-size: 24px; }
}

@media (max-width: 420px) {
  .author-neo__card { padding: 18px; }
}


/* ============================================================
   COURSES VERTICAL — NOVA CARD
   ============================================================ */
.courses-vertical {
  padding: 40px 0;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.nova-card {
  display: grid;
  grid-template-columns: 520px 1fr;
  position: relative;
  gap: 0;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 25%, rgba(207,232,255,.70), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(210,250,255,.55), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid rgba(20,40,60,.12);
}

.nova-card__media {
  position: relative;
  padding: 22px 24px 34px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.nova-card__media > .nova-card__badge,
.nova-card__media > .nova-card__price {
  align-self: auto;
}

/* Badge и ценник в одну строку */
.nova-card__media-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.nova-card__media img {
  width: 100%;
  max-width: 430px;
  object-fit: contain;
  display: block;
  border-radius: 28px;
}

.nova-card__badge {
  align-self: flex-start;
  background: #cfe8ff;
  color: #1f5fbf;
  border: 1px solid rgba(20,40,60,.18) !important;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(31,95,191,.20);
  white-space: nowrap;
}

.nova-card__body {
  padding: 22px 48px 44px 14px;
}

.nova-card__header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 0;
}

.nova-card__title {
  margin: 0;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -1px;
  color: #0f2433;
  font-weight: 800;
  text-align: center;
  width: 100%;
}

/* Ценник — рядом с badge длительности в медиа колонке */
.nova-card__price {
  align-self: flex-start;
  background: #ffffff;
  color: #1a2f42;
  border: 1px solid #97c0ff;
  border-radius: 999px;
  padding: 8.3px 16px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(31,95,191,.20);
  white-space: nowrap;
  backdrop-filter: none;
  z-index: 5;
}

.nova-card__price span {
  display: inline;
  font-size: 13px;
  color: #6e8aa0;
  font-weight: 700;
}
.nova-card__price span::before {
  content: ' / ';
  color: #6e8aa0;
}

.nova-card__lead {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4c6377;
  max-width: 650px;
}

.nova-card__description {
  margin-top: 22px;
  color: #3f556a;
  line-height: 1.75;
}

.nova-card__description p { margin: 0 0 12px; }

.nova-card__features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nova-f {
  background: rgba(255,255,255,.82);
  border-radius: 22px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid rgba(31,95,191,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.nova-f__num {
  font-size: 30px;
  font-weight: 800;
  color: #1f5fbf;
  line-height: 1;
}

.nova-f__label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #3f556a;
  line-height: 1.2;
}

.nova-card__result {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(207,232,255,.35);
  border: 1px solid rgba(31,95,191,.10);
  color: #2e4961;
  line-height: 1.7;
}

.nova-card__actions {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.nova-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
}

.nova-btn--primary {
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  color: #ffffff;
  border: none !important;
  box-shadow: 0 12px 32px rgba(47,128,237,.3);
  padding: 14px 28px;
  font-size: 15px;
  height: auto;
}

.nova-btn--primary:hover {
  background: linear-gradient(135deg, #1C64D1, #2F80ED);
  transform: translateY(-2px);
}

.nova-btn--ghost {
  background: #fff;
  border: 1px solid rgba(20,40,60,.18);
  color: #1f2d3a;
  padding: 14px 28px;
  font-size: 15px;
  height: auto;
}

.nova-btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.9);
}

/* Десктоп — явно ставим колонки независимо от порядка в DOM */
.nova-card__media { grid-column: 1; grid-row: 1; }
.nova-card__body  { grid-column: 2; grid-row: 1; }

@media (min-width: 1101px) and (max-width: 1199px) {
  .nova-card { grid-template-columns: 360px 1fr; align-items: center; }
  .nova-card__media { grid-column: 1; grid-row: 1; }
  .nova-card__body  { grid-column: 2; grid-row: 1; padding: 36px 40px 36px 14px; }
  .nova-card__title { font-size: 38px; }
}

/* ── Глобально скрываем мобильные элементы (десктоп не видит) ── */
.nova-card__toggle              { display: none; }
.nova-card__actions--mobile     { display: none; }
.nova-card__description--mobile { display: none; }
.nova-card__result--mobile      { display: none; }

@media (max-width: 1100px) {

  /* Стрелки поверх карточки */
  .simple-slider { position: relative; gap: 0; }
  .slider-btn {
    position: absolute;
    top: 40%;
    z-index: 10;
    width: 36px;
    height: 36px;
    opacity: 0.85;
  }
  .slider-btn--prev { left: 4px; transform: translateY(-50%); }
  .slider-btn--next { right: 4px; transform: translateY(-50%); }
  .slider-track { width: 100%; border-radius: 28px; }

  /* Карточка */
  .nova-card {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
  }
  .nova-card__body    { order: 1; padding: 20px 24px 10px; flex: 0 0 auto; }
  .nova-card__media   { order: 2; padding: 8px 20px 16px; }
  .nova-card__media img { width: 100%; max-width: 100%; margin: 0 auto; display: block; }

  /* Заголовок и цена по центру */
  .nova-card__header { flex-direction: column; align-items: center; gap: 4px; margin-top: 20px; }
  .nova-card__title  { font-size: 24px; text-align: center; }
  .nova-card__price  { position: static; text-align: center; font-size: 15px; font-weight: 800; color: #1a2f42; background: none; border: none; box-shadow: none; padding: 0; backdrop-filter: none; white-space: normal; }
  .nova-card__lead   { font-size: 15px; margin: 10px 0 0; text-align: center; }

  /* Десктопные элементы — скрыть */
  .nova-card__description      { display: none !important; }
  .nova-card__result           { display: none !important; }
  .nova-card__actions--desktop { display: none !important; }
  .nova-card__badge            { display: none; }

  /* Toggle и мобильные кнопки */
  .nova-card__toggle          { order: 5; display: flex; padding: 0 24px 14px; }
  .nova-card__actions--mobile { order: 6; display: flex; padding: 0 24px 24px; justify-content: center; gap: 10px; flex-wrap: nowrap; }
  .nova-card__actions--mobile .nova-btn { flex: 1; min-width: 0; font-size: 13px; padding: 11px 10px; white-space: nowrap; }
  .nova-card__toggle-btn {
    width: 100%;
    padding: 10px 16px;
    background: rgba(207,232,255,.6);
    border: 1.5px solid rgba(31,95,191,.2);
    border-radius: 12px;
    color: #1f5fbf;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }

  /* Мобильные блоки описания */
  .nova-card__description--mobile {
    order: 3;
    display: none;
    margin: 0 24px 14px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1.5px solid rgba(20,40,80,.12);
    background: rgba(255,255,255,.6);
    color: #3f556a;
    font-size: 15px;
    line-height: 1.7;
  }
  .nova-card__result--mobile {
    order: 4;
    display: none;
    margin: 0 24px 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(207,232,255,.45);
    border: 1.5px solid rgba(31,95,191,.12);
    color: #2e4961;
    font-size: 15px;
    line-height: 1.65;
  }
  .nova-card.is-text-open .nova-card__description--mobile { display: block; }
  .nova-card.is-text-open .nova-card__result--mobile      { display: block; }

  .nova-btn:not(.nova-card__actions--mobile .nova-btn) { font-size: 14px; padding: 12px 16px; }
}

@media (max-width: 600px) {
  .nova-card__header { margin-top: 10px; }
}


/* ============================================================
   MATERIALS
   ============================================================ */
.materials {
  padding: 40px 0 60px;
}

/* ── Трек материалов — flex с gap ── */
.mat-slider__track {
  display: flex;
  gap: 3%;
  align-items: stretch;
  position: relative;
  min-height: 200px;
}

/* Слайд — скрыт по умолчанию */
.mat-slide {
  display: none;
  flex-shrink: 0;
}

/* Анимации */
@keyframes matFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Десктоп ≥1101px — показываем 2, каждая ~48.5% */
@media (min-width: 1101px) {
  .mat-slider__track {
    align-items: stretch;
  }
  .mat-slide.is-active {
    display: flex;
    flex-direction: column;
    width: 48.5%;
    animation: matFadeIn .35s ease forwards;
  }
  .mat-slide.is-active .material-card {
    width: 100%;
    flex: 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 520px;
  }
  .mat-slide.is-active .material-card__thumb {
    height: 240px;
    width: 100%;
  }
  .mat-slide.is-active .material-card__actions {
    position: static;
    margin-top: auto;
    padding-top: 16px;
    height: auto;
  }
}

/* ≤1100px — показываем 1, ограничиваем ширину */
@media (max-width: 1100px) {
  .mat-slide.is-active {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    animation: matFadeIn .35s ease forwards;
  }
  .mat-slide.is-active .material-card {
    width: 100%;
  }
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.material-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid rgba(20,40,60,.10);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  overflow: hidden;
}

.material-card__thumb {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(207,232,255,.25);
  border: 1px solid rgba(31,95,191,.12);
  flex-shrink: 0;
  margin-bottom: 16px;
}

/* Бейдж страниц поверх картинки */
.material-card__pages {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 35, 55, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

.material-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.material-card__content {
  flex: 1;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
  margin-bottom: 16px;
}

.material-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.material-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #102334;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.material-card__desc {
  margin: 0;
  color: #4e657a;
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Плашка курса над кнопками */
.material-card__course-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 35, 55, 0.72);
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: background .2s;
  z-index: 2;
}
.material-card__course-bar:hover {
  background: rgba(15, 35, 55, 0.88);
}
.material-card__course-bar-label {
  font-size: 12px;
  flex-shrink: 0;
}
.material-card__course-bar-name {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
/* Кнопки — прибиты к низу */
.material-card__actions {
  margin-top: auto;
}

.material-card__note {
  font-size: 11px;
  color: #6e7f90;
  text-align: center;
  margin-bottom: 6px;
}

.material-card__actions-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
}

.material-card__actions-row .mat-btn {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  padding: 14px 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 14px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

/* Кнопка курса */
.mat-btn--course {
  background: rgba(207,232,255,.7);
  color: #1f5fbf;
  border: 1.5px solid rgba(31,95,191,.2);
  font-size: 14px;
}
.mat-btn--course:hover {
  background: rgba(207,232,255,1);
}

/* Кнопка скачать */
.mat-btn--download {
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(47,128,237,.3);
}
.mat-btn--download:hover {
  background: linear-gradient(135deg, #1C64D1, #2F80ED);
  transform: translateY(-2px);
}

/* Кнопка купить — голубая */
.mat-btn--buy {
  background: linear-gradient(135deg, #2F80ED, #56CCF2);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(47,128,237,.3);
}
.mat-btn--buy:hover {
  background: linear-gradient(135deg, #1C64D1, #2F80ED);
  transform: translateY(-2px);
}

/* Задизаблена */
.mat-btn--disabled {
  opacity: .45;
  cursor: default;
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  box-shadow: none;
}


.mat-btn--download:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(47,128,237,.45);
}

.mat-btn--download:active {
  transform: translateY(0px);
  box-shadow: 0 12px 30px rgba(47,128,237,.35);
}



@media (max-width: 600px) {
  .materials { padding: 28px 0 40px; }
  .material-card { padding: 16px; }
  .material-card__title { font-size: 17px; }
  .material-card__thumb { height: 160px; }
  .mat-btn { font-size: 14px; padding: 12px 20px; }
}

@media (max-width: 420px) {
  .material-card { padding: 18px; }
  section, .author, .courses-vertical {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .materials { padding: 20px 0 32px; }
  .container { padding-left: 14px; padding-right: 14px; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: #fff;
  padding: 60px 0 25px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand .footer-logo span { color: #2b6cff; }

.footer-desc { opacity: 0.8; max-width: 320px; }

.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col a:hover { opacity: 1; color: #2b6cff; }

.footer-bottom {
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  opacity: 0.75;
  font-size: 14px;
}

@media (max-width: 920px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 600px) {
  .site-footer { padding: 40px 0 20px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px 16px;
  }
  .footer-brand {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }
  .footer-inner .footer-col:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-inner .footer-col:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-inner .footer-col:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  .footer-desc { max-width: 100%; font-size: 13px; }
  .footer-col h4 { font-size: 12px; margin-bottom: 10px; }
  .footer-col ul { gap: 8px; }
  .footer-col a { font-size: 13px; }
}


/* ============================================================
   СТРАНИЦА КУРСА — course-1.html
   ============================================================ */
.course-progress {
  position: sticky;
  top: 0;
  background: #f4f8fc;
  padding: 16px 20px;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.course-progress__line {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.lesson-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.lesson-step:last-child::after { display: none; }
.lesson-step.active { background: #cfe8ff; }
.lesson-step.locked { opacity: 0.45; cursor: default; }

.lesson-step button {
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  background: #1f5fbf;
  color: white;
  transition: background 0.2s;
}

.lesson-step button:disabled { background: #a0b8d3; cursor: default; }
.lesson-step.completed button { background: #5ab88a; }

.lesson-block {
  padding: 40px 0;
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(207,232,255,.55), transparent 60%),
    radial-gradient(900px 520px at 90% 90%, rgba(214,246,255,.40), transparent 55%),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.lesson-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  align-items: start;
}

.lesson-video { position: sticky; top: 120px; align-self: start; }

.video-wrap {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(0,0,0,.18);
  border: 1px solid rgba(20,40,60,.10);
}

.video-wrap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.video-tools { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.mini-btn {
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: #1f5fbf;
  color: #fff;
  box-shadow: 0 18px 50px rgba(31,95,191,.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(31,95,191,.28);
}

.mini-btn--ghost {
  background: rgba(255,255,255,.70);
  color: #1f5fbf;
  border: 1px solid rgba(31,95,191,.18);
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.lesson-text {
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,40,60,.10);
  box-shadow: 0 28px 90px rgba(0,0,0,.10);
  padding: 26px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}

.lesson-header { margin-bottom: 14px; }

.lesson-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: rgba(207,232,255,.55);
  border: 1px solid rgba(31,95,191,.14);
  color: #1f3f63;
}

#lessonTitle {
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.4px;
  margin: 10px 0;
  color: #142638;
  font-weight: 800;
}

.lesson-lead {
  margin: 0 0 14px;
  color: #3f556a;
  line-height: 1.65;
  font-size: 16px;
  font-weight: 600;
}

.lesson-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 18px;
}

.panel {
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(20,40,60,.10);
  background: rgba(255,255,255,.70);
  box-shadow: 0 18px 55px rgba(0,0,0,.06);
}

.panel__title { font-weight: 800; color: #142638; margin-bottom: 6px; font-size: 14px; }
.panel__body { color: #4b6276; line-height: 1.6; font-size: 14px; }
.panel--hint { background: rgba(207,232,255,.45); border-color: rgba(31,95,191,.16); }
.panel--goal { background: rgba(255,255,255,.75); }

.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 10px 0 18px;
}

.card {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(20,40,60,.10);
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 55px rgba(0,0,0,.06);
}

.card__title { font-weight: 800; color: #142638; margin-bottom: 10px; font-size: 14px; }
.card__footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(20,40,60,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.check-item input { margin-top: 3px; flex-shrink: 0; }

.lesson-longtext { margin-top: 6px; color: #4b6276; line-height: 1.75; font-size: 15px; }
.lesson-longtext h3 { margin: 18px 0 10px; color: #142638; font-weight: 800; font-size: 16px; }

.bullets { margin: 10px 0 14px; padding-left: 20px; }
.bullets li { margin: 6px 0; }

.callout {
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(20,40,60,.10);
  background: rgba(255,255,255,.75);
  margin: 12px 0;
}

.callout--warn { background: rgba(255,235,205,.55); border-color: rgba(255,170,90,.25); }
.callout--ok { background: rgba(207,232,255,.40); border-color: rgba(31,95,191,.14); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 8px; }

.chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(20,40,60,.10);
  color: #385064;
}

.lesson-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; align-items: center; justify-content: center; }

.mark-done-main {
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  background: #1f5fbf;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 22px 60px rgba(31,95,191,.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mark-done-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 78px rgba(31,95,191,.30);
}

.note-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.06);
  color: #3f556a;
}

@media (max-width: 920px) {
  .lesson-content { grid-template-columns: 1fr; gap: 18px; padding: 24px 16px; }
  .lesson-video { position: relative; top: 0; }
  .lesson-panels, .lesson-grid { grid-template-columns: 1fr; }
  #lessonTitle { font-size: 24px; }
  .course-progress__line {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .lesson-step { flex-shrink: 0; }
  .lesson-step::after { display: none; }
}

@media (max-width: 600px) {
  .lesson-block { padding: 20px 0; }
  .lesson-text { padding: 16px; }
  .mini-btn { font-size: 13px; padding: 9px 12px; }
  .mark-done-main { width: 100%; text-align: center; }
  .chips { gap: 6px; }
  .chip { font-size: 12px; padding: 6px 10px; }
}


/* ============================================================
   REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}



/* ============================================================
   SINGLE COURSE — новый лейаут
   Добавь в конец style-main.css (замени старые стили single-course если есть)
   ============================================================ */

/* ── Шапка курса ── */
.course-hero {
  background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
  border-bottom: 1px solid rgba(31,95,191,.10);
  padding: 22px 0;
}
.course-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.course-hero__back {
  color: #1f5fbf;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
  white-space: nowrap;
}
.course-hero__back:hover { opacity: 1; }
.course-hero__title {
  font-size: 24px;
  font-weight: 800;
  color: #0f2433;
  margin: 0;
  text-align: center;
  width: 100%;
}
.course-hero__badge {
  background: #cfe8ff;
  color: #1f5fbf;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid rgba(31,95,191,.2);
}

/* ── Прогресс уроков ── */
.course-progress {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(37,99,235,.08);
  padding: 12px 20px;
  overflow-x: auto;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.course-progress__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: max-content;
  margin: 0 auto;
  max-width: 1100px;
}

/* Стрелка — тонкая линия */
.lesson-step-arrow {
  color: #c7d9f0;
  font-size: 16px;
  font-weight: 400;
  padding: 0 4px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Базовый блок урока — пилюля */
.lesson-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f1f5fb;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.lesson-step:hover:not(.locked) {
  background: #e2ecf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.10);
}

/* Текст «Урок N» */
.lesson-step__num {
  font-size: 13px;
  font-weight: 600;
  color: #7a94ad;
  white-space: nowrap;
  letter-spacing: .01em;
}

/* Кнопка по умолчанию — скрыта пока не активна */
.lesson-step .mark-done {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(37,99,235,.15);
  font-weight: 700;
  font-size: 11.5px;
  cursor: pointer;
  background: transparent;
  color: #9ab0c4;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: .01em;
}

/* ══ АКТИВНЫЙ УРОК ══ */
.lesson-step.active {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,.30);
  transform: translateY(-2px);
}
.lesson-step.active .lesson-step__num {
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: 13px;
}
.lesson-step.active .mark-done {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  font-size: 11.5px;
  padding: 4px 12px;
  backdrop-filter: blur(4px);
}
.lesson-step.active .mark-done:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.5);
}
/* Точка-индикатор — убрана */
.lesson-step.active::after {
  display: none;
}

/* Прогресс-бар под степами */
.course-progress__line {
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.course-progress__steps {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}
.course-progress__bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}
.course-progress__bar-track {
  flex: 1;
  height: 4px;
  background: #e4eaf5;
  border-radius: 999px;
  overflow: hidden;
}
.course-progress__bar-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 999px;
  transition: width .4s ease;
}
.course-progress__bar-label {
  font-size: 12px;
  font-weight: 600;
  color: #9ab0c4;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ══ ПРОЙДЕННЫЙ ══ */
.lesson-step.completed {
  background: #f0fdf4;
  border-color: rgba(34,197,94,.25);
}
.lesson-step.completed .lesson-step__num {
  color: #16a34a;
  font-weight: 700;
}
.lesson-step.completed .mark-done {
  background: #22c55e;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(34,197,94,.25);
  cursor: default;
}

/* ══ ЗАБЛОКИРОВАННЫЙ ══ */
.lesson-step.locked {
  opacity: .6;
  cursor: default;
  filter: grayscale(.3);
}
.lesson-step.locked .mark-done {
  cursor: default;
  pointer-events: none;
}

.lesson-step::before { display: none; }

/* ── Видео — встроенная карточка внутри lesson-body ── */
.lesson-video-full {
  background: transparent;
  width: 100%;
}
.lesson-video-full__wrap {
  max-width: 1100px;
  margin: 0 auto 0;
  padding: 32px 24px 0;
}
.lesson-video-full__wrap iframe,
.lesson-video-full__wrap .video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.14);
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e8f2fc, #d0e8ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(31,95,191,.5);
  font-size: 15px;
  font-weight: 600;
  border-radius: 18px;
}
.video-placeholder--done { background: linear-gradient(135deg, #0d2e1a, #1a4a2a); }
.video-placeholder--done span { font-size: 64px; }
.video-placeholder--done p { color: rgba(255,255,255,.7); font-size: 18px; margin: 0; }

.lesson-video-full__bar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.lesson-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(207,232,255,.6);
  border: 1px solid rgba(31,95,191,.14);
  color: #1f3f63;
}
.badge--done {
  background: rgba(90,184,138,.2);
  border-color: rgba(90,184,138,.3);
  color: #1a5c38;
}

/* ── Прогресс-бар ── */
.lesson-pbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lesson-pbar__fill-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
}
.lesson-pbar__fill {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  flex: 1;
  position: relative;
}
.lesson-pbar__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1f5fbf, #5ab88a);
  border-radius: 999px;
  width: 0%;
  transition: width .5s ease;
}
/* Трюк: управляем шириной через CSS custom property */
.lesson-pbar {
  --pct: 0%;
}
#progressFill {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  flex: 1;
  position: relative;
  overflow: hidden;
}
#progressFill::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pbar-width, 0%);
  background: linear-gradient(90deg, #3b82f6, #5ab88a);
  border-radius: 999px;
  transition: width .5s ease;
}
.lesson-pbar__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}

/* ── Тело урока ── */
.lesson-body {
  position: relative;
  padding: 6px 0 30px;
  background: #eef1f7;
}
.lesson-body__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Интро ── */
.lesson-intro { margin-bottom: 28px; text-align: center; }
.lesson-intro__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.3px;
  color: #0f1f35;
  margin: 0 0 10px;
}
.lesson-intro__lead {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7fa3;
  margin: 0;
  font-weight: 400;
}

/* ── Панели (подсказка + цель) ── */
.lesson-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.panel {
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid #e4eaf5;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(37,99,235,.06);
}
.panel--hint { background: #f5f9ff; border-color: rgba(37,99,235,.12); }
.panel__title { font-weight: 600; color: #1e3a5f; margin-bottom: 8px; font-size: 14px; }
.panel__body  { color: #6b7fa3; line-height: 1.65; font-size: 14px; }

.lesson-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lesson-list li {
  padding-left: 14px;
  position: relative;
  color: #6b7fa3;
  font-size: 14px;
  line-height: 1.5;
}
.lesson-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}

/* ── Текстовые блоки ── */
.lesson-textblock {
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #e4eaf5;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(37,99,235,.06);
}
.lesson-textblock__title {
  font-size: 16px;
  font-weight: 600;
  color: #0f1f35;
  margin: 0 0 10px;
  letter-spacing: -.1px;
}
.lesson-textblock__body {
  color: #6b7fa3;
  font-size: 14px;
  line-height: 1.8;
}
.lesson-textblock__body p {
  margin: 0 0 10px;
}
.lesson-textblock__body p:last-child { margin-bottom: 0; }
.lesson-ul, .lesson-ol {
  margin: 8px 0 12px 16px;
  padding: 0;
  color: #6b7fa3;
  line-height: 1.75;
  font-size: 14px;
}
.lesson-ul li, .lesson-ol li { margin-bottom: 6px; }

/* ── Виджеты ── */
.lesson-widget {
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 28px;
  border: 1px solid #e4eaf5;
  background: #fff;
}
.lesson-widget__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e3a5f;
}
.lesson-widget__body {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7fa3;
}
.lesson-widget__body p { margin: 0 0 8px; }
.lesson-widget__body p:last-child { margin-bottom: 0; }

/* Типы виджетов */
.lesson-widget--tip {
  background: #f5f9ff;
  border-color: rgba(37,99,235,.12);
}
.lesson-widget--tip .lesson-widget__title { color: #2563eb; }
.lesson-widget--tip .lesson-widget__body { color: #3d5a72; }

.lesson-widget--warning {
  background: #fff;
  border-color: #e4eaf5;
  border-left: 3px solid #eab308;
}
.lesson-widget--warning .lesson-widget__title { color: #92400e; }
.lesson-widget--warning .lesson-widget__body { color: #6b7fa3; }

.lesson-widget--quote {
  background: #fff;
  border-color: #e4eaf5;
  border-left: 3px solid #2563eb;
}
.lesson-widget--quote .lesson-widget__title {
  font-style: normal;
  font-weight: 600;
  color: #2563eb;
  font-size: 14px;
}
.lesson-widget--quote .lesson-widget__body {
  color: #6b7fa3;
  font-style: italic;
  font-size: 14px;
}

.lesson-widget--checklist {
  background: #fff;
  border-color: #e4eaf5;
}
.lesson-widget--checklist .lesson-widget__title { color: #0f1f35; }

/* Чекбоксы в виджете */
.lesson-widget .check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafd;
  border: 1px solid #e4eaf5;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background .15s;
}
.lesson-widget .check-item:last-child { margin-bottom: 0; }
.lesson-widget .check-item:hover { background: #eef4ff; }
.lesson-widget .check-item input { margin-top: 2px; flex-shrink: 0; accent-color: #2563eb; width: 15px; height: 15px; }
.lesson-widget .check-item span { font-size: 14px; color: #3d5a72; line-height: 1.5; }

/* ── Заметка ── */
.note-box {
  padding: 14px 18px;
  border-radius: 12px;
  background: #fffbf0;
  border: 1px solid rgba(234,179,8,.2);
  border-left: 3px solid #eab308;
  color: #713f00;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 28px;
}

/* ── Кнопки ── */
.lesson-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e4eaf5;
}
.mark-done-main {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(31,95,191,.28);
  transition: transform .2s, box-shadow .2s;
  font-family: inherit;
}
.mark-done-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 65px rgba(31,95,191,.35);
}

/* ── Адаптив ── */
@media (max-width: 760px) {
  .lesson-panels { grid-template-columns: 1fr; }
  .lesson-intro__title { font-size: 26px; }
  .lesson-body__container { padding: 0 16px; }
  .lesson-body { padding: 36px 0 60px; }
  .course-hero__title { font-size: 18px; }
  .course-progress__line { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .course-progress__steps { justify-content: flex-start; }
  .lesson-video-full__bar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 16px; }
}
@media (max-width: 480px) {
  .lesson-actions { flex-direction: column; }
  .mark-done-main { width: 100%; text-align: center; }
  .lesson-widget { padding: 16px; }
  .lesson-video-full__btns { flex-wrap: wrap; }
}


/* ============================================================
   HEADER — кнопка Войти и FAQ
   ============================================================ */

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: #1f5fbf;
  color: #fff !important;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(31,95,191,.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-login:hover {
  background: #1a4fa0;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(31,95,191,.32);
}

.header-faq {
  background: rgba(207,232,255,.55);
  color: #1f5fbf !important;
  box-shadow: none;
  border: 1px solid rgba(31,95,191,.18);
  margin-left: 0;
}

.header-faq:hover {
  background: rgba(207,232,255,.85);
  box-shadow: 0 6px 18px rgba(31,95,191,.12);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .header-login {
    display: none;
  }
}

/* ============================================================
   FAQ PAGE
   ============================================================ */

.faq-page {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(207,232,255,.35), transparent 55%),
    radial-gradient(700px 400px at 100% 100%, rgba(214,246,255,.25), transparent 50%),
    #f8fbff;
  min-height: 100vh;
}

/* ── Шапка ── */
.faq-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.faq-hero__title {
  font-size: 42px;
  font-weight: 800;
  color: #0f2433;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}

.faq-hero__lead {
  font-size: 17px;
  color: #5b7389;
  font-weight: 500;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Контейнер FAQ ── */
.faq-section { padding: 0 0 80px; }

.faq-container {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Группа ── */
.faq-group {
  border-radius: 20px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(20,40,60,.09);
  box-shadow: 0 10px 40px rgba(0,0,0,.07);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.faq-group__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .2s;
}

.faq-group__head:hover {
  background: rgba(207,232,255,.25);
}

.faq-group__head[aria-expanded="true"] {
  background: rgba(207,232,255,.3);
  border-bottom: 1px solid rgba(31,95,191,.10);
}

.faq-group__icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.faq-group__title {
  flex: 1;
  font-size: 17px;
  font-weight: 800;
  color: #0f2433;
}

.faq-group__arrow {
  flex-shrink: 0;
  color: #5b7389;
  transition: transform .25s ease;
  display: flex;
}

.faq-group__head[aria-expanded="true"] .faq-group__arrow {
  transform: rotate(180deg);
  color: #1f5fbf;
}

/* ── Тело группы ── */
.faq-group__body {
  padding: 8px 0;
}

.faq-group__body[hidden] { display: none; }

/* ── Вопрос-ответ ── */
.faq-item {
  border-bottom: 1px solid rgba(20,40,60,.06);
}

.faq-item:last-child { border-bottom: none; }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #142638;
  transition: background .15s, color .15s;
}

.faq-item__q:hover {
  background: rgba(207,232,255,.2);
  color: #1f5fbf;
}

.faq-item__q[aria-expanded="true"] {
  color: #1f5fbf;
  background: rgba(207,232,255,.15);
}

.faq-item__plus {
  flex-shrink: 0;
  color: #5b7389;
  transition: transform .25s ease, color .2s;
  display: flex;
}

.faq-item__q[aria-expanded="true"] .faq-item__plus {
  transform: rotate(45deg);
  color: #1f5fbf;
}

.faq-item__a {
  padding: 0 24px 18px 24px;
}

.faq-item__a[hidden] { display: none; }

.faq-item__a p {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
  font-weight: 500;
}

/* ── Блок "Не нашли ответ?" ── */
.faq-contact { padding: 0 0 80px; }

.faq-contact__box {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1f5fbf 0%, #1a4fa0 100%);
  border-radius: 24px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 60px rgba(31,95,191,.30);
  flex-wrap: wrap;
}

.faq-contact__text h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.faq-contact__text p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  font-weight: 500;
}

.faq-contact__box .nova-btn--primary {
  background: #fff;
  color: #1f5fbf;
  flex-shrink: 0;
}

.faq-contact__box .nova-btn--primary:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
}

/* ── Адаптив ── */
@media (max-width: 760px) {
  .faq-hero__title { font-size: 30px; }
  .faq-group__head { padding: 16px 18px; }
  .faq-item__q { padding: 14px 18px; font-size: 14px; }
  .faq-item__a { padding: 0 18px 16px; }
  .faq-contact__box { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   NAVBAR — новое меню (единый блок, без патчей)
   ============================================================ */

/* Хедер — stretch чтобы nav занял всю высоту, overflow:hidden обрезает градиент */
.site-header {
  overflow: hidden !important;
}

.header-inner {
  align-items: stretch !important;
  overflow: hidden !important;
}

/* Лого и кнопки — центрируем обратно */
.logo,
.header-login,
.burger {
  align-self: center !important;
}

/* Nav занимает всю высоту */
.nav {
  display: flex;
  align-self: stretch !important;
  align-items: stretch !important;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
    align-self: unset !important;
    align-items: unset !important;
  }
  .nav.nav-active {
    display: flex !important;
  }
}

.nav .menu {
  display: flex !important;
  align-items: stretch !important;
  align-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.menu li {
  display: flex !important;
  align-items: stretch !important;
  list-style: none !important;
  border-left: none !important;
}

/* Сама ссылка — контейнер для градиента и текста */
.menu a,
.nav a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  align-self: stretch !important;
  padding: 0 22px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  color: #111 !important;
  transition: color 0.2s ease !important;
  overflow: visible !important;
}

/* Градиентный фон — z-index: 0, строго за текстом */
.menu a::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 100% !important;
  background: linear-gradient(
    to bottom,
    rgba(100, 175, 245, 1)    0%,
    rgba(110, 182, 246, 1)    8%,
    rgba(120, 190, 247, 0.95) 14%,
    rgba(130, 197, 248, 0.88) 20%,
    rgba(145, 205, 249, 0.78) 27%,
    rgba(160, 213, 250, 0.66) 35%,
    rgba(175, 220, 251, 0.52) 44%,
    rgba(188, 227, 252, 0.38) 54%,
    rgba(200, 233, 252, 0.24) 64%,
    rgba(212, 239, 253, 0.13) 74%,
    rgba(222, 244, 253, 0.05) 85%,
    rgba(232, 248, 254, 0)    100%
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Текст — span.menu-text поверх градиента */
.menu a .menu-text {
  position: relative !important;
  z-index: 2 !important;
  color: #111 !important;
  display: inline-block !important;
  transform: scale(1) !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

/* Текст — цвет задаётся в блоке ниже вместе с ховером */

/* Звёздочки */
.menu a .stars {
  position: absolute !important;
  bottom: 5px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 4px !important;
  z-index: 3 !important;
  opacity: 0 !important;
  transform: translateY(4px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
  pointer-events: none !important;
}

.menu a .stars svg {
  width: 13px !important;
  height: 13px !important;
  fill: #a855f7 !important;
  filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.9)) !important;
}

.menu a .stars svg:nth-child(2) {
  width: 18px !important;
  height: 18px !important;
  fill: #c084fc !important;
  filter: drop-shadow(0 0 7px rgba(192, 132, 252, 1)) !important;
}

/* Ховер и активный */
/* ── Все активные классы WordPress + ховер ── */
.menu a:hover::before,
.menu li.current-menu-item > a::before,
.menu li.current_page_item > a::before,
.menu li.current-menu-ancestor > a::before,
.menu li.current-menu-parent > a::before,
.menu li.current_page_ancestor > a::before {
  opacity: 1 !important;
}

.menu a:hover,
.menu li.current-menu-item > a,
.menu li.current_page_item > a,
.menu li.current-menu-ancestor > a,
.menu li.current-menu-parent > a,
.menu li.current_page_ancestor > a {
  color: #000 !important;
}

.menu a:hover .menu-text,
.menu li.current-menu-item > a .menu-text,
.menu li.current_page_item > a .menu-text,
.menu li.current-menu-ancestor > a .menu-text,
.menu li.current-menu-parent > a .menu-text,
.menu li.current_page_ancestor > a .menu-text {
  color: #000000 !important;
  text-shadow: none !important;
  transform: scale(1.08) !important;
}

.menu a:hover .stars,
.menu li.current-menu-item > a .stars,
.menu li.current_page_item > a .stars,
.menu li.current-menu-ancestor > a .stars,
.menu li.current_page_ancestor > a .stars {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Мерцание на активном */
.menu li.current-menu-item > a .stars svg,
.menu li.current_page_item > a .stars svg,
.menu li.current-menu-ancestor > a .stars svg,
.menu li.current_page_ancestor > a .stars svg {
  animation: twinkle 2s ease-in-out infinite !important;
}
.menu li.current-menu-item > a .stars svg:nth-child(2),
.menu li.current_page_ancestor > a .stars svg:nth-child(2) { animation-delay: 0.3s !important; }
.menu li.current-menu-item > a .stars svg:nth-child(3),
.menu li.current_page_ancestor > a .stars svg:nth-child(3) { animation-delay: 0.6s !important; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Скрываем на мобилке */
@media (max-width: 1100px) {
  .menu a::before { display: none !important; }
  .menu a .stars  { display: none !important; }
  .menu a { color: #111 !important; }
}

/* ============================================================
   ПРОСТОЙ СЛАЙДЕР КУРСОВ
   ============================================================ */
.simple-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Стрелки */
.slider-btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
  box-shadow: 0 10px 30px rgba(31,95,191,.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  z-index: 2;
}
.slider-btn svg { width: 22px; height: 22px; }
.slider-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(31,95,191,.5);
}

/* Трек */
.slider-track {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

/* Слайды */
.slide { display: none; }
.slide.is-active {
  display: block;
  animation: slideFadeIn .35s ease forwards;
}
.slide.is-leaving {
  display: none;
}
.slide.is-entering {
  animation: slideFadeIn .35s ease forwards;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Точки */
.slider-dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.sdot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: #cbd5e0;
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}
.sdot.is-active {
  background: #1f5fbf;
  width: 24px;
}

@media (max-width: 600px) {
  .slider-btn { width: 40px; height: 40px; }
  .slider-btn svg { width: 18px; height: 18px; }
  .simple-slider { gap: 10px; }
}


/* ============================================================
   АРХИВ МАТЕРИАЛОВ — 2 колонки
   ============================================================ */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 1100px) {
  .materials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .materials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}


/* ── Архив материалов — grid 2 колонки ── */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .materials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}


/* ── Соцсети в хедере ── */
.header-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, opacity .2s;
  flex-shrink: 0;
}
.header-social img {
  width: 34px;
  height: 34px;
  display: block;
}
.header-social:hover {
  transform: scale(1.1);
  opacity: .85;
}

@media (max-width: 1100px) {
  .header-socials { display: flex; gap: 4px; }
}
@media (max-width: 600px) {
  .header-social img, .header-social svg, .lang-flag { width: 26px !important; height: 26px !important; }
}


/* ── Кнопка переключения языка ── */
.header-lang-btn {
  font-size: 24px;
  line-height: 1;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.header-lang-btn:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
}

.lang-flag {
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 22px;
}

/* ── Переключатель языка Polylang ── */
.header-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
}

.header-lang ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-lang li {
  list-style: none !important;
  list-style-type: none !important;
}

.header-lang li a,
.header-lang li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.header-lang li a img,
.header-lang li span img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: block;
}

.header-lang li a:hover {
  transform: scale(1.12);
  border-color: rgba(31,95,191,0.3);
  box-shadow: 0 2px 8px rgba(31,95,191,0.2);
}

/* Текущий язык — выделен рамкой */
.header-lang li.current-lang a,
.header-lang li.current-lang span {
  border-color: #2b7fff;
  box-shadow: 0 2px 8px rgba(43,127,255,0.25);
}

@media (max-width: 1100px) {
  .header-lang { display: none; }
}









/* ══════════════════════════════════════
   КАРТОЧКИ ОТЗЫВОВ
   ══════════════════════════════════════ */

.course-reviews {
  padding: 56px 0 72px;
}

.course-reviews__title {
  font-size: 26px;
  font-weight: 800;
  color: #0a1f35;
  margin: 0 0 28px;
}

.course-reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.review-card {
  background: #fff;
  border-radius: 20px;
  border: 2px solid #f5a623;
  box-shadow:
    inset 0 0 20px rgba(245,166,35,.08),
    0 4px 24px rgba(245,166,35,.12),
    0 1px 4px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 32px rgba(245,166,35,.14),
    0 12px 40px rgba(245,166,35,.20),
    0 2px 8px rgba(0,0,0,.07);
}

/* Жёлтая шапка */
.review-card__head {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__stars-top {
  display: flex;
  gap: 3px;
}

.review-card__star {
  font-size: 20px;
  color: rgba(180,120,0,.25);
  line-height: 1;
}

.review-card__star.is-filled {
  color: #d97706;
}

.review-card__badge {
  font-size: 11px;
  font-weight: 800;
  color: #92400e;
  background: rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Тело — побольше отступов и воздуха */
.review-card__body {
  padding: 28px 28px 24px;
  flex: 1;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.9;
  color: #1e3a52;
  margin: 0;
  font-style: italic;
}

/* Футер */
.review-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 16px 20px;
  border-top: none;
  background: #fffdf5;
  position: relative;
  background: #fffdf5;
  position: relative;
}

/* Растушовка-разделитель над футером */
.review-card__footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: radial-gradient(ellipse at center, rgba(245,166,35,.55) 0%, transparent 70%);
}

.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2.5px solid #f5a623;
  box-shadow: 0 2px 10px rgba(245,166,35,.30);
}

.review-card__avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2.5px solid #f5a623;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #92400e;
}

.review-card__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.review-card__name {
  font-size: 14px;
  font-weight: 800;
  color: #0a1f35;
}

.review-card__meta {
  font-size: 12px;
  color: #7a92a8;
  font-weight: 500;
}

/* Возраст ребёнка — снизу справа */
.review-card__child {
  font-size: 12px;
  font-weight: 700;
  color: #d97706;
  background: rgba(245,166,35,.12);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  align-self: flex-end;
  margin-left: auto;
}

@media (max-width: 760px) {
  .course-reviews__grid {
    grid-template-columns: 1fr;
  }
  .review-card__body {
    padding: 22px 22px 20px;
  }
  .review-card__footer {
    padding: 12px 18px 14px;
    flex-wrap: wrap;
  }
  .review-card__child {
    margin-left: 0;
    margin-top: 6px;
  }
}


/* ============================================================
   СТАТИЧЕСКИЕ СТРАНИЦЫ — privacy, terms, support
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.static-hero {
  padding: 70px 0 50px;
  text-align: center;
}

.static-hero__kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2b6cff;
  margin-bottom: 14px;
}

.static-hero__title {
  font-size: 48px;
  font-weight: 800;
  color: #102334;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}

.static-hero__lead {
  font-size: 17px;
  color: #4e657a;
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .static-hero { padding: 50px 0 36px; }
  .static-hero__title { font-size: 36px; }
}

@media (max-width: 600px) {
  .static-hero__title { font-size: 28px; }
  .static-hero__lead  { font-size: 15px; }
}

/* ── Карточка-контейнер ───────────────────────────────────── */
.static-content {
  padding-bottom: 80px;
}

.static-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(20, 40, 60, 0.10);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.09);
  backdrop-filter: blur(12px);
  padding: 48px 52px;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .static-card { padding: 36px 32px; }
}

@media (max-width: 600px) {
  .static-card { padding: 28px 20px; border-radius: 20px; }
}

/* ── Блок внутри карточки ─────────────────────────────────── */
.static-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(20, 40, 60, 0.07);
}

.static-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.static-block h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0056a3;
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}

.static-block h3 {
  font-size: 16px;
  font-weight: 800;
  color: #142638;
  margin: 0 0 8px;
}

.static-block p {
  font-size: 15px;
  color: #3d5568;
  line-height: 1.75;
  margin: 0 0 10px;
}

.static-block p:last-child { margin-bottom: 0; }

.static-block strong {
  color: #142638;
  font-weight: 800;
}

/* ── Список ───────────────────────────────────────────────── */
.static-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.static-list li {
  font-size: 15px;
  color: #3d5568;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.static-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
}

/* ── Блок с контактами ────────────────────────────────────── */
.static-block--contact {
  background: rgba(207, 232, 255, 0.30);
  border-radius: 18px;
  padding: 28px 32px !important;
  border: 1px solid rgba(31, 95, 191, 0.12) !important;
  border-bottom: 1px solid rgba(31, 95, 191, 0.12) !important;
  margin-bottom: 0 !important;
}

.static-contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ── Кнопки контактов ─────────────────────────────────────── */
.static-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(31, 95, 191, 0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.static-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 95, 191, 0.40);
  color: #fff;
}

.static-contact-btn--outline {
  background: rgba(255, 255, 255, 0.70);
  color: #1f5fbf;
  border: 1px solid rgba(31, 95, 191, 0.22);
  box-shadow: 0 4px 14px rgba(31, 95, 191, 0.10);
}

.static-contact-btn--outline:hover {
  background: #fff;
  color: #1f5fbf;
}

/* ── Карточки техподдержки ────────────────────────────────── */
.support-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.support-channel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(20, 40, 60, 0.10);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-channel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.11);
}

.support-channel__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #cfe8ff, #ddeeff);
  border: 1px solid rgba(31, 95, 191, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f5fbf;
  flex-shrink: 0;
}

.support-channel h3 {
  font-size: 18px;
  font-weight: 800;
  color: #102334;
  margin: 0;
}

.support-channel p {
  font-size: 14px;
  color: #4e657a;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.support-channel .static-contact-btn {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 760px) {
  .support-channels {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ (Polylang)
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: #5b7389;
  background: transparent;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}

.lang-switcher__btn:hover {
  background: rgba(207, 232, 255, 0.55);
  color: #1f5fbf;
  border-color: rgba(31, 95, 191, 0.18);
}

.lang-switcher__btn.is-active {
  background: rgba(207, 232, 255, 0.70);
  color: #1f5fbf;
  border-color: rgba(31, 95, 191, 0.25);
  cursor: default;
  pointer-events: none;
}

.lang-switcher__flag {
  font-size: 16px;
  line-height: 1;
}

.lang-switcher__code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Скрываем на мобилке чтобы не ломать хедер */
@media (max-width: 760px) {
  .lang-switcher { display: none; }
}


/* ============================================================
   ГУТЕНБЕРГ КОНТЕНТ внутри static-card--gutenberg
   Стилизует стандартные блоки WP: h2, h3, p, ul, ol, strong
   ============================================================ */

.static-card--gutenberg > * + * {
  margin-top: 0;
}

/* Заголовки H2 — разделители секций */
.static-card--gutenberg h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0056a3;
  letter-spacing: -0.2px;
  margin: 36px 0 14px;
  padding-top: 36px;
  border-top: 1px solid rgba(20, 40, 60, 0.07);
}

.static-card--gutenberg h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Заголовки H3 */
.static-card--gutenberg h3 {
  font-size: 16px;
  font-weight: 800;
  color: #142638;
  margin: 24px 0 8px;
}

/* Параграфы */
.static-card--gutenberg p {
  font-size: 15px;
  color: #3d5568;
  line-height: 1.75;
  margin: 0 0 10px;
}

.static-card--gutenberg p:last-child {
  margin-bottom: 0;
}

/* Жирный текст */
.static-card--gutenberg strong,
.static-card--gutenberg b {
  color: #142638;
  font-weight: 800;
}

/* Списки UL */
.static-card--gutenberg ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.static-card--gutenberg ul li {
  font-size: 15px;
  color: #3d5568;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.static-card--gutenberg ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
}

/* Списки OL */
.static-card--gutenberg ol {
  padding-left: 22px;
  margin: 12px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.static-card--gutenberg ol li {
  font-size: 15px;
  color: #3d5568;
  line-height: 1.6;
  padding-left: 6px;
}

.static-card--gutenberg ol li::marker {
  color: #1f5fbf;
  font-weight: 800;
}

/* Ссылки */
.static-card--gutenberg a {
  color: #1f5fbf;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.static-card--gutenberg a:hover {
  color: #2b7fff;
}

/* Разделитель hr */
.static-card--gutenberg hr {
  border: none;
  border-top: 1px solid rgba(20, 40, 60, 0.07);
  margin: 32px 0;
}

/* Wp-блок кнопки (если вставишь через Гутенберг) */
.static-card--gutenberg .wp-block-buttons {
  margin-top: 20px;
}

.static-card--gutenberg .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(31, 95, 191, 0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.static-card--gutenberg .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 95, 191, 0.40);
  color: #fff !important;
}


/* ============================================================
   ФОРМА ПОДДЕРЖКИ
   ============================================================ */
.support-form-block {
  background: linear-gradient(135deg, rgba(207,232,255,0.18), rgba(255,255,255,0));
  border-radius: 18px;
  padding: 32px !important;
  border: 1px solid rgba(31,95,191,0.10) !important;
}

.support-form-lead {
  color: #4e657a !important;
  margin-bottom: 28px !important;
}

.support-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.support-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.support-form__field:last-of-type {
  margin-bottom: 0;
}

.support-form__label {
  font-size: 14px;
  font-weight: 800;
  color: #142638;
}

.support-form__req {
  color: #2b6cff;
}

.support-form__input,
.support-form__select,
.support-form__textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(20,40,60,0.14);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #142638;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.support-form__input:focus,
.support-form__select:focus,
.support-form__textarea:focus {
  border-color: #2b6cff;
  box-shadow: 0 0 0 3px rgba(43,108,255,0.12);
}

.support-form__input.is-error,
.support-form__select.is-error,
.support-form__textarea.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.10);
}

.support-form__input::placeholder,
.support-form__textarea::placeholder {
  color: #9ab0c4;
  font-weight: 400;
}

.support-form__select-wrap {
  position: relative;
}

.support-form__select {
  cursor: pointer;
  padding-right: 40px;
}

.support-form__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #5b7389;
}

.support-form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.support-form__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.support-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(31,95,191,0.32);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.support-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(31,95,191,0.42);
}

.support-form__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.support-form__note {
  font-size: 12px !important;
  color: #7a92a8 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.support-form__note a {
  color: #2b6cff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Успех */
.support-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.support-form__success h3 {
  font-size: 22px;
  font-weight: 800;
  color: #142638;
  margin: 0;
}

.support-form__success p {
  color: #4e657a;
  font-size: 15px;
  margin: 0;
}

/* Ошибка */
.support-form__error {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.22);
}

.support-form__error p {
  font-size: 14px !important;
  color: #dc2626 !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

/* Мобилка */
@media (max-width: 600px) {
  .support-form__row {
    grid-template-columns: 1fr;
  }
  .support-form-block {
    padding: 22px !important;
  }
  .support-form__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .support-form__btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   МАТЕРИАЛЫ КУРСА (общий блок и файлы урока)
   ============================================================ */

/* ── Блок «Материалы курса» под шапкой ── */
.course-materials {
  background: #f0f6ff;
  border-bottom: 1px solid rgba(31,95,191,0.10);
  padding: 18px 0;
}

.course-materials__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.course-materials__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #1f5fbf;
  margin: 0;
  white-space: nowrap;
}

.course-materials__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

/* ── Карточка файла (общая для курса и урока) ── */
.course-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(31,95,191,0.18);
  background: #fff;
  text-decoration: none;
  color: #142638;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}

a.course-file:hover {
  border-color: #2b6cff;
  box-shadow: 0 4px 16px rgba(31,95,191,0.14);
  transform: translateY(-1px);
}

.course-file--locked {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f8f8f8;
}

.course-file__ext {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f5fbf, #2b7fff);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.course-file__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.course-file__name {
  font-size: 13px;
  font-weight: 700;
  color: #142638;
  line-height: 1.3;
}

.course-file__size {
  font-size: 11px;
  color: #7a92a8;
  font-weight: 500;
}

.course-file__icon {
  color: #2b6cff;
  flex-shrink: 0;
  margin-left: 4px;
}

.course-file--locked .course-file__icon {
  color: #9ab0c4;
}

/* ── Файл урока — кнопка скачать ── */
.lesson-file-banner {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
}

.lf-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1f5fbf 0%, #2b7fff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 16px rgba(31,95,191,0.35), 0 1px 3px rgba(31,95,191,0.2);
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.lf-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

a.lf-card:hover {
  box-shadow: 0 8px 28px rgba(31,95,191,0.45), 0 2px 6px rgba(31,95,191,0.25);
  transform: translateY(-2px);
}

a.lf-card:hover::before { opacity: 1; }

a.lf-card:active {
  transform: translateY(0px);
  box-shadow: 0 3px 10px rgba(31,95,191,0.3);
}

.lf-card--locked {
  background: linear-gradient(135deg, #94a3b8, #b0bec5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  cursor: not-allowed;
}

.lf-card__icon,
.lf-card__info,
.lf-card__label,
.lf-card__name,
.lf-card__meta,
.lf-card__btn,
.lf-card__btn--lock { display: none; }

@media (max-width: 600px) {
  .lesson-file-banner {
    justify-content: stretch;
  }
  .lf-card {
    width: 100%;
    justify-content: center;
  }
}



/* ═══════════════════════════════════════════════════════════
   LOVABLE DESIGN — видимая часть страницы курса (незалогинен)
   ═══════════════════════════════════════════════════════════ */

/* Lead-текст курса крупный */
.lv-course-lead {
  font-size: 26px;
  font-weight: 700;
  color: #0f1f35;
  line-height: 1.45;
  letter-spacing: -.4px;
  margin: 0 0 14px;
}

/* Описание под lead */
.lv-course-desc {
  font-size: 15px;
  color: #6b7fa3;
  line-height: 1.75;
  margin: 0 0 28px;
  font-weight: 400;
}

/* Блок результата с зелёной полосой слева */
.lv-result {
  background: #f0faf5;
  border: 1px solid #c3e8d5;
  border-left: 4px solid #34c47c;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 32px;
}
.lv-result__badge {
  display: inline-block;
  background: #d1f5e3;
  color: #1a7a4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.lv-result__text {
  font-size: 15px;
  color: #1e3a5f;
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
}

/* Статистика */
.lv-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.lv-stat {
  background: #fff;
  border: 1px solid #e4eaf5;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.lv-stat__num {
  font-size: 26px;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 4px;
}
.lv-stat__label {
  font-size: 11px;
  color: #9ab0c4;
  font-weight: 600;
}

/* Разделитель перед уроком */
.lv-lesson-divider {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  position: relative;
}
.lv-lesson-divider::before,
.lv-lesson-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #e4eaf5;
}
.lv-lesson-divider::before { left: 0; }
.lv-lesson-divider::after  { right: 0; }

/* Карточка урока */
.lv-lesson-card {
  background: #fff;
  border: 1px solid #e4eaf5;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(37,99,235,.05);
}
.lv-lesson-card__kicker {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lv-lesson-card__title {
  font-size: 24px;
  font-weight: 700;
  color: #0f1f35;
  margin: 0 0 6px;
  letter-spacing: -.3px;
}
.lv-lesson-card__lead {
  font-size: 14px;
  color: #6b7fa3;
  margin: 0 0 14px;
  line-height: 1.6;
}
.lv-lesson-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.lv-lesson-card__tag {
  background: #f4f7fd;
  color: #3d5a72;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #e4eaf5;
}

/* Текстовый блок внутри карточки урока */
.lv-text-block {
  background: #f8fafd;
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.lv-text-block__title {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin: 0 0 8px;
}
.lv-text-block__body {
  font-size: 14px;
  color: #6b7fa3;
  line-height: 1.7;
  margin: 0;
  max-height: 80px;
  overflow: hidden;
  position: relative;
}
.lv-text-block__body::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #f8fafd);
}

/* Кнопка покупки в новом стиле */
.co-buy-btn {
  background: #2563eb !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 14px 40px !important;
  box-shadow: 0 4px 16px rgba(37,99,235,.3) !important;
  letter-spacing: -.1px;
}
.co-buy-btn:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(37,99,235,.35) !important;
}

/* course-paywall чище */
.course-paywall {
  padding: 24px 0 20px !important;
}

@media (max-width: 680px) {
  .lv-course-lead { font-size: 20px; }
  .lv-lesson-card { padding: 20px; }
  .lv-lesson-card__title { font-size: 20px; }
  .lv-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════
   LOVABLE WIDGETS — новые стили блоков урока
   ═══════════════════════════════════════════════ */

/* Textblock */
.lv-textblock {
  background: #fff;
  border: 1px solid #e4eaf5;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(37,99,235,.06);
}
.lv-textblock__title {
  font-size: 15px;
  font-weight: 600;
  color: #0f1f35;
  margin: 0 0 10px;
}
.lv-textblock__body {
  font-size: 14px;
  color: #6b7fa3;
  line-height: 1.8;
}
.lv-textblock__body p { margin: 0 0 8px; }
.lv-textblock__body p:last-child { margin-bottom: 0; }
.lv-ul {
  margin: 8px 0 0 16px;
  padding: 0;
  color: #6b7fa3;
  font-size: 14px;
  line-height: 1.75;
}
.lv-ul li { margin-bottom: 5px; }

/* Базовый виджет */
.lv-widget {
  background: #fff;
  border: 1px solid #e4eaf5;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.lv-widget__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #0f1f35;
  margin-bottom: 12px;
}
.lv-widget__icon { font-size: 16px; }
.lv-widget__body {
  font-size: 14px;
  color: #6b7fa3;
  line-height: 1.75;
}
.lv-widget__body p { margin: 0 0 6px; }
.lv-widget__body p:last-child { margin-bottom: 0; }

/* Бейдж */
.lv-widget__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.lv-widget__badge--tip {
  background: #e8f0fe;
  color: #2563eb;
}
.lv-widget__badge--warning {
  background: #fef3c7;
  color: #92400e;
}
.lv-widget__badge--quote {
  background: #ede9fe;
  color: #6d28d9;
}

/* Tip */
.lv-widget--tip {
  background: #f8faff;
  border-color: rgba(37,99,235,.1);
}

/* Warning */
.lv-widget--warning {
  background: #fff;
  border-color: #fde68a;
  border-left: 3px solid #f59e0b;
}

/* Quote */
.lv-widget--quote {
  background: #fff;
  border-color: #e4eaf5;
  border-left: 3px solid #6d28d9;
}
.lv-widget--quote .lv-widget__body {
  font-style: italic;
  color: #4b5e75;
}

/* Checklist */
.lv-widget--checklist {
  background: #fff;
  border-color: #e4eaf5;
}
.lv-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafd;
  border: 1px solid #e4eaf5;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background .15s;
  font-size: 14px;
  color: #3d5a72;
  line-height: 1.5;
}
.lv-check-item:last-child { margin-bottom: 0; }
.lv-check-item:hover { background: #eef4ff; }
.lv-check-item input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #2563eb;
  width: 15px; height: 15px;
}

@media (max-width: 680px) {
  .lv-textblock, .lv-widget { padding: 16px; }
}

/* ── Мобильный прогресс-бар курса ──────────────────────────── */
.course-progress__mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(31,95,191,.08);
}
.cp-mob-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  background: #2563eb;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
  line-height: 1;
}
.cp-mob-arrow:hover { background: #1d4ed8; transform: scale(1.05); }
.cp-mob-arrow:disabled { opacity: .3; cursor: default; transform: none; box-shadow: none; }
.cp-mob-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cp-mob-label {
  font-size: 15px;
  font-weight: 800;
  color: #0f2433;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -.2px;
}
.cp-mob-bar {
  width: 100%;
  height: 4px;
  background: #e4eaf5;
  border-radius: 999px;
  overflow: hidden;
}
.cp-mob-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 999px;
  transition: width .3s ease;
}
.cp-mob-count {
  font-size: 11px;
  color: #9ab0c4;
  font-weight: 600;
}

/* ── Кнопка деталей урока + попап ───────────────────────────── */
.lesson-info-wrap {
  position: absolute;
  top: 6px;
  right: 16px;
  z-index: 10;
}

.lesson-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(37,99,235,.30);
  transition: box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.lesson-info-btn:hover {
  box-shadow: 0 6px 20px rgba(37,99,235,.40);
  transform: translateY(-1px);
}
.lesson-info-btn__chevron {
  transition: transform .2s;
  opacity: .8;
}
.lesson-info-btn.is-open .lesson-info-btn__chevron {
  transform: rotate(180deg);
}

.lesson-info-popup {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid rgba(37,99,235,.10);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(10,31,53,.16);
  padding: 0;
  min-width: 240px;
  max-width: 300px;
  overflow: hidden;
  animation: lipFadeIn .18s ease;
}
@keyframes lipFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lesson-info-popup.is-open { display: block; }

.lesson-info-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(37,99,235,.07);
}
.lesson-info-popup__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #2563eb;
}
.lesson-info-popup__close {
  background: none; border: none;
  font-size: 14px; color: #b0c4d8;
  cursor: pointer; line-height: 1;
  padding: 2px;
  transition: color .15s;
}
.lesson-info-popup__close:hover { color: #3d5a72; }

/* Список айтемов в попапе */
.lesson-badges {
  display: flex;
  flex-direction: column;
  padding: 10px 12px 12px;
  gap: 6px;
}
.lip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f4f8ff;
  border: 1px solid rgba(37,99,235,.07);
  transition: background .15s;
}
.lip-item:hover { background: #eaf2ff; }
.lip-item__icon { font-size: 16px; flex-shrink: 0; line-height: 1; }
.lip-item__text {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  line-height: 1.3;
}
.lip-item--done {
  background: #f0faf5;
  border-color: rgba(52,196,124,.2);
}
.lip-item--done .lip-item__text { color: #1a7a4a; }
.lip-item--status:not(.lip-item--done) {
  background: #fffbf0;
  border-color: rgba(245,158,11,.2);
}
.lip-item--status:not(.lip-item--done) .lip-item__text { color: #92400e; }

/* ── Показываем мобайл / скрываем десктоп ───────────────────── */
@media (max-width: 760px) {
  .course-progress__desktop { display: none !important; }
  .course-progress__mobile  { display: flex !important; }
}
@media (min-width: 761px) {
  .course-progress__mobile { display: none !important; }
  .lesson-info-wrap {
    position: static;
    display: flex;
    justify-content: flex-end;
    padding: 10px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .lesson-info-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}
