/* ═══════════════════════════════════════════
   Header override — white on dark hero
   ═══════════════════════════════════════════ */
body:has(.details-hero2) .header:not(.header--scrolled) .header__navLink { color: #fff; }
body:has(.details-hero2) .header:not(.header--scrolled) .header__navLink:hover { color: rgba(255,255,255,0.7); }
body:has(.details-hero2) .header:not(.header--scrolled) .header__navLink--red { color: #ff9999; }
body:has(.details-hero2) .header:not(.header--scrolled) .header__navLink--red:hover { color: #fff; }
body:has(.details-hero2) .header:not(.header--scrolled) .dropDownLink { color: #fff; }
body:has(.details-hero2) .header:not(.header--scrolled) .dropDownLink:hover { color: rgba(255,255,255,0.7); }
body:has(.details-hero2) .header:not(.header--scrolled) .header__hamburger span { background: #fff; }

/* ═══════════════════════════════════════════
   HERO V2 — dark full-width z video bg
   ═══════════════════════════════════════════ */
.details-hero2 {
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 170px 28px 56px;
  overflow: hidden;
  box-sizing: border-box;
}
@media only screen and (max-width: 1200px) {
  .details-hero2 { padding: 155px 28px 48px; }
}
@media only screen and (max-width: 850px) {
  .details-hero2 { padding: 140px 16px 40px; min-height: auto; }
}
@media only screen and (max-width: 600px) {
  .details-hero2 { padding: 125px 16px 36px; }
}
/* Video background */
.details-hero2__bg {
  position: absolute; inset: 0; z-index: 0;
}
.details-hero2__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,0,0,0.92) 0%, rgba(60,0,0,0.85) 50%, rgba(30,0,0,0.9) 100%);
  z-index: 1;
}
.details-hero2__video {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(2px) saturate(0.6);
}
/* Container */
.details-hero2__container {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: flex-start; gap: 48px;
}
@media only screen and (max-width: 850px) {
  .details-hero2__container { flex-direction: column; align-items: center; gap: 32px; }
}
/* Left */
.details-hero2__left {
  flex: 1; display: flex; flex-direction: column; gap: 16px;
  max-width: 720px;
}
@media only screen and (max-width: 850px) {
  .details-hero2__left { align-items: center; text-align: center; }
}
/* Breadcrumb */
.details-hero2__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.details-hero2__breadcrumb a {
  color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s;
}
.details-hero2__breadcrumb a:hover { color: #fff; }
.details-hero2__breadcrumb i { font-size: 9px; }
/* Badge */
.details-hero2__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 5px 14px; border-radius: 6px;
  backdrop-filter: blur(6px);
}
/* Title */
.details-hero2__title {
  font-size: 40px; font-weight: 800; color: #fff;
  line-height: 1.12; margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
@media only screen and (max-width: 1050px) { .details-hero2__title { font-size: 32px; } }
@media only screen and (max-width: 600px) { .details-hero2__title { font-size: 26px; } }
/* Subtitle */
.details-hero2__subtitle {
  font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6;
  margin: 0; max-width: 600px;
}
@media only screen and (max-width: 600px) { .details-hero2__subtitle { font-size: 14px; } }
.details-hero2__subtitle--clamp2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.details-hero2__subtitleWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 600px;
}
@media only screen and (max-width: 850px) {
  .details-hero2__subtitleWrap { align-items: center; }
}
.details-hero2__more {
  color: rgba(255,255,255,0.8); font-weight: 600; text-decoration: none;
  white-space: nowrap; font-size: 14px; transition: color 0.2s;
}
.details-hero2__more:hover { color: #fff; text-decoration: underline; }
/* Stats row */
.details-hero2__stats {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px;
}
@media only screen and (max-width: 850px) { .details-hero2__stats { justify-content: center; } }
.details-hero2__stat {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; color: rgba(255,255,255,0.9); font-weight: 500;
}
.details-hero2__stat i { color: #e8891a; font-size: 14px; }
.details-hero2__stat strong { color: #fff; font-weight: 800; }
.details-hero2__stat--days { font-size: 28px; }
.details-hero2__stat--days i { font-size: 24px; }
/* Rating stars */
.details-hero2__rating {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 14px;
}
.details-hero2__rating > i { color: #f59e0b; font-size: 13px; }
.details-hero2__ratingVal {
  color: #fff; font-weight: 700; margin-left: 5px; font-size: 14px;
}
/* CTAs */
.details-hero2__ctas {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px;
}
@media only screen and (max-width: 850px) { .details-hero2__ctas { justify-content: center; } }
@media only screen and (max-width: 600px) { .details-hero2__ctas { width: 100%; } }
.details-hero2__ctaPrimary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  background: #fff; color: #800000;
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.details-hero2__ctaPrimary:hover {
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  color: #800000;
}
@media only screen and (max-width: 600px) { .details-hero2__ctaPrimary { width: 100%; justify-content: center; } }
.details-hero2__ctaSecondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.25); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.details-hero2__ctaSecondary:hover {
  border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); color: #fff;
}
.details-hero2__ctaPdf {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.details-hero2__ctaPdf:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.details-hero2__ctaPdf i { font-size: 24px; color: #ef5350; }
.details-hero2__ctaPdfText {
  display: flex; flex-direction: column; line-height: 1.3;
  font-size: 14px; font-weight: 700;
}
.details-hero2__ctaPdfText small {
  font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.55);
}
/* Right — card */
.details-hero2__right {
  min-width: 340px; max-width: 380px;
}
@media only screen and (max-width: 1050px) { .details-hero2__right { min-width: 300px; max-width: 360px; } }
@media only screen and (max-width: 850px) { .details-hero2__right { min-width: unset; width: 100%; max-width: 440px; } }
.details-hero2__card {
  width: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px) saturate(1.3);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  overflow: hidden;
}
.details-hero2__cardPrice {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.details-hero2__priceVal {
  display: block; font-size: 38px; font-weight: 800; color: #4ade80; line-height: 1.1;
  text-shadow: 0 2px 8px rgba(74, 222, 128, 0.35);
}
.details-hero2__priceVal small { font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.85); text-shadow: none; }
.details-hero2__priceSub { display: block; font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 6px; font-weight: 500; }
.details-hero2__fundLink {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s;
}
.details-hero2__fundLink:hover { color: #fff; }
.details-hero2__fundLink i { color: #e8891a; }
/* Term in card */
.details-hero2__cardTerm {
  display: block; margin: 14px 20px;
  background: rgba(16,130,80,0.15); border: 1px solid rgba(16,130,80,0.3);
  border-radius: 10px; padding: 12px 16px; text-align: center;
  text-decoration: none; color: inherit; transition: background 0.2s;
}
.details-hero2__cardTerm:hover { background: rgba(16,130,80,0.25); }
.details-hero2__cardTermLabel {
  display: block; font-size: 12px; font-weight: 600; color: #4caf50;
  text-transform: uppercase; letter-spacing: .3px;
}
.details-hero2__cardTermDate { display: block; font-size: 20px; font-weight: 800; color: #fff; margin-top: 4px; }
/* Duration in card (replaces cardTerm) */
.details-hero2__cardDuration {
  display: block; margin: 14px 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 16px; text-align: center;
}
.details-hero2__cardDurationLabel {
  display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: .3px;
}
.details-hero2__cardDurationLabel i { color: #e8891a; margin-right: 4px; }
.details-hero2__cardDurationVal { display: block; font-size: 20px; font-weight: 800; color: #fff; margin-top: 4px; }
/* Trainer in card */
.details-hero2__cardTrainer {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; color: inherit; transition: background 0.2s;
}
.details-hero2__cardTrainer:hover { background: rgba(255,255,255,0.04); }
.details-hero2__trainerPhoto {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}
.details-hero2__trainerPhoto--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 18px;
}
.details-hero2__trainerInfo {
  display: flex; flex-direction: column; font-size: 13px; color: rgba(255,255,255,0.55);
}
.details-hero2__trainerInfo strong { color: #fff; font-size: 14px; }

/* Omnibus + fundLink in price card (always visible) */
.details-hero2__cardPrice .promo-omnibus {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════
   FACT STRIP — drugorzędne info pod hero (statyczny)
   ═══════════════════════════════════════════ */
.details-factstrip {
  width: 100%;
  align-self: stretch;
  background: #fff;
  border-bottom: 1px solid rgba(128,0,0,0.08);
  padding: 16px 20px;
  box-sizing: border-box;
}
.details-factstrip__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.details-factstrip__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.details-factstrip__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a4a4a;
  font-weight: 500;
}
.details-factstrip__chip i { color: #e8891a; font-size: 13px; }
.details-factstrip__chip strong { color: #222; font-weight: 800; }
.details-factstrip__chip--rating a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 600;
}
.details-factstrip__chip--rating a:hover { color: #800000; }
.details-factstrip__chip--rating i { color: #f59e0b; }
/* .details-factstrip__viewers[hidden] { display: none; }  -- viewers count disabled */

.details-factstrip__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.details-factstrip__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
}
.details-factstrip__btn--secondary {
  color: #800000;
  background: transparent;
  border: 2px solid #800000;
}
.details-factstrip__btn--secondary:hover {
  background: #800000;
  color: #fff;
}
.details-factstrip__btn--pdf {
  color: #fff;
  background: #800000;
  border: 2px solid #800000;
}
.details-factstrip__btn--pdf:hover {
  background: #5c0000;
  border-color: #5c0000;
  color: #fff;
}
.details-factstrip__btn i { font-size: 14px; }

@media (max-width: 850px) {
  .details-factstrip { padding: 14px 15px; }
  .details-factstrip__container { gap: 14px; }
  .details-factstrip__chips { gap: 6px 16px; }
  .details-factstrip__chip { font-size: 13px; }
  .details-factstrip__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .details-factstrip__btn {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 12px;
    padding: 9px 12px;
  }
}

/* ═══════════════════════════════════════════
   OLD HERO (kept for reference, no longer used on details)
   ═══════════════════════════════════════════ */
.details-hero {
  width: 100%;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(128, 0, 0, 0.07) 0%, transparent 100%), radial-gradient(ellipse 60% 40% at 90% 100%, rgba(128, 0, 0, 0.05) 0%, transparent 100%), linear-gradient(180deg, #f9f6f6 0%, #ffffff 100%);
  padding: 50px 20px 40px 20px;
  border-bottom: 3px solid rgba(128, 0, 0, 0.1);
}
@media only screen and (max-width: 850px) {
  .details-hero {
    padding: 30px 15px 30px 15px;
  }
}
.details-hero__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media only screen and (max-width: 850px) {
  .details-hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
}
.details-hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  flex: 1;
}
@media only screen and (max-width: 850px) {
  .details-hero__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.details-hero__logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}
@media only screen and (max-width: 850px) {
  .details-hero__logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}
.details-hero__catLogo {
  height: 50px;
  width: auto;
  object-fit: contain;
}
@media only screen and (max-width: 600px) {
  .details-hero__catLogo {
    height: 40px;
  }
}
.details-hero__jsLogo {
  height: 30px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
}
@media only screen and (max-width: 600px) {
  .details-hero__jsLogo {
    height: 24px;
  }
}
.details-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: black;
  line-height: 1.15em;
  margin: 0;
}
@media only screen and (max-width: 1050px) {
  .details-hero__title {
    font-size: 30px;
  }
}
@media only screen and (max-width: 850px) {
  .details-hero__title {
    font-size: 28px;
    text-align: center;
  }
}
@media only screen and (max-width: 600px) {
  .details-hero__title {
    font-size: 24px;
  }
}
.details-hero__newBadge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #006ee9;
  font-size: 15px;
  font-weight: 700;
  background: rgba(0, 110, 233, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
}
.details-hero__newBadge i {
  font-size: 14px;
}
/* --- Subtitle & hooks (new hero) --- */
.details-hero__subtitle {
  font-size: 16px;
  color: #555;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
@media only screen and (max-width: 850px) {
  .details-hero__subtitle { text-align: center; }
}
@media only screen and (max-width: 600px) {
  .details-hero__subtitle { font-size: 14px; }
}
.details-hero__more {
  color: #800000;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  transition: color 0.2s;
}
.details-hero__more:hover {
  color: #5c0000;
  text-decoration: underline;
}
.details-hero__hooks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
@media only screen and (max-width: 850px) {
  .details-hero__hooks { justify-content: center; }
}
.details-hero__hook {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #555;
}
.details-hero__hook i {
  color: #800000;
  font-size: 11px;
}
/* --- CTA buttons --- */
.details-hero__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media only screen and (max-width: 850px) {
  .details-hero__ctas { justify-content: center; }
}
.details-hero__ctaPrimary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background: #800000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(128, 0, 0, 0.25);
}
.details-hero__ctaPrimary:hover {
  background: #5c0000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.35);
}
.details-hero__ctaSecondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid rgba(128, 0, 0, 0.25);
  color: #800000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.details-hero__ctaSecondary:hover {
  background: rgba(128, 0, 0, 0.04);
  border-color: #800000;
  color: #800000;
}
.details-hero__ctaPdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #800000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  opacity: .7;
  transition: opacity 0.2s;
}
.details-hero__ctaPdf:hover { opacity: 1; color: #800000; }
@media only screen and (max-width: 600px) {
  .details-hero__ctaPrimary { width: 100%; justify-content: center; font-size: 15px; padding: 13px 20px; }
  .details-hero__ctaSecondary { flex: 1; justify-content: center; }
  .details-hero__ctaPdf { flex: 0; }
}
/* --- Right card --- */
.details-hero__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 340px;
  max-width: 380px;
}
@media only screen and (max-width: 1050px) {
  .details-hero__right { min-width: 300px; max-width: 360px; }
}
@media only screen and (max-width: 850px) {
  .details-hero__right { min-width: unset; width: 100%; max-width: 440px; }
}
.details-hero__card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 2px solid rgba(128, 0, 0, 0.15);
  box-shadow: 0 8px 32px rgba(128, 0, 0, 0.12);
  overflow: hidden;
}
.details-hero__cardPrice {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(128, 0, 0, 0.08);
}
.details-hero__cardPriceVal {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
}
.details-hero__cardPriceVal small {
  font-size: 15px;
  font-weight: 600;
  color: #777;
}
.details-hero__cardPriceSub {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.details-hero__cardMeta {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(128, 0, 0, 0.08);
}
.details-hero__cardMetaItem {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
}
.details-hero__cardMetaItem i {
  width: 18px;
  text-align: center;
  color: #800000;
  font-size: 14px;
}
.details-hero__cardTerm {
  display: block;
  margin: 16px 24px;
  background: rgba(16, 130, 80, 0.06);
  border: 1px solid rgba(16, 130, 80, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.details-hero__cardTerm:hover {
  background: rgba(16, 130, 80, 0.1);
  border-color: rgba(16, 130, 80, 0.35);
}
.details-hero__cardTermLabel {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0a7c3e;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.details-hero__cardTermLabel i {
  font-size: 11px;
}
.details-hero__cardTermDate {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 4px;
}
.details-hero__cardTrainer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px 20px;
  border-top: 1px solid rgba(128, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.details-hero__cardTrainer:hover {
  background: rgba(128, 0, 0, 0.03);
}
.details-hero__cardTrainerPhoto {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(128, 0, 0, 0.15);
}
.details-hero__cardTrainerPhoto--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #999;
  font-size: 14px;
}
.details-hero__cardTrainerInfo {
  font-size: 12px;
  color: #888;
  line-height: 1.3;
}
.details-hero__cardTrainerInfo strong {
  color: #1a1a1a;
  display: block;
  font-size: 13px;
}
/* keep old statBrutto class referenced elsewhere */
.details-hero__statBrutto {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  text-align: center;
  margin-top: 2px;
}
@media only screen and (max-width: 600px) {
  .details-hero__statBrutto {
    font-size: 11px;
  }
}
.details-hero__fundLink {
  font-size: 11px;
  font-weight: 600;
  color: #2e7d32;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: color 0.2s;
}
.details-hero__fundLink:hover {
  color: #1b5e20;
  text-decoration: underline;
}
.details-hero__fundLink i {
  font-size: 10px;
}
.details-hero__cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 30px;
  background: #800000;
  color: white;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  outline: none;
  border: 2px solid #800000;
  transition: 0.4s;
  text-align: center;
}
.details-hero__cta i {
  font-size: 18px;
}
.details-hero__cta:hover {
  background: transparent;
  color: #800000;
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(128, 0, 0, 0.2);
}
@media only screen and (max-width: 600px) {
  .details-hero__cta {
    font-size: 16px;
    padding: 14px 20px;
  }
}

.details-terms {
  width: 100%;
  padding: 50px 20px;
  background: white;
}
@media only screen and (max-width: 850px) {
  .details-terms {
    padding: 30px 15px;
  }
}
.details-terms__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.details-terms__h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 30px 0;
}
.details-terms__h2 i {
  font-size: 26px;
}
@media only screen and (max-width: 850px) {
  .details-terms__h2 {
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media only screen and (max-width: 600px) {
  .details-terms__h2 {
    font-size: 20px;
  }
}
a.details-terms__row {
  text-decoration: none;
  color: inherit;
}
.details-terms__row--disabled {
  pointer-events: none;
  opacity: 0.6;
}
.details-terms__row--disabled .details-terms__trainer {
  pointer-events: auto;
}
.details-terms__row {
  display: grid;
  grid-template-columns: 200px 260px 160px auto auto;
  align-items: center;
  gap: 15px;
  width: 100%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 12px 0;
  position: relative;
  overflow: visible;
  z-index: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.details-terms__row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(128, 0, 0, 0.08), transparent);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 14px;
  z-index: 0;
  pointer-events: none;
}
.details-terms__row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #800000;
  border-radius: 14px 0 0 14px;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}
.details-terms__row > * {
  position: relative;
  z-index: 2;
}
.details-terms__row:hover {
  border-color: #800000;
  transform: translateX(6px);
  box-shadow: 0 4px 25px rgba(128, 0, 0, 0.15);
  cursor: pointer;
  z-index: 1;
}
.details-terms__row:hover::before {
  width: 40%;
}
.details-terms__row:hover::after {
  transform: scaleY(1);
}
@media only screen and (max-width: 1050px) {
  .details-terms__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
  }
  .details-terms__row:hover {
    transform: translateX(0);
  }
}
@media only screen and (max-width: 600px) {
  .details-terms__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
}
.details-terms__dates {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #800000;
  min-width: 320px;
}
.details-terms__dates i {
  font-size: 22px;
  color: #800000;
}
@media only screen and (max-width: 1050px) {
  .details-terms__dates {
    min-width: unset;
    font-size: 18px;
  }
  .details-terms__dates i {
    font-size: 20px;
  }
}
@media only screen and (max-width: 600px) {
  .details-terms__dates {
    font-size: 17px;
  }
  .details-terms__dates i {
    font-size: 18px;
  }
}
.details-terms__dateLabel {
  font-size: 13px;
  font-weight: 500;
  color: black;
  margin-right: 6px;
}
.details-terms__badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 260px;
}
@media only screen and (max-width: 1050px) {
  .details-terms__badges {
    min-width: unset;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}
.details-terms__badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
}
.details-terms__badge i {
  font-size: 12px;
}
.details-terms__badge--guaranteed {
  color: #2f7d32;
  background: rgba(47, 125, 50, 0.08);
}
.details-terms__badge--online {
  color: #006ee9;
  background: rgba(0, 110, 233, 0.08);
}
.details-terms__badge--placeholder {
  visibility: hidden;
}
.details-terms__trainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(128, 0, 0, 0.05);
  border: 1px solid rgba(128, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 180px;
  position: relative;
}
.details-terms__trainer--empty {
  visibility: hidden;
  padding: 4px 10px;
  background: none;
  border: 1px solid transparent;
  cursor: default;
}
.details-terms__trainer:hover {
  background: rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.3);
  transform: scale(1.03);
}
@media only screen and (max-width: 1050px) {
  .details-terms__trainer {
    min-width: auto;
  }
}
@media only screen and (max-width: 600px) {
  .details-terms__trainer {
    justify-content: center;
  }
}
.details-terms__trainerPhoto {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(128, 0, 0, 0.2);
  flex-shrink: 0;
}
.details-terms__trainerPhoto--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 0, 0, 0.1);
  color: #800000;
  font-size: 14px;
}
.details-terms__trainerName {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
@media only screen and (max-width: 600px) {
  .details-terms__trainerName {
    max-width: 180px;
  }
}
.details-terms__trainer:hover .details-terms__trainerName {
  color: #800000;
}
.details-terms__trainerTooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2a;
  color: white;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 14px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 100;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.details-terms__trainerTooltip strong {
  font-weight: 700;
  display: block;
  font-size: 13px;
}
.details-terms__trainerTooltip span {
  font-weight: 400;
  opacity: 0.8;
  font-size: 11px;
}
@media only screen and (max-width: 1050px) {
  .details-terms__trainerTooltip {
    display: none;
  }
}
.details-terms__trainer:hover .details-terms__trainerTooltip {
  opacity: 1;
  visibility: visible;
}
.details-terms__rowTooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2a;
  color: white;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 14px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 100;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.details-terms__row:hover .details-terms__rowTooltip {
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 1050px) {
  .details-terms__rowTooltip {
    display: none;
  }
}
.details-terms__status {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  min-width: 190px;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
  justify-self: end;
}
.details-terms__status i {
  font-size: 14px;
}
.details-terms__status--1 {
  background: #e8f5e9;
  color: #2e7d32;
}
.details-terms__status--2 {
  background: #fff8e1;
  color: #f57f17;
}
.details-terms__status--3 {
  background: #ffebee;
  color: #c62828;
}
.details-terms__status--proposed {
  background: #fff3e0;
  color: #b71c1c;
}
.details-terms__price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 180px;
}
@media only screen and (max-width: 600px) {
  .details-terms__price {
    min-width: unset;
  }
}
.details-terms__oldPrice {
  font-size: 14px;
  font-weight: 500;
  color: #656263;
  text-decoration: line-through;
}
.details-terms__newPrice {
  font-size: 18px;
  font-weight: 800;
  color: #800000;
}
.details-terms__signup {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: #800000;
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  outline: none;
  border: 2px solid #800000;
  transition: 0.3s;
  white-space: nowrap;
}
.details-terms__signup i {
  font-size: 14px;
}
.details-terms__signup:hover {
  background: transparent;
  color: #800000;
  cursor: pointer;
}
.details-terms__signup--disabled {
  background: #ccc;
  border-color: #ccc;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}
.details-terms__empty {
  font-size: 18px;
  color: #656263;
  text-align: center;
  padding: 30px 0;
  font-weight: 500;
}

.details-notify {
  width: 100%;
  padding: 0 20px;
  margin: -30px 0 40px 0;
}
.details-notify__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 30px;
  background: linear-gradient(135deg, #2f7d32, #1b5e20);
  color: white;
  font-size: 17px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  outline: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(47, 125, 50, 0.25);
  position: relative;
  overflow: hidden;
}
.details-notify__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}
.details-notify__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(47, 125, 50, 0.35);
  cursor: pointer;
}
.details-notify__link:hover::before {
  left: 100%;
}
.details-notify__link i {
  font-size: 20px;
}
@media only screen and (max-width: 850px) {
  .details-notify__link {
    font-size: 15px;
    padding: 15px 20px;
    gap: 10px;
  }
  .details-notify__link i {
    font-size: 18px;
  }
}
@media only screen and (max-width: 600px) {
  .details-notify__link {
    font-size: 14px;
    padding: 14px 18px;
    text-align: center;
    flex-wrap: wrap;
  }
}
.details-notify__arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
}
.details-notify__link:hover .details-notify__arrow {
  transform: translateX(5px);
}
@media only screen and (max-width: 600px) {
  .details-notify__arrow {
    display: none;
  }
}

/* ====== NOTIFY POPUP ====== */
.notify-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.notify-popup--active {
  opacity: 1;
  visibility: visible;
}
.notify-popup__container {
  width: 94%;
  max-width: 520px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px 35px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
}
.notify-popup--active .notify-popup__container {
  transform: translateY(0) scale(1);
}
.notify-popup__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.notify-popup__close:hover {
  background: #e0e0e0;
  color: #333;
}
.notify-popup__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7d32, #43a047);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.notify-popup__icon i {
  font-size: 24px;
  color: #fff;
}
.notify-popup__title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 14px;
}
.notify-popup__text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 6px;
}
.notify-popup__text strong {
  color: #2f7d32;
}
.notify-popup__disclaimer {
  font-size: 13px;
  color: #888;
  margin: 0 0 22px;
}
.notify-popup__field {
  width: 100%;
  text-align: left;
  margin-bottom: 24px;
}
.notify-popup__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.notify-popup__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.notify-popup__input:focus {
  border-color: #2f7d32;
}
.notify-popup__buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}
.notify-popup__btn {
  flex: 1;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.notify-popup__btn--confirm {
  background: linear-gradient(135deg, #2f7d32, #43a047);
  color: #fff;
}
.notify-popup__btn--confirm:hover {
  background: linear-gradient(135deg, #256428, #388e3c);
  box-shadow: 0 4px 15px rgba(47, 125, 50, 0.35);
}
.notify-popup__btn--cancel {
  background: #f0f0f0;
  color: #555;
}
.notify-popup__btn--cancel:hover {
  background: #e0e0e0;
}
@media only screen and (max-width: 600px) {
  .notify-popup__container {
    padding: 30px 22px 25px;
  }
  .notify-popup__title {
    font-size: 18px;
  }
  .notify-popup__buttons {
    flex-direction: column;
  }
}

.details-live {
  width: 100%;
  padding: 0 20px;
}
.details-live__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 30px 35px;
  background: linear-gradient(135deg, rgba(128, 0, 0, 0.04), rgba(128, 0, 0, 0.08));
  border-left: 4px solid #800000;
  border-radius: 0 14px 14px 0;
}
@media only screen and (max-width: 600px) {
  .details-live__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    text-align: center;
    border-left: none;
    border-top: 4px solid #800000;
    border-radius: 0 0 14px 14px;
  }
}
.details-live__icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: #800000;
  border-radius: 14px;
}
.details-live__icon i {
  font-size: 26px;
  color: white;
}
@media only screen and (max-width: 600px) {
  .details-live__icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
  .details-live__icon i {
    font-size: 22px;
  }
}
.details-live__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: black;
  margin: 0 0 4px 0;
}
@media only screen and (max-width: 600px) {
  .details-live__text h3 {
    font-size: 16px;
  }
}
.details-live__text p {
  font-size: 15px;
  font-weight: 500;
  color: #656263;
  margin: 0;
}

