/* ——— Courses page ——— */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-bottom: clamp(28px,5vw,44px);
}

.course-offer-card {
  border-radius: var(--q-r-lg);
  padding: clamp(22px,3.5vw,32px);
  color: #fff;
  box-shadow: var(--q-sh-md);
  transition: transform .28s var(--q-ease), box-shadow .28s var(--q-ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-offer-card--9  { background: linear-gradient(145deg, #5b8ef7, #2d5be3, #1a3fc7); }
.course-offer-card--10 { background: linear-gradient(145deg, #f06292, #e45b7c, #c73d5f); }

.course-offer-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 110% 110%, rgba(255,255,255,.12) 0%, transparent 55%);
  pointer-events: none;
}

.course-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--q-sh-lg);
}

.course-offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.course-offer-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.course-offer-num {
  font-size: clamp(2.2rem,4vw,3rem);
  font-weight: 800;
  color: rgba(255,255,255,.18);
  line-height: 1;
  letter-spacing: -.04em;
}

.course-offer-title {
  font-size: clamp(1.1rem,2vw,1.3rem);
  font-weight: 800;
  color: #fff;
  position: relative;
}

.course-offer-desc {
  font-size: clamp(.88rem,1.5vw,.95rem);
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  position: relative;
  flex: 1;
}

.course-offer-list {
  padding-left: 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  position: relative;
}

.course-offer-list li + li { margin-top: 5px; }

.course-offer-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  align-self: flex-start;
  position: relative;
  transition: background .2s ease;
}

.course-offer-card:hover .course-offer-cta { background: rgba(255,255,255,.26); }

/* Highlights section */
.course-highlights {
  background: rgba(255,255,255,.78);
  border-radius: var(--q-r-lg);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--q-sh-sm);
  backdrop-filter: blur(10px);
  padding: clamp(22px,4vw,34px);
  margin-bottom: clamp(28px,5vw,44px);
}

.course-highlights .section-heading { margin-bottom: 20px; }

.course-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

.course-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.course-highlight-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--q-navy-l), var(--q-navy));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.course-highlight-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--q-navy);
  margin-bottom: 3px;
}

.course-highlight-desc {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--q-muted);
}

/* Enrollment CTA */
.cta-inline {
  background: rgba(255,255,255,.72);
  border-radius: var(--q-r-lg);
  padding: clamp(22px,4vw,34px);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--q-sh-sm);
  backdrop-filter: blur(10px);
}

.cta-inline .section-heading { margin-bottom: 10px; }

@media (max-width: 640px) {
  .courses-grid { grid-template-columns: 1fr; gap: 12px; }
  .course-highlights-grid { grid-template-columns: 1fr; gap: 12px; }
}
