.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid #f4f5f6; padding: 0; min-height: calc(100vh - 65px); display: flex; align-items: center; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; width: 1180px; }
.badge-hero {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #0678ff; background: #e8f3ff;
  padding: 6px 14px; border-radius: 999px;
}
.hero-content h1 { font-size: 48px; line-height: 1.05; font-weight: 800; letter-spacing: 0; margin: 24px 0 20px; color: #111; max-width: 780px; }
@media (min-width: 768px) { .hero-content h1 { font-size: 70px; } }
.hero-content h1 .accent { color: #0678ff; }
.hero-content p { font-size: 17px; line-height: 1.6; color: #666; font-weight: 400; margin: 0 0 24px; max-width: 620px; }

.home-video-section { padding: 56px 20px 0; background: #fff; }
.home-video-wrap { max-width: 1180px; margin: 0 auto; }
.home-video-shell {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; min-height: 260px;
  border: 1px solid #f4f5f6; border-radius: 14px; background: #111; color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 20px 44px -28px rgba(6, 120, 255, .38);
}
.home-video-placeholder { padding: 24px; max-width: 560px; }
.home-video-placeholder strong { display: block; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.home-video-placeholder span { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.5; }

.home-catalog-section { padding-top: 56px; padding-bottom: 56px; }
.section-head { margin-bottom: 28px; }
.oxentia-credit { font-size: 13px; color: #666; line-height: 1.4; padding-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-align: left; }
.oxentia-credit-logo img { height: 48px; width: auto; flex: none; }
@media (min-width: 768px) { .oxentia-credit { padding-top: 0; } }

.course-grid { margin-top: 20px; }
.course-col { margin-bottom: 24px; }
.course-card { overflow: hidden; height: 100%; }
.course-banner {
  height: 64px; position: relative; display: flex; align-items: flex-end; padding: 12px 86px 12px 18px;
  background: linear-gradient(120deg,#0553cc,#0678ff 45%,#93d7ff);
}
.course-banner img { position: absolute; top: 12px; left: 18px; max-height: 28px; max-width: 110px; width: auto; object-fit: contain; background: rgba(255,255,255,.92); border-radius: 8px; padding: 4px 8px; }
.course-banner-trainers {
  display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #fff; font-size: 13px; font-weight: 800; line-height: 1.25;
}
.course-banner-trainers .course-trainer-name,
.course-banner-trainers .course-trainer-name span { color: #fff; }
.course-type { position: absolute; top: 14px; right: 12px; background: rgba(17,17,17,.75); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.course-body { padding: 20px; }
.course-body h5 { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: #111; min-height: 42px; }
.course-trainer-name + .course-trainer-name:before { content: ", "; }
.course-abstract {
  display: -webkit-box; min-height: 58px; max-height: 58px; overflow: hidden; margin: 0;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  font-size: 13px; line-height: 1.5; color: #666;
}
.course-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; margin-top: 14px; border-top: 1px solid #f4f5f6; }
.course-foot span { font-size: 12.5px; color: #666; font-weight: 600; }
.course-foot #courseDurationBox { display: inline-flex; align-items: center; gap: 4px; }
.course-foot a { font-size: 13px; font-weight: 700; cursor: pointer; margin-left: auto; }

.professors-block { margin-top: 64px; }
.prof-grid { margin-top: 20px; }
.prof-col { margin-bottom: 20px; }
.prof-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; min-height: 124px; }
.prof-photo-link { flex: 0 0 72px; width: 72px; display: flex; align-items: center; justify-content: center; }
.prof-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.prof-content { flex: 1 1 auto; min-width: 0; }
.prof-name { display: block; font-size: 15px; font-weight: 700; color: #111; }
.prof-email { display: block; font-size: 13px; color: #666; margin-top: 2px; overflow-wrap: anywhere; }
.prof-modules { font-size: 13px; color: #666; margin-top: 4px; }