.details-description {
  width: 100%;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 140px;
}
.details-description::before {
  content: "";
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: -30%;
  bottom: -30%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.14;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
@media only screen and (max-width: 850px) {
  .details-description {
    padding: 30px 15px;
  }
}
.details-description__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 40px 45px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.details-description__h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 25px 0;
}
.details-description__h2 i {
  font-size: 24px;
}
@media only screen and (max-width: 850px) {
  .details-description__h2 {
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media only screen and (max-width: 600px) {
  .details-description__h2 {
    font-size: 20px;
  }
}
.details-description__content {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.7em;
}
.details-description__content h1, .details-description__content h2, .details-description__content h3, .details-description__content h4, .details-description__content h5, .details-description__content h6 {
  color: black;
  margin: 20px 0 10px 0;
  font-weight: 700;
}
.details-description__content ul, .details-description__content ol {
  padding-left: 25px;
  margin: 10px 0;
}
.details-description__content li {
  margin: 5px 0;
}
.details-description__content p {
  margin: 10px 0;
}
.details-description__content a {
  color: #800000;
  text-decoration: underline;
}
.details-description__content img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}
.details-description__content > :first-child {
  margin-top: 0;
}
.details-description__content > img:first-child,
.details-description__content > p:first-child > img:first-child {
  float: left;
  margin: 0 25px 15px 0;
  max-width: 455px;
}
@media only screen and (max-width: 600px) {
  .details-description__content > img:first-child,
  .details-description__content > p:first-child > img:first-child {
    float: none;
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
  }
}
.details-description__content iframe {
  border: none;
  border-radius: 8px;
  max-width: 100%;
}
.desc-media-row {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 15px;
}
.desc-media-row img {
  max-width: 455px;
  border-radius: 8px;
  flex-shrink: 0;
}
.desc-media-row iframe {
  flex: 1;
  min-width: 0;
}
.desc-media-row p {
  margin: 0;
  flex: 1;
  min-width: 0;
}
@media only screen and (max-width: 600px) {
  .desc-media-row {
    flex-direction: column;
  }
  .desc-media-row img {
    max-width: 100%;
  }
  .details-description__content iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  .details-description__content div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .details-description__content {
    overflow-x: hidden;
  }
}
.details-description__programBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 40px auto 0 auto;
  padding: 18px 50px;
  background: linear-gradient(145deg, #800000 0%, #a00000 100%);
  color: white;
  font-size: 20px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 30px rgba(128, 0, 0, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.details-description__programBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(128, 0, 0, 0.55);
  background: linear-gradient(145deg, #900000 0%, #b00000 100%);
}
.details-description__programBtn:active {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(128, 0, 0, 0.4);
}
@media only screen and (max-width: 600px) {
  .details-description__programBtn {
    font-size: 16px;
    padding: 15px 30px;
    gap: 10px;
  }
}

#bazy-danych::before {
  background-image: url("../../images/catalog/databases2.jpg");
}

#programowanie::before {
  background-image: url("../../images/catalog/programming.jpg");
}

#devops::before, [id^=devops]::before {
  background-image: url("../../images/catalog/devops_sysops.jpg");
}

