/* ==========================================================================
   PODSTRONA: Kurs groomerski (.course-)
   Uzupełnia wspólne komponenty z subpage.css
   ========================================================================== */

/* ---------- Hero ---------- */
.course-hero .badge { margin-top: 16px; }

/* pasek wiarygodności */
.course-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.course-trust li { position: relative; }
.course-trust li + li::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--color-primary-2-dark);
}
.course-trust strong { color: var(--color-black); }

/* ---------- Karty faktów: kolory kółek ---------- */
.feature-card-icon.course-icon--mint { background: var(--color-secondary-4); }
.feature-card-icon.course-icon--lavender { background: var(--color-secondary-5); }

/* ---------- Program: siatka modułów ---------- */
.course-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-module {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.course-module:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(2, 27, 74, .35); }
.course-module-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-secondary-2);
}
.course-module:nth-child(3n + 2) .course-module-icon { background: var(--color-secondary-5); }
.course-module:nth-child(3n) .course-module-icon { background: var(--color-secondary-3); }
.course-module-icon img { width: 44px; height: 44px; }
.course-module-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--color-primary-2-dark);
}
.course-module h3 { margin: 6px 0 8px; font-size: 22px; line-height: 1.3; }
.course-module p { margin: 0; font-size: 16px; line-height: 1.5; }
.course-program .page-note { background: var(--color-white); }

/* ---------- Dla kogo: karta prowadzącej ---------- */
.course-mentor {
  position: relative;
  padding: 44px 40px 40px;
  border-radius: var(--radius);
  background: var(--color-secondary-3);
}
.course-mentor-icon { width: 64px; height: 64px; margin-bottom: 16px; }
.course-mentor h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.25; }
.course-mentor p { margin: 0; }
.course-mentor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
}
.course-mentor-stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 12px;
  border-radius: 16px;
  background: var(--color-white);
  text-align: center;
}
.course-mentor-stats dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.1;
  color: var(--color-black);
}
.course-mentor-stats dt { font-size: 14px; line-height: 1.3; }
.course-mentor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-primary-1);
}
.course-mentor-link svg { transition: transform var(--transition); }
.course-mentor-link:hover svg { transform: translateX(4px); }

/* ---------- Cena i terminy ---------- */
.course-price-ask {
  margin: 10px 0 0;
  font-size: 18px;
}
.course-price-ask strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  color: var(--color-black);
}

/* ---------- FAQ ---------- */
.course-faq-list { max-width: 900px; margin-inline: auto; }
.course-faq .faq-answer a { color: inherit; font-weight: 700; }

/* ---------- CTA: mniejszy odstęp od FAQ ---------- */
.course-cta { padding-top: 0; }

/* ---------- Responsywność ---------- */
@media (max-width: 1279px) {
  .course-modules { grid-template-columns: repeat(2, 1fr); }
  /* nieparzysty ostatni moduł na całą szerokość – bez „sieroty” */
  .course-module:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .course-facts .feature-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .course-modules { grid-template-columns: 1fr; gap: 16px; }
  .course-module:last-child:nth-child(odd) { grid-column: auto; }
  .course-trust { flex-direction: column; gap: 6px; }
  .course-trust li { padding-left: 16px; }
  .course-trust li::before,
  .course-trust li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--color-primary-2-dark);
  }
  .course-module { padding: 22px 20px; gap: 16px; }
  .course-module-icon { width: 60px; height: 60px; }
  .course-module-icon img { width: 38px; height: 38px; }
  .course-module h3 { font-size: 20px; }
  .course-mentor { padding: 34px 24px 30px; }
  .course-mentor h3 { font-size: 24px; }
  .course-price-ask strong { font-size: 26px; }
}
@media (max-width: 479px) {
  .course-mentor-stats { gap: 8px; }
  .course-mentor-stats div { padding: 14px 6px; }
  .course-mentor-stats dd { font-size: 28px; }
  .course-mentor-stats dt { font-size: 12px; }
}
