/* ============================================================
   videokurs.css — стили только для страницы /videokurs/
   Глобальные стили (reset, body, header, footer, .wrap и т.д.)
   берутся из style.css — здесь их нет.
   ============================================================ */


/* ── Точечный сброс глобального .wrap (grid 1fr 290px) для этой страницы ── */
.hero .wrap,
.stats-strip .wrap,
.s .wrap {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}

/* Восстанавливаем нужные grid по их собственным классам */
.wrap.hero-inner {
  display: grid;
}

.wrap.stats-grid {
  display: grid;
}

.wrap.video-pitch-inner {
  display: grid;
}

/* Ссылка-тема — сброс стилей ссылки */
a.topic {
  text-decoration: none;
  color: inherit;
}

/* ── Hero ── */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(58, 175, 102, .18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(45, 157, 87, .12), transparent 60%),
    linear-gradient(180deg, var(--green-dark) 0%, #196b3f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 28px 28px;
  mask: linear-gradient(180deg, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  padding: 72px 0 88px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(255, 255, 255, .18);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ee5a3;
  box-shadow: 0 0 0 4px rgba(126, 229, 163, .25);
}

h1.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 22px 0 18px;
}

.hero-title em {
  font-style: normal;
  color: #bcf0cf;
}

.hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  height: 58px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  color: var(--green-dark);
}

/* ── Hero card ── */
.hero-card {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  padding: 18px;
  position: relative;
}

.course-preview {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  color: var(--text);
}

.cp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.cp-title {
  font-weight: 800;
  font-size: 18px;
}

.cp-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.cp-badge {
  background: #ffd66b;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.cp-list {
  display: flex;
  flex-direction: column;
}

.cp-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}

.cp-row.muted {
  color: var(--text-light);
}

.cp-row:last-of-type {
  border-bottom: none;
}

.cp-n {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  text-align: center;
}

.cp-t {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-m {
  font-size: 12px;
  color: var(--text-light);
}

.cp-more {
  padding-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
}

.chip-float {
  position: absolute;
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-float.top {
  top: -14px;
  right: 24px;
}

.chip-float.bot {
  bottom: -14px;
  left: 24px;
}

.chip-float .dot-g {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

/* ── Stats strip ── */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat .num {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
}

.stat .lbl {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat .sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ── Sections ── */
.s {
  padding: 96px 0;
}

.s.alt {
  background: var(--green-light);
}

.sec-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.sec-eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
}

h2 .accent {
  color: var(--green);
}

.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 18px;
}

/* ── Video pitch ── */
section.video-pitch {
  padding: 96px 0;
  background: var(--bg);
}

.video-pitch-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.video-bullets {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.video-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  list-style: none;
  font-size: 16px;
  color: var(--text-muted);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.check::before {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  margin-top: -3px;
}

.video-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f5132, #1f8a4d);
  aspect-ratio: 16/9;
  box-shadow: 0 30px 80px rgba(15, 81, 50, .25), 0 8px 24px rgba(15, 81, 50, .15);
}

.speaker {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(126, 229, 163, .3), transparent 55%),
    linear-gradient(180deg, #0f5132 0%, #1f8a4d 100%);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: transform .2s;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.play-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent var(--green-dark);
  margin-left: 6px;
}

.free-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ffd66b;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(255, 214, 107, .4);
  transform: rotate(4deg);
}

.video-cap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.video-cap b {
  color: #7ee5a3;
}

.video-timeline {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .2);
}

.video-timeline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32%;
  background: #7ee5a3;
}

/* ── Feature cards ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 81, 50, .08);
  border-color: var(--green);
}

.card .icn {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ── Method ── */
.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.step-n {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: .05em;
}

.step h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ── Who is it for ── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.who {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--border);
}

.who-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.who h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.who p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 18px;
}

.who .stat-line {
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-light);
}

/* ── Science block ── */
.science {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.science::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
}

.science h2 {
  color: #fff;
}

.science p {
  color: rgba(255, 255, 255, .85);
  margin-top: 18px;
  font-size: 17px;
}

.retention {
  display: grid;
  gap: 18px;
}

.ret-row {
  display: grid;
  grid-template-columns: 140px 1fr 60px;
  gap: 14px;
  align-items: center;
}

.ret-lbl {
  font-size: 14px;
  font-weight: 600;
}

.ret-bar {
  height: 14px;
  background: rgba(255, 255, 255, .15);
  border-radius: 999px;
  overflow: hidden;
}

.ret-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.ret-val {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.ret-row.weak .ret-bar span {
  width: 10%;
  background: #e8b755;
}

.ret-row.mid .ret-bar span {
  width: 65%;
  background: #a3d96d;
}

.ret-row.strong .ret-bar span {
  width: 92%;
  background: #7ee5a3;
}

.ret-source {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}

/* ── Topics list ── */
.topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.topic {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.topic:hover {
  background: var(--green-light);
}

.topic:nth-last-child(-n+2) {
  border-bottom: none;
}

.topic:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.topic-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.topic-title {
  font-weight: 600;
  font-size: 15.5px;
  flex: 1;
}

.topic-meta {
  font-size: 12px;
  color: var(--text-light);
}

.topic-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all .15s;
}

.topic:hover .topic-play {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.topic-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}

/* ── Accordion ── */
.accordion {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.acc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.acc-item.faq {
  background: var(--bg);
}

.acc-header {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.acc-header:hover {
  color: var(--green);
}

.acc-icn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s;
  font-size: 18px;
  font-weight: 700;
}

.acc-item.open .acc-icn {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.acc-body-inner {
  padding: 0 28px 28px;
  color: var(--text-muted);
  font-size: 16px;
}

.acc-body-inner p {
  margin-bottom: 14px;
}

.acc-body-inner p:last-child {
  margin-bottom: 0;
}

.acc-body-inner ul {
  margin: 8px 0 14px 4px;
  padding-left: 20px;
}

.acc-body-inner ul li {
  margin-bottom: 6px;
}

.acc-item.open .acc-body {
  max-height: 2400px;
}

/* ── Expert ── */
.expert {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.expert-ava {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  flex-shrink: 0;
}

.expert-quote {
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
}

.expert-quote::before {
  content: "\201C";
  font-size: 60px;
  line-height: 0;
  color: var(--green);
  margin-right: 4px;
  vertical-align: -28px;
}

.expert-cite {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Final CTA ── */
.final-cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
}

.final-cta .lead {
  color: rgba(255, 255, 255, .9);
  max-width: 600px;
  margin: 18px auto 0;
  font-size: 18px;
}

.final-cta .hero-cta {
  justify-content: center;
  margin-top: 32px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .video-pitch-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .science {
    grid-template-columns: 1fr;
    padding: 40px;
  }

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

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

  .topic:nth-child(odd) {
    border-right: none;
  }
}

@media (max-width: 640px) {

  .features,
  .who-grid,
  .method {
    grid-template-columns: 1fr;
  }

  .expert {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .final-cta {
    padding: 48px 24px;
  }

  .s,
  section.video-pitch {
    padding: 64px 0;
  }

  .hero-inner {
    padding: 48px 0 64px;
  }

  h2 {
    font-size: 28px;
  }

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