#inne::before {
  background-image: url("../../images/catalog/others2.jpg");
  background-position: center top;
}

.details-author {
  width: 100%;
  padding: 20px 20px 50px 20px;
  scroll-margin-top: 140px;
}
.details-author--close {
  padding-top: 0;
  margin-top: -20px;
}
.details-author {
  background: radial-gradient(ellipse 60% 50% at 80% 100%, rgba(128, 0, 0, 0.04) 0%, transparent 100%), linear-gradient(180deg, #ffffff 0%, #f9f6f6 100%);
}
@media only screen and (max-width: 850px) {
  .details-author {
    padding: 30px 15px;
  }
}
.details-author__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.details-author__h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 25px 0;
}
.details-author__h2 i {
  font-size: 24px;
}
@media only screen and (max-width: 850px) {
  .details-author__h2 {
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media only screen and (max-width: 600px) {
  .details-author__h2 {
    font-size: 20px;
  }
}
.details-author__card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  background: white;
  border-radius: 20px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
}
@media only screen and (max-width: 850px) {
  .details-author__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
  }
}
.details-author__photo {
  width: 180px;
  min-width: 180px;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(128, 0, 0, 0.1);
}
.details-author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 850px) {
  .details-author__photo {
    width: 150px;
    min-width: 150px;
  }
}
.details-author__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
}
@media only screen and (max-width: 850px) {
  .details-author__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
.details-author__name {
  font-size: 26px;
  font-weight: 800;
  color: #800000;
  margin: 0;
  line-height: 1.1em;
}
@media only screen and (max-width: 600px) {
  .details-author__name {
    font-size: 22px;
  }
}
.details-author__bio {
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.6em;
}
.details-author__bio p {
  margin: 8px 0;
}
.details-author__bio img {
  display: none;
}
.details-author__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #800000;
  background: none;
  border: 2px solid #800000;
  border-radius: 30px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 6px;
}
.details-author__more:hover {
  background: #800000;
  color: #fff;
}
@media only screen and (max-width: 850px) {
  .details-author__more {
    align-self: center;
  }
}

.details-program {
  width: 100%;
  padding: 50px 20px;
  scroll-margin-top: 140px;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(128, 0, 0, 0.04) 0%, transparent 100%), linear-gradient(180deg, #f9f6f6 0%, #ffffff 50%, #f9f6f6 100%);
  position: relative;
  overflow: hidden;
}
.details-program::before {
  content: "";
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: -30%;
  bottom: -30%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.14;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
@media only screen and (max-width: 850px) {
  .details-program {
    padding: 30px 15px;
  }
}
.details-program__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.details-program__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 25px 0;
  flex-wrap: wrap;
  gap: 12px;
}
@media only screen and (max-width: 600px) {
  .details-program__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.details-program__toggleAll {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.details-program__toggleBtn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #800000;
  border-radius: 6px;
  background: transparent;
  color: #800000;
  font-size: 13px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.details-program__toggleBtn i {
  font-size: 12px;
}
.details-program__toggleBtn:hover {
  background: #800000;
  color: #fff;
}
.details-program__h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}
.details-program__h2 i {
  font-size: 24px;
}
@media only screen and (max-width: 850px) {
  .details-program__h2 {
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media only screen and (max-width: 600px) {
  .details-program__h2 {
    font-size: 20px;
  }
}
.details-program__content {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.7em;
  background: white;
  padding: 30px 35px;
  border-radius: 16px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}
.details-program__content h1, .details-program__content h2, .details-program__content h3, .details-program__content h4, .details-program__content h5, .details-program__content h6 {
  color: #800000;
  margin: 20px 0 10px 0;
  font-weight: 700;
}
.details-program__content ul, .details-program__content ol {
  padding-left: 25px;
  margin: 10px 0;
}
.details-program__content li {
  margin: 6px 0;
  line-height: 1.5em;
}
.details-program__content p {
  margin: 10px 0;
}
.details-program__content img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}
@media only screen and (max-width: 600px) {
  .details-program__content {
    padding: 20px 15px;
  }
}

.program-collapsible {
  cursor: pointer;
  position: relative;
}
.program-collapsible__spacer {
  display: inline-block;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
}
.program-collapsible__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #800000;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-right: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
  vertical-align: middle;
  cursor: pointer;
}
.program-collapsible__toggle i {
  color: white;
  font-size: 11px;
  line-height: 1;
}
.program-collapsible--open > .program-collapsible__toggle {
  transform: rotate(0deg);
}
.program-collapsible:not(.program-collapsible--open) > .program-collapsible__toggle {
  transform: rotate(-90deg);
}
.program-collapsible__body {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}
.program-collapsible__body--open {
  max-height: 5000px;
  opacity: 1;
}
.program-collapsible:hover > .program-collapsible__toggle {
  background: black;
}

.details-group-bg--bazy-danych::before {
  background-image: url("../../images/catalog/databases2.jpg");
}

.details-group-bg--programowanie::before {
  background-image: url("../../images/catalog/programming.jpg");
}

.details-group-bg--devops::before, [class*=details-group-bg--devops]::before {
  background-image: url("../../images/catalog/devops_sysops.jpg");
}

.details-group-bg--inne::before {
  background-image: url("../../images/catalog/others2.jpg");
  background-position: center top;
}

.details-program__content ol {
  counter-reset: program-counter;
}
.details-program__content ol > li.program-item,
.details-program__content ul > li.program-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  list-style: none;
}
.details-program__content ol > li.program-item:last-child,
.details-program__content ul > li.program-item:last-child {
  border-bottom: none;
}
.details-program__content ol > li.program-item .program-collapsible__number {
  font-weight: 800;
  color: #800000;
  margin-right: 8px;
  font-size: 16px;
  min-width: 20px;
  flex-shrink: 0;
}
.details-program__content li.program-collapsible > .program-collapsible__body {
  width: 100%;
  padding-left: 34px;
}
.details-program__content h3.program-collapsible,
.details-program__content h4.program-collapsible {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
}
.details-program__content h3.program-collapsible:hover,
.details-program__content h4.program-collapsible:hover {
  color: #800000;
}

.details-guaranteed,
.details-online,
.details-workplace {
  width: 100%;
  padding: 0 20px;
  margin: 15px 0;
}
@media only screen and (max-width: 600px) {
  .details-guaranteed,
  .details-online,
  .details-workplace {
    margin: 10px 0;
  }
}

.details-guaranteed__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 35px;
  background: rgba(47, 125, 50, 0.04);
  border-left: 4px solid #2f7d32;
  border-radius: 0 14px 14px 0;
}
@media only screen and (max-width: 600px) {
  .details-guaranteed__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    text-align: center;
    border-left: none;
    border-top: 4px solid #2f7d32;
    border-radius: 0 0 14px 14px;
  }
}
.details-guaranteed__icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: #2f7d32;
  border-radius: 14px;
}
.details-guaranteed__icon i {
  font-size: 26px;
  color: white;
}
@media only screen and (max-width: 600px) {
  .details-guaranteed__icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
  .details-guaranteed__icon i {
    font-size: 22px;
  }
}
.details-guaranteed__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2f7d32;
  margin: 0 0 6px 0;
}
@media only screen and (max-width: 600px) {
  .details-guaranteed__text h3 {
    font-size: 16px;
  }
}
.details-guaranteed__text p {
  font-size: 15px;
  font-weight: 400;
  color: #555;
  margin: 0;
  line-height: 1.5em;
}

.details-online__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 35px;
  background: rgba(0, 110, 233, 0.04);
  border-left: 4px solid #006ee9;
  border-radius: 0 14px 14px 0;
}
@media only screen and (max-width: 600px) {
  .details-online__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    text-align: center;
    border-left: none;
    border-top: 4px solid #006ee9;
    border-radius: 0 0 14px 14px;
  }
}
.details-online__icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: #006ee9;
  border-radius: 14px;
}
.details-online__icon i {
  font-size: 26px;
  color: white;
}
@media only screen and (max-width: 600px) {
  .details-online__icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
  .details-online__icon i {
    font-size: 22px;
  }
}
.details-online__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #006ee9;
  margin: 0 0 6px 0;
}
@media only screen and (max-width: 600px) {
  .details-online__text h3 {
    font-size: 16px;
  }
}
.details-online__text p {
  font-size: 15px;
  font-weight: 400;
  color: #555;
  margin: 0;
  line-height: 1.5em;
}

.details-workplace__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 35px;
  background: rgba(128, 0, 0, 0.04);
  border-left: 4px solid #800000;
  border-radius: 0 14px 14px 0;
}
@media only screen and (max-width: 600px) {
  .details-workplace__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    text-align: center;
    border-left: none;
    border-top: 4px solid #800000;
    border-radius: 0 0 14px 14px;
  }
}
.details-workplace__icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: #800000;
  border-radius: 14px;
}
.details-workplace__icon i {
  font-size: 26px;
  color: white;
}
@media only screen and (max-width: 600px) {
  .details-workplace__icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
  .details-workplace__icon i {
    font-size: 22px;
  }
}
.details-workplace__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #800000;
  margin: 0 0 6px 0;
}
@media only screen and (max-width: 600px) {
  .details-workplace__text h3 {
    font-size: 16px;
  }
}
.details-workplace__text p {
  font-size: 15px;
  font-weight: 400;
  color: #555;
  margin: 0;
  line-height: 1.5em;
}

.details-trainers {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.details-trainers--close {
  padding-top: 10px;
}
@media only screen and (max-width: 850px) {
  .details-trainers {
    padding: 40px 15px;
  }
}
.details-trainers__h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 40px 0;
  text-align: center;
}
.details-trainers__h2 i {
  font-size: 26px;
}
@media only screen and (max-width: 850px) {
  .details-trainers__h2 {
    font-size: 24px;
    margin: 0 0 30px 0;
  }
}
@media only screen and (max-width: 600px) {
  .details-trainers__h2 {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.details-trainers__grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
@media only screen and (max-width: 600px) {
  .details-trainers__grid {
    gap: 15px;
  }
}
.details-trainers__card {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  cursor: pointer;
}
@media only screen and (max-width: 600px) {
  .details-trainers__card {
    width: 150px;
  }
}
.details-trainers__card:hover .details-trainers__overlay {
  background: rgba(128, 0, 0, 0.5);
}
.details-trainers__card:hover .details-trainers__photo {
  transform: scale(1.03);
  border-color: rgba(128, 0, 0, 0.4);
  box-shadow: 0 8px 25px rgba(128, 0, 0, 0.2);
}
.details-trainers__card:hover .details-trainers__showMore {
  color: #800000;
}
.details-trainers__photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.details-trainers__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.details-trainers__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: 0.4s;
  border-radius: 20px;
}
.details-trainers__name {
  font-size: 18px;
  font-weight: 700;
  color: black;
  text-align: center;
  line-height: 1.1em;
  margin: 4px 0 0 0;
}
@media only screen and (max-width: 600px) {
  .details-trainers__name {
    font-size: 16px;
  }
}
.details-trainers__showMore {
  font-size: 15px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  outline: none;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1em;
}

/* CTA Zapisz się */
.details-cta {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(135deg, #800000 0%, #a00000 50%, #800000 100%);
  text-align: center;
}
.details-cta__container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.details-cta__h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.details-cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 60px;
  font-size: 22px;
  font-weight: 800;
  color: #800000;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 16px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.4s;
  cursor: pointer;
  overflow: hidden;
}
.details-cta__btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, transparent 30%, rgba(128, 0, 0, 0.12) 45%, rgba(128, 0, 0, 0.25) 50%, rgba(128, 0, 0, 0.12) 55%, transparent 70%, transparent 100%);
  animation: ctaShimmer 3s ease-in-out infinite;
}
@keyframes ctaShimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: -100%; }
}
.details-cta__btn i {
  font-size: 20px;
  transition: 0.3s;
}
.details-cta__btn:hover {
  background: transparent;
  color: #fff;
}
.details-cta__btn:hover::after {
  display: none;
}
.details-cta__btn:hover i {
  transform: translateY(-5px);
}
@media only screen and (max-width: 600px) {
  .details-cta {
    padding: 40px 15px;
  }
  .details-cta__h2 {
    font-size: 22px;
  }
  .details-cta__btn {
    font-size: 18px;
    padding: 14px 40px;
  }
}

.details-category {
  width: 100%;
  padding: 50px 20px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(128, 0, 0, 0.05) 0%, transparent 100%), linear-gradient(180deg, #f9f6f6 0%, #ffffff 100%);
}
@media only screen and (max-width: 600px) {
  .details-category {
    padding: 30px 15px;
  }
}
.details-category__container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.details-category__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}
@media only screen and (max-width: 600px) {
  .details-category__logo {
    height: 50px;
  }
}
.details-category__h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}
@media only screen and (max-width: 600px) {
  .details-category__h2 {
    font-size: 20px;
  }
}
.details-category__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 35px;
  background: #800000;
  color: white;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  outline: none;
  border: 2px solid #800000;
  transition: 0.4s;
}
.details-category__link i {
  font-size: 16px;
  transition: 0.3s;
}
.details-category__link:hover {
  background: transparent;
  color: #800000;
  cursor: pointer;
}
.details-category__link:hover i {
  transform: translateX(5px);
}
@media only screen and (max-width: 600px) {
  .details-category__link {
    font-size: 16px;
    padding: 12px 25px;
  }
}

.opinions .opinions__prevBtn,
.opinions .opinions__nextBtn {
  display: block !important;
}

.details-opinions {
  width: 100%;
  padding: 50px 20px;
}
@media only screen and (max-width: 600px) {
  .details-opinions {
    padding: 30px 15px;
  }
}
.details-opinions__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.details-opinions__h2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #800000;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}
.details-opinions__h2 i {
  font-size: 26px;
}
@media only screen and (max-width: 850px) {
  .details-opinions__h2 {
    font-size: 24px;
  }
}
@media only screen and (max-width: 600px) {
  .details-opinions__h2 {
    font-size: 20px;
  }
}
.details-opinions__subtitle {
  font-size: 17px;
  color: #555;
  margin: 0 0 10px 0;
  text-align: center;
}
.details-opinions__subtitle strong {
  color: black;
  font-weight: 800;
}
.details-opinions__buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0 0 0;
}
.details-opinions__btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  outline: none;
  border: 2px solid #800000;
  transition: 0.3s;
  color: #800000;
  background: white;
}
.details-opinions__btn i {
  font-size: 16px;
}
.details-opinions__btn:hover {
  background: #800000;
  color: white;
  cursor: pointer;
}
.details-opinions__btn--google {
  border-color: #4285f4;
  color: #4285f4;
}
.details-opinions__btn--google:hover {
  background: #4285f4;
  color: white;
}
@media only screen and (max-width: 600px) {
  .details-opinions__btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}

.details-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 2px solid rgba(128, 0, 0, 0.15);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 12px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.details-sticky--visible {
  transform: translateY(0);
}
.details-sticky__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media only screen and (max-width: 600px) {
  .details-sticky__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}
.details-sticky__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}
@media only screen and (max-width: 600px) {
  .details-sticky__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
.details-sticky__title {
  font-size: 16px;
  font-weight: 700;
  color: black;
}
@media only screen and (max-width: 850px) {
  .details-sticky__title {
    font-size: 14px;
  }
}
@media only screen and (max-width: 600px) {
  .details-sticky__title {
    text-align: center;
  }
}
.details-sticky__meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
@media only screen and (max-width: 600px) {
  .details-sticky__meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}
.details-sticky__price {
  font-size: 14px;
  font-weight: 700;
  color: #800000;
}
.details-sticky__sep {
  color: rgba(0, 0, 0, 0.2);
  font-size: 14px;
}
.details-sticky__detail {
  font-size: 13px;
  font-weight: 600;
  color: #656263;
}
.details-sticky__detail i {
  font-size: 12px;
  margin-right: 3px;
}
.details-sticky__cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  background: #800000;
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  outline: none;
  border: 2px solid #800000;
  transition: 0.3s;
  white-space: nowrap;
}
.details-sticky__cta i {
  font-size: 15px;
}
.details-sticky__cta:hover {
  background: transparent;
  color: #800000;
  cursor: pointer;
}
@media only screen and (max-width: 600px) {
  .details-sticky__cta {
    width: 100%;
    padding: 10px 20px;
  }
}

.details-trusted {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  padding: 60px 20px 40px 20px;
}
.details-trusted__h2 {
  color: #800000;
  font-size: 34px;
  font-weight: 700;
}
@media only screen and (max-width: 1250px) {
  .details-trusted__h2 {
    font-size: 28px;
  }
}
@media only screen and (max-width: 700px) {
  .details-trusted__h2 {
    font-size: 22px;
  }
}
.details-trusted__swiper {
  width: 100% !important;
  max-width: 1300px !important;
  margin: 30px 0;
}
@media only screen and (max-width: 1200px) {
  .details-trusted__swiper {
    margin: 20px 0;
  }
}
.details-trusted__swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  max-width: fit-content !important;
}
.details-trusted__swiper .swiper-slide img {
  height: 90px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}
@media only screen and (max-width: 1200px) {
  .details-trusted__swiper .swiper-slide img {
    height: 70px;
  }
}
@media only screen and (max-width: 600px) {
  .details-trusted__swiper .swiper-slide img {
    height: 55px;
  }
}
.details-trusted__swiper .swiper-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.details-trusted__more {
  text-align: center;
  font-size: 16px;
  color: #888;
  font-style: italic;
  margin: 10px 0 0 0;
  letter-spacing: 0.5px;
}

.details-whyus {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 30px 20px;
  background: linear-gradient(180deg, #f9f6f6 0%, #ffffff 50%, #f9f6f6 100%);
}
.details-whyus__h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 40px 0;
  line-height: 1.2;
  text-align: center;
}
.details-whyus__h2 .red {
  color: #800000;
}
@media only screen and (max-width: 900px) {
  .details-whyus__h2 {
    font-size: 28px;
  }
}
@media only screen and (max-width: 500px) {
  .details-whyus__h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
}
.details-whyus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 0 40px 0;
}
@media only screen and (max-width: 900px) {
  .details-whyus__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 500px) {
  .details-whyus__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.details-whyus__pillar {
  background: #fff;
  border-radius: 16px;
  padding: 35px 22px 30px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.details-whyus__pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #800000, #c00000);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.details-whyus__pillar:hover::before {
  transform: scaleX(1);
}
.details-whyus__pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(128, 0, 0, 0.15);
}
@media only screen and (max-width: 500px) {
  .details-whyus__pillar {
    padding: 28px 18px 24px;
  }
}
.details-whyus__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #800000, #a00000);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.details-whyus__pillar:hover .details-whyus__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.4);
}
.details-whyus__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.3;
}
.details-whyus__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SIDE BADGES — wrapper for package + karnet badges
   ============================================================ */

.side-badges {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

/* ============================================================
   PACKAGE BADGE — pływający badge po prawej stronie
   ============================================================ */

.pkg-badge {
  width: 280px;
  background: rgba(26, 26, 26, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .3);
  padding: 14px 18px 18px;
  transition: opacity .3s, transform .3s;
}

.pkg-badge__controls {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 10px;
}

.pkg-badge__btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #999;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.pkg-badge__btn:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.pkg-badge__body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pkg-badge__icon {
  font-size: 28px;
  color: #d32f2f;
  flex-shrink: 0;
  margin-top: 2px;
}

.pkg-badge__label {
  font-size: .72rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.pkg-badge__name {
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color .2s;
}

.pkg-badge__name:hover {
  color: #ef9a9a;
}

.pkg-badge__discount {
  font-size: .85rem;
  font-weight: 600;
  color: #66bb6a;
}

.pkg-badge__discount i {
  margin-right: 4px;
}

/* ---- Minimized tab ---- */
.pkg-badge__tab {
  display: none;
}

.pkg-badge--minimized .pkg-badge__controls,
.pkg-badge--minimized .pkg-badge__body {
  display: none;
}

.pkg-badge--minimized {
  width: auto;
  padding: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.pkg-badge--minimized .pkg-badge__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 26, 26, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ccc;
  padding: 14px 12px;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: -4px 0 16px rgba(0, 0, 0, .25);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  letter-spacing: .5px;
  transition: background .2s, color .2s;
}

.pkg-badge--minimized .pkg-badge__tab:hover {
  background: rgba(40, 40, 40, .98);
  color: #fff;
}

.pkg-badge--minimized .pkg-badge__tab i {
  color: #d32f2f;
  font-size: 16px;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .pkg-badge {
    width: 240px;
    padding: 12px 14px 14px;
  }
  .pkg-badge__icon {
    font-size: 22px;
  }
  .pkg-badge__name {
    font-size: .92rem;
  }
  .pkg-badge__discount {
    font-size: .78rem;
  }
}

@media (max-width: 480px) {
  .pkg-badge {
    width: 200px;
    padding: 10px 12px 12px;
  }
  .pkg-badge__body {
    gap: 10px;
  }
  .pkg-badge__icon {
    font-size: 20px;
  }
  .pkg-badge__label {
    font-size: .65rem;
  }
  .pkg-badge__name {
    font-size: .85rem;
  }
}

/* ---- Karnet badge inside side-badges (no own fixed wrapper) ---- */
.side-badges .karnet-badge {
  border-radius: 12px 0 0 12px;
}

/* ---- Mobile: hide side-badges entirely ---- */
@media only screen and (max-width: 600px) {
  .side-badges {
    display: none;
  }
}

/* ====== SZKOLENIE DEDYKOWANE CTA ====== */
.details-dedicated {
  width: 100%;
  padding: 0 20px;
  margin: 15px 0;
}
.details-dedicated__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 28px 35px;
  background: linear-gradient(135deg, #800000 0%, #5a0000 100%);
  border-left: 4px solid #4a0000;
  border-radius: 0 14px 14px 0;
}
.details-dedicated__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}
.details-dedicated__icon i {
  font-size: 26px;
  color: #fff;
}
.details-dedicated__body {
  flex: 1;
}
.details-dedicated__h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
}
.details-dedicated__price {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.details-dedicated__price span {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.details-dedicated__text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}
.details-dedicated__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: #800000;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.details-dedicated__btn:hover {
  background: #f5e6e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.details-dedicated__btn:active {
  transform: scale(0.97);
}
.details-dedicated__btn i {
  font-size: 12px;
  transition: transform 0.2s;
}
.details-dedicated__btn:hover i {
  transform: translateX(3px);
}
@media only screen and (max-width: 600px) {
  .details-dedicated__container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    gap: 14px;
    border-left: none;
    border-top: 4px solid #4a0000;
    border-radius: 0 0 14px 14px;
  }
  .details-dedicated__icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
  }
  .details-dedicated__icon i {
    font-size: 22px;
  }
  .details-dedicated__h3 {
    font-size: 16px;
  }
  .details-dedicated__price {
    font-size: 19px;
  }
  .details-dedicated__price span {
    font-size: 24px;
  }
  .details-dedicated__text {
    font-size: 14px;
  }
}

/* ============================================================
   CONTACT FORM — "Porozmawiajmy o Twoim szkoleniu"
   ============================================================ */

.details-contact {
  width: 100%;
  padding: 0 20px;
  margin: 50px 0 30px;
}

.details-contact__container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 40px;
  border: 1px solid #eee;
}

.details-contact__info {
  flex: 0 0 300px;
}

.details-contact__h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.details-contact__text {
  font-size: .92rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.details-contact__channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.details-contact__channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #800000;
  text-decoration: none;
  transition: color .2s;
}

.details-contact__channel:hover {
  color: #a52a2a;
}

.details-contact__channel i {
  width: 18px;
  text-align: center;
}

.details-contact__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.details-contact__row {
  display: flex;
  gap: 14px;
}

.details-contact__field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.details-contact__label {
  font-size: .75rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 4px;
}

.details-contact__input,
.details-contact__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .92rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
}

.details-contact__input:focus,
.details-contact__textarea:focus {
  outline: none;
  border-color: #800000;
  box-shadow: 0 0 0 3px rgba(128,0,0,.08);
  background: #fff;
}

.details-contact__textarea {
  min-height: 100px;
  resize: vertical;
}

.details-contact__info-msg {
  font-size: .82rem;
  color: #c62828;
  font-weight: 500;
  min-height: 1.2em;
}

.details-contact__info-msg:empty {
  display: none;
}

.details-contact__submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #800000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.details-contact__submit:hover {
  background: #a52a2a;
  transform: translateY(-1px);
}

.details-contact__submit:active {
  transform: translateY(0);
}

.details-contact__thanks {
  display: none;
  flex: 1;
  text-align: center;
  padding: 30px 20px;
}

.details-contact__thanks i {
  font-size: 48px;
  color: #2e7d32;
  margin-bottom: 16px;
}

.details-contact__thanks h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.details-contact__thanks p {
  font-size: .92rem;
  color: #666;
  margin-bottom: 20px;
}

.details-contact__reset {
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #800000;
  color: #800000;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}

.details-contact__reset:hover {
  background: #800000;
  color: #fff;
}

@media (max-width: 768px) {
  .details-contact__container {
    flex-direction: column;
    padding: 28px 20px;
    gap: 24px;
  }
  .details-contact__info {
    flex: none;
  }
  .details-contact__row {
    flex-direction: column;
  }
}

/* ============================================================
   TERM REGISTRATION MODAL
   ============================================================ */
.tr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.tr-overlay.is-visible {
  display: flex;
}
.tr-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.tr-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.tr-modal__close:hover {
  color: #333;
}
.tr-modal__header {
  margin-bottom: 20px;
}
.tr-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.tr-modal__subtitle {
  font-size: .9rem;
  color: #888;
  margin: 0;
}
.tr-form__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.tr-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tr-form__field--short {
  flex: 0 0 100px;
}
.tr-form__label {
  font-size: .78rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}
.tr-form__label span {
  font-weight: 400;
  color: #aaa;
}
.tr-required {
  color: #c0392b;
}
.tr-form__input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.tr-form__input:focus {
  border-color: #800000;
}
textarea.tr-form__input {
  resize: vertical;
  margin-bottom: 8px;
}
.tr-form__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  width: 100%;
  margin-bottom: 12px;
  transition: background .2s;
  font-family: inherit;
}
.tr-form__toggle:hover {
  background: #eee;
}
.tr-form__toggle span {
  font-weight: 400;
  color: #aaa;
}
.tr-form__toggleIcon {
  margin-left: auto;
  transition: transform .2s;
}
.tr-form__toggle.is-open .tr-form__toggleIcon {
  transform: rotate(180deg);
}
.tr-form__company {
  margin-bottom: 12px;
}
.tr-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .8rem;
  color: #555;
  margin-bottom: 8px;
  cursor: pointer;
}
.tr-form__checkbox input {
  margin-top: 2px;
}
.tr-form__checkbox a {
  color: #800000;
  text-decoration: underline;
}
.tr-form__error {
  color: #c0392b;
  font-size: .82rem;
  font-weight: 600;
  display: none;
  margin-bottom: 10px;
}
.tr-form__error.is-visible {
  display: block;
}
.tr-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #800000, #a00000);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  margin-top: 8px;
}
.tr-form__submit:hover {
  background: linear-gradient(135deg, #900000, #b00000);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(128, 0, 0, 0.3);
}
.tr-form__submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 500px) {
  .tr-modal {
    padding: 24px 18px;
  }
  .tr-form__row {
    flex-direction: column;
    gap: 8px;
  }
  .tr-form__field--short {
    flex: 1;
  }
}



/* ═══ RELATED TRAININGS ═══ */
.details-related {
  width: 100%;
  padding: 50px 20px;
  background: #f9f6f6;
}
.details-related__h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin: 0 0 30px;
}
.details-related__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .details-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .details-related__grid { grid-template-columns: 1fr; }
  .details-related { padding: 30px 15px; }
  .details-related__h2 { font-size: 18px; margin-bottom: 20px; }
}
.details-related__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e0e0;
  border-radius: 14px;
  text-decoration: none;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.details-related__card:hover {
  border-color: #800000;
  box-shadow: 0 4px 20px rgba(128,0,0,0.08);
}
.details-related__title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
}
.details-related__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #666;
}
.details-related__meta i {
  color: #800000;
  margin-right: 4px;
}
.details-related__badge {
  font-size: 11px;
  font-weight: 700;
  color: #2e7d32;
}
.details-related__badge i {
  margin-right: 3px;
}

/* ═══ VIEWERS COUNT ═══ DISABLED
.details-hero__viewers {  display: inline-flex;  align-items: center;  gap: 10px;  padding: 12px 22px;  background: linear-gradient(135deg, #fef3c7, #fde68a);  border: 2px solid #f59e0b;  border-radius: 12px;  font-size: 16px;  font-weight: 700;  color: #92400e;  margin-top: 14px;  box-shadow: 0 4px 14px rgba(245,158,11,0.2);}
.details-hero__viewers[hidden] { display: none; }
.details-hero__viewersDot {
  width: 12px;
  height: 12px;
  background: #4caf50;
  border-radius: 50%;
  animation: viewerPulse 1.5s ease-in-out infinite;
}
@keyframes viewerPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(76,175,80,0); }
}
*/

/* ═══ REMIND ME BANNER ═══ */
.remind-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  width: 90%;
  max-width: 520px;
  background: #fff;
  border: 2px solid #800000;
  border-radius: 16px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  padding: 20px 24px;
  transition: bottom 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.remind-banner--visible {
  bottom: 80px;
}
.remind-banner__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
}
.remind-banner__close:hover { color: #333; }
.remind-banner__title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
}
.remind-banner__sub {
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
}
.remind-banner__form {
  display: flex;
  gap: 8px;
}
.remind-banner__input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.remind-banner__input:focus { border-color: #800000; }
.remind-banner__btn {
  padding: 10px 20px;
  background: #800000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}
.remind-banner__btn:hover { background: #600000; }
.remind-banner__ok {
  font-size: 14px;
  color: #2e7d32;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
}
@media (max-width: 500px) {
  .remind-banner { padding: 16px; }
  .remind-banner__form { flex-direction: column; }
  .remind-banner--visible { bottom: 60px; }
}

/* ═══ EXIT-INTENT POPUP ═══ */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.exit-popup--visible { display: block; }
.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}
.exit-popup__box {
  position: relative;
  margin: 80px auto;
  
  
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: exitSlideIn 0.35s ease-out;
}
@keyframes exitSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.exit-popup__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
}
.exit-popup__close:hover { color: #333; }
.exit-popup__icon {
  font-size: 40px;
  color: #800000;
  margin-bottom: 14px;
}
.exit-popup__title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px;
}
.exit-popup__sub {
  font-size: 14px;
  color: #555;
  margin: 0 0 22px;
  line-height: 1.5;
}
.exit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exit-popup__input {
  width: 100%; box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.exit-popup__input:focus { border-color: #800000; }
.exit-popup__btn {
  padding: 14px 22px;
  width: 100%;
  background: #800000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.2s;
}
.exit-popup__btn:hover { background: #600000; }
.exit-popup__hint {
  font-size: 13px;
  color: #2e7d32;
  font-weight: 600;
  margin: 16px 0 0;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 14px;
}
.exit-popup__ok {
  font-size: 15px;
  color: #2e7d32;
  font-weight: 600;
  padding: 12px 0;
}
@media (max-width: 500px) {
  .exit-popup__box { padding: 28px 20px; }
  .exit-popup__form { flex-direction: column; }
  .exit-popup__title { font-size: 19px; }
}

/* ═══ MOBILE UX FIXES ═══ */
/* 1. Sticky bar compact on mobile */
@media (max-width: 600px) {
  .details-sticky {
    padding: 8px 12px;
  }
  .details-sticky__container {
    flex-direction: row !important;
    gap: 8px !important;
  }
  .details-sticky__info {
    align-items: flex-start !important;
    flex: 1;
    min-width: 0;
  }
  .details-sticky__title {
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .details-sticky__meta {
    font-size: 11px;
    flex-wrap: wrap;
    gap: 2px 6px !important;
  }
  .details-sticky__sep { display: none; }
  .details-sticky__price { font-size: 11px !important; }
  .details-sticky__detail { font-size: 10px; }
  .details-sticky__cta {
    font-size: 12px !important;
    padding: 8px 12px !important;
    white-space: nowrap;
    width: auto !important;
    flex-shrink: 0;
  }
  .details-sticky__promoWrap { font-size: 10px; }
  .details-sticky__promoHint { font-size: 9px; }
}

/* 2. Remind banner above sticky bar on mobile */
@media (max-width: 600px) {
  .remind-banner--visible {
    bottom: 55px !important;
  }
  .remind-banner {
    padding: 14px 16px !important;
    border-radius: 12px 12px 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
  .remind-banner__title { font-size: 14px !important; }
  .remind-banner__sub { font-size: 12px !important; margin-bottom: 10px !important; }
}

/* 3. Exit-intent popup: hide on mobile (touch devices don't have mouse exit) */
@media (max-width: 600px) {
  .exit-popup { display: none !important; }
}

/* === Wyrózniony przycisk "Rozwin caly program" === */
.details-program__toggleBtn--primary {
  background: linear-gradient(135deg, #800000, #a52a2a);
  color: #fff !important;
  border: 2px solid #800000;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(128, 0, 0, 0.35);
  transition: all 0.25s ease;
}
.details-program__toggleBtn--primary i { font-size: 15px; }
.details-program__toggleBtn--primary:hover {
  background: linear-gradient(135deg, #a52a2a, #cc3333);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.5);
}

/* === Labele "rozwin" / "zwin" przy elementach programu === */
.program-collapsible__actionLabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding: 4px 12px;
  background: #fff;
  color: #800000;
  border: 1.5px solid #800000;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  vertical-align: middle;
}
.program-collapsible__actionLabel i { font-size: 9px; }
.program-collapsible__actionLabel:hover {
  background: #800000;
  color: #fff;
  transform: scale(1.05);
}
/* Pokazuj 'rozwin' tylko gdy zwiniete, 'zwin' tylko gdy rozwiniete */
.program-collapsible__actionLabel--collapse { display: none; }
.program-collapsible--open > .program-collapsible__actionLabel--expand { display: none; }
.program-collapsible--open > .program-collapsible__actionLabel--collapse { display: inline-flex; }

/* === SEKCJA: Certyfikat ukonczenia === */
.details-certificate {
  width: 100%;
  padding: 0 20px;
  margin: 15px 0;
}
@media only screen and (max-width: 600px) {
  .details-certificate { margin: 10px 0; }
}
.details-certificate__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 35px;
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid #d4af37;
  border-radius: 0 14px 14px 0;
}
@media only screen and (max-width: 600px) {
  .details-certificate__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    border-left: none;
    border-top: 4px solid #d4af37;
    border-radius: 0 0 14px 14px;
  }
}
.details-certificate__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}
.details-certificate__icon i {
  font-size: 28px;
  color: #fff;
}
@media only screen and (max-width: 600px) {
  .details-certificate__icon { width: 50px; min-width: 50px; height: 50px; }
  .details-certificate__icon i { font-size: 24px; }
}
.details-certificate__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #b8860b;
  margin: 0 0 6px 0;
}
@media only screen and (max-width: 600px) {
  .details-certificate__text h3 { font-size: 16px; }
}
.details-certificate__text p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}
@media only screen and (max-width: 600px) {
  .details-certificate__text p { font-size: 14px; }
}

/* === SEKCJA: Szkolenie na zywo z trenerem === */
.details-live {
  width: 100%;
  padding: 0 20px;
  margin: 15px 0;
}
@media only screen and (max-width: 600px) {
  .details-live { margin: 10px 0; }
}
.details-live__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 28px 35px;
  background: rgba(21, 101, 192, 0.06);
  border-left: 4px solid #1565c0;
  border-radius: 0 14px 14px 0;
}
@media only screen and (max-width: 600px) {
  .details-live__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    border-left: none;
    border-top: 4px solid #1565c0;
    border-radius: 0 0 14px 14px;
  }
}
.details-live__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}
.details-live__icon i {
  font-size: 28px;
  color: #fff;
}
@media only screen and (max-width: 600px) {
  .details-live__icon { width: 50px; min-width: 50px; height: 50px; }
  .details-live__icon i { font-size: 24px; }
}
.details-live__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0d47a1;
  margin: 0 0 6px 0;
}
@media only screen and (max-width: 600px) {
  .details-live__text h3 { font-size: 16px; }
}
.details-live__text p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}
.details-live__text strong { color: #0d47a1; }
@media only screen and (max-width: 600px) {
  .details-live__text p { font-size: 14px; }
}
